aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MOVED1
-rw-r--r--databases/libgda2/Makefile2
-rw-r--r--databases/libgda3/Makefile2
-rw-r--r--devel/tcl-neo/Makefile2
-rw-r--r--ftp/pure-ftpd/Makefile2
-rw-r--r--mail/balsa/Makefile2
-rw-r--r--mail/balsa2/Makefile2
-rw-r--r--mail/claws-mail/Makefile2
-rw-r--r--mail/courier-imap/Makefile4
-rw-r--r--mail/courier/scripts/configure.courier4
-rw-r--r--mail/evolution-devel/Makefile2
-rw-r--r--mail/evolution/Makefile2
-rw-r--r--mail/exim-old/Makefile2
-rw-r--r--mail/exim/Makefile2
-rw-r--r--mail/horde-imp/Makefile4
-rw-r--r--mail/horde-turba/Makefile4
-rw-r--r--mail/horde4-imp/Makefile4
-rw-r--r--mail/horde4-turba/Makefile4
-rw-r--r--mail/imp/Makefile4
-rw-r--r--mail/imp3/Makefile4
-rw-r--r--mail/qmail-ldap/Makefile2
-rw-r--r--mail/sendmail-old/Makefile4
-rw-r--r--mail/sendmail/Makefile4
-rw-r--r--mail/sendmail811/Makefile4
-rw-r--r--mail/sendmail812/Makefile4
-rw-r--r--mail/sylpheed-claws/Makefile2
-rw-r--r--mail/sylpheed/Makefile2
-rw-r--r--mail/sylpheed2-devel/Makefile2
-rw-r--r--mail/sylpheed2/Makefile2
-rw-r--r--mail/sylpheed3/Makefile2
-rw-r--r--mail/tpop3d/Makefile2
-rw-r--r--mail/turba/Makefile4
-rw-r--r--net-mgmt/nagios-plugins/scripts/configure2
-rw-r--r--net-mgmt/netsaint-plugins/scripts/configure2
-rw-r--r--net/ekiga/Makefile2
-rw-r--r--net/gnomemeeting/Makefile2
-rw-r--r--net/gnomemeeting2/Makefile2
-rw-r--r--net/gq/Makefile2
-rw-r--r--net/ldapdiff/Makefile2
-rw-r--r--net/nagios-plugins/scripts/configure2
-rw-r--r--net/netsaint-plugins/scripts/configure2
-rw-r--r--net/openldap2/Makefile109
-rw-r--r--net/openldap2/distinfo1
-rw-r--r--net/openldap2/files/libtool.diff19
-rw-r--r--net/openldap2/files/manpages219
-rw-r--r--net/openldap2/files/patch-clients_ud_Makefile.in8
-rw-r--r--net/openldap2/files/patch-servers_slapd_schema20
-rw-r--r--net/openldap2/files/slapd.sh47
-rw-r--r--net/openldap2/pkg-descr12
-rw-r--r--net/openldap2/pkg-message7
-rw-r--r--net/openldap2/pkg-plist88
-rw-r--r--net/py-ldap2/Makefile2
-rw-r--r--net/ruby-ldap/Makefile2
-rw-r--r--net/samba-tng/Makefile2
-rw-r--r--net/samba/Makefile2
-rw-r--r--news/nntpcache/Makefile4
-rw-r--r--security/cyrus-sasl/scripts/configure.sasl4
-rw-r--r--security/cyrus-sasl2/scripts/configure.sasl4
-rw-r--r--security/gnupg/Makefile2
-rw-r--r--security/gnupg1/Makefile2
-rw-r--r--security/heimdal/Makefile2
-rw-r--r--security/opensc/Makefile2
-rw-r--r--security/pam_ldap/Makefile4
-rw-r--r--www/auth_ldap/Makefile2
-rw-r--r--www/mod_php4/scripts/configure.php4
-rw-r--r--www/mod_php5/scripts/configure.php4
66 files changed, 75 insertions, 604 deletions
diff --git a/MOVED b/MOVED
index 88c0825794b4..7b3713a78e7d 100644
--- a/MOVED
+++ b/MOVED
@@ -174,3 +174,4 @@ net/edonkey-gui-gtk-kioslave||2003-02-19|merged into edonkey-gui-gtk
print/dvipdfm||2003-02-20|merged into teTeX
net/amcl|net/gnome-mud|2003-02-23|project renamed
net/openldap|net/openldap12|2003-02-23|port renamed
+net/openldap2|net/openldap20|2003-02-23|port renamed
diff --git a/databases/libgda2/Makefile b/databases/libgda2/Makefile
index a0144e7dacd1..081a4b8883e7 100644
--- a/databases/libgda2/Makefile
+++ b/databases/libgda2/Makefile
@@ -57,7 +57,7 @@ PLIST_SUB+= POSTGRES="@comment "
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
PLIST_SUB+= LDAP=""
.else
diff --git a/databases/libgda3/Makefile b/databases/libgda3/Makefile
index a0144e7dacd1..081a4b8883e7 100644
--- a/databases/libgda3/Makefile
+++ b/databases/libgda3/Makefile
@@ -57,7 +57,7 @@ PLIST_SUB+= POSTGRES="@comment "
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
PLIST_SUB+= LDAP=""
.else
diff --git a/devel/tcl-neo/Makefile b/devel/tcl-neo/Makefile
index 69abf764211e..5240dacd18b4 100644
--- a/devel/tcl-neo/Makefile
+++ b/devel/tcl-neo/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= tclx83:${PORTSDIR}/lang/tclX82 \
db2:${PORTSDIR}/databases/db2
# Not yet -- openldap used db3, neo used db2 :(
-# ldap.2:${PORTSDIR}/net/openldap2
+# ldap.2:${PORTSDIR}/net/openldap20
SUBDIR= neowebscript-3.3/neotcl8.3.0-lite/neo${PORTVERSION}
WRKSRC= ${WRKDIR}/${SUBDIR}/generic
diff --git a/ftp/pure-ftpd/Makefile b/ftp/pure-ftpd/Makefile
index 5737340b8135..707d76e2a7e8 100644
--- a/ftp/pure-ftpd/Makefile
+++ b/ftp/pure-ftpd/Makefile
@@ -24,7 +24,7 @@ MAINTAINER= j@pureftpd.org
COMMENT= A small, easy to set up, fast and very secure FTP server
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap20
.endif
.if defined(WITH_MYSQL)
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile
index fdc24d7afd33..9e14d13fe556 100644
--- a/mail/balsa/Makefile
+++ b/mail/balsa/Makefile
@@ -15,7 +15,7 @@ MASTER_SITES= http://balsa.gnome.org/ \
MAINTAINER= gnome@FreeBSD.org
COMMENT= A mail reader for the GNOME desktop
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
aspell.15:${PORTSDIR}/textproc/aspell \
pcre.0:${PORTSDIR}/devel/pcre \
esmtp.6:${PORTSDIR}/mail/libesmtp
diff --git a/mail/balsa2/Makefile b/mail/balsa2/Makefile
index f21bd45f791a..d9a7b6753872 100644
--- a/mail/balsa2/Makefile
+++ b/mail/balsa2/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= A mail reader for the GNOME 2 desktop
BUILD_DEPENDS= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
aspell.15:${PORTSDIR}/textproc/aspell \
pcre.0:${PORTSDIR}/devel/pcre \
esmtp.6:${PORTSDIR}/mail/libesmtp \
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile
index 613ac090ffd8..be57aa459d64 100644
--- a/mail/claws-mail/Makefile
+++ b/mail/claws-mail/Makefile
@@ -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/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+= --enable-ldap
CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS:S/"//g}
.endif
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 9c8e57e390e9..a4c64ccac470 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -72,8 +72,8 @@ CONFIGURE_ARGS+= --with-authldap
PLIST_SUB+= LDAPFLAG=""
.if defined(WITH_LDAP)
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.else
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
diff --git a/mail/courier/scripts/configure.courier b/mail/courier/scripts/configure.courier
index d7b017c4e5c7..cb033392761b 100644
--- a/mail/courier/scripts/configure.courier
+++ b/mail/courier/scripts/configure.courier
@@ -1,5 +1,5 @@
#!/bin/sh
-# $FreeBSD: /tmp/pcvs/ports/mail/courier/scripts/Attic/configure.courier,v 1.5 2003-02-24 02:26:51 edwin Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/courier/scripts/Attic/configure.courier,v 1.6 2003-02-24 02:56:32 edwin 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/openldap2"
+ echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
CPPFLAGS="${CPPFLAGS} -I\${LOCALBASE}/include"
LDFLAGS="${LDFLAGS} -L\${LOCALBASE}/lib"
WITH_LDAP="--with-authldap"
diff --git a/mail/evolution-devel/Makefile b/mail/evolution-devel/Makefile
index d736bab2d462..d41620fc0753 100644
--- a/mail/evolution-devel/Makefile
+++ b/mail/evolution-devel/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf \
soup.6:${PORTSDIR}/devel/soup
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
.endif
RUN_DEPENDS= gnome-spell-component-0.5:${PORTSDIR}/textproc/gnomespell \
gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index d736bab2d462..d41620fc0753 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -23,7 +23,7 @@ LIB_DEPENDS= bonobo_conf.0:${PORTSDIR}/devel/bonobo-conf \
soup.6:${PORTSDIR}/devel/soup
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
.endif
RUN_DEPENDS= gnome-spell-component-0.5:${PORTSDIR}/textproc/gnomespell \
gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index 7e462f2a8d4b..fbe542309173 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -115,7 +115,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/openldap2
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
.else
.error LDAP_LIB_TYPE must be either OPENLDAP1 or OPENLDAP2
.endif
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index 227ce98e5d2c..ec77fafbe8f9 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -153,7 +153,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/openldap2
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
.else
.error LDAP_LIB_TYPE must be either OPENLDAP1 or OPENLDAP2
.endif
diff --git a/mail/horde-imp/Makefile b/mail/horde-imp/Makefile
index 09a61b02940f..ee1ae4a73b24 100644
--- a/mail/horde-imp/Makefile
+++ b/mail/horde-imp/Makefile
@@ -50,8 +50,8 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
.if !defined(WITHOUT_LDAP)
.if defined(WITH_LDAP2)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.else
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
diff --git a/mail/horde-turba/Makefile b/mail/horde-turba/Makefile
index f5488c3b90f1..df1f9d61dbb1 100644
--- a/mail/horde-turba/Makefile
+++ b/mail/horde-turba/Makefile
@@ -36,8 +36,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.endif
.endif
diff --git a/mail/horde4-imp/Makefile b/mail/horde4-imp/Makefile
index 09a61b02940f..ee1ae4a73b24 100644
--- a/mail/horde4-imp/Makefile
+++ b/mail/horde4-imp/Makefile
@@ -50,8 +50,8 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
.if !defined(WITHOUT_LDAP)
.if defined(WITH_LDAP2)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.else
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
diff --git a/mail/horde4-turba/Makefile b/mail/horde4-turba/Makefile
index f5488c3b90f1..df1f9d61dbb1 100644
--- a/mail/horde4-turba/Makefile
+++ b/mail/horde4-turba/Makefile
@@ -36,8 +36,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.endif
.endif
diff --git a/mail/imp/Makefile b/mail/imp/Makefile
index 09a61b02940f..ee1ae4a73b24 100644
--- a/mail/imp/Makefile
+++ b/mail/imp/Makefile
@@ -50,8 +50,8 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
.if !defined(WITHOUT_LDAP)
.if defined(WITH_LDAP2)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.else
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
diff --git a/mail/imp3/Makefile b/mail/imp3/Makefile
index e0051f3276cf..e9cf1639fa85 100644
--- a/mail/imp3/Makefile
+++ b/mail/imp3/Makefile
@@ -72,8 +72,8 @@ LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.endif
.endif
RUN_DEPENDS+= ${LOCALBASE}/www/horde/index.php:${PORTSDIR}/www/horde2
diff --git a/mail/qmail-ldap/Makefile b/mail/qmail-ldap/Makefile
index 1ba0b14f0e87..7db0508bafbf 100644
--- a/mail/qmail-ldap/Makefile
+++ b/mail/qmail-ldap/Makefile
@@ -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/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
.endif
.if defined(WITH_LDAP2)
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index 51a063ad03ba..1960ed5394f2 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -38,8 +38,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/openldap2
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 3c8a40f3a4a2..09b282a4bf8d 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -40,8 +40,8 @@ PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==}
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index 51a063ad03ba..1960ed5394f2 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/Makefile
@@ -38,8 +38,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/openldap2
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 3c8a40f3a4a2..09b282a4bf8d 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -40,8 +40,8 @@ PLIST_SUB+= PREFIX=${PREFIX:S=${PREFIX}/==}
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
diff --git a/mail/sylpheed-claws/Makefile b/mail/sylpheed-claws/Makefile
index 613ac090ffd8..be57aa459d64 100644
--- a/mail/sylpheed-claws/Makefile
+++ b/mail/sylpheed-claws/Makefile
@@ -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/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+= --enable-ldap
CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS:S/"//g}
.endif
diff --git a/mail/sylpheed/Makefile b/mail/sylpheed/Makefile
index 1208bb31d087..bc28c71de898 100644
--- a/mail/sylpheed/Makefile
+++ b/mail/sylpheed/Makefile
@@ -56,7 +56,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap
diff --git a/mail/sylpheed2-devel/Makefile b/mail/sylpheed2-devel/Makefile
index 1208bb31d087..bc28c71de898 100644
--- a/mail/sylpheed2-devel/Makefile
+++ b/mail/sylpheed2-devel/Makefile
@@ -56,7 +56,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap
diff --git a/mail/sylpheed2/Makefile b/mail/sylpheed2/Makefile
index 1208bb31d087..bc28c71de898 100644
--- a/mail/sylpheed2/Makefile
+++ b/mail/sylpheed2/Makefile
@@ -56,7 +56,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap
diff --git a/mail/sylpheed3/Makefile b/mail/sylpheed3/Makefile
index 1208bb31d087..bc28c71de898 100644
--- a/mail/sylpheed3/Makefile
+++ b/mail/sylpheed3/Makefile
@@ -56,7 +56,7 @@ CONFIGURE_ARGS+=--enable-jpilot
CONFIGURE_ARGS+= --disable-jpilot
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+=--enable-ldap
.else
CONFIGURE_ARGS+=--disable-ldap
diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile
index 7ba6a04abb56..af8cc30f0685 100644
--- a/mail/tpop3d/Makefile
+++ b/mail/tpop3d/Makefile
@@ -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/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
.endif
# perl authentication
diff --git a/mail/turba/Makefile b/mail/turba/Makefile
index f5488c3b90f1..df1f9d61dbb1 100644
--- a/mail/turba/Makefile
+++ b/mail/turba/Makefile
@@ -36,8 +36,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.endif
.endif
diff --git a/net-mgmt/nagios-plugins/scripts/configure b/net-mgmt/nagios-plugins/scripts/configure
index 66a3aee9dca6..f0627b4cce9b 100644
--- a/net-mgmt/nagios-plugins/scripts/configure
+++ b/net-mgmt/nagios-plugins/scripts/configure
@@ -89,7 +89,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
+ echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;
diff --git a/net-mgmt/netsaint-plugins/scripts/configure b/net-mgmt/netsaint-plugins/scripts/configure
index cb5b819b257d..c87ea1adc9f5 100644
--- a/net-mgmt/netsaint-plugins/scripts/configure
+++ b/net-mgmt/netsaint-plugins/scripts/configure
@@ -87,7 +87,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
+ echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile
index e18c0842755a..71b5e2897b07 100644
--- a/net/ekiga/Makefile
+++ b/net/ekiga/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.gnomemeeting.org/downloads/0.96.0/sources/
MAINTAINER= roger@FreeBSD.org
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
bonobo-2.0:${PORTSDIR}/devel/libbonobo
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/openh323:build
diff --git a/net/gnomemeeting/Makefile b/net/gnomemeeting/Makefile
index e18c0842755a..71b5e2897b07 100644
--- a/net/gnomemeeting/Makefile
+++ b/net/gnomemeeting/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.gnomemeeting.org/downloads/0.96.0/sources/
MAINTAINER= roger@FreeBSD.org
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
bonobo-2.0:${PORTSDIR}/devel/libbonobo
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/openh323:build
diff --git a/net/gnomemeeting2/Makefile b/net/gnomemeeting2/Makefile
index e18c0842755a..71b5e2897b07 100644
--- a/net/gnomemeeting2/Makefile
+++ b/net/gnomemeeting2/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://www.gnomemeeting.org/downloads/0.96.0/sources/
MAINTAINER= roger@FreeBSD.org
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
gnomeui-2.200:${PORTSDIR}/x11-toolkits/libgnomeui \
bonobo-2.0:${PORTSDIR}/devel/libbonobo
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/openh323:build
diff --git a/net/gq/Makefile b/net/gq/Makefile
index 04899b6742ac..f887575ef84c 100644
--- a/net/gq/Makefile
+++ b/net/gq/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
.if defined(WITH_OPENLDAP1)
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
.endif
.if !defined(WITHOUT_JPEGPHOTO)
diff --git a/net/ldapdiff/Makefile b/net/ldapdiff/Makefile
index 2cd4975ec5d5..c540e12ff626 100644
--- a/net/ldapdiff/Makefile
+++ b/net/ldapdiff/Makefile
@@ -24,7 +24,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
.if defined(WITH_OPENLDAP1)
LIB_DEPENDS+= ldap.1:${PORTSDIR}/net/openldap12
.else
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
.endif
do-install:
diff --git a/net/nagios-plugins/scripts/configure b/net/nagios-plugins/scripts/configure
index 66a3aee9dca6..f0627b4cce9b 100644
--- a/net/nagios-plugins/scripts/configure
+++ b/net/nagios-plugins/scripts/configure
@@ -89,7 +89,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
+ echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;
diff --git a/net/netsaint-plugins/scripts/configure b/net/netsaint-plugins/scripts/configure
index cb5b819b257d..c87ea1adc9f5 100644
--- a/net/netsaint-plugins/scripts/configure
+++ b/net/netsaint-plugins/scripts/configure
@@ -87,7 +87,7 @@ while [ "$1" ]; do
SUB_PGSQL=""
;;
\"OpenLDAP\")
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
+ echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
echo "CONFIGURE_ARGS+= --enable-ldap"
SUB_LDAP=""
;;
diff --git a/net/openldap2/Makefile b/net/openldap2/Makefile
deleted file mode 100644
index dcf79d4c8d3c..000000000000
--- a/net/openldap2/Makefile
+++ /dev/null
@@ -1,109 +0,0 @@
-# New ports collection makefile for: OpenLDAP 2.x
-# Date created: 20 Sep 1998
-# Whom: Lachlan O'Dea
-#
-# $FreeBSD$
-#
-
-PORTNAME= openldap
-PORTVERSION= 2.0.25
-PORTREVISION= 3
-CATEGORIES= net databases
-MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.net.lut.ac.uk/openldap/%SUBDIR%/ \
- ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
- ftp://mirror.aarnet.edu.au/pub/OpenLDAP/%SUBDIR%/ \
- ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \
- http://www.unibase.cz/ldapcz/Programy/Free/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.loxinfo.co.th/pub/unix/LDAP/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.zcu.cz/pub/network/openldap/%SUBDIR%/
-MASTER_SITE_SUBDIR= openldap-release
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Open source LDAP client and server software
-
-LIB_DEPENDS= db3.3:${PORTSDIR}/databases/db3
-
-USE_AUTOCONF_VER=213
-USE_LIBTOOL= yes
-USE_OPENSSL= yes
-USE_REINPLACE= yes
-
-LATEST_LINK= openldap2
-
-CONFIGURE_ARGS= --localstatedir=/var/db \
- --with-threads \
- --enable-shared \
- --enable-dnssrv \
- --with-tls=openssl
-
-# Include tcp-wrapper support
-.if exists(/usr/include/tcpd.h)
-CONFIGURE_ARGS+= --enable-wrappers
-.endif
-
-# math.h uses _REENTRANT and stdio.h uses _THREAD_SAFE, so define both.
-CPPFLAGS+= -D_REENTRANT ${PTHREAD_CFLAGS} \
- -I${LOCALBASE}/include \
- -I${LOCALBASE}/include/db3
-LDFLAGS+= -L${LOCALBASE}/lib
-
-.if defined(WITH_SASL)
-LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
-CPPFLAGS+= -I${LOCALBASE}/include/sasl1
-.endif
-
-.if defined(WITH_ODBC)
-LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
-CONFIGURE_ARGS+=--enable-sql
-.endif
-
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
- LDFLAGS="${LDFLAGS}"
-
-INSTALLS_SHLIB= yes
-
-BINS= bin/ldapadd \
- bin/ldapdelete \
- bin/ldapmodify \
- bin/ldapmodrdn \
- bin/ldappasswd \
- bin/ldapsearch \
- bin/ud \
- libexec/fax500 \
- libexec/go500 \
- libexec/go500gw \
- libexec/in.xfingerd \
- libexec/mail500 \
- libexec/maildap \
- libexec/rcpt500 \
- libexec/rp500 \
- libexec/slapd \
- libexec/slurpd
-
-.include <bsd.port.pre.mk>
-.include "${FILESDIR}/manpages"
-
-post-patch:
- @${REINPLACE_CMD} -e 's@%LOCALSTATEDIR%/slapd[.]pid@/var/run/slapd.pid@g; \
- s@%LOCALSTATEDIR%/slapd[.]args@/var/run/slapd.args@g' ${WRKSRC}/servers/slapd/slapd.conf
-
-post-configure:
- @cd ${WRKSRC} ; ${PATCH} < ${FILESDIR}/libtool.diff
-
-pre-build:
- @cd ${WRKSRC} ; ${MAKE} depend
-
-post-build:
- @${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/slapd.sh >${WRKDIR}/slapd.sh
-
-post-install:
-.for f in ${BINS}
- @strip ${PREFIX}/${f}
-.endfor
- @${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/net/openldap2/distinfo b/net/openldap2/distinfo
deleted file mode 100644
index f601d787d61f..000000000000
--- a/net/openldap2/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (openldap-2.0.25.tgz) = 57ed9ea3d872595076d6eab7b93337bd
diff --git a/net/openldap2/files/libtool.diff b/net/openldap2/files/libtool.diff
deleted file mode 100644
index 0cf57bbee7ea..000000000000
--- a/net/openldap2/files/libtool.diff
+++ /dev/null
@@ -1,19 +0,0 @@
---- libtool.orig Tue Oct 31 01:43:06 2000
-+++ libtool Tue Oct 31 01:44:42 2000
-@@ -448,6 +448,16 @@
- --mode) prevopt="--mode" prev=mode ;;
- --mode=*) mode="$optarg" ;;
-
-+ --only-shared)
-+ build_libtool_libs=yes
-+ build_old_libs=no
-+ ;;
-+
-+ --only-static)
-+ build_libtool_libs=no
-+ build_old_libs=yes
-+ ;;
-+
- --quiet | --silent)
- show=:
- ;;
diff --git a/net/openldap2/files/manpages b/net/openldap2/files/manpages
deleted file mode 100644
index 1c39b81911fc..000000000000
--- a/net/openldap2/files/manpages
+++ /dev/null
@@ -1,219 +0,0 @@
-MAN1+= ldapdelete.1
-MAN1+= ldapmodify.1
-MAN1+= ldapmodrdn.1
-MAN1+= ldappasswd.1
-MAN1+= ldapsearch.1
-MAN1+= ud.1
-MAN3+= lber-decode.3
-MAN3+= lber-encode.3
-MAN3+= lber-memory.3
-MAN3+= lber-types.3
-MAN3+= ldap.3
-MAN3+= ldap_abandon.3
-MAN3+= ldap_add.3
-MAN3+= ldap_bind.3
-MAN3+= ldap_cache.3
-MAN3+= ldap_compare.3
-MAN3+= ldap_delete.3
-MAN3+= ldap_disptmpl.3
-MAN3+= ldap_entry2text.3
-MAN3+= ldap_error.3
-MAN3+= ldap_first_attribute.3
-MAN3+= ldap_first_entry.3
-MAN3+= ldap_friendly.3
-MAN3+= ldap_get_dn.3
-MAN3+= ldap_get_values.3
-MAN3+= ldap_getfilter.3
-MAN3+= ldap_modify.3
-MAN3+= ldap_modrdn.3
-MAN3+= ldap_open.3
-MAN3+= ldap_result.3
-MAN3+= ldap_schema.3
-MAN3+= ldap_search.3
-MAN3+= ldap_searchprefs.3
-MAN3+= ldap_sort.3
-MAN3+= ldap_ufn.3
-MAN3+= ldap_url.3
-MAN5+= ldap.conf.5
-MAN5+= ldapfilter.conf.5
-MAN5+= ldapfriendly.5
-MAN5+= ldapsearchprefs.conf.5
-MAN5+= ldaptemplates.conf.5
-MAN5+= ldif.5
-MAN5+= slapd.conf.5
-MAN5+= slapd.replog.5
-MAN5+= ud.conf.5
-MAN8+= go500.8
-MAN8+= go500gw.8
-MAN8+= in.xfingerd.8
-MAN8+= mail500.8
-MAN8+= rcpt500.8
-MAN8+= slapadd.8
-MAN8+= slapcat.8
-MAN8+= slapd.8
-MAN8+= slapindex.8
-MAN8+= slappasswd.8
-MAN8+= slurpd.8
-MLINKS+= lber-decode.3 ber_first_element.3
-MLINKS+= lber-decode.3 ber_get_bitstring.3
-MLINKS+= lber-decode.3 ber_get_boolean.3
-MLINKS+= lber-decode.3 ber_get_enum.3
-MLINKS+= lber-decode.3 ber_get_int.3
-MLINKS+= lber-decode.3 ber_get_next.3
-MLINKS+= lber-decode.3 ber_get_null.3
-MLINKS+= lber-decode.3 ber_get_stringa.3
-MLINKS+= lber-decode.3 ber_get_stringb.3
-MLINKS+= lber-decode.3 ber_next_element.3
-MLINKS+= lber-decode.3 ber_peek_tag.3
-MLINKS+= lber-decode.3 ber_scanf.3
-MLINKS+= lber-decode.3 ber_skip_tag.3
-MLINKS+= lber-encode.3 ber_alloc_t.3
-MLINKS+= lber-encode.3 ber_flush.3
-MLINKS+= lber-encode.3 ber_printf.3
-MLINKS+= lber-encode.3 ber_put_enum.3
-MLINKS+= lber-encode.3 ber_put_int.3
-MLINKS+= lber-encode.3 ber_put_null.3
-MLINKS+= lber-encode.3 ber_put_ostring.3
-MLINKS+= lber-encode.3 ber_put_seq.3
-MLINKS+= lber-encode.3 ber_put_set.3
-MLINKS+= lber-encode.3 ber_put_string.3
-MLINKS+= lber-decode.3 ber_start_set.3
-MLINKS+= ldap.3 cldap.3
-MLINKS+= ldap_add.3 ldap_add_s.3
-MLINKS+= ldap_bind.3 ldap_abandon_ext.3
-MLINKS+= ldap_bind.3 ldap_add_ext.3
-MLINKS+= ldap_bind.3 ldap_add_ext_s.3
-MLINKS+= ldap_bind.3 ldap_bind_s.3
-MLINKS+= ldap_bind.3 ldap_kerberos_bind1.3
-MLINKS+= ldap_bind.3 ldap_kerberos_bind1_s.3
-MLINKS+= ldap_bind.3 ldap_kerberos_bind2.3
-MLINKS+= ldap_bind.3 ldap_kerberos_bind2_s.3
-MLINKS+= ldap_bind.3 ldap_kerberos_bind_s.3
-MLINKS+= ldap_bind.3 ldap_sasl_bind.3
-MLINKS+= ldap_bind.3 ldap_sasl_bind_s.3
-MLINKS+= ldap_bind.3 ldap_set_rebind_proc.3
-MLINKS+= ldap_bind.3 ldap_simple_bind.3
-MLINKS+= ldap_bind.3 ldap_simple_bind_s.3
-MLINKS+= ldap_bind.3 ldap_unbind.3
-MLINKS+= ldap_bind.3 ldap_unbind_ext.3
-MLINKS+= ldap_bind.3 ldap_unbind_ext_s.3
-MLINKS+= ldap_bind.3 ldap_unbind_s.3
-MLINKS+= ldap_cache.3 ldap_destroy_cache.3
-MLINKS+= ldap_cache.3 ldap_disable_cache.3
-MLINKS+= ldap_cache.3 ldap_enable_cache.3
-MLINKS+= ldap_cache.3 ldap_flush_cache.3
-MLINKS+= ldap_cache.3 ldap_set_cache_options.3
-MLINKS+= ldap_cache.3 ldap_uncache_entry.3
-MLINKS+= ldap_cache.3 ldap_uncache_request.3
-MLINKS+= ldap_charset.3 ldap_8859_to_t61.3
-MLINKS+= ldap_charset.3 ldap_enable_translation.3
-MLINKS+= ldap_charset.3 ldap_set_string_translators.3
-MLINKS+= ldap_charset.3 ldap_t61_to_8859.3
-MLINKS+= ldap_charset.3 ldap_translate_from_t61.3
-MLINKS+= ldap_charset.3 ldap_translate_to_t61.3
-MLINKS+= ldap_compare.3 ldap_compare_ext.3
-MLINKS+= ldap_compare.3 ldap_compare_ext_s.3
-MLINKS+= ldap_compare.3 ldap_compare_s.3
-MLINKS+= ldap_delete.3 ldap_delete_ext.3
-MLINKS+= ldap_delete.3 ldap_delete_ext_s.3
-MLINKS+= ldap_delete.3 ldap_delete_s.3
-MLINKS+= ldap_disptmpl.3 ldap_first_disptmpl.3
-MLINKS+= ldap_disptmpl.3 ldap_first_tmplcol.3
-MLINKS+= ldap_disptmpl.3 ldap_first_tmplrow.3
-MLINKS+= ldap_disptmpl.3 ldap_free_templates.3
-MLINKS+= ldap_disptmpl.3 ldap_init_templates.3
-MLINKS+= ldap_disptmpl.3 ldap_init_templates_buf.3
-MLINKS+= ldap_disptmpl.3 ldap_next_disptmpl.3
-MLINKS+= ldap_disptmpl.3 ldap_next_tmplcol.3
-MLINKS+= ldap_disptmpl.3 ldap_next_tmplrow.3
-MLINKS+= ldap_disptmpl.3 ldap_oc2template.3
-MLINKS+= ldap_disptmpl.3 ldap_tmplattrs.3
-MLINKS+= ldap_entry2text.3 ldap_entry2html.3
-MLINKS+= ldap_entry2text.3 ldap_entry2html_search.3
-MLINKS+= ldap_entry2text.3 ldap_entry2text_search.3
-MLINKS+= ldap_entry2text.3 ldap_vals2html.3
-MLINKS+= ldap_entry2text.3 ldap_vals2text.3
-MLINKS+= ldap_error.3 ld_errno.3
-MLINKS+= ldap_error.3 ldap_err2string.3
-MLINKS+= ldap_error.3 ldap_errlist.3
-MLINKS+= ldap_error.3 ldap_perror.3
-MLINKS+= ldap_error.3 ldap_result2error.3
-MLINKS+= ldap_first_attribute.3 ldap_next_attribute.3
-MLINKS+= ldap_first_entry.3 ldap_count_entries.3
-MLINKS+= ldap_first_entry.3 ldap_next_entry.3
-MLINKS+= ldap_friendly.3 ldap_free_friendlymap.3
-MLINKS+= ldap_friendly.3 ldap_friendly_name.3
-MLINKS+= ldap_get_dn.3 ldap_dn2ufn.3
-MLINKS+= ldap_get_dn.3 ldap_explode_dn.3
-MLINKS+= ldap_get_dn.3 ldap_explode_dns.3
-MLINKS+= ldap_get_dn.3 ldap_explode_rdn.3
-MLINKS+= ldap_get_dn.3 ldap_is_dns_dn.3
-MLINKS+= ldap_get_values.3 ldap_count_values.3
-MLINKS+= ldap_get_values.3 ldap_count_values_len.3
-MLINKS+= ldap_get_values.3 ldap_get_values_len.3
-MLINKS+= ldap_get_values.3 ldap_value_free.3
-MLINKS+= ldap_get_values.3 ldap_value_free_len.3
-MLINKS+= ldap_getfilter.3 ldap_build_filter.3
-MLINKS+= ldap_getfilter.3 ldap_getfilter_free.3
-MLINKS+= ldap_getfilter.3 ldap_getfirstfilter.3
-MLINKS+= ldap_getfilter.3 ldap_getnextfilter.3
-MLINKS+= ldap_getfilter.3 ldap_init_getfilter.3
-MLINKS+= ldap_getfilter.3 ldap_init_getfilter_buf.3
-MLINKS+= ldap_getfilter.3 ldap_setfilteraffixes.3
-MLINKS+= ldap_modify.3 ldap_modify_ext.3
-MLINKS+= ldap_modify.3 ldap_modify_ext_s.3
-MLINKS+= ldap_modify.3 ldap_modify_s.3
-MLINKS+= ldap_modify.3 ldap_mods_free.3
-MLINKS+= ldap_modrdn.3 ldap_modrdn2.3
-MLINKS+= ldap_modrdn.3 ldap_modrdn2_s.3
-MLINKS+= ldap_modrdn.3 ldap_modrdn_s.3
-MLINKS+= ldap_open.3 ldap_init.3
-MLINKS+= ldap_result.3 ldap_msgfree.3
-MLINKS+= ldap_result.3 ldap_msgid.3
-MLINKS+= ldap_result.3 ldap_msgtype.3
-MLINKS+= ldap_schema.3 ldap_attributetype2name.3
-MLINKS+= ldap_schema.3 ldap_attributetype2str.3
-MLINKS+= ldap_schema.3 ldap_attributetype_free.3
-MLINKS+= ldap_schema.3 ldap_matchingrule2name.3
-MLINKS+= ldap_schema.3 ldap_matchingrule2str.3
-MLINKS+= ldap_schema.3 ldap_matchingrule_free.3
-MLINKS+= ldap_schema.3 ldap_objectclass2name.3
-MLINKS+= ldap_schema.3 ldap_objectclass2str.3
-MLINKS+= ldap_schema.3 ldap_objectclass_free.3
-MLINKS+= ldap_schema.3 ldap_scherr2str.3
-MLINKS+= ldap_schema.3 ldap_str2attributetype.3
-MLINKS+= ldap_schema.3 ldap_str2matchingrule.3
-MLINKS+= ldap_schema.3 ldap_str2objectclass.3
-MLINKS+= ldap_schema.3 ldap_str2syntax.3
-MLINKS+= ldap_schema.3 ldap_syntax2name.3
-MLINKS+= ldap_schema.3 ldap_syntax2str.3
-MLINKS+= ldap_schema.3 ldap_syntax_free.3
-MLINKS+= ldap_search.3 ldap_search_ext.3
-MLINKS+= ldap_search.3 ldap_search_ext_s.3
-MLINKS+= ldap_search.3 ldap_search_s.3
-MLINKS+= ldap_search.3 ldap_search_st.3
-MLINKS+= ldap_searchprefs.3 ldap_first_searchobj.3
-MLINKS+= ldap_searchprefs.3 ldap_free_searchprefs.3
-MLINKS+= ldap_searchprefs.3 ldap_init_searchprefs.3
-MLINKS+= ldap_searchprefs.3 ldap_init_searchprefs_buf.3
-MLINKS+= ldap_searchprefs.3 ldap_next_searchobj.3
-MLINKS+= ldap_sort.3 ldap_sort_entries.3
-MLINKS+= ldap_sort.3 ldap_sort_strcasecmp.3
-MLINKS+= ldap_sort.3 ldap_sort_values.3
-MLINKS+= ldap_ufn.3 ldap_ufn_search_c.3
-MLINKS+= ldap_ufn.3 ldap_ufn_search_ct.3
-MLINKS+= ldap_ufn.3 ldap_ufn_search_s.3
-MLINKS+= ldap_ufn.3 ldap_ufn_setfilter.3
-MLINKS+= ldap_ufn.3 ldap_ufn_setprefix.3
-MLINKS+= ldap_ufn.3 ldap_ufn_timeout.3
-MLINKS+= ldap_url.3 ldap_free_urldesc.3
-MLINKS+= ldap_url.3 ldap_is_ldap_url.3
-MLINKS+= ldap_url.3 ldap_url_parse.3
-MLINKS+= ldap_url.3 ldap_url_search.3
-MLINKS+= ldap_url.3 ldap_url_search_s.3
-MLINKS+= ldap_url.3 ldap_url_search_st.3
-MLINKS+= ldapmodify.1 ldapadd.1
-MLINKS+= ldif2ldbm.8 ldif2id2children.8
-MLINKS+= ldif2ldbm.8 ldif2id2entry.8
-MLINKS+= ldif2ldbm.8 ldif2index.8
-MLINKS+= mail500.8 fax500.8
diff --git a/net/openldap2/files/patch-clients_ud_Makefile.in b/net/openldap2/files/patch-clients_ud_Makefile.in
deleted file mode 100644
index 18f342c29a53..000000000000
--- a/net/openldap2/files/patch-clients_ud_Makefile.in
+++ /dev/null
@@ -1,8 +0,0 @@
---- clients/ud/Makefile.in.orig Wed Jan 13 20:02:11 1999
-+++ clients/ud/Makefile.in Wed Jul 26 14:24:14 2000
-@@ -26,4 +26,4 @@
- install-local: FORCE
- -$(MKDIR) $(bindir)
- -mv -f $(bindir)/ud $(bindir)/ud-
-- $(LTINSTALL) $(INSTALLFLAGS) -m 775 ud $(bindir)
-+ $(LTINSTALL) $(INSTALLFLAGS) -m 755 ud $(bindir)
diff --git a/net/openldap2/files/patch-servers_slapd_schema b/net/openldap2/files/patch-servers_slapd_schema
deleted file mode 100644
index 31969e8bb621..000000000000
--- a/net/openldap2/files/patch-servers_slapd_schema
+++ /dev/null
@@ -1,20 +0,0 @@
---- servers/slapd/schema/krb5-kdc.schema.orig Tue Sep 5 13:28:34 2000
-+++ servers/slapd/schema/krb5-kdc.schema Mon Oct 30 13:09:19 2000
-@@ -96,7 +96,7 @@
- attributetype ( 1.3.6.1.4.1.5322.10.1.10
- NAME 'krb5Key'
- DESC 'Encoded ASN1 Key as an octet string'
-- SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
-+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
-
- attributetype ( 1.3.6.1.4.1.5322.10.1.11
- NAME 'krb5PrincipalRealm'
-@@ -112,7 +112,7 @@
-
- objectclass ( 1.3.6.1.4.1.5322.10.2.1
- NAME 'krb5Principal'
-- SUP top
-+ SUP person
- AUXILIARY
- MUST ( krb5PrincipalName )
- MAY ( cn $ krb5PrincipalRealm ) )
diff --git a/net/openldap2/files/slapd.sh b/net/openldap2/files/slapd.sh
deleted file mode 100644
index e6305bb448fa..000000000000
--- a/net/openldap2/files/slapd.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-
-slapd_program=@@PREFIX@@/libexec/slapd
-
-# Uncomment one of the following:
-#
-# IPv4 Only
-#slapd_args='-h ldap://0.0.0.0;'
-#
-# IPv6 and IPv4
-#slapd_ags='-h "ldap://[::] ldap://0.0.0.0";'
-#
-# IPv6 Only
-#slapd_args='-h ldap://[::];'
-#
-#
-slapd_args=
-
-pidfile=/var/run/slapd.pid
-
-case "$1" in
-start)
- if [ -x $slapd ]; then
- echo -n ' slapd'
- ${slapd_program} ${slapd_args}
-
- fi
- ;;
-stop)
- if [ -f $pidfile ]; then
- kill `cat $pidfile`
- telnet localhost ldap </dev/null >/dev/null 2>&1
- echo -n ' slapd'
- rm $pidfile
- else
- echo ' slapd: not running'
- fi
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0
diff --git a/net/openldap2/pkg-descr b/net/openldap2/pkg-descr
deleted file mode 100644
index aec3ae0f7cf4..000000000000
--- a/net/openldap2/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-OpenLDAP is a suite of Lightweight Directory Access Protocol (LDAP) servers,
-clients, utilities and development tools. LDAP is an Internet standard
-directory service protocol that can be used stand-alone, or as a front end
-to an X.500 directory. LDAP is defined by RFCs 1777 through 1779.
-
-OpenLDAP is derived from the University of Michigan LDAP release 3.3 and is
-distributed under an open source license.
-
-WWW: http://www.openldap.org/
-
-Lachlan O'Dea
-ulmo@earthling.net
diff --git a/net/openldap2/pkg-message b/net/openldap2/pkg-message
deleted file mode 100644
index 047bb0c9d5b4..000000000000
--- a/net/openldap2/pkg-message
+++ /dev/null
@@ -1,7 +0,0 @@
-************************************************************
-If you are upgrading an older (1.85) database, be sure to
-convert the *.dbb files, e.g:
-
- mv file.dbb file.old
- db_dump185 file.old | db_load file.dbb
-************************************************************
diff --git a/net/openldap2/pkg-plist b/net/openldap2/pkg-plist
deleted file mode 100644
index e94071bafa99..000000000000
--- a/net/openldap2/pkg-plist
+++ /dev/null
@@ -1,88 +0,0 @@
-bin/ldapadd
-bin/ldapdelete
-bin/ldapmodify
-bin/ldapmodrdn
-bin/ldappasswd
-bin/ldapsearch
-bin/ud
-@unexec if cmp -s %D/etc/openldap/ldap.conf %D/etc/openldap/ldap.conf.default; then rm -f %D/etc/openldap/ldap.conf; fi
-etc/openldap/ldap.conf.default
-@exec [ -f %B/ldap.conf ] || cp %B/%f %B/ldap.conf
-@unexec if cmp -s %D/etc/openldap/ldapfilter.conf %D/etc/openldap/ldapfilter.conf.default; then rm -f %D/etc/openldap/ldapfilter.conf; fi
-etc/openldap/ldapfilter.conf.default
-@exec [ -f %B/ldapfilter.conf ] || cp %B/%f %B/ldapfilter.conf
-@unexec if cmp -s %D/etc/openldap/ldapsearchprefs.conf %D/etc/openldap/ldapsearchprefs.conf.default; then rm -f %D/etc/openldap/ldapsearchprefs.conf; fi
-etc/openldap/ldapsearchprefs.conf.default
-@exec [ -f %B/ldapsearchprefs.conf ] || cp %B/%f %B/ldapsearchprefs.conf
-@unexec if cmp -s %D/etc/openldap/ldaptemplates.conf %D/etc/openldap/ldaptemplates.conf.default; then rm -f %D/etc/openldap/ldaptemplates.conf; fi
-etc/openldap/ldaptemplates.conf.default
-@exec [ -f %B/ldaptemplates.conf ] || cp %B/%f %B/ldaptemplates.conf
-@unexec if cmp -s %D/etc/openldap/schema/corba.schema %D/etc/openldap/schema/corba.schema.default; then rm -f %D/etc/openldap/schema/corba.schema; fi
-etc/openldap/schema/corba.schema.default
-@exec [ -f %B/corba.schema ] || cp %B/%f %B/corba.schema
-@unexec if cmp -s %D/etc/openldap/schema/core.schema %D/etc/openldap/schema/core.schema.default; then rm -f %D/etc/openldap/schema/core.schema; fi
-etc/openldap/schema/core.schema.default
-@exec [ -f %B/core.schema ] || cp %B/%f %B/core.schema
-@unexec if cmp -s %D/etc/openldap/schema/cosine.schema %D/etc/openldap/schema/cosine.schema.default; then rm -f %D/etc/openldap/schema/cosine.schema; fi
-etc/openldap/schema/cosine.schema.default
-@exec [ -f %B/cosine.schema ] || cp %B/%f %B/cosine.schema
-@unexec if cmp -s %D/etc/openldap/schema/inetorgperson.schema %D/etc/openldap/schema/inetorgperson.schema.default; then rm -f %D/etc/openldap/schema/inetorgperson.schema; fi
-etc/openldap/schema/inetorgperson.schema.default
-@exec [ -f %B/inetorgperson.schema ] || cp %B/%f %B/inetorgperson.schema
-@unexec if cmp -s %D/etc/openldap/schema/java.schema %D/etc/openldap/schema/java.schema.default; then rm -f %D/etc/openldap/schema/java.schema; fi
-etc/openldap/schema/java.schema.default
-@exec [ -f %B/java.schema ] || cp %B/%f %B/java.schema
-@unexec if cmp -s %D/etc/openldap/schema/krb5-kdc.schema %D/etc/openldap/schema/krb5-kdc.schema.default; then rm -f %D/etc/openldap/schema/krb5-kdc.schema; fi
-etc/openldap/schema/krb5-kdc.schema.default
-@exec [ -f %B/krb5-kdc.schema ] || cp %B/%f %B/krb5-kdc.schema
-@unexec if cmp -s %D/etc/openldap/schema/misc.schema %D/etc/openldap/schema/misc.schema.default; then rm -f %D/etc/openldap/schema/misc.schema; fi
-etc/openldap/schema/misc.schema.default
-@exec [ -f %B/misc.schema ] || cp %B/%f %B/misc.schema
-@unexec if cmp -s %D/etc/openldap/schema/nis.schema %D/etc/openldap/schema/nis.schema.default; then rm -f %D/etc/openldap/schema/nis.schema; fi
-etc/openldap/schema/nis.schema.default
-@exec [ -f %B/nis.schema ] || cp %B/%f %B/nis.schema
-@unexec if cmp -s %D/etc/openldap/schema/openldap.schema %D/etc/openldap/schema/openldap.schema.default; then rm -f %D/etc/openldap/schema/openldap.schema; fi
-etc/openldap/schema/openldap.schema.default
-@exec [ -f %B/openldap.schema ] || cp %B/%f %B/openldap.schema
-@unexec if cmp -s %D/etc/openldap/slapd.conf %D/etc/openldap/slapd.conf.default; then rm -f %D/etc/openldap/slapd.conf; fi
-etc/openldap/slapd.conf.default
-@exec [ -f %B/slapd.conf ] || cp %B/%f %B/slapd.conf
-@unexec /bin/rmdir %D/etc/openldap/schema 2>/dev/null || true
-@unexec /bin/rmdir %D/etc/openldap 2>/dev/null || true
-etc/rc.d/slapd.sh.sample
-include/disptmpl.h
-include/lber.h
-include/lber_types.h
-include/ldap.h
-include/ldap_cdefs.h
-include/ldap_features.h
-include/ldap_schema.h
-include/srchpref.h
-lib/liblber.a
-lib/liblber.so
-lib/liblber.so.2
-lib/libldap.a
-lib/libldap.so
-lib/libldap.so.2
-lib/libldap_r.a
-lib/libldap_r.so
-lib/libldap_r.so.2
-libexec/fax500
-libexec/go500
-libexec/go500gw
-libexec/in.xfingerd
-libexec/mail500
-libexec/maildap
-libexec/rcpt500
-libexec/rp500
-libexec/slapd
-libexec/slurpd
-libexec/xrpcomp
-sbin/slapadd
-sbin/slapcat
-sbin/slapindex
-sbin/slappasswd
-share/openldap/go500gw.help
-share/openldap/ldapfriendly
-share/openldap/rcpt500.help
-@dirrm share/openldap
diff --git a/net/py-ldap2/Makefile b/net/py-ldap2/Makefile
index c7a97e2bdb87..f5387eb55716 100644
--- a/net/py-ldap2/Makefile
+++ b/net/py-ldap2/Makefile
@@ -15,7 +15,7 @@ DISTNAME= python-ldap-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An LDAP module for python, for OpenLDAP2
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20
USE_PYTHON= yes
USE_PYDISTUTILS= yes
diff --git a/net/ruby-ldap/Makefile b/net/ruby-ldap/Makefile
index 50575632ec88..9dee3e88836d 100644
--- a/net/ruby-ldap/Makefile
+++ b/net/ruby-ldap/Makefile
@@ -21,7 +21,7 @@ WITH_LDAP?= openldap2
.if ${WITH_LDAP} == openldap1
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12
.elif ${WITH_LDAP} == openldap2
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20
.elif ${WITH_LDAP} == ldapsdk
LIB_DEPENDS= ${LOCALBASE}/mozilla/directory/lib/libldap.so.1:${PORTSDIR}/net/ldapsdk
.else
diff --git a/net/samba-tng/Makefile b/net/samba-tng/Makefile
index ee6b8aa0394b..a789351eddda 100644
--- a/net/samba-tng/Makefile
+++ b/net/samba-tng/Makefile
@@ -69,7 +69,7 @@ CONFIGURE_ARGS+= --with-msdfs
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+= --with-ldapsam
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 1cf4b8f92576..802f9e8a7e21 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -99,7 +99,7 @@ CONFIGURE_ARGS+= --with-msdfs
.endif
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
CONFIGURE_ARGS+= --with-ldapsam
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index dff267192088..dfdf9a6388fb 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -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/openldap2
-LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
+LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20
.endif
# This may be set interactively at install-time. NNTPCache will
diff --git a/security/cyrus-sasl/scripts/configure.sasl b/security/cyrus-sasl/scripts/configure.sasl
index d3ae71970648..5f0aa68d544a 100644
--- a/security/cyrus-sasl/scripts/configure.sasl
+++ b/security/cyrus-sasl/scripts/configure.sasl
@@ -152,8 +152,8 @@ while [ "$1" ]; do
rm -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
exit 1
fi
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
- echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap2"
+ echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
+ echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap20"
echo "CONFIGURE_ARGS+= --with-ldap=\${PREFIX}"
OPENLDAP=1
;;
diff --git a/security/cyrus-sasl2/scripts/configure.sasl b/security/cyrus-sasl2/scripts/configure.sasl
index 747eff735b80..0ced2b0a6a71 100644
--- a/security/cyrus-sasl2/scripts/configure.sasl
+++ b/security/cyrus-sasl2/scripts/configure.sasl
@@ -107,8 +107,8 @@ while [ "$1" ]; do
DEFMYSQL=1
;;
\"OpenLDAP\")
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
- echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap2"
+ echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap20"
+ echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap20"
echo "CONFIGURE_ARGS+= --with-ldap=\${PREFIX}"
OPENLDAP=1
;;
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 917f25df90b6..6e91eb9737a1 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -36,7 +36,7 @@ MAN7= gnupg.7
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index 917f25df90b6..6e91eb9737a1 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -36,7 +36,7 @@ MAN7= gnupg.7
LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
.endif
.if defined(WITH_LDAP) || exists(${PREFIX}/lib/libldap.so)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
PLIST_SUB+= WITH_LDAP=""
.else
PLIST_SUB+= WITH_LDAP="@comment "
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index c2bf30da66cb..f406d257a9f9 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -18,7 +18,7 @@ DISTNAME= heimdal-${PORTVERSION}
MAINTAINER= nectar@FreeBSD.ORG
.if defined(WITH_LDAP)
-LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20
.endif
.if defined(WITH_CRACKLIB)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libcrack.a:${PORTSDIR}/security/cracklib
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index 9087661781d9..96f0d04ce943 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -14,7 +14,7 @@ MAINTAINER= bms@spc.org
COMMENT= ISO 7816 Smartcard API Library (OpenSSH Compatible)
LIB_DEPENDS= pcsclite.0:${PORTSDIR}/devel/pcsc-lite \
- ldap.2:${PORTSDIR}/net/openldap2
+ ldap.2:${PORTSDIR}/net/openldap20
INSTALLS_SHLIB= yes
USE_OPENSSL= yes
diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile
index e80bc124cad9..822446581f86 100644
--- a/security/pam_ldap/Makefile
+++ b/security/pam_ldap/Makefile
@@ -17,8 +17,8 @@ MAINTAINER= marcus@FreeBSD.org
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_LDAP_V3)
-LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2 \
- lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap20 \
+ lber.2:${PORTSDIR}/net/openldap20
.else
LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12 \
lber.1:${PORTSDIR}/net/openldap12
diff --git a/www/auth_ldap/Makefile b/www/auth_ldap/Makefile
index 0717c5a89a41..eaacf3aafcc0 100644
--- a/www/auth_ldap/Makefile
+++ b/www/auth_ldap/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Apache module to authenticate against an LDAP directory
BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
-LIB_DEPENDS= lber.2:${PORTSDIR}/net/openldap2
+LIB_DEPENDS= lber.2:${PORTSDIR}/net/openldap20
RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
GNU_CONFIGURE= yes
diff --git a/www/mod_php4/scripts/configure.php b/www/mod_php4/scripts/configure.php
index dafcd70dd7ce..ba30bbc87754 100644
--- a/www/mod_php4/scripts/configure.php
+++ b/www/mod_php4/scripts/configure.php
@@ -233,8 +233,8 @@ while [ "$1" ]; do
OPENLDAP1=1
;;
\"OpenLDAP2\")
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
- echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap2"
+ 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
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index dafcd70dd7ce..ba30bbc87754 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -233,8 +233,8 @@ while [ "$1" ]; do
OPENLDAP1=1
;;
\"OpenLDAP2\")
- echo "LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2"
- echo "LIB_DEPENDS+= lber.2:\${PORTSDIR}/net/openldap2"
+ 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