ports/68506: Incorrect library specification for mail/postfix package & SASLKRB option
Matthew X. Economou
xenophon at irtnog.org
Wed Jun 30 11:50:51 UTC 2004
>Number: 68506
>Category: ports
>Synopsis: Incorrect library specification for mail/postfix package & SASLKRB option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 30 11:50:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: FreeBSD 5.2.1-RELEASE-p8 i386
>Organization:
IRTNOG.ORG
>Environment:
System: FreeBSD mx1.irtnog.org 5.2.1-RELEASE-p8 FreeBSD 5.2.1-RELEASE-p8 #5: Fri Jun 4 08:14:12 EDT 2004 root at mx1.irtnog.org:/usr/obj/usr/src/sys/ECOMX1 i386
>Description:
When configured to use SASL with Kerberos support (the SASLKRB option),
the mail/postfix port incorrectly specifies "-lkrb" in POSTFIX_AUXLIBS.
The correct library to use on FreeBSD 5 is "-lkrb5".
>How-To-Repeat:
Check out the current ports. Go to the "mail/postfix" directory and
type "make". When prompted, select the "SASL2" and "SASLKRB" options.
When make attempts to link the "master" executable, the linker fails
when it cannot find "libkrb".
>Fix:
Change mail/postfix/scripts/configure.postfix, line 104, to read:
echo "POSTFIX_AUXLIBS+= -lkrb5 -lcrypto -lcom_err"
There may be an easy way to autodetect this, similar to how the
configure.postfix script automatically detects when SASL2 is dependent
on MySQL and transparently adds the appropriate pre-processor and
linker options.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list