Date: Mon, 3 Oct 2005 09:29:08 GMT From: Uffe Vedenbrant <uffe@vedenbrant.se> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/86861: postfix port does not use openssl port libraries when enabling TLS Message-ID: <200510030929.j939T8Y9079835@www.freebsd.org> Resent-Message-ID: <200510030930.j939USee055497@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 86861 >Category: ports >Synopsis: postfix port does not use openssl port libraries when enabling TLS >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 03 09:30:27 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Uffe Vedenbrant >Release: 5.4-RELEASE-p7 >Organization: >Environment: FreeBSD plupp.mynta.org 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #1: Fri Sep 23 02:33:22 CEST 2005 uffe@plupp.mynta.org:/usr/obj/usr/src/sys/MYNTA i386 >Description: The port for postfix (/usr/ports/mail/postfix) does not use the installed openssl port if availiable and does not obey the flag WITH_OPENSSL_PORT=yes in /etc/make.conf. This causes postfix to use the system openssl libraries instead of the port libraries. >How-To-Repeat: In my build case.. Edit /etc/make.conf and add WITH_OPENSSL_PORT=yes Enable SASL , SPF and TLS and build the postfix port. Check with ldd to see which ssl libraries used for postfix "smtpd" If using /usr/lib/libssl.. its wrong. Should use /usr/local/lib/libssl.. if correct >Fix: >From dinoex<at>FreeBSD.org Create a file: /usr/ports/mail/postfix/Makefile.local POSTFIX_AUXLIBS+= ${LDFLAGS} and rebuild. This should probably be added in postfix port Makefile instead.. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510030929.j939T8Y9079835>