Bug 73100 - Incorrect library specification for mail/postfix package & SASLKRB5 option
Summary: Incorrect library specification for mail/postfix package & SASLKRB5 option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 03:30 UTC by xenophon+freebsd
Modified: 2004-10-26 15:23 UTC (History)
0 users

See Also:


Attachments
smime.p7s (2.42 KB, application/pkcs7-signature)
2004-10-26 04:14 UTC, Vick Khera
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description xenophon+freebsd 2004-10-25 03:30:26 UTC
The mail/postfix port will not link properly when the SASLKRB5 option is chosen because two key libraries, libasn1 and libroken, are missing from the linker specification.

Fix: 

Change the following linker specification on line 111 of mail/postfix/scripts/configure.postfix:

echo "POSTFIX_AUXLIBS+= -lkrb5 -lcrypto -lcom_err"

to:

echo "POSTFIX_AUXLIBS+= -lkrb5 -lcrypto -lcom_err -lasn1 -lroken"
How-To-Repeat: Build the mail/postfix port with SASL2 and SASLKRB5 support.  (There may be a similar problem with the SASLKRB option, but I have not tested it.)
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2004-10-25 11:16:05 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

Ports PR.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-10-25 23:37:18 UTC
Dear maintainer of FreeBSD port mail/postfix, please take a look at

http://www.freebsd.org/cgi/query-pr.cgi?q=73100

Do you approve/reject this patch?

-- 
Pav Lucistnik <pav@oook.cz>
              <pav@FreeBSD.org>

Me go and see Elves and all! Hooray!
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2004-10-25 23:37:21 UTC
State Changed
From-To: open->feedback

Asked maintainer for approval. 


Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2004-10-25 23:37:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Handle.
Comment 5 Vick Khera 2004-10-26 04:14:02 UTC
On Oct 25, 2004, at 6:37 PM, Pav Lucistnik wrote:

> Dear maintainer of FreeBSD port mail/postfix, please take a look at
>
> http://www.freebsd.org/cgi/query-pr.cgi?q=73100
>
> Do you approve/reject this patch?

Not being able to directly test it, it seems reasonable to apply.  I 
approve of it.
Comment 6 Pav Lucistnik freebsd_committer freebsd_triage 2004-10-26 15:22:22 UTC
State Changed
From-To: feedback->closed

Committed, thanks!