From owner-freebsd-ports-bugs Mon Feb 24 1:10: 7 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 A8EC537B401 for ; Mon, 24 Feb 2003 01:10:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89F9543FBD for ; Mon, 24 Feb 2003 01:10:03 -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 h1O9A3NS020546 for ; Mon, 24 Feb 2003 01:10:03 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1O9A3s2020545; Mon, 24 Feb 2003 01:10:03 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 136D137B401 for ; Mon, 24 Feb 2003 01:03:40 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18D7143F75 for ; Mon, 24 Feb 2003 01:03:39 -0800 (PST) (envelope-from ck@cksoft.de) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 3AFE61FFB25 for ; Mon, 24 Feb 2003 10:03:37 +0100 (CET) Received: from majakka.cksoft.de (p508A9762.dip.t-dialin.net [80.138.151.98]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by transport.cksoft.de (Postfix) with ESMTP id 3BE7B1FF97B for ; Mon, 24 Feb 2003 10:03:36 +0100 (CET) Received: from majakka.cksoft.de (localhost [127.0.0.1]) by majakka.cksoft.de (Postfix) with ESMTP id 8131D44ABD for ; Mon, 24 Feb 2003 10:03:35 +0100 (CET) Received: by majakka.cksoft.de (Postfix, from userid 1000) id F3A1D44ABA; Mon, 24 Feb 2003 10:03:34 +0100 (CET) Message-Id: <20030224090334.F3A1D44ABA@majakka.cksoft.de> Date: Mon, 24 Feb 2003 10:03:34 +0100 (CET) From: Christian Kratzer Reply-To: Christian Kratzer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/48621: Allow selection of specific Openldap port agains which to build 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: 48621 >Category: ports >Synopsis: Allow selection of specific Openldap port agains which to build >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Feb 24 01:10:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Christian Kratzer >Release: FreeBSD 4.7-STABLE i386 >Organization: CK Software GmbH >Environment: System: FreeBSD majakka.cksoft.de 4.7-STABLE FreeBSD 4.7-STABLE #1: Thu Dec 19 14:57:42 CET 2002 ck@majakka.cksoft.de:/usr/obj/usr/src/RELENG_4/src/sys/MAJAKKA i386 >Description: There are currently 3 different ports of openldap. This patch extends scripts/configure.postfix to select the specific openldap port we want to build with. We need this so that the correct dependency gets registered with the package. >How-To-Repeat: >Fix: --- postfix/scripts/configure.postfix.orig Mon Feb 24 08:48:37 2003 +++ postfix/scripts/configure.postfix Mon Feb 24 09:43:48 2003 @@ -32,7 +32,9 @@ DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \ MySQL "MySQL map lookups" "$status_MySQL" \ PgSQL "PostgreSQL map lookups" "$status_PgSQL" \ -OpenLDAP "OpenLDAP map lookups" "$status_OpenLDAP" \ +OpenLDAP1 "OpenLDAP 1.x map lookups" "$status_OpenLDAP" \ +OpenLDAP20 "OpenLDAP 2.0 map lookups" "$status_OpenLDAP" \ +OpenLDAP21 "OpenLDAP 2.1 map lookups" "$status_OpenLDAP" \ Test "SMTP/LMTP test server and generator" "$status_Test" \ 2> $tempfile @@ -171,8 +173,20 @@ echo "PATCHFILES+= postfix-pg.postfix-2.0.0.2.patch" echo "PATCH_DIST_STRIP= -p1" ;; - OpenLDAP) + OpenLDAP1) echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap12" + echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include" + echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libldap.a \${PREFIX}/lib/liblber.a" + echo "OPENLDAP_SUFFIX= +openldap" + ;; + OpenLDAP20) + 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" + ;; + OpenLDAP21) + echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21" echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include" echo "POSTFIX_AUXLIBS+= \${LOCALBASE}/lib/libldap.a \${PREFIX}/lib/liblber.a" echo "OPENLDAP_SUFFIX= +openldap" >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message