From owner-freebsd-ports-bugs Tue Feb 25 14:30: 9 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BFF837B401 for ; Tue, 25 Feb 2003 14:30:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C99243FDF for ; Tue, 25 Feb 2003 14:30:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1PMU5NS021472 for ; Tue, 25 Feb 2003 14:30:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1PMU5Vh021471; Tue, 25 Feb 2003 14:30:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB09837B401 for ; Tue, 25 Feb 2003 14:23:40 -0800 (PST) Received: from osm.michaelines.net (osm.michaelines.net [66.238.77.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 203F943F93 for ; Tue, 25 Feb 2003 14:23:40 -0800 (PST) (envelope-from blaise@michaelines.net) Received: by osm.michaelines.net (Postfix, from userid 1002) id 5726D20D16; Tue, 25 Feb 2003 17:24:23 -0500 (EST) Message-Id: <20030225222423.5726D20D16@osm.michaelines.net> Date: Tue, 25 Feb 2003 17:24:23 -0500 (EST) From: Jim Trigg Reply-To: Jim Trigg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48684: mail/postfix port relies on incorrect dependencies Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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