1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Fix non-default dependency on openldap2[012] which is broken by splitting.

# I'm not bumped port revision of them because this should not affect
# packages built on bento...
This commit is contained in:
Jun Kuriyama 2003-08-15 00:49:31 +00:00
parent 7c0800f7ec
commit b67a28791a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86964
60 changed files with 95 additions and 95 deletions
devel/tcl-neo
dns
powerdns-devel
powerdns
ftp/pure-ftpd
japanese/samba
lang
mail
claws-mail
courier-imap
courier/scripts
dovecot-devel
dovecot
exim-old
imp3
postfix-current/scripts
postfix/scripts
postfix20/scripts
postfix21/scripts
postfix22/scripts
postfix23/scripts
postfix24/scripts
postfix25/scripts
postfix26/scripts
postfix27/scripts
postfix28/scripts
qmail-ldap
sendmail-old
sendmail811
sylpheed-claws
sylpheed
sylpheed2-devel
sylpheed2
sylpheed3
tpop3d
net-mgmt
nagios-plugins/scripts
netsaint-plugins/scripts
net
nagios-plugins/scripts
netsaint-plugins/scripts
powerdns
samba
news/nntpcache
security
cyrus-sasl/scripts
dirmngr
gnupg
gnupg1
heimdal
www
apache2
apache20
apache21
apache22
x11
kde4-baseapps
kde4-runtime
kde4-workspace
kdebase3
kdebase4-runtime
kdebase4-workspace
kdebase4
kdelibs3
kdelibs4

View File

@ -20,7 +20,7 @@ LIB_DEPENDS= tclx83:${PORTSDIR}/lang/tclX \
db2:${PORTSDIR}/databases/db2
# Not yet -- openldap used db3, neo used db2 :(
# ldap.2:${PORTSDIR}/net/openldap20
# ldap.2:${PORTSDIR}/net/openldap20-client
SUBDIR= neowebscript-3.3/neotcl8.3.0-lite/neo${PORTVERSION}
WRKSRC= ${WRKDIR}/${SUBDIR}/generic

View File

@ -86,8 +86,8 @@ describe:
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500043 && defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_MODULES+= "ldap"
post-patch:

View File

@ -86,8 +86,8 @@ describe:
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500043 && defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_MODULES+= "ldap"
post-patch:

View File

@ -24,9 +24,9 @@ MAINTAINER= j@pureftpd.org
COMMENT= A small, easy to set up, fast and very secure FTP server
.if defined(WITH_LDAP) && !defined(WITH_LDAP21)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap20-client
.elif defined(WITH_LDAP21) && !defined(WITH_LDAP)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
.elif defined(WITH_LDAP21) && defined(WITH_LDAP)
BROKEN= "You may only specify WITH_LDAP xor WITH_LDAP21, but not both together"
.endif

View File

@ -113,7 +113,7 @@ CONFIGURE_ARGS+= --with-msdfs
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+= --with-ldapsam
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib

View File

@ -437,12 +437,12 @@ CONFIGURE_ARGS+=--with-ncurses=${NCURSESBASE}
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.elif exists(${LOCALBASE}/lib/libldap.la)
.if exists(${LOCALBASE}/bin/ldapwhoami)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
.else
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
.endif
.else
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap22
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap22-client
.endif
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
.endif

View File

@ -424,7 +424,7 @@ CONFIGURE_ARGS+=--with-ncurses=${NCURSESBASE}
.if exists(${LOCALBASE}/lib/libldap.so.1)
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.else
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
.endif
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
.endif

View File

@ -424,7 +424,7 @@ CONFIGURE_ARGS+=--with-ncurses=${NCURSESBASE}
.if exists(${LOCALBASE}/lib/libldap.so.1)
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.else
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
.endif
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
.endif

View File

@ -69,7 +69,7 @@ RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot
CONFIGURE_ARGS+= --enable-jpilot
.endif
.if defined(WITH_LDAP) || defined(WITH_ALL)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+= --enable-ldap
CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS:S/"//g}
.endif

View File

@ -89,11 +89,11 @@ CONFIGURE_ARGS+=--with-authldap
PLIST_SUB+= LDAPFLAG=""
.if defined(WITH_LDAP21)
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap21 \
lber.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap21-client \
lber.2:${PORTSDIR}/net/openldap21-client
.elseif defined(WITH_LDAP20)
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20-client \
lber.2:${PORTSDIR}/net/openldap20-client
.else
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/courier/scripts/Attic/configure.courier,v 1.7 2003-08-09 22:40:32 oliver Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/courier/scripts/Attic/configure.courier,v 1.8 2003-08-15 00:49:28 kuriyama Exp $
[ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ] && exit
@ -210,7 +210,7 @@ while [ "$1" ]; do
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
exit 1
fi
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap21"
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap21-client"
CPPFLAGS="${CPPFLAGS} -I\${LOCALBASE}/include"
LDFLAGS="${LDFLAGS} -L\${LOCALBASE}/lib"
WITH_LDAP="--with-authldap"

View File

@ -78,7 +78,7 @@ CONFIGURE_ARGS+= --with-vpopmail
# user database.
#
.if WITH_LDAP2
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
CONFIGURE_ARGS+= --with-ldap
.endif

View File

@ -78,7 +78,7 @@ CONFIGURE_ARGS+= --with-vpopmail
# user database.
#
.if WITH_LDAP2
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
CONFIGURE_ARGS+= --with-ldap
.endif

