Bug 86861 - postfix port does not use openssl port libraries when enabling TLS
Summary: postfix port does not use openssl port libraries when enabling TLS
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: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-03 10:30 UTC by Uffe Vedenbrant
Modified: 2005-10-04 16:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Vedenbrant 2005-10-03 10:30:27 UTC
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.

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..
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
Comment 1 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-03 14:15:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

I'll take it.
Comment 2 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-03 23:44:54 UTC
Dear maintainer,

Do you approve this patch?

http://marcus.grupos.com.br:8080/patch/postfix.patch

Thanks

-- 
Marcus Alves Grando
marcus(at)corp.grupos.com.br  |  Grupos Internet S/A
  mnag(at)FreeBSD.org         |  FreeBSD.org
Comment 3 Vick Khera 2005-10-04 15:38:15 UTC
On Oct 3, 2005, at 6:44 PM, Marcus Alves Grando wrote:
>
> Do you approve this patch?
>
> http://marcus.grupos.com.br:8080/patch/postfix.patch

I approve.
Comment 4 Marcus Alves Grando freebsd_committer freebsd_triage 2005-10-04 16:14:27 UTC
State Changed
From-To: open->closed

Committed. Thanks!