aboutsummaryrefslogtreecommitdiff
path: root/net/openldap23-server
diff options
context:
space:
mode:
Diffstat (limited to 'net/openldap23-server')
-rw-r--r--net/openldap23-server/Makefile451
-rw-r--r--net/openldap23-server/distinfo2
-rw-r--r--net/openldap23-server/files/extrapatch-Makefile.in17
-rw-r--r--net/openldap23-server/files/manpages214
-rw-r--r--net/openldap23-server/files/patch-build::top.mk11
-rw-r--r--net/openldap23-server/files/patch-configure20
-rw-r--r--net/openldap23-server/files/patch-include::ldap_defaults.h11
-rw-r--r--net/openldap23-server/files/patch-servers::slapd::Makefile.in44
-rw-r--r--net/openldap23-server/files/patch-servers_slapd_overlays_Makefile.in12
-rw-r--r--net/openldap23-server/files/pkg-deinstall.in33
-rw-r--r--net/openldap23-server/files/pkg-install.in44
-rw-r--r--net/openldap23-server/files/pkg-message.client.in13
-rw-r--r--net/openldap23-server/files/pkg-message.in23
-rw-r--r--net/openldap23-server/files/slapd.in104
-rw-r--r--net/openldap23-server/files/slurpd.in35
-rw-r--r--net/openldap23-server/pkg-descr12
-rw-r--r--net/openldap23-server/pkg-descr.client11
-rw-r--r--net/openldap23-server/pkg-plist75
-rw-r--r--net/openldap23-server/pkg-plist.client45
19 files changed, 0 insertions, 1177 deletions
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile
deleted file mode 100644
index 20b1c0b19c9b..000000000000
--- a/net/openldap23-server/Makefile
+++ /dev/null
@@ -1,451 +0,0 @@
-# Created by: Vsevolod Stakhov <vsevolod@highsecure.ru>
-# $FreeBSD$
-
-PORTNAME= openldap
-DISTVERSION= 2.3.43
-PORTREVISION= 2
-PORTREVISION= ${OPENLDAP_PORTREVISION}
-CATEGORIES= net databases
-MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
- ftp://gd.tuwien.ac.at/infosys/network/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.matrix.com.br/pub/openldap/%SUBDIR%/ \
- ftp://ftp.ucr.ac.cr/pub/Unix/openldap/%SUBDIR%/ \
- ftp://ftp.ntua.gr/mirror/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.dti.ad.jp/pub/net/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.u-aizu.ac.jp/pub/net/openldap/%SUBDIR%/ \
- ftp://ftp.holywar.net/pub/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.nl.uu.net/pub/unix/db/openldap/%SUBDIR%/ \
- ftp://ftp.linux.pt/pub/mirrors/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.rediris.es/mirror/OpenLDAP/%SUBDIR%/ \
- ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.plig.org/pub/OpenLDAP/%SUBDIR%/ \
- http://www.openldap.org/software/download/OpenLDAP/%SUBDIR%/
-MASTER_SITE_SUBDIR= openldap-release
-PKGNAMESUFFIX?= -server
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= delphij@FreeBSD.org
-COMMENT?= Open source LDAP server implementation
-
-UNIQUENAME?= ${PKGNAMEPREFIX}openldap23
-LATEST_LINK?= ${UNIQUENAME}${PKGNAMESUFFIX}
-USE_OPENSSL= yes
-
-DEPRECATED= Unmaintained by upstream
-EXPIRATION_DATE= 2013-07-01
-
-WANT_OPENLDAP_VER?= 23
-.if ${WANT_OPENLDAP_VER} != 23
-BROKEN= incompatible OpenLDAP version: ${WANT_OPENLDAP_VER}
-.endif
-
-PORTREVISION_CLIENT= 1
-PORTREVISION_SERVER= 0
-
-.if !defined(CLIENT_ONLY)
-OPTIONS_DEFINE= SASL PERL SHELL ODBC SLP SLAPI TCP_WRAPPERS BDB ACCESSLOG DENYOP \
- DYNGROUP DYNLIST LASTMOD PPOLICY PROXYCACHE REFINT RETCODE RWM \
- SYNCPROV TRANSLUCENT UNIQUE VALSORT ACI DYNAMIC_BACKENDS SLURPD
-OPTIONS_DEFAULT= TCP_WRAPPERS BDB DYNAMIC_BACKENDS SLURPD
-SASL_DESC= With (Cyrus) SASL2 support
-PERL_DESC= With Perl backend
-SHELL_DESC= With Shell backend (disables threading)
-ODBC_DESC= With SQL backend
-SLP_DESC= With SLPv2 (RFC 2608) support
-SLAPI_DESC= With Netscape SLAPI plugin API
-TCP_WRAPPERS_DESC= With tcp wrapper support
-BDB_DESC= With BerkeleyDB support
-ACCESSLOG_DESC= With In-Directory Access Logging overlay
-AUDITLOG_DESC= With Audit Logging overlay
-DENYOP_DESC= With Deny Operation overlay
-DYNGROUP_DESC= With Dynamic Group overlay
-DYNLIST_DESC= With Dynamic List overlay
-LASTMOD_DESC= With Last Modification overlay
-PPOLICY_DESC= With Password Policy overlay
-PROXYCACHE_DESC= With Proxy Cache overlay
-REFINT_DESC= With Referential Integrity overlay
-RETCODE_DESC= With Return Code testing overlay
-RWM_DESC= With Rewrite/Remap overlay
-SYNCPROV_DESC= With Syncrepl Provider overlay
-TRANSLUCENT_DESC= With Translucent Proxy overlay
-UNIQUE_DESC= With attribute Uniqueness overlay
-VALSORT_DESC= With Value Sorting overlay
-ACI_DESC= With per-object ACIs (experimental)
-DYNAMIC_BACKENDS_DESC= Build dynamic backends
-SLURPD_DESC= Build slurpd replication daemon
-.endif
-
-.if defined(CLIENT_ONLY)
-OPENLDAP_PORTREVISION= ${PORTREVISION_CLIENT}
-OPENLDAP_PKGFILESUFX= .client
-.else
-OPENLDAP_PORTREVISION= ${PORTREVISION_SERVER}
-OPENLDAP_PKGFILESUFX=
-.endif
-
-CONFIGURE_SED= -e 's,-kthread,${PTHREAD_LIBS},g'
-
-.include <bsd.port.pre.mk>
-
-.if defined(CLIENT_ONLY)
-.if ${PORT_OPTIONS:MSASL}
-PKGNAMESUFFIX= -sasl-client
-COMMENT= Open source LDAP client implementation with SASL2 support
-CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.* \
- ${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.[!3].*
-.else
-PKGNAMESUFFIX= -client
-COMMENT= Open source LDAP client implementation
-CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.[!3].* \
- ${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.*
-.endif
-
-PORTDOCS= CHANGES drafts rfc
-
-.if defined(USE_OPENLDAP)
-BROKEN= You have `USE_OPENLDAP' variable defined either in environment or in make(1) arguments. Please undefine and try again.
-.endif
-.else
-USE_OPENLDAP= yes
-WANT_OPENLDAP_VER= 23
-
-.if defined(WITH_SASL) && !defined(WITHOUT_SASL)
-WANT_OPENLDAP_SASL= yes
-CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-client-2.*
-PKGNAMESUFFIX= -sasl-server
-.else
-CONFLICTS= ${PKGNAMEPREFIX}${PORTNAME}-sasl-client-2.*
-.endif
-
-.endif
-
-USE_AUTOTOOLS= libtool
-
-DESCR= ${PKGDIR}/pkg-descr${OPENLDAP_PKGFILESUFX}
-PLIST= ${PKGDIR}/pkg-plist${OPENLDAP_PKGFILESUFX}
-
-SCHEMATA= corba core cosine dyngroup \
- inetorgperson java misc \
- nis openldap ppolicy
-
-LDAP_RUN_DIR?= /var/run/openldap
-LOCALSTATEDIR?= /var/db
-DATABASEDIR?= ${LOCALSTATEDIR}/openldap-data
-SLURPDIR?= ${LOCALSTATEDIR}/openldap-slurp
-
-SUB_LIST+= LDAP_RUN_DIR=${LDAP_RUN_DIR} \
- DATABASEDIR=${DATABASEDIR} \
- SLURPDIR=${SLURPDIR} \
- PKGNAME=${PKGNAME}
-
-CONFIGURE_ARGS= --with-threads=posix \
- --with-tls=openssl \
- --enable-dynamic
-
-.if ${PORT_OPTIONS:MSASL}
-LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2
-CONFIGURE_ARGS+= --with-cyrus-sasl
-.else
-CONFIGURE_ARGS+= --without-cyrus-sasl
-.endif
-
-.if defined(CLIENT_ONLY)
-# client specific configuration
-
-CONFIGURE_ARGS+= --disable-slapd \
- --disable-monitor \
- --disable-bdb \
- --disable-relay \
- --disable-glue \
- --disable-syncprov
-
-USE_LDCONFIG= yes
-SUB_FILES+= pkg-message.client
-PKGMESSAGE= ${WRKSRC}/pkg-message.client
-
-.else
-# server specific configuration
-
-USE_LDCONFIG= ${PREFIX}/libexec/openldap
-SUB_FILES+= pkg-deinstall pkg-message pkg-install
-USE_RC_SUBR= slapd ${SLURPDSH}
-
-EXTRA_PATCHES+= ${FILESDIR}/extrapatch-Makefile.in
-
-.if defined(WITH_MODULES) || ${PORT_OPTIONS:MDYNAMIC_BACKENDS} || ${PORT_OPTIONS:MSLAPI}
-USE_AUTOTOOLS+= libltdl
-CONFIGURE_ARGS+= --enable-modules
-PLIST_SUB+= MODULES=""
-.else
-PLIST_SUB+= MODULES="@comment "
-.endif
-
-SED_MODULES= -e 's/\(moduleload[ ]*back_[a-z]*\)\.la/\1/'
-
-.if ${PORT_OPTIONS:MDYNAMIC_BACKENDS}
-BACKEND_ENABLE= "mod"
-BACKEND_PLIST= ""
-SED_MODULES+= -e 's/\# *\(modulepath\)/\1/' \
- -e 's/\# *\(moduleload[ ]*back_bdb\)/\1/'
-.else
-BACKEND_ENABLE= "yes"
-BACKEND_PLIST= "@comment "
-.endif
-
-CONFIGURE_ARGS+= --localstatedir=${LOCALSTATEDIR} \
- --enable-ldbm=${BACKEND_ENABLE} \
- --enable-crypt \
- --enable-lmpasswd \
- --enable-ldap=${BACKEND_ENABLE} \
- --enable-meta=${BACKEND_ENABLE} \
- --enable-rewrite \
- --enable-null=${BACKEND_ENABLE} \
- --enable-monitor=${BACKEND_ENABLE}
-
-PLIST_SUB+= BACKEND=${BACKEND_PLIST}
-
-.if ${PORT_OPTIONS:MACCESSLOG}
-CONFIGURE_ARGS+= --enable-accesslog
-.endif
-
-.if ${PORT_OPTIONS:MAUDITLOG}
-CONFIGURE_ARGS+= --enable-auditlog
-.endif
-
-.if ${PORT_OPTIONS:MDENYOP}
-CONFIGURE_ARGS+= --enable-denyop
-.endif
-
-.if ${PORT_OPTIONS:MDYNGROUP}
-CONFIGURE_ARGS+= --enable-dyngroup
-.endif
-
-.if ${PORT_OPTIONS:MDYNLIST}
-CONFIGURE_ARGS+= --enable-dynlist
-.endif
-
-.if ${PORT_OPTIONS:MLASTMOD}
-CONFIGURE_ARGS+= --enable-lastmod
-.endif
-
-.if ${PORT_OPTIONS:MPPOLICY}
-CONFIGURE_ARGS+= --enable-ppolicy
-.endif
-
-.if ${PORT_OPTIONS:MPROXYCACHE}
-CONFIGURE_ARGS+= --enable-proxycache
-.endif
-
-.if ${PORT_OPTIONS:MREFINT}
-CONFIGURE_ARGS+= --enable-refint
-.endif
-
-.if ${PORT_OPTIONS:MRETCODE}
-CONFIGURE_ARGS+= --enable-retcode
-.endif
-
-.if ${PORT_OPTIONS:MRWM}
-CONFIGURE_ARGS+= --enable-rwm
-.endif
-
-.if ${PORT_OPTIONS:MSYNCPROV}
-CONFIGURE_ARGS+= --enable-syncprov
-.else
-CONFIGURE_ARGS+= --disable-syncprov
-.endif
-
-.if ${PORT_OPTIONS:MTRANSLUCENT}
-CONFIGURE_ARGS+= --enable-translucent
-.endif
-
-.if ${PORT_OPTIONS:MUNIQUE}
-CONFIGURE_ARGS+= --enable-unique
-.endif
-
-.if ${PORT_OPTIONS:MVALSORT}
-CONFIGURE_ARGS+= --enable-valsort
-.endif
-
-.if ${PORT_OPTIONS:MACI}
-CONFIGURE_ARGS+= --enable-aci
-.endif
-
-.if ! ${PORT_OPTIONS:MBDB}
-CONFIGURE_ARGS+= --disable-bdb \
- --disable-hdb \
- --enable-ldbm-api=bcompat
-PLIST_SUB+= BACK_BDB="@comment " \
- BACK_HDB="@comment "
-.else
-
-WITH_BDB_VER?= 44
-INVALID_BDB_VER= 46
-USE_BDB= yes
-
-.if ${WITH_BDB_VER} >= 42
-CONFIGURE_ARGS+= --enable-bdb=${BACKEND_ENABLE} \
- --enable-hdb=${BACKEND_ENABLE}
-PLIST_SUB+= BACK_BDB=${BACKEND_PLIST} \
- BACK_HDB=${BACKEND_PLIST}
-.elif ${WITH_BDB_VER} >= 4
-CONFIGURE_ARGS+= --disable-bdb \
- --enable-hdb=${BACKEND_ENABLE}
-PLIST_SUB+= BACK_BDB="@comment " \
- BACK_HDB=${BACKEND_PLIST}
-.elif ${WITH_BDB_VER} == 3
-CONFIGURE_ARGS+= --disable-bdb \
- --disable-hdb
-PLIST_SUB+= BACK_BDB="@comment " \
- BACK_HDB="@comment "
-.endif
-
-CPPFLAGS+= -I${BDB_INCLUDE_DIR}
-CONFIGURE_ARGS+= --enable-ldbm-api=berkeley
-CONFIGURE_SED+= -e 's,ol_DB_LIB=$$,&-l${BDB_LIB_NAME:R},' \
- -e 's,(ol_cv_lib_db=)yes$$,\1-l${BDB_LIB_NAME:R},'
-.endif
-
-.if ${PORT_OPTIONS:MSHELL}
-CONFIGURE_ARGS+= --without-threads --enable-shell=${BACKEND_ENABLE}
-PLIST_SUB+= BACK_SHELL=${BACKEND_PLIST}
-.else
-PLIST_SUB+= BACK_SHELL="@comment "
-WANT_OPENLDAP_THREADS= yes
-.endif
-
-.if ${PORT_OPTIONS:MPERL}
-USE_PERL5= yes
-CONFIGURE_ARGS+= --enable-perl=${BACKEND_ENABLE}
-CONFIGURE_ENV+= PERLBIN="${PERL}"
-PLIST_SUB+= BACK_PERL=${BACKEND_PLIST}
-.else
-PLIST_SUB+= BACK_PERL="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MSASL}
-CONFIGURE_ARGS+= --enable-spasswd
-.endif
-
-.if defined(WITH_IODBC) && defined(WITH_UNIXODBC)
-IGNORE= selected mutually exclusive options: WITH_IODBC and WITH_UNIXODBC
-.endif
-
-.if !defined(WITH_IODBC) && !defined(WITH_UNIXODBC)
-WITH_IODBC?= yes
-.endif
-
-.if ${PORT_OPTIONS:MODBC}
-CONFIGURE_ARGS+= --enable-sql=${BACKEND_ENABLE}
-PLIST_SUB+= BACK_SQL=${BACKEND_PLIST}
-.if defined(WITH_IODBC)
-LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
-.elif defined(WITH_UNIXODBC)
-LIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC
-.endif
-.else
-PLIST_SUB+= BACK_SQL="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MSLAPI}
-CONFIGURE_ARGS+= --enable-slapi
-PLIST_SUB+= SLAPI=""
-USE_LDCONFIG= yes
-.else
-PLIST_SUB+= SLAPI="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MSLP}
-CONFIGURE_ARGS+= --enable-slp
-LIB_DEPENDS+= slp.1:${PORTSDIR}/net/openslp
-.endif
-
-.if defined(WANT_OPENLDAP_THREADS) && !defined(WITHOUT_SLURPD)
-SLURPDSH= slurpd
-PLIST_SUB+= SLURPD=""
-.else
-PLIST_SUB+= SLURPD="@comment "
-CONFIGURE_ARGS+= --disable-slurpd
-.endif
-
-# Include tcp-wrapper support
-.if ${PORT_OPTIONS:MTCP_WRAPPERS} && exists(/usr/include/tcpd.h)
-CONFIGURE_ARGS+= --enable-wrappers
-.endif
-
-# end of client/server specific configuration
-.endif
-
-.if defined(WITH_CLDAP)
-CPPFLAGS+= -DLDAP_CONNECTIONLESS
-.endif
-
-CPPFLAGS+= ${PTHREAD_CFLAGS} \
- -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-#LIBS+= ${PTHREAD_LIBS}
-
-CONFIGURE_ENV+= LIBS="${LIBS}"
-
-.if defined(CLIENT_ONLY)
-.include "${FILESDIR}/manpages"
-.else
-SUB_LIST+= RC_DIR=${PREFIX} \
- LDAP_RUN_DIR=${LDAP_RUN_DIR} \
- DATABASEDIR=${DATABASEDIR}
-.endif
-
-PLIST_SUB+= ${SUB_LIST}
-
-post-patch:
- @${REINPLACE_CMD} -e 's,%LOCALSTATEDIR%/run/,${LDAP_RUN_DIR}/,g' \
- ${SED_MODULES} ${WRKSRC}/servers/slapd/slapd.conf
-.if defined(CONFIGURE_SED)
- @${REINPLACE_CMD} -E ${CONFIGURE_SED} \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-.endif
-
-pre-configure:
- @if [ -n "`${PKG_INFO} -xI '^bind\(84\)\{0,1\}-base-8\.' 2>/dev/null`" ]; then \
- ${ECHO_CMD} "${PKGNAME}: bind installed with PORT_REPLACES_BASE_BIND causes build problems."; \
- ${FALSE}; \
- fi
-
-.if !defined(CLIENT_ONLY)
-test: build
- @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \
- ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
-.endif
-
-pre-su-install:
- @if [ -f ${PKGINSTALL} ]; then \
- ${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL; \
- fi
-.if defined(WITH_MODULES) || !defined(WITHOUT_DYNAMIC_BACKENDS) || defined(WITH_SLAPI)
- @${MKDIR} ${PREFIX}/libexec/openldap
-.endif
-
-post-install:
-.if defined(CLIENT_ONLY)
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
- @for dir in drafts rfc; do \
- ${MKDIR} ${DOCSDIR}/$${dir}; \
- ${INSTALL_DATA} ${WRKSRC}/doc/$${dir}/* ${DOCSDIR}/$${dir}; \
- done
-.endif
-.else
- @${MKDIR} ${LDAP_RUN_DIR}
- @for schema in ${SCHEMATA}; do \
- ${ECHO_CMD} "@unexec if cmp -s %D/etc/openldap/schema/$${schema}.schema" \
- "%D/etc/openldap/schema/$${schema}.schema.default; then" \
- "rm -f %D/etc/openldap/schema/$${schema}.schema; fi"; \
- ${ECHO_CMD} "etc/openldap/schema/$${schema}.schema.default"; \
- ${ECHO_CMD} "@exec [ -f %B/$${schema}.schema ] || ${CP} %B/%f %B/$${schema}.schema"; \
- done >>${TMPPLIST}
- @${ECHO_CMD} "@unexec ${RMDIR} %D/etc/openldap/schema 2>/dev/null || true" >>${TMPPLIST}
- @${ECHO_CMD} "@unexec ${RMDIR} %D/etc/openldap 2>/dev/null || true" >>${TMPPLIST}
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/net/openldap23-server/distinfo b/net/openldap23-server/distinfo
deleted file mode 100644
index 18cb570d5ad5..000000000000
--- a/net/openldap23-server/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (openldap-2.3.43.tgz) = d7d2dea05362c8ac7e11bb7bf1da4cdeb07225ba8dc16974bff9f51a9f3d37e1
-SIZE (openldap-2.3.43.tgz) = 3803011
diff --git a/net/openldap23-server/files/extrapatch-Makefile.in b/net/openldap23-server/files/extrapatch-Makefile.in
deleted file mode 100644
index e274e6bd35f2..000000000000
--- a/net/openldap23-server/files/extrapatch-Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.in.orig Mon Apr 7 22:23:24 2003
-+++ Makefile.in Thu Jul 10 17:43:35 2003
-@@ -13,9 +13,11 @@
- ## top-level directory of the distribution or, alternatively, at
- ## <http://www.OpenLDAP.org/license.html>.
-
--SUBDIRS= include libraries clients servers tests doc
--CLEANDIRS=
--INSTALLDIRS=
-+SUBDIRS=
-+ALLDIRS= include libraries clients servers tests doc
-+CLEANDIRS= include libraries clients servers tests doc
-+DEPENDDIRS= include libraries clients servers tests doc
-+INSTALLDIRS= servers
-
- makefiles: FORCE
- ./config.status
diff --git a/net/openldap23-server/files/manpages b/net/openldap23-server/files/manpages
deleted file mode 100644
index 9c08b2ad84c3..000000000000
--- a/net/openldap23-server/files/manpages
+++ /dev/null
@@ -1,214 +0,0 @@
-#
-# $FreeBSD$
-#
-
-MAN1+= ldapcompare.1 \
- ldapdelete.1 \
- ldapmodify.1 \
- ldapmodrdn.1 \
- ldappasswd.1 \
- ldapsearch.1 \
- ldapwhoami.1
-MLINKS+= \
- ldapmodify.1 ldapadd.1
-
-MAN3+= lber-decode.3 \
- lber-encode.3 \
- lber-memory.3 \
- lber-types.3 \
- ldap.3 \
- ldap_abandon.3 \
- ldap_add.3 \
- ldap_bind.3 \
- ldap_compare.3 \
- ldap_delete.3 \
- ldap_error.3 \
- ldap_first_attribute.3 \
- ldap_first_entry.3 \
- ldap_first_message.3 \
- ldap_first_reference.3 \
- ldap_get_dn.3 \
- ldap_get_values.3 \
- ldap_modify.3 \
- ldap_modrdn.3 \
- ldap_open.3 \
- ldap_parse_reference.3 \
- ldap_parse_result.3 \
- ldap_result.3 \
- ldap_schema.3 \
- ldap_search.3 \
- ldap_sort.3 \
- ldap_url.3
-MLINKS+= \
- lber-decode.3 ber_first_element.3 \
- lber-decode.3 ber_get_bitstring.3 \
- lber-decode.3 ber_get_boolean.3 \
- lber-decode.3 ber_get_enum.3 \
- lber-decode.3 ber_get_int.3 \
- lber-decode.3 ber_get_next.3 \
- lber-decode.3 ber_get_null.3 \
- lber-decode.3 ber_get_stringa.3 \
- lber-decode.3 ber_get_stringb.3 \
- lber-decode.3 ber_next_element.3 \
- lber-decode.3 ber_peek_tag.3 \
- lber-decode.3 ber_scanf.3 \
- lber-decode.3 ber_skip_tag.3 \
- lber-encode.3 ber_alloc_t.3 \
- lber-encode.3 ber_flush.3 \
- lber-encode.3 ber_printf.3 \
- lber-encode.3 ber_put_enum.3 \
- lber-encode.3 ber_put_int.3 \
- lber-encode.3 ber_put_null.3 \
- lber-encode.3 ber_put_ostring.3 \
- lber-encode.3 ber_put_seq.3 \
- lber-encode.3 ber_put_set.3 \
- lber-encode.3 ber_put_string.3 \
- lber-encode.3 ber_start_set.3 \
- lber-types.3 ber_bvarray_add.3 \
- lber-types.3 ber_bvarray_free.3 \
- lber-types.3 ber_bvdup.3 \
- lber-types.3 ber_bvecadd.3 \
- lber-types.3 ber_bvecfree.3 \
- lber-types.3 ber_bvfree.3 \
- lber-types.3 ber_bvstr.3 \
- lber-types.3 ber_bvstrdup.3 \
- lber-types.3 ber_dupbv.3 \
- lber-types.3 ber_free.3 \
- lber-types.3 ber_str2bv.3 \
- ldap_abandon.3 ldap_abandon_ext.3 \
- ldap_add.3 ldap_add_ext.3 \
- ldap_add.3 ldap_add_ext_s.3 \
- ldap_add.3 ldap_add_s.3 \
- ldap_bind.3 ldap_bind_s.3 \
- ldap_bind.3 ldap_kerberos_bind1.3 \
- ldap_bind.3 ldap_kerberos_bind1_s.3 \
- ldap_bind.3 ldap_kerberos_bind2.3 \
- ldap_bind.3 ldap_kerberos_bind2_s.3 \
- ldap_bind.3 ldap_kerberos_bind_s.3 \
- ldap_bind.3 ldap_sasl_bind.3 \
- ldap_bind.3 ldap_sasl_bind_s.3 \
- ldap_bind.3 ldap_simple_bind.3 \
- ldap_bind.3 ldap_simple_bind_s.3 \
- ldap_bind.3 ldap_unbind.3 \
- ldap_bind.3 ldap_unbind_ext.3 \
- ldap_bind.3 ldap_unbind_ext_s.3 \
- ldap_bind.3 ldap_unbind_s.3 \
- ldap_compare.3 ldap_compare_ext.3 \
- ldap_compare.3 ldap_compare_ext_s.3 \
- ldap_compare.3 ldap_compare_s.3 \
- ldap_delete.3 ldap_delete_ext.3 \
- ldap_delete.3 ldap_delete_ext_s.3 \
- ldap_delete.3 ldap_delete_s.3 \
- ldap_error.3 ld_errno.3 \
- ldap_error.3 ldap_err2string.3 \
- ldap_error.3 ldap_errlist.3 \
- ldap_error.3 ldap_perror.3 \
- ldap_error.3 ldap_result2error.3 \
- ldap_first_attribute.3 ldap_next_attribute.3 \
- ldap_first_entry.3 ldap_count_entries.3 \
- ldap_first_entry.3 ldap_next_entry.3 \
- ldap_first_message.3 ldap_count_messages.3 \
- ldap_first_message.3 ldap_next_message.3 \
- ldap_first_reference.3 ldap_count_references.3 \
- ldap_first_reference.3 ldap_next_reference.3 \
- ldap_get_dn.3 ldap_dcedn2dn.3 \
- ldap_get_dn.3 ldap_dn2ad_canonical.3 \
- ldap_get_dn.3 ldap_dn2dcedn.3 \
- ldap_get_dn.3 ldap_dn2str.3 \
- ldap_get_dn.3 ldap_dn2ufn.3 \
- ldap_get_dn.3 ldap_explode_dn.3 \
- ldap_get_dn.3 ldap_explode_rdn.3 \
- ldap_get_dn.3 ldap_str2dn.3 \
- ldap_get_values.3 ldap_count_values.3 \
- ldap_get_values.3 ldap_count_values_len.3 \
- ldap_get_values.3 ldap_get_values_len.3 \
- ldap_get_values.3 ldap_value_free.3 \
- ldap_get_values.3 ldap_value_free_len.3 \
- ldap_modify.3 ldap_modify_ext.3 \
- ldap_modify.3 ldap_modify_ext_s.3 \
- ldap_modify.3 ldap_modify_s.3 \
- ldap_modify.3 ldap_mods_free.3 \
- ldap_modrdn.3 ldap_modrdn2.3 \
- ldap_modrdn.3 ldap_modrdn2_s.3 \
- ldap_modrdn.3 ldap_modrdn_s.3 \
- ldap_open.3 ldap_init.3 \
- ldap_parse_result.3 ldap_parse_extended_result.3 \
- ldap_parse_result.3 ldap_parse_sasl_bind_result.3 \
- ldap_result.3 ldap_msgfree.3 \
- ldap_result.3 ldap_msgid.3 \
- ldap_result.3 ldap_msgtype.3 \
- ldap_schema.3 ldap_attributetype2name.3 \
- ldap_schema.3 ldap_attributetype2str.3 \
- ldap_schema.3 ldap_attributetype_free.3 \
- ldap_schema.3 ldap_matchingrule2name.3 \
- ldap_schema.3 ldap_matchingrule2str.3 \
- ldap_schema.3 ldap_matchingrule_free.3 \
- ldap_schema.3 ldap_objectclass2name.3 \
- ldap_schema.3 ldap_objectclass2str.3 \
- ldap_schema.3 ldap_objectclass_free.3 \
- ldap_schema.3 ldap_scherr2str.3 \
- ldap_schema.3 ldap_str2attributetype.3 \
- ldap_schema.3 ldap_str2matchingrule.3 \
- ldap_schema.3 ldap_str2objectclass.3 \
- ldap_schema.3 ldap_str2syntax.3 \
- ldap_schema.3 ldap_syntax2name.3 \
- ldap_schema.3 ldap_syntax2str.3 \
- ldap_schema.3 ldap_syntax_free.3 \
- ldap_search.3 ldap_search_ext.3 \
- ldap_search.3 ldap_search_ext_s.3 \
- ldap_search.3 ldap_search_s.3 \
- ldap_search.3 ldap_search_st.3 \
- ldap_sort.3 ldap_sort_entries.3 \
- ldap_sort.3 ldap_sort_strcasecmp.3 \
- ldap_sort.3 ldap_sort_values.3 \
- ldap_url.3 ldap_free_urldesc.3 \
- ldap_url.3 ldap_is_ldap_url.3 \
- ldap_url.3 ldap_url_parse.3
-
-MAN5+= ldap.conf.5 \
- ldif.5 \
- slapd-bdb.5 \
- slapd-dnssrv.5 \
- slapd-ldap.5 \
- slapd-ldbm.5 \
- slapd-ldif.5 \
- slapd-meta.5 \
- slapd-monitor.5 \
- slapd-null.5 \
- slapd-passwd.5 \
- slapd-perl.5 \
- slapd-relay.5 \
- slapd-shell.5 \
- slapd-sql.5 \
- slapd-tcl.5 \
- slapd.access.5 \
- slapd.conf.5 \
- slapd.plugin.5 \
- slapd.replog.5 \
- slapo-accesslog.5 \
- slapo-auditlog.5 \
- slapo-chain.5 \
- slapo-dynlist.5 \
- slapo-lastmod.5 \
- slapo-pcache.5 \
- slapo-ppolicy.5 \
- slapo-refint.5 \
- slapo-retcode.5 \
- slapo-rwm.5 \
- slapo-syncprov.5 \
- slapo-translucent.5 \
- slapo-unique.5 \
- slapo-valsort.5
-MLINKS+= \
- slapd-bdb.5 slapd-hdb.5
-
-MAN8+= slapacl.8 \
- slapadd.8 \
- slapauth.8 \
- slapcat.8 \
- slapd.8 \
- slapdn.8 \
- slapindex.8 \
- slappasswd.8 \
- slaptest.8 \
- slurpd.8
diff --git a/net/openldap23-server/files/patch-build::top.mk b/net/openldap23-server/files/patch-build::top.mk
deleted file mode 100644
index 105af6b35122..000000000000
--- a/net/openldap23-server/files/patch-build::top.mk
+++ /dev/null
@@ -1,11 +0,0 @@
---- build/top.mk.orig Mon Apr 12 20:21:07 2004
-+++ build/top.mk Wed May 5 12:49:13 2004
-@@ -196,6 +196,8 @@
- SLAPD_LIBS = @SLAPD_LIBS@ @SLAPD_PERL_LDFLAGS@ @SLAPD_SQL_LDFLAGS@ @SLAPD_SQL_LIBS@ @SLAPD_SLP_LIBS@ @SLAPD_GMP_LIBS@
- SLURPD_LIBS = @SLURPD_LIBS@
-
-+SLAPI_LIBS = @SLAPI_LIBS@
-+
- # Our Defaults
- CC = $(AC_CC)
- DEFS = $(LDAP_INCPATH) $(XINCPATH) $(XDEFS) $(AC_DEFS) $(DEFINES)
diff --git a/net/openldap23-server/files/patch-configure b/net/openldap23-server/files/patch-configure
deleted file mode 100644
index 4198340d07c7..000000000000
--- a/net/openldap23-server/files/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig Fri Sep 2 03:27:55 2005
-+++ configure Sun Sep 4 16:10:14 2005
-@@ -34922,7 +34922,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-liodbc $LIBS"
-+LIBS="-liodbc $LIBS $LTHREAD_LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
-@@ -34995,7 +34995,7 @@
- echo $ECHO_N "(cached) $ECHO_C" >&6
- else
- ac_check_lib_save_LIBS=$LIBS
--LIBS="-lodbc $LIBS"
-+LIBS="-lodbc $LIBS $LTHREAD_LIBS"
- cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h. */
- _ACEOF
diff --git a/net/openldap23-server/files/patch-include::ldap_defaults.h b/net/openldap23-server/files/patch-include::ldap_defaults.h
deleted file mode 100644
index 6ea31dbcd65c..000000000000
--- a/net/openldap23-server/files/patch-include::ldap_defaults.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- include/ldap_defaults.h.orig Tue Sep 28 20:18:40 2004
-+++ include/ldap_defaults.h Tue Sep 28 20:20:01 2004
-@@ -39,7 +39,7 @@
- #define LDAP_ENV_PREFIX "LDAP"
-
- /* default ldapi:// socket */
--#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"
-+#define LDAPI_SOCK "/var/run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"
-
- /*
- * SLAPD DEFINITIONS
diff --git a/net/openldap23-server/files/patch-servers::slapd::Makefile.in b/net/openldap23-server/files/patch-servers::slapd::Makefile.in
deleted file mode 100644
index 50cec0cf4511..000000000000
--- a/net/openldap23-server/files/patch-servers::slapd::Makefile.in
+++ /dev/null
@@ -1,44 +0,0 @@
---- servers/slapd/Makefile.in.orig Fri Sep 2 00:28:10 2005
-+++ servers/slapd/Makefile.in Sun Sep 4 17:34:37 2005
-@@ -372,7 +372,6 @@
-
- install-slapd: FORCE
- -$(MKDIR) $(DESTDIR)$(libexecdir)
-- -$(MKDIR) $(DESTDIR)$(localstatedir)/run
- $(LTINSTALL) $(INSTALLFLAGS) $(STRIP) -m 755 \
- slapd$(EXEEXT) $(DESTDIR)$(libexecdir)
- @for i in $(SUBDIRS); do \
-@@ -403,16 +402,18 @@
- touch all-cffiles
-
- install-schema: FORCE
-- @if test -d $(DESTDIR)$(schemadir) ; then \
-- echo "MOVING EXISTING SCHEMA DIR to $(DESTDIR)$(schemadir).$$$$" ; \
-- mv $(DESTDIR)$(schemadir) $(DESTDIR)$(schemadir).$$$$ ; \
-- fi
-- $(MKDIR) $(DESTDIR)$(schemadir)
-+ @-$(MKDIR) $(DESTDIR)$(schemadir)
- @SD=$(DESTDIR)$(schemadir) ; \
-- files=`cd $(srcdir)/schema ; echo README *.ldif *.schema` ; \
-+ files=`cd $(srcdir)/schema ; echo README *.ldif` ; \
-+ for i in $$files ; do \
-+ echo $(INSTALL) $(INSTALLFLAGS) -m 444 schema/$$i $$SD/$$i ; \
-+ $(INSTALL) $(INSTALLFLAGS) -m 444 $(srcdir)/schema/$$i $$SD/$$i ; \
-+ done ; \
-+ files=`cd $(srcdir)/schema ; echo *.schema` ; \
- for i in $$files ; do \
- echo $(INSTALL) $(INSTALLFLAGS) -m 444 schema/$$i $$SD/$$i ; \
- $(INSTALL) $(INSTALLFLAGS) -m 444 $(srcdir)/schema/$$i $$SD/$$i ; \
-+ $(INSTALL) $(INSTALLFLAGS) -m 444 $(srcdir)/schema/$$i $$SD/$$i.default ; \
- done
-
- install-conf: FORCE
-@@ -429,8 +430,6 @@
- install-db-config: FORCE
- @-$(MKDIR) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir)
- @-$(INSTALL) -m 700 -d $(DESTDIR)$(localstatedir)/openldap-data
-- $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \
-- $(DESTDIR)$(localstatedir)/openldap-data/DB_CONFIG.example
- $(INSTALL) $(INSTALLFLAGS) -m 600 $(srcdir)/DB_CONFIG \
- $(DESTDIR)$(sysconfdir)/DB_CONFIG.example
-
diff --git a/net/openldap23-server/files/patch-servers_slapd_overlays_Makefile.in b/net/openldap23-server/files/patch-servers_slapd_overlays_Makefile.in
deleted file mode 100644
index 3d5651bed518..000000000000
--- a/net/openldap23-server/files/patch-servers_slapd_overlays_Makefile.in
+++ /dev/null
@@ -1,12 +0,0 @@
---- servers/slapd/overlays/Makefile.in.orig 2007-05-30 05:57:47.000000000 +0800
-+++ servers/slapd/overlays/Makefile.in 2007-06-18 11:45:18.466193747 +0800
-@@ -32,6 +32,9 @@
- OBJS = statover.o \
- @SLAPD_STATIC_OVERLAYS@ \
- overlays.o
-+LIBTOOL_OBJS = overlays.lo \
-+ glue.lo \
-+ version.lo
-
- # Add here the objs that are needed by overlays, but do not make it
- # into SLAPD_STATIC_OVERLAYS...
diff --git a/net/openldap23-server/files/pkg-deinstall.in b/net/openldap23-server/files/pkg-deinstall.in
deleted file mode 100644
index 2a66ba3becef..000000000000
--- a/net/openldap23-server/files/pkg-deinstall.in
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/net/openldap23-server/files/pkg-deinstall.in,v 1.1 2006-05-18 15:03:48 delphij Exp $
-#
-
-ECHO_CMD=echo
-
-case $2 in
-POST-DEINSTALL)
- ${ECHO_CMD}
- ${ECHO_CMD} "The OpenLDAP server package has been deleted."
- ${ECHO_CMD} "If you're *not* upgrading and won't be using"
- ${ECHO_CMD} "it any longer, you may want to issue the"
- ${ECHO_CMD} "following commands:"
- ${ECHO_CMD}
- if [ -d %%DATABASEDIR%% ]; then
- ${ECHO_CMD} "- to delete the OpenLDAP database permanently (losing all data):"
- ${ECHO_CMD} " rm -Rf %%DATABASEDIR%%"
- ${ECHO_CMD}
- fi
- if [ -d %%SLURPDIR%% ]; then
- ${ECHO_CMD} "- to remove the OpenLDAP replication directory:"
- ${ECHO_CMD} " rm -Rf %%SLURPDIR%%"
- ${ECHO_CMD}
- fi
- ${ECHO_CMD} "- to remove the OpenLDAP user:"
- ${ECHO_CMD} " pw userdel ldap"
- ${ECHO_CMD}
- ${ECHO_CMD} "If you are upgrading, don't forget to restart"
- ${ECHO_CMD} "slapd and slurpd."
- ${ECHO_CMD}
- ;;
-esac
diff --git a/net/openldap23-server/files/pkg-install.in b/net/openldap23-server/files/pkg-install.in
deleted file mode 100644
index 446aa4dc2e6d..000000000000
--- a/net/openldap23-server/files/pkg-install.in
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD: /tmp/pcvs/ports/net/openldap23-server/files/pkg-install.in,v 1.1 2006-05-18 15:03:48 delphij Exp $
-#
-
-CHOWN=/usr/sbin/chown
-ECHO_CMD=echo
-GREP=/usr/bin/grep
-PKG_INFO=/usr/sbin/pkg_info
-PW=/usr/sbin/pw
-
-FTPUSERS=/etc/ftpusers
-
-case $2 in
-PRE-INSTALL)
- if ! ${PW} usershow -n ldap >/dev/null 2>&1; then
- ${ECHO_CMD}
- if ! ${PW} groupshow -n ldap >/dev/null 2>&1; then
- if ! ${PW} groupadd -n ldap -g 389; then
- ${ECHO_CMD} "*** Failed to add a group ldap with id 389."
- ${ECHO_CMD}
- ${ECHO_CMD} "Please add the ldap user manually with"
- ${ECHO_CMD} " ${PW} useradd -n ldap -g ldap -c 'OpenLDAP server' \\"
- ${ECHO_CMD} " -d /nonexistent -s /sbin/nologin -h -"
- ${ECHO_CMD} "and retry installing this package."
- exit 1
- fi
- ${ECHO_CMD} "===> Group 'ldap' created."
- fi
- if ! ${PW} useradd -n ldap -u 389 -g ldap -c 'OpenLDAP Server' \
- -d /nonexistent -s /sbin/nologin -h -; then
- ${ECHO_CMD} "*** Failed to add an user ldap with id 389."
- ${ECHO_CMD}
- ${ECHO_CMD} "Please add the ldap user manually with"
- ${ECHO_CMD} " ${PW} useradd -n ldap -g ldap -c 'OpenLDAP server' \\"
- ${ECHO_CMD} " -d /nonexistent -s /sbin/nologin -h -"
- ${ECHO_CMD} "and retry installing this package."
- exit 1
- fi
- ${GREP} -qs '^ldap$' ${FTPUSERS} || ${ECHO_CMD} ldap >> ${FTPUSERS}
- ${ECHO_CMD} "===> Account 'ldap' created."
- fi
- ;;
-esac
diff --git a/net/openldap23-server/files/pkg-message.client.in b/net/openldap23-server/files/pkg-message.client.in
deleted file mode 100644
index 92ef70d0f99b..000000000000
--- a/net/openldap23-server/files/pkg-message.client.in
+++ /dev/null
@@ -1,13 +0,0 @@
-************************************************************
-
-The OpenLDAP client package has been successfully installed.
-
-Edit
- %%PREFIX%%/etc/openldap/ldap.conf
-to change the system-wide client defaults.
-
-Try `man ldap.conf' and visit the OpenLDAP FAQ-O-Matic at
- http://www.OpenLDAP.org/faq/index.cgi?file=3
-for more information.
-
-************************************************************
diff --git a/net/openldap23-server/files/pkg-message.in b/net/openldap23-server/files/pkg-message.in
deleted file mode 100644
index 20b5fba0c25a..000000000000
--- a/net/openldap23-server/files/pkg-message.in
+++ /dev/null
@@ -1,23 +0,0 @@
-************************************************************
-
-The OpenLDAP server package has been successfully installed.
-
-In order to run the LDAP server, you need to edit
- %%PREFIX%%/etc/openldap/slapd.conf
-to suit your needs and add the following lines to /etc/rc.conf:
- slapd_enable="YES"
- slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"'
- slapd_sockets="/var/run/openldap/ldapi"
-
-Then start the server with
- %%PREFIX%%/etc/rc.d/slap start
-or reboot.
-
-Try `man slapd' and the online manual at
- http://www.OpenLDAP.org/doc/
-for more information.
-
-slapd runs under a non-privileged user id (by default `ldap'),
-see %%PREFIX%%/etc/rc.d/slapd for more information.
-
-************************************************************
diff --git a/net/openldap23-server/files/slapd.in b/net/openldap23-server/files/slapd.in
deleted file mode 100644
index 5ccee7aeec2b..000000000000
--- a/net/openldap23-server/files/slapd.in
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: slapd
-# REQUIRE: NETWORKING SERVERS
-# BEFORE: securelevel
-# KEYWORD: shutdown
-
-#
-# Add the following lines to /etc/rc.conf to enable slapd:
-#
-#slapd_enable="YES"
-#slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"'
-#slapd_sockets="/var/run/openldap/ldapi"
-#
-# See slapd(8) for more flags
-#
-# The `-u' and `-g' flags are automatically extracted from slapd_owner,
-# by default slapd runs under the non-privileged user id `ldap'. If you
-# want to run slapd as root, override this in /etc/rc.conf with
-#
-#slapd_owner="DEFAULT"
-#
-
-. /etc/rc.subr
-
-name="slapd"
-rcvar=slapd_enable
-
-command="%%PREFIX%%/libexec/slapd"
-pidfile="%%LDAP_RUN_DIR%%/slapd.pid"
-required_dirs="%%LDAP_RUN_DIR%%"
-required_files="%%PREFIX%%/etc/openldap/slapd.conf"
-
-start_precmd=start_precmd
-start_postcmd=start_postcmd
-
-# extract user and group, adjust ownership of directories and database
-
-start_precmd()
-{
- local slapd_ownername slapd_groupname
-
- case "$slapd_owner" in
- ""|[Nn][Oo][Nn][Ee]|[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
- ;;
- *)
- chown "$slapd_owner" "%%LDAP_RUN_DIR%%"
- chown -RL "$slapd_owner" "%%DATABASEDIR%%"
- chmod 700 "%%DATABASEDIR%%"
- chown "$slapd_owner" "%%PREFIX%%/etc/openldap/slapd.conf"
-
- slapd_ownername="${slapd_owner%:*}"
- slapd_groupname="${slapd_owner#*:}"
-
- if [ -n "$slapd_ownername" ]; then
- rc_flags="$rc_flags -u $slapd_ownername"
- fi
- if [ -n "$slapd_groupname" ]; then
- rc_flags="$rc_flags -g $slapd_groupname"
- fi
- ;;
- esac
-}
-
-# adjust ownership of created unix sockets
-
-start_postcmd()
-{
- local socket seconds
-
- for socket in $slapd_sockets; do
- for seconds in 1 2 3 4 5; do
- [ -e "$socket" ] && break
- sleep 1
- done
- if [ -S "$socket" ]; then
- case "$slapd_owner" in
- ""|[Nn][Oo][Nn][Ee]|[Dd][Ee][Ff][Aa][Uu][Ll][Tt])
- ;;
- *)
- chown "$slapd_owner" "$socket"
- ;;
- esac
- chmod "$slapd_sockets_mode" "$socket"
- else
- warn "slapd: Can't find socket $socket"
- fi
- done
-}
-
-# read settings, set defaults
-load_rc_config $name
-: ${slapd_enable="NO"}
-if [ -n "${slapd_args+set}" ]; then
- warn "slapd_args is deprecated, use slapd_flags"
- : ${slapd_flags="$slapd_args"}
-fi
-: ${slapd_owner="ldap:ldap"}
-: ${slapd_sockets_mode="666"}
-
-run_rc_command "$1"
diff --git a/net/openldap23-server/files/slurpd.in b/net/openldap23-server/files/slurpd.in
deleted file mode 100644
index 087ac22238d6..000000000000
--- a/net/openldap23-server/files/slurpd.in
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-
-# PROVIDE: slurpd
-# REQUIRE: slapd
-# BEFORE:
-# KEYWORD: shutdown
-
-# Add the following line to /etc/rc.conf to enable slurpd:
-#
-# slurpd_enable="YES"
-# slurpd_flags="<set as needed>"
-#
-# See slurpd(8) for more flags
-#
-
-. /etc/rc.subr
-
-name="slurpd"
-rcvar=slurpd_enable
-
-command="%%PREFIX%%/libexec/slurpd"
-required_files="%%PREFIX%%/etc/openldap/slapd.conf"
-
-# read settings, set defaults
-load_rc_config $name
-: ${slurpd_enable="NO"}
-if [ -n "${slurpd_args+set}" ]; then
- warn "slurpd_args is deprecated, use slurpd_flags"
- : ${slurpd_flags="$slurpd_args"}
-fi
-
-run_rc_command "$1"
diff --git a/net/openldap23-server/pkg-descr b/net/openldap23-server/pkg-descr
deleted file mode 100644
index 6147c9dfa1c1..000000000000
--- a/net/openldap23-server/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-OpenLDAP is a suite of Lightweight Directory Access Protocol (v3) servers,
-clients, utilities and development tools.
-
-This package includes the following major components:
-
- * slapd - a stand-alone LDAP directory server
- * slurpd - a stand-alone LDAP replication server
- * LDIF tools - data conversion tools for use with slapd
-
-This is the latest stable release of OpenLDAP Software for general use.
-
-WWW: http://www.OpenLDAP.org/
diff --git a/net/openldap23-server/pkg-descr.client b/net/openldap23-server/pkg-descr.client
deleted file mode 100644
index 76d4e00e69f6..000000000000
--- a/net/openldap23-server/pkg-descr.client
+++ /dev/null
@@ -1,11 +0,0 @@
-OpenLDAP is a suite of Lightweight Directory Access Protocol (v3) servers,
-clients, utilities and development tools.
-
-This package includes the following major components:
-
- * -lldap - a LDAP client library
- * -llber - a lightweight BER/DER encoding/decoding library
- * LDAP tools - A collection of command line LDAP utilities
- * documentation - man pages for all components
-
-WWW: http://www.OpenLDAP.org/
diff --git a/net/openldap23-server/pkg-plist b/net/openldap23-server/pkg-plist
deleted file mode 100644
index ba35f103e66b..000000000000
--- a/net/openldap23-server/pkg-plist
+++ /dev/null
@@ -1,75 +0,0 @@
-@comment $FreeBSD$
-@unexec %%RC_DIR%%/etc/rc.d/slapd stop 2>&1 >/dev/null || true
-%%SLURPD%%@unexec %%RC_DIR%%/etc/rc.d/slurpd stop 2>&1 >/dev/null || true
-etc/openldap/schema/README
-etc/openldap/schema/core.ldif
-etc/openldap/schema/openldap.ldif
-@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
-etc/openldap/DB_CONFIG.example
-%%SLAPI%%lib/libslapi.a
-%%SLAPI%%lib/libslapi.la
-%%SLAPI%%lib/libslapi.so
-%%SLAPI%%lib/libslapi-2.3.so
-%%SLAPI%%lib/libslapi-2.3.so.2
-%%MODULES%%@exec mkdir -p %D/libexec/openldap
-%%BACK_BDB%%libexec/openldap/back_bdb-2.3.so
-%%BACK_BDB%%libexec/openldap/back_bdb-2.3.so.2
-%%BACK_BDB%%libexec/openldap/back_bdb.la
-%%BACK_BDB%%libexec/openldap/back_bdb.so
-%%BACK_HDB%%libexec/openldap/back_hdb-2.3.so
-%%BACK_HDB%%libexec/openldap/back_hdb-2.3.so.2
-%%BACK_HDB%%libexec/openldap/back_hdb.la
-%%BACK_HDB%%libexec/openldap/back_hdb.so
-%%BACKEND%%libexec/openldap/back_ldap-2.3.so
-%%BACKEND%%libexec/openldap/back_ldap-2.3.so.2
-%%BACKEND%%libexec/openldap/back_ldap.la
-%%BACKEND%%libexec/openldap/back_ldap.so
-%%BACKEND%%libexec/openldap/back_ldbm-2.3.so
-%%BACKEND%%libexec/openldap/back_ldbm-2.3.so.2
-%%BACKEND%%libexec/openldap/back_ldbm.la
-%%BACKEND%%libexec/openldap/back_ldbm.so
-%%BACKEND%%libexec/openldap/back_meta-2.3.so
-%%BACKEND%%libexec/openldap/back_meta-2.3.so.2
-%%BACKEND%%libexec/openldap/back_meta.la
-%%BACKEND%%libexec/openldap/back_meta.so
-%%BACKEND%%libexec/openldap/back_monitor-2.3.so
-%%BACKEND%%libexec/openldap/back_monitor-2.3.so.2
-%%BACKEND%%libexec/openldap/back_monitor.la
-%%BACKEND%%libexec/openldap/back_monitor.so
-%%BACKEND%%libexec/openldap/back_null-2.3.so
-%%BACKEND%%libexec/openldap/back_null-2.3.so.2
-%%BACKEND%%libexec/openldap/back_null.la
-%%BACKEND%%libexec/openldap/back_null.so
-%%BACK_PERL%%libexec/openldap/back_perl-2.3.so
-%%BACK_PERL%%libexec/openldap/back_perl-2.3.so.2
-%%BACK_PERL%%libexec/openldap/back_perl.la
-%%BACK_PERL%%libexec/openldap/back_perl.so
-%%BACK_SHELL%%libexec/openldap/back_shell-2.3.so
-%%BACK_SHELL%%libexec/openldap/back_shell-2.3.so.2
-%%BACK_SHELL%%libexec/openldap/back_shell.la
-%%BACK_SHELL%%libexec/openldap/back_shell.so
-%%BACK_SQL%%libexec/openldap/back_sql-2.3.so
-%%BACK_SQL%%libexec/openldap/back_sql-2.3.so.2
-%%BACK_SQL%%libexec/openldap/back_sql.la
-%%BACK_SQL%%libexec/openldap/back_sql.so
-libexec/slapd
-%%SLURPD%%libexec/slurpd
-%%MODULES%%@dirrmtry libexec/openldap
-sbin/slapacl
-sbin/slapadd
-sbin/slapauth
-sbin/slapcat
-sbin/slapdn
-sbin/slapindex
-sbin/slappasswd
-sbin/slaptest
-@cwd /
-@exec mkdir -p %%LDAP_RUN_DIR%%
-@dirrmtry %%LDAP_RUN_DIR%%
-@exec mkdir -p %%DATABASEDIR%%
-@dirrmtry %%DATABASEDIR%%
-%%SLURPD%%@exec mkdir -p %%SLURPDIR%%
-%%SLURPD%%@dirrmtry %%SLURPDIR%%
-@cwd %%PREFIX%%
diff --git a/net/openldap23-server/pkg-plist.client b/net/openldap23-server/pkg-plist.client
deleted file mode 100644
index c73bc15cb5b7..000000000000
--- a/net/openldap23-server/pkg-plist.client
+++ /dev/null
@@ -1,45 +0,0 @@
-@comment $FreeBSD$
-bin/ldapadd
-bin/ldapcompare
-bin/ldapdelete
-bin/ldapmodify
-bin/ldapmodrdn
-bin/ldappasswd
-bin/ldapsearch
-bin/ldapwhoami
-@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
-@dirrmtry etc/openldap
-include/lber.h
-include/lber_types.h
-include/ldap.h
-include/ldap_cdefs.h
-include/ldap_features.h
-include/ldap_schema.h
-include/ldap_utf8.h
-include/slapi-plugin.h
-lib/liblber-2.3.so
-lib/liblber-2.3.so.2
-lib/liblber.a
-lib/liblber.la
-lib/liblber.so
-lib/libldap-2.3.so
-lib/libldap-2.3.so.2
-lib/libldap.a
-lib/libldap.la
-lib/libldap.so
-lib/libldap_r-2.3.so
-lib/libldap_r-2.3.so.2
-lib/libldap_r.a
-lib/libldap_r.la
-lib/libldap_r.so
-@comment share/openldap/ucdata/case.dat
-@comment share/openldap/ucdata/cmbcl.dat
-@comment share/openldap/ucdata/comp.dat
-@comment share/openldap/ucdata/ctype.dat
-@comment share/openldap/ucdata/decomp.dat
-@comment share/openldap/ucdata/kdecomp.dat
-@comment share/openldap/ucdata/num.dat
-@comment @dirrm share/openldap/ucdata
-@comment @dirrm share/openldap