Date: Mon, 24 Feb 2003 12:26:18 +0100 (CET) From: Christian Kratzer <ck@cksoft.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Christian Kratzer <ck@cksoft.de> Subject: ports/48623: Add openldap21 dependency to mod_php4 Message-ID: <20030224112618.84D3E44ABA@majakka.cksoft.de>
next in thread | raw e-mail | index | archive | help
>Number: 48623 >Category: ports >Synopsis: Add openldap21 dependency to mod_php4 >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 03:30:11 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: Add support for the new openldap21 port to mod_php4. >How-To-Repeat: >Fix: --- mod_php4/scripts/configure.php.orig Mon Feb 24 07:42:43 2003 +++ mod_php4/scripts/configure.php Mon Feb 24 11:44:43 2003 @@ -34,7 +34,8 @@ dBase "dBase database support" OFF \ GDBM "GNU database manager support" OFF \ OpenLDAP1 "OpenLDAP 1.x support" OFF \ -OpenLDAP2 "OpenLDAP 2.x support" OFF \ +OpenLDAP20 "OpenLDAP 2.0 support" OFF \ +OpenLDAP21 "OpenLDAP 2.1 support" OFF \ OpenSSL "OpenSSL support" OFF \ SNMP "SNMP support" OFF \ XML "XML support" OFF \ @@ -222,8 +223,8 @@ echo "LIB_DEPENDS+= ldap.1:\${PORTSDIR}/net/openldap12" echo "LIB_DEPENDS+= lber.1:\${PORTSDIR}/net/openldap12" echo "CONFIGURE_ARGS+=--with-ldap=\${LOCALBASE}" - if [ "$OPENLDAP2" ]; then - echo "OpenLDAP1 and OpenLDAP2 are mutually exclusive." > /dev/stderr + if [ "$OPENLDAP20" -o "$OPENLDAP21" ]; then + echo "OpenLDAP1, OpenLDAP20 and OpenLDAP21 are mutually exclusive." > /dev/stderr rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc exit 1 fi @@ -232,19 +233,33 @@ fi OPENLDAP1=1 ;; - \"OpenLDAP2\") + \"OpenLDAP20\") echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20" echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap20" echo "CONFIGURE_ARGS+=--with-ldap=\${LOCALBASE}" - if [ "$OPENLDAP1" ]; then - echo "OpenLDAP1 and OpenLDAP2 are mutually exclusive." > /dev/stderr + if [ "$OPENLDAP1" -o "$OPENLDAP21" ]; then + echo "OpenLDAP1, OpenLDAP20 and OpenLDAP21 are mutually exclusive." > /dev/stderr rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc exit 1 fi if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then LIBS="${LIBS} -lkrb -ldes -L\${LOCALBASE}/lib" fi - OPENLDAP2=1 + OPENLDAP20=1 + ;; + \"OpenLDAP21\") + echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap21" + echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap21" + echo "CONFIGURE_ARGS+=--with-ldap=\${LOCALBASE}" + if [ "$OPENLDAP1" -o "$OPENLDAP20" ]; then + echo "OpenLDAP1, OpenLDAP20 and OpenLDAP21 are mutually exclusive." > /dev/stderr + rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc + exit 1 + fi + if [ -f /usr/lib/libkrb.a -a -f /usr/lib/libdes.a -a ! -L /usr/lib/libdes.a ]; then + LIBS="${LIBS} -lkrb -ldes -L\${LOCALBASE}/lib" + fi + OPENLDAP21=1 ;; \"OpenSSL\") echo "USE_OPENSSL=yes" >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?20030224112618.84D3E44ABA>