ports/86861: postfix port does not use openssl port libraries when enabling TLS
Uffe Vedenbrant
uffe at vedenbrant.se
Mon Oct 3 09:30:34 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list