Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2003 17:24:23 -0500 (EST)
From:      Jim Trigg <jtrigg@spamcop.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48684: mail/postfix port relies on incorrect dependencies
Message-ID:  <20030225222423.5726D20D16@osm.michaelines.net>

next in thread | raw e-mail | index | archive | help

>Number:         48684
>Category:       ports
>Synopsis:       mail/postfix port relies on incorrect dependencies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 25 14:30:04 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jim Trigg
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
Me, Myself, and I
>Environment:
System: FreeBSD osm.michaelines.net 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386


>Description:
The optional dependencies for the mail/postfix port are out of date.  As of version 2,
postfix uses OpenLDAP 2.0, not 1.2.  Also, the IPv6+TLS patch is one release out of
date (it is for 2.0.3 when the port is at 2.0.4).
>How-To-Repeat:
	cd /usr/ports/mail/postfix; make pre-fetch
	Select LDAP and IPv6+TLS
	Examine Makefile.inc
>Fix:

Here is a patch for the configure.postfix script that fixes these issues:

--- ports/mail/postfix/scripts/configure.postfix,v 1.29	Tue Feb 25 17:17:53 2003
+++ ports/mail/postfix/scripts/configure.postfix	Tue Feb 25 17:18:33 2003
@@ -172,7 +172,7 @@
 			echo "PATCH_DIST_STRIP= -p1"
 			;;
 		OpenLDAP)
-			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap12"
+			echo "BUILD_DEPENDS+=	\${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
 			echo "POSTFIX_CCARGS+=	-DHAS_LDAP -I\${LOCALBASE}/include"
 			echo "POSTFIX_AUXLIBS+=	\${LOCALBASE}/lib/libldap.a \${PREFIX}/lib/liblber.a"
 			echo "OPENLDAP_SUFFIX=	+openldap"
@@ -208,8 +208,8 @@
 			echo "MAN8+=		tlsmgr.8"
 			echo "POSTFIX_CCARGS+=	-DHAS_SSL -I/usr/include/openssl"
 			echo "POSTFIX_AUXLIBS+=	-lssl -lcrypto"
-			echo "PATCH_SITES+=	ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.12/"
-			echo "PATCHFILES+=	tls+ipv6-1.12-pf-2.0.3.patch.gz"
+			echo "PATCH_SITES+=	ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.13/"
+			echo "PATCHFILES+=	tls+ipv6-1.13-pf-2.0.4.patch.gz"
 			echo "PATCH_DIST_STRIP=	-p1"
 			echo "TLS_SUFFIX=	+tls+ipv6"
 			SUB_TLS=""

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030225222423.5726D20D16>