View File

@ -118,7 +118,7 @@ SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,,'
.if (${LDAP_LIB_TYPE} == OPENLDAP1) || (${LDAP_LIB_TYPE} == UMICHIGAN)
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap12
.elif ${LDAP_LIB_TYPE} == OPENLDAP2
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
.else
.error LDAP_LIB_TYPE must be either OPENLDAP1 or OPENLDAP2
.endif

View File

@ -68,7 +68,7 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
.if exists(${LOCALBASE}/lib/libldap.so.1)
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.else
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
.endif
.endif
RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2

View File

@ -174,13 +174,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix20/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix20/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -1,5 +1,5 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.37 2003-07-07 08:28:33 osa Exp $
# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.38 2003-08-15 00:49:26 kuriyama Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@ -180,13 +180,13 @@ while [ "$1" ]; do
echo "OPENLDAP_SUFFIX= +openldap12"
;;
OpenLDAP20)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap20-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap20"
;;
OpenLDAP21)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21"
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap21-client"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"
echo "POSTFIX_AUXLIBS+= -lldap -llber"
echo "OPENLDAP_SUFFIX= +openldap21"

View File

@ -22,7 +22,7 @@ COMMENT= A SECURE, reliable, and FAST MTA for UNIX systems WITH LDAP support
.if !defined(WITH_LDAP2)
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.else
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
.endif
.if defined(WITH_LDAP2)

View File

@ -37,8 +37,8 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl

View File

@ -37,8 +37,8 @@ MAN8= sendmail.8 mailstats.8 makemap.8 praliases.8 smrsh.8 \
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl

View File

@ -69,7 +69,7 @@ RUN_DEPENDS+= jpilot:${PORTSDIR}/palm/jpilot
CONFIGURE_ARGS+= --enable-jpilot
.endif
.if defined(WITH_LDAP) || defined(WITH_ALL)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+= --enable-ldap
CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS:S/"//g}
.endif

View File

@ -58,7 +58,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap

View File

@ -58,7 +58,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap

View File

@ -58,7 +58,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap

View File

@ -58,7 +58,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap

View File

@ -18,7 +18,7 @@ COMMENT= Virtual-domain capable POP3 server supporting MySQL auth
LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
.endif
# perl authentication

View File

@ -97,7 +97,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20-client"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;

View File

@ -87,7 +87,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20-client"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;

View File

@ -97,7 +97,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20-client"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;

View File

@ -87,7 +87,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20-client"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;

View File

@ -86,8 +86,8 @@ describe:
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500043 && defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_MODULES+= "ldap"
post-patch:

View File

@ -101,7 +101,7 @@ CONFIGURE_ARGS+= --with-msdfs
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
CONFIGURE_ARGS+= --with-ldapsam
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib

View File

@ -25,8 +25,8 @@ LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap12
.endif
.if defined(WITH_LDAP2)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20-client
.endif
# This may be set interactively at install-time. NNTPCache will

View File

@ -155,8 +155,8 @@ while [ "$1" ]; do
rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
exit 1
fi
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap20"
echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20-client"
echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap20-client"
echo "CONFIGURE_ARGS+= --with-ldap=\${PREFIX}"
LDAP_REQ=ldap
OPENLDAP=1

View File

@ -40,7 +40,7 @@ CONFIGURE_ARGS+=--with-included-gettext=no
# OpenLDAP 2.1.* if they want.
.if defined(WITH_LDAP21)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
.else
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
.endif

View File

@ -37,7 +37,7 @@ MAN7= gnupg.7
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "

View File

@ -37,7 +37,7 @@ MAN7= gnupg.7
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so.2)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "

View File

@ -19,7 +19,7 @@ MAINTAINER= nectar@FreeBSD.ORG
COMMENT= A re-implementation of Kerberos V
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20-client
.endif
.if defined(WITH_CRACKLIB)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib

View File

@ -75,7 +75,7 @@ PLIST_SUB+= SUEXEC="@comment "
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
CONFIGURE_ARGS+= --with-ldap \
--enable-ldap --enable-auth-ldap \
--with-ldap-lib="${LOCALBASE}/lib" \

View File

@ -75,7 +75,7 @@ PLIST_SUB+= SUEXEC="@comment "
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
CONFIGURE_ARGS+= --with-ldap \
--enable-ldap --enable-auth-ldap \
--with-ldap-lib="${LOCALBASE}/lib" \

View File

@ -75,7 +75,7 @@ PLIST_SUB+= SUEXEC="@comment "
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
CONFIGURE_ARGS+= --with-ldap \
--enable-ldap --enable-auth-ldap \
--with-ldap-lib="${LOCALBASE}/lib" \

View File

@ -75,7 +75,7 @@ PLIST_SUB+= SUEXEC="@comment "
.endif
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap21-client
CONFIGURE_ARGS+= --with-ldap \
--enable-ldap --enable-auth-ldap \
--with-ldap-lib="${LOCALBASE}/lib" \

View File

@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--without-java \
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--without-java \
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--without-java \
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--without-java \
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--without-java \
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--without-java \
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -41,7 +41,7 @@ CONFIGURE_ARGS+=--without-java \
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -65,7 +65,7 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
# kabc (the addressbook backend) can use ldap if it's available
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif

View File

@ -65,7 +65,7 @@ LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
# kabc (the addressbook backend) can use ldap if it's available
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21-client
PLIST_APPEND+= plist.ldap
.endif