summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Eikemeier <eik@FreeBSD.org>2004-04-19 00:55:12 +0000
committerOliver Eikemeier <eik@FreeBSD.org>2004-04-19 00:55:12 +0000
commit94085da0f27338113b9ac906aef7264122695331 (patch)
tree752c4b324d492eff180ced2728dd1bea94a557f4
parentUse INSTALL_MAN and INSTALL_PROGRAM macros. (diff)
long overdue removal of OpenLDAP 1.2 and dependent ports
-rw-r--r--mail/Makefile1
-rw-r--r--mail/smunge/Makefile30
-rw-r--r--mail/smunge/distinfo2
-rw-r--r--mail/smunge/files/patch-aa19
-rw-r--r--mail/smunge/pkg-descr14
-rw-r--r--net/Makefile3
-rw-r--r--net/eudc-emacs20/Makefile64
-rw-r--r--net/eudc-emacs20/distinfo2
-rw-r--r--net/eudc-emacs20/files/patch-aa19
-rw-r--r--net/eudc-emacs20/pkg-descr16
-rw-r--r--net/eudc-emacs20/pkg-message7
-rw-r--r--net/eudc-emacs20/pkg-plist31
-rw-r--r--net/openldap12/Makefile98
-rw-r--r--net/openldap12/distinfo2
-rw-r--r--net/openldap12/files/manpages165
-rw-r--r--net/openldap12/files/patch-aa12
-rw-r--r--net/openldap12/files/patch-ab8
-rw-r--r--net/openldap12/files/patch-ac12
-rw-r--r--net/openldap12/files/patch-db29
-rw-r--r--net/openldap12/files/slapd.sh31
-rw-r--r--net/openldap12/pkg-descr12
-rw-r--r--net/openldap12/pkg-plist63
-rw-r--r--net/py-ldap1/Makefile44
-rw-r--r--net/py-ldap1/distinfo2
-rw-r--r--net/py-ldap1/files/Makefile.pre.in304
-rw-r--r--net/py-ldap1/files/patch-Makefile.in11
-rw-r--r--net/py-ldap1/files/patch-constants.c156
-rw-r--r--net/py-ldap1/files/patch-errors.c115
-rw-r--r--net/py-ldap1/files/patch-message.c43
-rw-r--r--net/py-ldap1/pkg-descr13
-rw-r--r--net/py-ldap1/pkg-plist12
-rw-r--r--www/Makefile1
-rw-r--r--www/web500gw/Makefile46
-rw-r--r--www/web500gw/distinfo4
-rw-r--r--www/web500gw/files/patch-aa133
-rw-r--r--www/web500gw/files/patch-ab11
-rw-r--r--www/web500gw/files/patch-ac153
-rw-r--r--www/web500gw/pkg-descr15
-rw-r--r--www/web500gw/pkg-message8
-rw-r--r--www/web500gw/pkg-plist15
40 files changed, 0 insertions, 1726 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 146ce9c06e59..ca430ef8aab0 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -363,7 +363,6 @@
SUBDIR += smtpmail
SUBDIR += smtpproxy
SUBDIR += smtprc
- SUBDIR += smunge
SUBDIR += solidpop3d
SUBDIR += sortmail
SUBDIR += spamass-milter
diff --git a/mail/smunge/Makefile b/mail/smunge/Makefile
deleted file mode 100644
index 447ef37110c5..000000000000
--- a/mail/smunge/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# New ports collection makefile for: smunge
-# Date created: 20 Jun 2000
-# Whom: Domas Mituzas <midom@dammit.lt>
-#
-# $FreeBSD$
-
-PORTNAME= smunge
-PORTVERSION= 1.3.5
-PORTREVISION= 1
-CATEGORIES= mail
-MASTER_SITES= http://www.i2pi.com/smunge/
-
-MAINTAINER= midom@dammit.lt
-COMMENT= Funneling POP3 proxy server
-
-FORBIDDEN= Depends on net/openldap12 which is no more.
-DEPRECATED= ${FORBIDDEN}
-EXPIRATION_DATE= 2004-04-18
-
-LIB_DEPENDS= ldap:${PORTSDIR}/net/openldap12
-
-USE_GMAKE= true
-WRKSRC= ${WRKDIR}
-ALL_TARGET= smunged
-PLIST_FILES= sbin/smunged
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/smunged ${PREFIX}/sbin/smunged
-
-.include <bsd.port.mk>
diff --git a/mail/smunge/distinfo b/mail/smunge/distinfo
deleted file mode 100644
index 15a0d16fb660..000000000000
--- a/mail/smunge/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (smunge-1.3.5.tar.gz) = e204660811481714b8f0604fd44b6ce9
-SIZE (smunge-1.3.5.tar.gz) = 35968
diff --git a/mail/smunge/files/patch-aa b/mail/smunge/files/patch-aa
deleted file mode 100644
index 9957a6d92203..000000000000
--- a/mail/smunge/files/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.old Thu Jul 20 19:50:06 2000
-+++ Makefile Thu Jul 20 19:50:44 2000
-@@ -11,12 +11,12 @@
-
- # Solaris
- #
--CFLAGS= -Wall -O3 -DSOLARIS
--LDFLAGS= -lxnet -lnsl -lposix4
-+#CFLAGS= -Wall -O3 -DSOLARIS
-+#LDFLAGS= -lxnet -lnsl -lposix4
-
- # FreeBSD
- #
--#CFLAGS= -Wall -O3 -DFREEBSD -DUSE_LDAP -I/usr/local/include
--#LDFLAGS= -L/usr/local/lib -lldap -llber
-+CFLAGS+= -DFREEBSD -DUSE_LDAP -I/usr/local/include
-+LDFLAGS+= -L/usr/local/lib -lldap -llber
-
- # Linux
diff --git a/mail/smunge/pkg-descr b/mail/smunge/pkg-descr
deleted file mode 100644
index 1ebd2bb1f873..000000000000
--- a/mail/smunge/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-Smunge is a stand alone POP3 funneling proxy server, designed
-to allow clients to attach to multiple pop servers as if they
-were one. Smunge can be used to join together multiple mailboxes,
-or to present different users with different mailboxes (depending
-on username). This allows for administrators of pop servers to set
-up either load balancing or redundant clusters for pop services.
-It was initially designed to smooth over the transition of pop
-services from one machine to another, without users losing mail
-(by keeping the old server active whilst the new one was being
-installed). It also supports DRAC for pop-before-smtp authentication.
-Also featured is support for LDAP based authentication and lookups
-for mapping users to sets of pop servers.
-
-WWW: http://www.i2pi.com/smunge/
diff --git a/net/Makefile b/net/Makefile
index 4f88504ce7c9..d69a139dc92f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -109,7 +109,6 @@
SUBDIR += etherboot
SUBDIR += ethereal
SUBDIR += ethereal-lite
- SUBDIR += eudc-emacs20
SUBDIR += fcptools
SUBDIR += fidelio
SUBDIR += firetalk
@@ -381,7 +380,6 @@
SUBDIR += opendchub
SUBDIR += opengk
SUBDIR += openh323
- SUBDIR += openldap12
SUBDIR += openldap20-client
SUBDIR += openldap20-server
SUBDIR += openldap21-client
@@ -523,7 +521,6 @@
SUBDIR += py-fngrab
SUBDIR += py-google
SUBDIR += py-jabber
- SUBDIR += py-ldap1
SUBDIR += py-ldap2
SUBDIR += py-libnet
SUBDIR += py-medusa
diff --git a/net/eudc-emacs20/Makefile b/net/eudc-emacs20/Makefile
deleted file mode 100644
index cf96cd615b76..000000000000
--- a/net/eudc-emacs20/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-# New ports collection makefile for: eudc-emacs20
-# Date created: 8 February 2001
-# Whom: ilya
-#
-# $FreeBSD$
-#
-
-PORTNAME= eudc
-PORTVERSION= 1.30b
-PORTREVISION= 1
-CATEGORIES= net mail elisp
-MASTER_SITES= http://diwww.epfl.ch/~figueire/Software/eudc/
-PKGNAMESUFFIX= -${EMACS_PORT_NAME}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An Emacs client to directory servers
-
-FORBIDDEN= "Requires net/openldap12 which is no more. If you are adventurish, maybe you would like to take over the maintainership and make this port working with net/openldap21-client"
-DEPRECATED= ${FORBIDDEN}
-EXPIRATION_DATE= 2004-04-18
-
-RUN_DEPENDS= ldapsearch:${PORTSDIR}/net/openldap12
-
-EMACS_PORT_NAME?=emacs20
-
-USE_GMAKE= yes
-MAKEFILE= GNUmakefile
-
-INFODIR= ${PREFIX}/info
-
-PORTDOCDIR= share/doc/${PORTNAME}-${EMACS_PORT_NAME}
-DOCS= COPYRIGHT ChangeLog INSTALL NEWS README
-SOURCES= eudc-autoloads.el eudc-bob.el eudc-export.el \
- eudc-hotlist.el eudc-vars.el eudc.el \
- eudcb-bbdb.el eudcb-ldap.el eudcb-ph.el ldap.el
-ELCS= ${SOURCES:S/.el/.elc/g}
-INFOS= eudc.info
-
-PLIST_SUB+= EMACS_PORT_NAME=${EMACS_PORT_NAME} \
- INFODIR=${INFODIR:S/${PREFIX}\///}
-
-INSTALL_TARGET=
-lispdir= ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/eudc
-
-post-build:
- @(cd ${WRKSRC}; makeinfo --no-split eudc.texi)
-post-install:
- ${MKDIR} ${lispdir};
-.for i in ${SOURCES} ${ELCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${lispdir}
-.endfor
-.for i in ${INFOS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${INFODIR}
- install-info ${INFODIR}/eudc.info ${INFODIR}/dir
-.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/${PORTDOCDIR}
-.for i in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${PORTDOCDIR}
-.endfor
-.endif
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/net/eudc-emacs20/distinfo b/net/eudc-emacs20/distinfo
deleted file mode 100644
index a49439c6aace..000000000000
--- a/net/eudc-emacs20/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (eudc-1.30b.tar.gz) = b533615ef01991e4b8ecacbf523caeb0
-SIZE (eudc-1.30b.tar.gz) = 62001
diff --git a/net/eudc-emacs20/files/patch-aa b/net/eudc-emacs20/files/patch-aa
deleted file mode 100644
index 59ca2c3cda05..000000000000
--- a/net/eudc-emacs20/files/patch-aa
+++ /dev/null
@@ -1,19 +0,0 @@
---- ./eudc.texi.orig Sun Oct 17 00:44:55 1999
-+++ ./eudc.texi Fri Jan 4 11:49:33 2002
-@@ -2,6 +2,7 @@
- @c %**start of header
- @setfilename eudc.info
- @settitle Emacs Unified Directory Client (EUDC) Manual
-+@dircategory The Emacs editor and associated tools
- @iftex
- @afourpaper
- @end iftex
-@@ -11,7 +12,7 @@
-
- @ifinfo
- @direntry
--* EUDC:: A client for directory servers (LDAP, PH)
-+* EUDC: (eudc.info). A client for directory servers (LDAP, PH).
- @end direntry
-
- This file documents EUDC v1.29
diff --git a/net/eudc-emacs20/pkg-descr b/net/eudc-emacs20/pkg-descr
deleted file mode 100644
index af1e275e622a..000000000000
--- a/net/eudc-emacs20/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-EUDC is a user-friendly e-lisp client interface to directory servers running
-various protocols:
-
-1) LDAP: Lightweight Directory Protocol
-2) CCSO: white pages directory system also known as PH/QI (from its standard
- client and server names).
-3) BBDB: Big Brother's Insiduous Database (BBDB is a local directory database)
-
-EUDC lets you query your corporate directory server for information such as
-phone numbers and office locations. It lets you also query public servers
-such as Four11 or BigFoot to complete email addresses directly from the
-server while composing email messages in VM, Gnus, Rmail,...
-
-WWW: http://lspwww.epfl.ch/~figueire/Software/eudc/
-
--- ported by Ilya Martynov <ilya@martynov.org>
diff --git a/net/eudc-emacs20/pkg-message b/net/eudc-emacs20/pkg-message
deleted file mode 100644
index b04289d55e96..000000000000
--- a/net/eudc-emacs20/pkg-message
+++ /dev/null
@@ -1,7 +0,0 @@
-*******************************************************************
-
-Add the following to your .emacs init file if you want to use EUDC:
-
- (require 'eudc-autoloads)
-
-*******************************************************************
diff --git a/net/eudc-emacs20/pkg-plist b/net/eudc-emacs20/pkg-plist
deleted file mode 100644
index 1e9cfec9978e..000000000000
--- a/net/eudc-emacs20/pkg-plist
+++ /dev/null
@@ -1,31 +0,0 @@
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-autoloads.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-autoloads.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-bob.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-bob.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-export.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-export.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-hotlist.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-hotlist.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-vars.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc-vars.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudc.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudcb-bbdb.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudcb-bbdb.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudcb-ldap.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudcb-ldap.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudcb-ph.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/eudcb-ph.elc
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/ldap.el
-%%EMACS_VERSION_SITE_LISPDIR%%/eudc/ldap.elc
-@unexec install-info --delete %D/%%INFODIR%%/eudc.info %D/%%INFODIR%%/dir
-@unexec test -f %D/%%INFODIR%%/eudc && install-info %D/%%INFODIR%%/eudc %D/%%INFODIR%%/dir
-%%INFODIR%%/eudc.info
-@exec install-info %D/%%INFODIR%%/eudc.info %D/%%INFODIR%%/dir
-share/doc/eudc-%%EMACS_PORT_NAME%%/COPYRIGHT
-share/doc/eudc-%%EMACS_PORT_NAME%%/ChangeLog
-share/doc/eudc-%%EMACS_PORT_NAME%%/INSTALL
-share/doc/eudc-%%EMACS_PORT_NAME%%/NEWS
-share/doc/eudc-%%EMACS_PORT_NAME%%/README
-@dirrm %%EMACS_VERSION_SITE_LISPDIR%%/eudc
-@dirrm share/doc/eudc-%%EMACS_PORT_NAME%%
diff --git a/net/openldap12/Makefile b/net/openldap12/Makefile
deleted file mode 100644
index 13da886c7321..000000000000
--- a/net/openldap12/Makefile
+++ /dev/null
@@ -1,98 +0,0 @@
-# New ports collection makefile for: OpenLDAP 1.x
-# Date created: 20 Sep 1998
-# Whom: Lachlan O'Dea
-#
-# $FreeBSD$
-#
-
-PORTNAME= openldap12
-PORTVERSION= 1.2.13
-CATEGORIES= net databases
-MASTER_SITES= ftp://ftp.OpenLDAP.org/pub/OpenLDAP/%SUBDIR%/ \
- http://www.PlanetMirror.com/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.si.uniovi.es/mirror/OpenLDAP/%SUBDIR%/ \
- ftp://sunsite.cnlab-switch.ch/mirror/OpenLDAP/%SUBDIR%/ \
- ftp://ftp.plig.org/pub/OpenLDAP/%SUBDIR%/
-MASTER_SITE_SUBDIR= openldap-release
-DISTNAME= openldap-${PORTVERSION}
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= lodea@vet.com.au
-COMMENT= Open source LDAP client and server software
-
-FORBIDDEN= ancient, unsupported, potential security issues
-DEPRECATED= ${FORBIDDEN}
-EXPIRATION_DATE= 2004-04-18
-
-USE_LIBTOOL_VER=13
-
-CONFIGURE_ARGS= --localstatedir=/var/db \
- --enable-shared \
- --enable-dns
-
-# Include tcp-wrapper support
-.if exists(/usr/include/tcpd.h)
-CONFIGURE_ARGS+= --enable-wrappers
-.endif
-
-.if defined(WITH_DB2)
-BUILD_DEPENDS= ${LOCALBASE}/lib/libdb2.a:${PORTSDIR}/databases/db2
-
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/db2 ${PTHREAD_CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS+= --enable-ldbm \
- --with-ldbm-api=db2
-.endif
-
-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/rcpt500 \
- libexec/rp500 \
- libexec/slapd \
- libexec/slurpd \
- sbin/centipede \
- sbin/ldbmcat \
- sbin/ldbmtest \
- sbin/ldif \
- sbin/ldif2id2children \
- sbin/ldif2id2entry \
- sbin/ldif2index \
- sbin/ldif2ldbm
-
-.include <bsd.port.pre.mk>
-.include "${FILESDIR}/manpages"
-
-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_CMD} ${PREFIX}/${f}
-.endfor
- ${INSTALL_SCRIPT} ${WRKDIR}/slapd.sh ${PREFIX}/etc/rc.d/slapd.sh.sample
-
-.include <bsd.port.post.mk>
diff --git a/net/openldap12/distinfo b/net/openldap12/distinfo
deleted file mode 100644
index a6cbdaa61c92..000000000000
--- a/net/openldap12/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (openldap-1.2.13.tgz) = 9613c1f8211c058e0b13788355b0e580
-SIZE (openldap-1.2.13.tgz) = 1034063
diff --git a/net/openldap12/files/manpages b/net/openldap12/files/manpages
deleted file mode 100644
index f36399dbc70a..000000000000
--- a/net/openldap12/files/manpages
+++ /dev/null
@@ -1,165 +0,0 @@
-MAN1+= ldapdelete.1
-MAN1+= ldapmodify.1
-MAN1+= ldapmodrdn.1
-MAN1+= ldappasswd.1
-MAN1+= ldapsearch.1
-MAN1+= ud.1
-MAN3+= cldap_close.3
-MAN3+= cldap_open.3
-MAN3+= cldap_search_s.3
-MAN3+= cldap_setretryinfo.3
-MAN3+= lber-decode.3
-MAN3+= lber-encode.3
-MAN3+= ldap.3
-MAN3+= ldap_abandon.3
-MAN3+= ldap_add.3
-MAN3+= ldap_bind.3
-MAN3+= ldap_cache.3
-MAN3+= ldap_charset.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_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+= centipede.8
-MAN8+= chlog2replog.8
-MAN8+= edb2ldif.8
-MAN8+= go500.8
-MAN8+= go500gw.8
-MAN8+= in.xfingerd.8
-MAN8+= ldapd.8
-MAN8+= ldbmcat.8
-MAN8+= ldif.8
-MAN8+= ldif2ldbm.8
-MAN8+= mail500.8
-MAN8+= rcpt500.8
-MAN8+= slapd.8
-MAN8+= slurpd.8
-MLINKS+= ldapmodify.1 ldapadd.1
-MLINKS+= ldap.3 cldap.3
-MLINKS+= ldap_add.3 ldap_add_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_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_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_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_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_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_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+= ldif2ldbm.8 ldif2id2children.8
-MLINKS+= ldif2ldbm.8 ldif2id2entry.8
-MLINKS+= ldif2ldbm.8 ldif2index.8
-MLINKS+= mail500.8 fax500.8
diff --git a/net/openldap12/files/patch-aa b/net/openldap12/files/patch-aa
deleted file mode 100644
index 22b7d8d94a70..000000000000
--- a/net/openldap12/files/patch-aa
+++ /dev/null
@@ -1,12 +0,0 @@
---- build/lib-shared.mk~ Thu May 25 22:46:57 2000
-+++ build/lib-shared.mk Thu May 25 22:50:24 2000
-@@ -20,5 +20,9 @@
- (d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@)
- $(RM) ../`$(BASENAME) $@ .la`.a; \
- (d=`$(PWD)`; t=`$(BASENAME) $@ .la`.a; $(LN_S) `$(BASENAME) $$d`/.libs/$$t ../$$t)
-+ # If we want our binaries to link dynamically with libldap{,_r} liblber...
-+ # We also symlink the .so.# so we can run the tests without installing
-+ (d=`$(PWD)`; t=`$(BASENAME) $@ .la`.so; $(LN_S) `$(BASENAME) $$d`/.libs/$$t ../$$t)
-+ (d=`$(PWD)`; b=`$(BASENAME) $@ .la`; t=`ls $$d/.libs/$$b.so.?`; $(LN_S) `$(BASENAME) $$d`/.libs/`$(BASENAME) $$t` ../`$(BASENAME) $$t`)
-
- Makefile: $(top_srcdir)/build/lib-shared.mk
diff --git a/net/openldap12/files/patch-ab b/net/openldap12/files/patch-ab
deleted file mode 100644
index 0e6d89b746e0..000000000000
--- a/net/openldap12/files/patch-ab
+++ /dev/null
@@ -1,8 +0,0 @@
---- tests/scripts/defines.sh~ Wed May 26 02:06:42 1999
-+++ tests/scripts/defines.sh Thu May 25 22:53:23 2000
-@@ -53,3 +53,5 @@
- ACLOUTMASTER=$DATADIR/acl.out.master
- REPLOUTMASTER=$DATADIR/repl.out.master
- MODSRCHFILTERS=$DATADIR/modify.search.filters
-+# Just in case we linked the binaries dynamically
-+export LD_LIBRARY_PATH=`pwd`/../libraries
diff --git a/net/openldap12/files/patch-ac b/net/openldap12/files/patch-ac
deleted file mode 100644
index e491cbc8c38d..000000000000
--- a/net/openldap12/files/patch-ac
+++ /dev/null
@@ -1,12 +0,0 @@
---- build/lib.mk~ Thu Jan 7 18:36:30 1999
-+++ build/lib.mk Thu May 25 22:58:26 2000
-@@ -27,7 +27,8 @@
- clean-common: FORCE
- $(RM) $(LIBRARY) ../$(LIBRARY) $(XLIBRARY) \
- $(PROGRAMS) $(XPROGRAMS) $(XSRCS) $(XXSRCS) \
-- *.o *.lo a.out core version.c .libs/*
-+ *.o *.lo a.out core version.c .libs/* \
-+ ../`$(BASENAME) $(LIBRARY) .la`.so*
-
- depend-common: FORCE
- $(MKDEP) $(DEFS) $(DEFINES) $(SRCS) $(XXSRCS)
diff --git a/net/openldap12/files/patch-db b/net/openldap12/files/patch-db
deleted file mode 100644
index 09902df2cd31..000000000000
--- a/net/openldap12/files/patch-db
+++ /dev/null
@@ -1,29 +0,0 @@
---- configure.orig Wed Dec 12 09:55:07 2001
-+++ configure Wed Dec 12 10:00:07 2001
-@@ -6194,14 +6194,14 @@
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ol_LIBS="$LIBS"
-- echo $ac_n "checking for db_open in -ldb""... $ac_c" 1>&6
--echo "configure:6199: checking for db_open in -ldb" >&5
-+ echo $ac_n "checking for db_open in -ldb2""... $ac_c" 1>&6
-+echo "configure:6199: checking for db_open in -ldb2" >&5
- ac_lib_var=`echo db'_'db_open | sed 'y%./+-:%__p__%'`
- if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- ac_save_LIBS="$LIBS"
--LIBS="-ldb $LIBS"
-+LIBS="-ldb2 $LIBS"
- cat > conftest.$ac_ext <<EOF
- #line 6207 "configure"
- #include "confdefs.h"
-@@ -6229,7 +6229,7 @@
- fi
- if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-- ol_cv_lib_db2=-ldb
-+ ol_cv_lib_db2=-ldb2
- else
- echo "$ac_t""no" 1>&6
- ol_cv_lib_db2=no
diff --git a/net/openldap12/files/slapd.sh b/net/openldap12/files/slapd.sh
deleted file mode 100644
index 640725c67c02..000000000000
--- a/net/openldap12/files/slapd.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-
-slapd=@@PREFIX@@/libexec/slapd
-pidfile=/var/run/slapd.pid
-
-case "$1" in
-start)
- if [ -x $slapd ]; then
- echo -n ' slapd'
- $slapd
- 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: ${0##*/} {start|stop}" >&2
- exit 64
- ;;
-esac
-
-exit 0
diff --git a/net/openldap12/pkg-descr b/net/openldap12/pkg-descr
deleted file mode 100644
index aec3ae0f7cf4..000000000000
--- a/net/openldap12/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/openldap12/pkg-plist b/net/openldap12/pkg-plist
deleted file mode 100644
index 692835f547df..000000000000
--- a/net/openldap12/pkg-plist
+++ /dev/null
@@ -1,63 +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/slapd.at.conf %D/etc/openldap/slapd.at.conf.default; then rm -f %D/etc/openldap/slapd.at.conf; fi
-etc/openldap/slapd.at.conf.default
-@exec [ ! -f %B/slapd.at.conf ] && cp %B/%f %B/slapd.at.conf
-@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 if cmp -s %D/etc/openldap/slapd.oc.conf %D/etc/openldap/slapd.oc.conf.default; then rm -f %D/etc/openldap/slapd.oc.conf; fi
-etc/openldap/slapd.oc.conf.default
-@exec [ ! -f %B/slapd.oc.conf ] && cp %B/%f %B/slapd.oc.conf
-@dirrm etc/openldap
-etc/rc.d/slapd.sh.sample
-include/disptmpl.h
-include/lber.h
-include/ldap.h
-include/ldap_cdefs.h
-include/srchpref.h
-lib/liblber.a
-lib/liblber.so
-lib/liblber.so.1
-lib/libldap.a
-lib/libldap.so
-lib/libldap.so.1
-libexec/fax500
-libexec/go500
-libexec/go500gw
-libexec/in.xfingerd
-libexec/mail500
-libexec/rcpt500
-libexec/rp500
-libexec/slapd
-libexec/slurpd
-libexec/xrpcomp
-sbin/centipede
-sbin/ldbmcat
-sbin/ldbmtest
-sbin/ldif
-sbin/ldif2id2children
-sbin/ldif2id2entry
-sbin/ldif2index
-sbin/ldif2ldbm
-share/openldap/go500gw.help
-share/openldap/ldapfriendly
-share/openldap/rcpt500.help
-@dirrm share/openldap
diff --git a/net/py-ldap1/Makefile b/net/py-ldap1/Makefile
deleted file mode 100644
index a1a1f4320873..000000000000
--- a/net/py-ldap1/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# New ports collection makefile for: ldapmodule
-# Date created: 05.Jul 2000
-# Whom: dirk.meyer@dinoex.sub.org
-#
-# $FreeBSD$
-
-PORTNAME= ldapmodule
-PORTVERSION= 1.10alpha3
-PORTREVISION= 4
-CATEGORIES= net python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= python-ldap
-DISTNAME= python-ldap-${PORTVERSION}-src
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= An LDAP module for python
-
-FORBIDDEN= "Depends on net/openldap12 which is no more. Maybe net/py-ldap2 will do the trick?"
-DEPRECATED= ${FORBIDDEN}
-EXPIRATION_DATE= 2004-04-18
-
-LIB_DEPENDS= ldap.1:${PORTSDIR}/net/openldap12
-
-USE_PYTHON= yes
-USE_REINPLACE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-ldap=${LOCALBASE} --with-python=${PYTHON_CMD}
-WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
-
-.include <bsd.port.pre.mk>
-
-post-patch:
- ${REINPLACE_CMD} -e '15s,^.*$$,#include "config.h",g' \
- ${WRKSRC}/Modules/LDAPObject.c
-
-pre-configure:
-.if ${PYTHON_REL} >= 230
- @${SED} -e 's,@DEFS@,,g' ${FILESDIR}/Makefile.pre.in > \
- ${WRKSRC}/Misc/Makefile.python-1.4
-.else
- @${CP} ${FILESDIR}/Makefile.pre.in ${WRKSRC}/Misc/Makefile.python-1.4
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/net/py-ldap1/distinfo b/net/py-ldap1/distinfo
deleted file mode 100644
index 44ea7cc4a216..000000000000
--- a/net/py-ldap1/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 (python-ldap-1.10alpha3-src.tar.gz) = a4e95cf9edec1b7952a5decbc8080372
-SIZE (python-ldap-1.10alpha3-src.tar.gz) = 87188
diff --git a/net/py-ldap1/files/Makefile.pre.in b/net/py-ldap1/files/Makefile.pre.in
deleted file mode 100644
index d8f763d8d6c6..000000000000
--- a/net/py-ldap1/files/Makefile.pre.in
+++ /dev/null
@@ -1,304 +0,0 @@
-# Universal Unix Makefile for Python extensions
-# =============================================
-
-# Short Instructions
-# ------------------
-
-# 1. Build and install Python (1.5 or newer).
-# 2. "make -f Makefile.pre.in boot"
-# 3. "make"
-# You should now have a shared library.
-
-# Long Instructions
-# -----------------
-
-# Build *and install* the basic Python 1.5 distribution. See the
-# Python README for instructions. (This version of Makefile.pre.in
-# only withs with Python 1.5, alpha 3 or newer.)
-
-# Create a file Setup.in for your extension. This file follows the
-# format of the Modules/Setup.dist file; see the instructions there.
-# For a simple module called "spam" on file "spammodule.c", it can
-# contain a single line:
-# spam spammodule.c
-# You can build as many modules as you want in the same directory --
-# just have a separate line for each of them in the Setup.in file.
-
-# If you want to build your extension as a shared library, insert a
-# line containing just the string
-# *shared*
-# at the top of your Setup.in file.
-
-# Note that the build process copies Setup.in to Setup, and then works
-# with Setup. It doesn't overwrite Setup when Setup.in is changed, so
-# while you're in the process of debugging your Setup.in file, you may
-# want to edit Setup instead, and copy it back to Setup.in later.
-# (All this is done so you can distribute your extension easily and
-# someone else can select the modules they actually want to build by
-# commenting out lines in the Setup file, without editing the
-# original. Editing Setup is also used to specify nonstandard
-# locations for include or library files.)
-
-# Copy this file (Misc/Makefile.pre.in) to the directory containing
-# your extension.
-
-# Run "make -f Makefile.pre.in boot". This creates Makefile
-# (producing Makefile.pre and sedscript as intermediate files) and
-# config.c, incorporating the values for sys.prefix, sys.exec_prefix
-# and sys.version from the installed Python binary. For this to work,
-# the python binary must be on your path. If this fails, try
-# make -f Makefile.pre.in Makefile VERSION=1.5 installdir=<prefix>
-# where <prefix> is the prefix used to install Python for installdir
-# (and possibly similar for exec_installdir=<exec_prefix>).
-
-# Note: "make boot" implies "make clobber" -- it assumes that when you
-# bootstrap you may have changed platforms so it removes all previous
-# output files.
-
-# If you are building your extension as a shared library (your
-# Setup.in file starts with *shared*), run "make" or "make sharedmods"
-# to build the shared library files. If you are building a statically
-# linked Python binary (the only solution of your platform doesn't
-# support shared libraries, and sometimes handy if you want to
-# distribute or install the resulting Python binary), run "make
-# python".
-
-# Note: Each time you edit Makefile.pre.in or Setup, you must run
-# "make Makefile" before running "make".
-
-# Hint: if you want to use VPATH, you can start in an empty
-# subdirectory and say (e.g.):
-# make -f ../Makefile.pre.in boot srcdir=.. VPATH=..
-
-
-# === Bootstrap variables (edited through "make boot") ===
-
-# The prefix used by "make inclinstall libainstall" of core python
-installdir= /usr/local
-
-# The exec_prefix used by the same
-exec_installdir=$(installdir)
-
-# Source directory and VPATH in case you want to use VPATH.
-# (You will have to edit these two lines yourself -- there is no
-# automatic support as the Makefile is not generated by
-# config.status.)
-srcdir= .
-VPATH= .
-
-# === Variables that you may want to customize (rarely) ===
-
-# (Static) build target
-TARGET= python
-
-# Installed python binary (used only by boot target)
-PYTHON?= python
-
-# Add more -I and -D options here
-CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS)
-
-# These two variables can be set in Setup to merge extensions.
-# See example[23].
-BASELIB=
-BASESETUP=
-
-# === Variables set by makesetup ===
-
-MODOBJS= _MODOBJS_
-MODLIBS= _MODLIBS_
-
-# === Definitions added by makesetup ===
-
-# === Variables from configure (through sedscript) ===
-
-VERSION= @VERSION@
-CC= @CC@
-LINKCC= @LINKCC@
-SGI_ABI= @SGI_ABI@
-OPT= @OPT@
-LDFLAGS= @LDFLAGS@
-LDLAST= @LDLAST@
-DEFS= @DEFS@
-LIBS= @LIBS@
-LIBM= @LIBM@
-LIBC= @LIBC@
-RANLIB= @RANLIB@
-MACHDEP= @MACHDEP@
-SO= @SO@
-LDSHARED= @LDSHARED@
-CCSHARED= @CCSHARED@
-LINKFORSHARED= @LINKFORSHARED@
-CXX= @CXX@
-
-# Install prefix for architecture-independent files
-prefix= /usr/local
-
-# Install prefix for architecture-dependent files
-exec_prefix= $(prefix)
-
-# Uncomment the following two lines for AIX
-#LINKCC= $(LIBPL)/makexp_aix $(LIBPL)/python.exp "" $(LIBRARY); $(PURIFY) $(CC)
-#LDSHARED= $(LIBPL)/ld_so_aix $(CC) -bI:$(LIBPL)/python.exp
-
-# === Fixed definitions ===
-
-# Shell used by make (some versions default to the login shell, which is bad)
-SHELL= /bin/sh
-
-# Expanded directories
-BINDIR= $(exec_installdir)/bin
-LIBDIR= $(exec_prefix)/lib
-MANDIR= $(installdir)/man
-INCLUDEDIR= $(installdir)/include
-SCRIPTDIR= $(prefix)/lib
-
-# Detailed destination directories
-BINLIBDEST= $(LIBDIR)/python$(VERSION)
-LIBDEST= $(SCRIPTDIR)/python$(VERSION)
-INCLUDEPY= $(INCLUDEDIR)/python$(VERSION)
-EXECINCLUDEPY= $(exec_installdir)/include/python$(VERSION)
-LIBP= $(exec_installdir)/lib/python$(VERSION)
-DESTSHARED= $(BINLIBDEST)/site-packages
-
-LIBPL= $(LIBP)/config
-
-PYTHONLIBS= $(LIBPL)/libpython$(VERSION).a
-
-MAKESETUP= $(LIBPL)/makesetup
-MAKEFILE= $(LIBPL)/Makefile
-CONFIGC= $(LIBPL)/config.c
-CONFIGCIN= $(LIBPL)/config.c.in
-SETUP= $(LIBPL)/Setup.config $(LIBPL)/Setup.local $(LIBPL)/Setup
-
-SYSLIBS= $(LIBM) $(LIBC)
-
-ADDOBJS= $(LIBPL)/python.o config.o
-
-# Portable install script (configure doesn't always guess right)
-INSTALL= $(LIBPL)/install-sh -c
-# Shared libraries must be installed with executable mode on some systems;
-# rather than figuring out exactly which, we always give them executable mode.
-# Also, making them read-only seems to be a good idea...
-INSTALL_SHARED= ${INSTALL} -m 555
-
-# === Fixed rules ===
-
-# Default target. This builds shared libraries only
-default: sharedmods
-
-# Build everything
-all: static sharedmods
-
-# Build shared libraries from our extension modules
-sharedmods: $(SHAREDMODS)
-
-# Build a static Python binary containing our extension modules
-static: $(TARGET)
-$(TARGET): $(ADDOBJS) lib.a $(PYTHONLIBS) Makefile $(BASELIB)
- $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) \
- $(ADDOBJS) lib.a $(PYTHONLIBS) \
- $(LINKPATH) $(BASELIB) $(MODLIBS) $(LIBS) $(SYSLIBS) \
- -o $(TARGET) $(LDLAST)
-
-install: sharedmods
- if test ! -d $(DESTSHARED) ; then \
- mkdir $(DESTSHARED) ; else true ; fi
- -for i in X $(SHAREDMODS); do \
- if test $$i != X; \
- then $(INSTALL_SHARED) $$i $(DESTSHARED)/$$i; \
- fi; \
- done
-
-# Build the library containing our extension modules
-lib.a: $(MODOBJS)
- -rm -f lib.a
- ar cr lib.a $(MODOBJS)
- -$(RANLIB) lib.a
-
-# This runs makesetup *twice* to use the BASESETUP definition from Setup
-config.c Makefile: Makefile.pre Setup $(BASESETUP) $(MAKESETUP)
- $(MAKESETUP) \
- -m Makefile.pre -c $(CONFIGCIN) Setup -n $(BASESETUP) $(SETUP)
- $(MAKE) -f Makefile do-it-again
-
-# Internal target to run makesetup for the second time
-do-it-again:
- $(MAKESETUP) \
- -m Makefile.pre -c $(CONFIGCIN) Setup -n $(BASESETUP) $(SETUP)
-
-# Make config.o from the config.c created by makesetup
-config.o: config.c
- $(CC) $(CFLAGS) -c config.c
-
-# Setup is copied from Setup.in *only* if it doesn't yet exist
-Setup:
- cp $(srcdir)/Setup.in Setup
-
-# Make the intermediate Makefile.pre from Makefile.pre.in
-Makefile.pre: Makefile.pre.in sedscript
- sed -f sedscript $(srcdir)/Makefile.pre.in >Makefile.pre
-
-# Shortcuts to make the sed arguments on one line
-P=prefix
-E=exec_prefix
-H=Generated automatically from Makefile.pre.in by sedscript.
-L=LINKFORSHARED
-
-# Make the sed script used to create Makefile.pre from Makefile.pre.in
-sedscript: $(MAKEFILE)
- sed -n \
- -e '1s/.*/1i\\/p' \
- -e '2s%.*%# $H%p' \
- -e '/^VERSION=/s/^VERSION=[ ]*\(.*\)/s%@VERSION[@]%\1%/p' \
- -e '/^CC=/s/^CC=[ ]*\(.*\)/s%@CC[@]%\1%/p' \
- -e '/^CXX=/s/^CXX=[ ]*\(.*\)/s%@CXX[@]%\1%/p' \
- -e '/^LINKCC=/s/^LINKCC=[ ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
- -e '/^OPT=/s/^OPT=[ ]*\(.*\)/s%@OPT[@]%\1%/p' \
- -e '/^LDFLAGS=/s/^LDFLAGS=[ ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
- -e '/^LDLAST=/s/^LDLAST=[ ]*\(.*\)/s%@LDLAST[@]%\1%/p' \
- -e '/^DEFS=/s/^DEFS=[ ]*\(.*\)/s%@DEFS[@]%\1%/p' \
- -e '/^LIBS=/s/^LIBS=[ ]*\(.*\)/s%@LIBS[@]%\1%/p' \
- -e '/^LIBM=/s/^LIBM=[ ]*\(.*\)/s%@LIBM[@]%\1%/p' \
- -e '/^LIBC=/s/^LIBC=[ ]*\(.*\)/s%@LIBC[@]%\1%/p' \
- -e '/^RANLIB=/s/^RANLIB=[ ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
- -e '/^MACHDEP=/s/^MACHDEP=[ ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
- -e '/^SO=/s/^SO=[ ]*\(.*\)/s%@SO[@]%\1%/p' \
- -e '/^LDSHARED=/s/^LDSHARED=[ ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
- -e '/^CCSHARED=/s/^CCSHARED=[ ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
- -e '/^SGI_ABI=/s/^SGI_ABI=[ ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \
- -e '/^$L=/s/^$L=[ ]*\(.*\)/s%@$L[@]%\1%/p' \
- -e '/^$P=/s/^$P=\(.*\)/s%^$P=.*%$P=\1%/p' \
- -e '/^$E=/s/^$E=\(.*\)/s%^$E=.*%$E=\1%/p' \
- $(MAKEFILE) >sedscript
- echo "/^installdir=/s%=.*%= $(installdir)%" >>sedscript
- echo "/^exec_installdir=/s%=.*%=$(exec_installdir)%" >>sedscript
- echo "/^srcdir=/s%=.*%= $(srcdir)%" >>sedscript
- echo "/^VPATH=/s%=.*%= $(VPATH)%" >>sedscript
- echo "/^LINKPATH=/s%=.*%= $(LINKPATH)%" >>sedscript
- echo "/^BASELIB=/s%=.*%= $(BASELIB)%" >>sedscript
- echo "/^BASESETUP=/s%=.*%= $(BASESETUP)%" >>sedscript
-
-# Bootstrap target
-boot: clobber
- VERSION=`$(PYTHON) -c "import sys; print sys.version[:3]"`; \
- installdir=`$(PYTHON) -c "import sys; print sys.prefix"`; \
- exec_installdir=`$(PYTHON) -c "import sys; print sys.exec_prefix"`; \
- $(MAKE) -f $(srcdir)/Makefile.pre.in VPATH=$(VPATH) srcdir=$(srcdir) \
- VERSION=$$VERSION \
- installdir=$$installdir \
- exec_installdir=$$exec_installdir \
- Makefile
-
-# Handy target to remove intermediate files and backups
-clean:
- -rm -f *.o *~
-
-# Handy target to remove everything that is easily regenerated
-clobber: clean
- -rm -f *.a tags TAGS config.c Makefile.pre $(TARGET) sedscript
- -rm -f *.so *.sl so_locations
-
-
-# Handy target to remove everything you don't want to distribute
-distclean: clobber
- -rm -f Makefile Setup
diff --git a/net/py-ldap1/files/patch-Makefile.in b/net/py-ldap1/files/patch-Makefile.in
deleted file mode 100644
index 17e51a4a0584..000000000000
--- a/net/py-ldap1/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Wed May 23 09:11:33 2001
-+++ Makefile.in Wed May 23 09:12:10 2001
-@@ -26,6 +26,8 @@
- $(INSTALL_DIR) $(DESTDIR)$(LIBDEST)/site-packages/python-ldap
- $(INSTALL_DATA) $(srcdir)/Misc/ldap.pth \
- $(DESTDIR)$(LIBDEST)/site-packages/ldap.pth
-+ $(INSTALL_DATA) $(srcdir)/Modules/_ldapmodule.so \
-+ $(DESTDIR)$(LIBDEST)/site-packages/_ldapmodule.so
- for f in $(srcdir)/Lib/*.py; do \
- $(INSTALL_DATA) $$f $(DESTDIR)$(LIBDEST)/site-packages/python-ldap/;\
- done
diff --git a/net/py-ldap1/files/patch-constants.c b/net/py-ldap1/files/patch-constants.c
deleted file mode 100644
index 65b496acb045..000000000000
--- a/net/py-ldap1/files/patch-constants.c
+++ /dev/null
@@ -1,156 +0,0 @@
---- Modules/constants.c.orig Sun Aug 13 16:00:59 2000
-+++ Modules/constants.c Mon Nov 6 11:02:43 2000
-@@ -66,7 +66,6 @@
- add_int(d,VERSION1);
- add_int(d,VERSION2);
- add_int(d,VERSION);
-- add_int(d,MAX_ATTR_LEN);
- add_int(d,TAG_MESSAGE);
- add_int(d,TAG_MSGID);
-
-@@ -79,9 +78,27 @@
- add_int(d,REQ_MODRDN);
- add_int(d,REQ_COMPARE);
- add_int(d,REQ_ABANDON);
-+
-+#if defined(LDAP_API_VERSION)
-+ /* OpenLDAPv2 */
-+ add_int(d,VERSION3);
-+ add_int(d,VERSION_MIN);
-+ add_int(d,VERSION_MAX);
-+ add_int(d,TAG_LDAPDN);
-+ add_int(d,TAG_LDAPCRED);
-+ add_int(d,TAG_CONTROLS);
-+ add_int(d,TAG_REFERRAL);
-+
-+ add_int(d,REQ_MODDN);
-+ add_int(d,REQ_RENAME);
-+#else
-+ /* OpenLDAPv1 */
-+ add_int(d,MAX_ATTR_LEN);
-+
- add_int(d,REQ_UNBIND_30);
- add_int(d,REQ_DELETE_30);
- add_int(d,REQ_ABANDON_30);
-+#endif
-
- /* reversibles */
-
-@@ -89,6 +106,14 @@
- PyDict_SetItem( reverse, zero, Py_None );
- Py_DECREF( zero );
-
-+#if defined(LDAP_API_VERSION)
-+ /* OpenLDAPv2 */
-+ add_int_r(d,RES_SEARCH_REFERENCE);
-+ add_int_r(d,RES_MODDN); /* Aliases for RES_MODRDN; */
-+ add_int_r(d,RES_RENAME); /* init them before the main name */
-+ add_int(d,RES_UNSOLICITED);
-+#endif
-+
- add_int_r(d,RES_BIND);
- add_int_r(d,RES_SEARCH_ENTRY);
- add_int_r(d,RES_SEARCH_RESULT);
-@@ -106,9 +131,6 @@
- add_int(d,AUTH_KRBV4);
- add_int(d,AUTH_KRBV41);
- add_int(d,AUTH_KRBV42);
-- add_int(d,AUTH_SIMPLE_30);
-- add_int(d,AUTH_KRBV41_30);
-- add_int(d,AUTH_KRBV42_30);
- add_int(d,FILTER_AND);
- add_int(d,FILTER_OR);
- add_int(d,FILTER_NOT);
-@@ -118,13 +140,9 @@
- add_int(d,FILTER_LE);
- add_int(d,FILTER_PRESENT);
- add_int(d,FILTER_APPROX);
-- add_int(d,FILTER_PRESENT_30);
- add_int(d,SUBSTRING_INITIAL);
- add_int(d,SUBSTRING_ANY);
- add_int(d,SUBSTRING_FINAL);
-- add_int(d,SUBSTRING_INITIAL_30);
-- add_int(d,SUBSTRING_ANY_30);
-- add_int(d,SUBSTRING_FINAL_30);
- add_int(d,SCOPE_BASE);
- add_int(d,SCOPE_ONELEVEL);
- add_int(d,SCOPE_SUBTREE);
-@@ -133,6 +151,16 @@
- add_int(d,MOD_REPLACE);
- add_int(d,MOD_BVALUES);
-
-+#if !defined(LDAP_API_VERSION)
-+ /* OpenLDAPv1 */
-+ add_int(d,AUTH_SIMPLE_30);
-+ add_int(d,AUTH_KRBV41_30);
-+ add_int(d,AUTH_KRBV42_30);
-+ add_int(d,FILTER_PRESENT_30);
-+ add_int(d,SUBSTRING_INITIAL_30);
-+ add_int(d,SUBSTRING_ANY_30);
-+ add_int(d,SUBSTRING_FINAL_30);
-+
- /* (errors.c contains the error constants) */
-
- add_int(d,DEFAULT_REFHOPLIMIT);
-@@ -145,15 +173,36 @@
- #ifdef LDAP_CACHE_OPT_CACHEALLERRS
- add_int(d,CACHE_OPT_CACHEALLERRS);
- #endif
-+
-+#endif /* !defined(LDAP_API_VERSION) */
- add_int(d,FILT_MAXSIZ);
- add_int(d,DEREF_NEVER);
- add_int(d,DEREF_SEARCHING);
- add_int(d,DEREF_FINDING);
- add_int(d,DEREF_ALWAYS);
- add_int(d,NO_LIMIT);
-+#if defined(LDAP_API_VERSION)
-+ /* OpenLDAPv2 */
-+ add_int(d,OPT_API_INFO);
-+ add_int(d,OPT_DESC);
-+ add_int(d,OPT_DEREF);
-+ add_int(d,OPT_SIZELIMIT);
-+ add_int(d,OPT_TIMELIMIT);
-+ add_int(d,OPT_PROTOCOL_VERSION);
-+ add_int(d,OPT_SERVER_CONTROLS);
-+ add_int(d,OPT_CLIENT_CONTROLS);
-+ add_int(d,OPT_API_FEATURE_INFO);
-+ add_int(d,OPT_HOST_NAME);
-+ add_int(d,OPT_ERROR_NUMBER);
-+ add_int(d,OPT_ERROR_STRING);
-+ add_int(d,OPT_MATCHED_DN);
-+ add_int(d,OPT_PRIVATE_EXTENSION_BASE);
-+#else
-+ /* OpenLDAPv1 */
- #ifdef LDAP_OPT_DNS
- add_int(d,OPT_DNS);
- #endif
-+#endif /* defined(LDAP_API_VERSION) */
- #ifdef LDAP_OPT_REFERRALS
- add_int(d,OPT_REFERRALS);
- #endif
-@@ -161,9 +210,24 @@
-
- /* XXX - these belong in errors.c */
-
-+#if defined(LDAP_API_VERSION)
-+ /* OpenLDAPv2 */
-+ add_int(d,URL_SUCCESS);
-+ add_int(d,URL_ERR_PARAM);
-+ add_int(d,URL_ERR_BADSCHEME);
-+ add_int(d,URL_ERR_BADENCLOSURE);
-+ add_int(d,URL_ERR_BADURL);
-+ add_int(d,URL_ERR_BADHOST);
-+ add_int(d,URL_ERR_BADATTRS);
-+ add_int(d,URL_ERR_BADSCOPE);
-+ add_int(d,URL_ERR_BADFILTER);
-+ add_int(d,URL_ERR_BADEXTS);
-+#else
-+ /* OpenLDAPv1 */
- add_int(d,URL_ERR_NOTLDAP);
- add_int(d,URL_ERR_NODN);
- add_int(d,URL_ERR_BADSCOPE);
-+#endif /* defined(LDAP_API_VERSION) */
- add_int(d,URL_ERR_MEM);
-
- /* author */
diff --git a/net/py-ldap1/files/patch-errors.c b/net/py-ldap1/files/patch-errors.c
deleted file mode 100644
index 86d6baa60aba..000000000000
--- a/net/py-ldap1/files/patch-errors.c
+++ /dev/null
@@ -1,115 +0,0 @@
---- Modules/errors.c.orig Wed Nov 15 10:41:35 2000
-+++ Modules/errors.c Wed Nov 15 14:17:15 2000
-@@ -17,7 +17,13 @@
-
- /* list of error objects */
-
-+#if defined(LDAP_API_VERSION)
-+/* OpenLDAPv2 */
-+#define NUM_LDAP_ERRORS LDAP_REFERRAL_LIMIT_EXCEEDED+1
-+#else
-+/* OpenLDAPv1 */
- #define NUM_LDAP_ERRORS LDAP_NO_MEMORY+1
-+#endif
- static PyObject*
- errobjects[ NUM_LDAP_ERRORS ];
-
-@@ -30,21 +36,26 @@
- PyErr_SetFromErrno( LDAPexception_class );
- return NULL;
- }
--#ifdef LDAP_TYPE_IS_OPAQUE
-+#if defined(LDAP_TYPE_IS_OPAQUE) && !defined(LDAP_API_VERSION)
- else {
- PyErr_SetString(LDAPexception_class,
- "unknown error (C API does not expose error)");
- return NULL;
- }
--#else
-+#else /* defined(LDAP_TYPE_IS_OPAQUE) && !defined(LDAP_API_VERSION) */
- else {
- int errnum;
- PyObject *errobj;
- PyObject *info;
- PyObject *str;
-
-+#if defined(LDAP_API_VERSION)
-+ char *matched, *error;
-+ if (ldap_get_option(l, LDAP_OPT_ERROR_NUMBER, &errnum) < 0)
-+#else
- errnum = l->ld_errno;
- if (errnum<0 || errnum>=NUM_LDAP_ERRORS)
-+#endif /* defined(LDAP_API_VERSION) */
- errobj = LDAPexception_class; /* unknown error XXX */
- else
- errobj = errobjects[errnum];
-@@ -61,6 +72,35 @@
- PyDict_SetItemString( info, "desc", str );
- Py_XDECREF(str);
-
-+#if defined(LDAP_API_VERSION)
-+ if (ldap_get_option(l, LDAP_OPT_MATCHED_DN, &matched) >= 0
-+ && matched != NULL) {
-+ if (*matched != '\0') {
-+ str = PyString_FromString(matched);
-+ if (str)
-+ PyDict_SetItemString( info, "matched", str );
-+ Py_XDECREF(str);
-+ }
-+ ldap_memfree(matched);
-+ }
-+
-+ if (errnum == LDAP_REFERRAL) {
-+ str = PyString_FromString(msg);
-+ if (str)
-+ PyDict_SetItemString( info, "info", str );
-+ Py_XDECREF(str);
-+ } else if (ldap_get_option(l, LDAP_OPT_ERROR_STRING, &error) >= 0
-+ && error != NULL) {
-+ if (error != '\0') {
-+ str = PyString_FromString(error);
-+ if (str)
-+ PyDict_SetItemString( info, "info", str );
-+ Py_XDECREF(str);
-+ }
-+ ldap_memfree(error);
-+ }
-+
-+#else /* defined(LDAP_API_VERSION) */
- if (l->ld_matched != NULL && *l->ld_matched != '\0')
- {
- str = PyString_FromString(l->ld_matched);
-@@ -76,11 +116,12 @@
- PyDict_SetItemString( info, "info", str );
- Py_XDECREF(str);
- }
-+#endif /* defined(LDAP_API_VERSION) */
- PyErr_SetObject( errobj, info );
- Py_DECREF(info);
- return NULL;
- }
--#endif
-+#endif /* defined(LDAP_TYPE_IS_OPAQUE) && !defined(LDAP_API_VERSION) */
- }
-
-
-@@ -163,4 +204,19 @@
- seterrobj(USER_CANCELLED);
- seterrobj(PARAM_ERROR);
- seterrobj(NO_MEMORY);
-+#if defined(LDAP_API_VERSION)
-+ seterrobj(REFERRAL);
-+ seterrobj(ADMINLIMIT_EXCEEDED);
-+ seterrobj(UNAVAILABLE_CRITICAL_EXTENSION);
-+ seterrobj(CONFIDENTIALITY_REQUIRED);
-+ seterrobj(SASL_BIND_IN_PROGRESS);
-+ seterrobj(AFFECTS_MULTIPLE_DSAS);
-+ seterrobj(CONNECT_ERROR);
-+ seterrobj(NOT_SUPPORTED);
-+ seterrobj(CONTROL_NOT_FOUND);
-+ seterrobj(NO_RESULTS_RETURNED);
-+ seterrobj(MORE_RESULTS_TO_RETURN);
-+ seterrobj(CLIENT_LOOP);
-+ seterrobj(REFERRAL_LIMIT_EXCEEDED);
-+#endif
- }
diff --git a/net/py-ldap1/files/patch-message.c b/net/py-ldap1/files/patch-message.c
deleted file mode 100644
index 1b7111a84ae2..000000000000
--- a/net/py-ldap1/files/patch-message.c
+++ /dev/null
@@ -1,43 +0,0 @@
---- Modules/message.c.orig Wed Nov 15 10:41:35 2000
-+++ Modules/message.c Wed Nov 15 16:51:18 2000
-@@ -114,6 +114,40 @@
- PyList_Append(result, entrytuple);
- Py_DECREF(entrytuple);
- }
-+#if defined(LDAP_API_VERSION)
-+ for(entry = ldap_first_reference(ld,m);
-+ entry != NULL;
-+ entry = ldap_next_reference(ld,entry))
-+ {
-+ char **refs = NULL;
-+ PyObject* entrytuple;
-+ PyObject* reflist = PyList_New(0);
-+
-+ if (reflist == NULL) {
-+ Py_DECREF(result);
-+ ldap_msgfree( m );
-+ return NULL;
-+ }
-+ if (ldap_parse_reference(ld, entry, &refs, NULL, 0) != LDAP_SUCCESS) {
-+ Py_DECREF(result);
-+ ldap_msgfree( m );
-+ return LDAPerror( ld, "ldap_parse_reference" );
-+ }
-+ if (refs) {
-+ int i;
-+ for (i=0; refs[i] != NULL; i++) {
-+ PyObject *refstr = PyString_FromString(refs[i]);
-+ PyList_Append(reflist, refstr);
-+ Py_DECREF(refstr);
-+ }
-+ ber_memvfree( (void **) refs );
-+ }
-+ entrytuple = Py_BuildValue("(sO)", NULL, reflist);
-+ Py_DECREF(reflist);
-+ PyList_Append(result, entrytuple);
-+ Py_DECREF(entrytuple);
-+ }
-+#endif
- ldap_msgfree( m );
- return result;
- }
diff --git a/net/py-ldap1/pkg-descr b/net/py-ldap1/pkg-descr
deleted file mode 100644
index 3b07d96df9fa..000000000000
--- a/net/py-ldap1/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-
- LDAP Wrapper for Python
-
- This module provides an LDAP API to Python in the spirit of RFC1823.
-
-Some cool things people have done with ldapmodule
-
- * LANL phone book (source)
- * Michael Stroeder's web2ldap (previously ldap-client-cgi.py).
- * LDAP support for Zope (see also Zope)
-
-WWW: http://python-ldap.sourceforge.net/
-FTP: ftp://python-ldap.sourceforge.net/pub/python-ldap/
diff --git a/net/py-ldap1/pkg-plist b/net/py-ldap1/pkg-plist
deleted file mode 100644
index a9457c11bd86..000000000000
--- a/net/py-ldap1/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldap.py
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldap.pyc
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldap.pyo
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldif.py
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldif.pyc
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/ldif.pyo
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/perldap.py
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/perldap.pyc
-lib/%%PYTHON_VERSION%%/site-packages/python-ldap/perldap.pyo
-lib/%%PYTHON_VERSION%%/site-packages/_ldapmodule.so
-lib/%%PYTHON_VERSION%%/site-packages/ldap.pth
-@dirrm lib/%%PYTHON_VERSION%%/site-packages/python-ldap
diff --git a/www/Makefile b/www/Makefile
index b257bf6f254e..120ffcffe902 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -592,7 +592,6 @@
SUBDIR += wcol
SUBDIR += web-traceroute
SUBDIR += web2ldap
- SUBDIR += web500gw
SUBDIR += webalizer
SUBDIR += webcheck
SUBDIR += webcopy
diff --git a/www/web500gw/Makefile b/www/web500gw/Makefile
deleted file mode 100644
index fc328622b135..000000000000
--- a/www/web500gw/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# New ports collection makefile for: web500gw
-# Date created: 30 July 1998
-# Whom: Brent J. Nordquist <bjn@visi.com>
-#
-# $FreeBSD$
-#
-
-PORTNAME= web500gw
-PORTVERSION= 2.1b3
-CATEGORIES= www
-MASTER_SITES= ftp://ftp.tu-chemnitz.de/pub/Local/urz/web500gw/ \
- http://www.tu-chemnitz.de/ftp-home/pub/Local/urz/web500gw/ \
- ftp://ftp.ntua.gr/pub/net/ldap/web500gw/ \
- ftp://ftp.imms.de/pub/unix/networking/ldap/
-
-PATCH_SITES= http://www.tu-chemnitz.de/~fri/web500gw/
-PATCHFILES= modtmpl.patch
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= HTTP gateway to LDAP-based directories
-
-FORBIDDEN= "Depends on net/openldap12, which is no more"
-DEPRECATED= ${FORBIDDEN}
-EXPIRATION_DATE= 2004-04-18
-
-BUILD_DEPENDS= ${LOCALBASE}/lib/libldap.a:${PORTSDIR}/net/openldap12
-
-INSTDIR= ${PREFIX}/bin
-
-MAKE_ENV= PLATFORMCFLAGS="${CFLAGS} -DUSE_SYSCONF -I${PREFIX}/include" \
- LDFLAGS=-L${PREFIX}/lib \
- INSTDIR=${INSTDIR} \
- WEB500GWDIR=${WEB500GWDIR} \
- MANDIR=${MANPREFIX}/man/man8 \
- INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
- INSTALL_DATA="${INSTALL_DATA}" \
- INSTALL_MAN="${INSTALL_MAN}"
-MAN8= web500gw.8
-
-WEB500GWDIR= ${PREFIX}/etc/web500gw
-
-post-install:
- ${STRIP_CMD} ${INSTDIR}/web500gw
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.mk>
diff --git a/www/web500gw/distinfo b/www/web500gw/distinfo
deleted file mode 100644
index a248d5ec71f1..000000000000
--- a/www/web500gw/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 (web500gw-2.1b3.tar.gz) = 8e411a94f79bad75a3e8deeea3d05050
-SIZE (web500gw-2.1b3.tar.gz) = 143463
-MD5 (modtmpl.patch) = 08cd0570c25646085946bb246fb56525
-SIZE (modtmpl.patch) = 1498
diff --git a/www/web500gw/files/patch-aa b/www/web500gw/files/patch-aa
deleted file mode 100644
index f13754781687..000000000000
--- a/www/web500gw/files/patch-aa
+++ /dev/null
@@ -1,133 +0,0 @@
---- Makefile.orig Wed Aug 4 13:44:08 1999
-+++ Makefile Wed Aug 4 14:40:54 1999
-@@ -3,18 +3,19 @@
- #-----------------------------------------------------------------------------
-
- # Where to install web500gw
--INSTDIR = /usr/local/etc
-+#INSTDIR = /usr/local/etc
-
- # Where to install the manual web500gw.8
--MANDIR = /usr/local/man/man8
-+#MANDIR = /usr/local/man/man8
-
- # Where to install web500gw's config/filter/template/help/message files
- # It's recommended to use an own directory for it.
--WEB500GWDIR = $(INSTDIR)/web500
-+#WEB500GWDIR = $(INSTDIR)/web500
-
- # What language dependent files should be installed?
- # "" stands for english (default) versions
--SUFFIX = "" de es fr
-+SUFFIX = "" de
-+# es fr
-
-
- # DEFINES - Enable/disable some features
-@@ -51,7 +52,7 @@
-
- # T.61 <-> ISO-8859-1 translation: This is built in from LDAP 3.2.
- # If you didn't define this translation there comment out the following line:
--STR_TRANSLATION = -DSTR_TRANSLATION
-+#STR_TRANSLATION = -DSTR_TRANSLATION
- # If you defined LDAP_DEBUG there and want to enable LDAP debugging
- # uncomment the following line:
- LDAP_DEBUG = -DLDAP_DEBUG
-@@ -69,7 +70,7 @@
-
- # platform specific:
- # Linux
--PLATFORMCFLAGS= -Dlinux -DSYSV
-+# PLATFORMCFLAGS= -Dlinux -DSYSV
- # Solaris 2
- # PLATFORMCFLAGS= -Dsunos5
- # PLATFORMLDFLAGS= -lsocket -lnsl
-@@ -82,8 +83,8 @@
- # AIX
- # PLATFORMCFLAGS= -Daix
- # NetBSD:
--#PLATFORMCFLAGS=
--#PLATFORMLDFLAGS= -lcompat
-+# PLATFORMCFLAGS=
-+# PLATFORMLDFLAGS= -lcompat
- # OSF/1
- #PLATFORMCFLAGS= -Dosf -DSYSV
- #PLATFORMLDFLAGS=
-@@ -99,8 +100,8 @@
- # when using gcc:
- CC = gcc
- #WARN = -Wall -Wno-implicit
--#CFLAGS = -O4 $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
--CFLAGS = -g $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
-+CFLAGS = -O4 $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
-+#CFLAGS = -g $(WARN) $(ALLDEFINES) -fpcc-struct-return -fwritable-strings
-
- # or cc:
- #CC = cc
-@@ -110,9 +111,9 @@
-
- ################ end of configuration area ###############
- # ALDFLAGS are always passed to ld
--ALDFLAGS = $(PLATFORMLDFLAGS)
-+ALDFLAGS = ${LDFLAGS} $(PLATFORMLDFLAGS)
-
--INSTALL = util/install.sh
-+#INSTALL = util/install.sh
- MKDIR = mkdir
- # LIBEFENCE = -lefence
-
-@@ -138,7 +139,7 @@
- #web500gw.o: messages.h web500gw.h
-
- web500gw: Makefile $(OBJS)
-- $(CC) $(ALDFLAGS) -o $@ $(OBJS) $(LIBS)
-+ $(CC) $(ALDFLAGS) -o $@ $(OBJS) $(LIBS) -lgnuregex
-
- #$(CC) $(ALDFLAGS) -o $@ $(OBJS) -R/usr/local/ic/usr/lib -L/usr/local/ic/usr/lib -lldap -llber -lisode
-
-@@ -160,34 +161,34 @@
- @echo ""
- @if [ ! -d $(INSTDIR) ]; then $(MKDIR) -p $(INSTDIR); fi
- @echo "Installing web500gw to $(INSTDIR)"
-- $(INSTALL) $(INSTALLFLAGS) -m 755 web500gw $(INSTDIR)
-+ $(INSTALL_PROGRAM) web500gw $(INSTDIR)
- @echo "... done!"
-
- install-etc:;
- @echo ""
- @if [ ! -d $(WEB500GWDIR) ]; then $(MKDIR) -p $(WEB500GWDIR); fi
- @echo "Installing web500gw config/template/filter files to $(WEB500GWDIR)"
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.conf $(WEB500GWDIR)
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfilter.conf $(WEB500GWDIR)
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfilter.conf.internal $(WEB500GWDIR)
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldaptemplates.conf $(WEB500GWDIR)
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldaptemplates.conf.internal $(WEB500GWDIR)
-+ $(INSTALL_DATA) etc/web500gw.conf $(WEB500GWDIR)/sample.web500gw.conf
-+ $(INSTALL_DATA) etc/ldapfilter.conf $(WEB500GWDIR)/sample.ldapfilter.conf
-+ $(INSTALL_DATA) etc/ldapfilter.conf.internal $(WEB500GWDIR)/sample.ldapfilter.conf.internal
-+ $(INSTALL_DATA) etc/ldaptemplates.conf $(WEB500GWDIR)/sample.ldaptemplates.conf
-+ $(INSTALL_DATA) etc/ldaptemplates.conf.internal $(WEB500GWDIR)/sample.ldaptemplates.conf.internal
- @echo ""
- @echo "Installing web500gw help/message/friendly files to $(WEB500GWDIR)"
- @for i in $(SUFFIX); do \
- if [ "x$$i" = "x" ]; then echo " english"; SUFF="";\
- else echo " $$i"; SUFF=".$$i"; fi; \
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.help$$SUFF $(WEB500GWDIR); \
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.messages$$SUFF $(WEB500GWDIR); \
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/web500gw.attr$$SUFF $(WEB500GWDIR); \
-- $(INSTALL) $(INSTALLFLAGS) -m 644 etc/ldapfriendly$$SUFF $(WEB500GWDIR); \
-+ $(INSTALL_DATA) etc/web500gw.help$$SUFF $(WEB500GWDIR); \
-+ $(INSTALL_DATA) etc/web500gw.messages$$SUFF $(WEB500GWDIR); \
-+ $(INSTALL_DATA) etc/web500gw.attr$$SUFF $(WEB500GWDIR); \
-+ $(INSTALL_DATA) etc/ldapfriendly$$SUFF $(WEB500GWDIR); \
- done;
- @echo "... done!"
-
- install-man:;
- @echo ""
- @echo "Installing web500gw.8 to $(MANDIR)"
-- $(INSTALL) $(INSTALLFLAGS) -m 644 doc/web500gw.8 $(MANDIR)
-+ $(INSTALL_MAN) doc/web500gw.8 $(MANDIR)
- @echo "... done!"
-
- lint:;
diff --git a/www/web500gw/files/patch-ab b/www/web500gw/files/patch-ab
deleted file mode 100644
index 50ca40c856e4..000000000000
--- a/www/web500gw/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- etc/web500gw.messages.orig Wed Jan 19 23:42:06 2000
-+++ etc/web500gw.messages Wed Jan 19 23:42:29 2000
-@@ -546,7 +546,7 @@
- ## %1 = URL to read, %2 = URL to modify, %3 = bind-dn, %4 = passwd
- # Add ok
- # %1 = RDN, %2 = UFN, %3 = URL z. Lesen
--:ADD_OK The entry <STRONG><A HREF=""%3">%2</A></STRONG><BR>
-+:ADD_OK The entry <STRONG><A HREF="%3">%2</A></STRONG><BR>
- was <STRONG>added</STRONG> successfully!
-
- ##################### Delete entry
diff --git a/www/web500gw/files/patch-ac b/www/web500gw/files/patch-ac
deleted file mode 100644
index fa865d5b2819..000000000000
--- a/www/web500gw/files/patch-ac
+++ /dev/null
@@ -1,153 +0,0 @@
-*** util.c.orig Thu Dec 2 18:07:10 1999
---- util.c Thu Jan 27 11:41:36 2000
-***************
-*** 15,20 ****
---- 15,22 ----
- * is provided ``as is'' without express or implied warranty.
- */
-
-+ #include <unistd.h>
-+ #include <gnuregex.h>
- #include "web500gw.h"
-
- /* msg_?printf: formats (and prints out) a string contained in message file */
-***************
-*** 438,443 ****
---- 440,449 ----
- mday++;
- }
- year = YEAR (tm -> tm_year);
-+ /* note that 2-digit-year LDAP timestamp will have "00" for "2000" */
-+ /* above year transformation will return "1900" for "00", 2-digit "2000" */
-+ /* the following assumes no real dates < 1970 */
-+ if (year < 1970) year += 100; /* turn "1900" into "2000" */
- result = 0L;
- for (i = 1970; i < year; i++)
- result += dysize (i);
-***************
-*** 465,470 ****
---- 471,477 ----
- char mydate[256];
- struct tm tm, *ntm;
- time_t t;
-+ int ds_off; /* date string offset */
-
- #ifdef WEB500GW_DEBUG
- Web500gw_debug(WEB500GW_DEBUG_UTIL, " format_date (%s, \"%s\")\n",
-***************
-*** 473,487 ****
- if (!s)
- return(NULL);
-
-! /* s should point to: YYMMDDHHmmSSZ */
- /* ... well 2 digits for year :-( */
-!
-! tm.tm_year = 10*(s[0] - '0') + (s[1] - '0');
-! tm.tm_mon = 10*(s[2] - '0') + (s[3] - '0') - 1;
-! tm.tm_mday = 10*(s[4] - '0') + (s[5] - '0');
-! tm.tm_hour = 10*(s[6] - '0') + (s[7] - '0');
-! tm.tm_min = 10*(s[8] - '0') + (s[9] - '0');
-! tm.tm_sec = 10*(s[10] - '0') + (s[11] - '0');
- tm.tm_isdst = 0;
-
- #if ! (defined(__hpux) || defined(_AIX) || defined(sunos5) || defined(linux) || defined(unixware7))
---- 480,498 ----
- if (!s)
- return(NULL);
-
-! /* s should point to: YYMMDDHHmmSSZ (13 chars) */
- /* ... well 2 digits for year :-( */
-! /* or: YYYYMMDDHHmmSSZ (15 chars; 4-digit years) */
-! if (strlen(s) == 13) {
-! tm.tm_year = 10*(s[0] - '0') + (s[1] - '0'); ds_off = 2;}
-! else {
-! tm.tm_year = 1000*(s[0] - '0') + 100*(s[1] - '0') +
-! 10*(s[2] - '0') + (s[3] - '0'); ds_off = 4;}
-! tm.tm_mon = 10*(s[ds_off] - '0') + (s[ds_off+1] - '0') - 1;
-! tm.tm_mday = 10*(s[ds_off+2] - '0') + (s[ds_off+3] - '0');
-! tm.tm_hour = 10*(s[ds_off+4] - '0') + (s[ds_off+5] - '0');
-! tm.tm_min = 10*(s[ds_off+6] - '0') + (s[ds_off+7] - '0');
-! tm.tm_sec = 10*(s[ds_off+8] - '0') + (s[ds_off+9] - '0');
- tm.tm_isdst = 0;
-
- #if ! (defined(__hpux) || defined(_AIX) || defined(sunos5) || defined(linux) || defined(unixware7))
-***************
-*** 524,529 ****
---- 535,541 ----
- char month_name[4];
- int year = 0, month = 0, day = 0, hour = 0, min = 0, sec = 0;
- int i = 0;
-+ int ds_off; /* date stamp offset */
-
- #ifdef WEB500GW_DEBUG
- Web500gw_debug(WEB500GW_DEBUG_UTIL, " cmp_dates (%s, %s)\n",
-***************
-*** 552,560 ****
- /* RFC 850: dd-Mmm-yy hh:mm:ss */
- sscanf(http_date, "%d-%3s-%d %d:%d:%d",
- &day, month_name, &year, &hour, &min, &sec);
-! if (year < 70)
-! year += 100;
-! year += 1900;
- } else { /* normal HTTP date (RFC 822/1123): dd Mmm yyyy hh:mm:ss */
- sscanf(http_date, "%d %s %d %d:%d:%d",
- &day, month_name, &year, &hour, &min, &sec);
---- 564,572 ----
- /* RFC 850: dd-Mmm-yy hh:mm:ss */
- sscanf(http_date, "%d-%3s-%d %d:%d:%d",
- &day, month_name, &year, &hour, &min, &sec);
-! /* convert 2-digit year into 4-digit year based on Unix beg date */
-! if (year < 70) year += 100;
-! if (year < 1900) year += 1900;
- } else { /* normal HTTP date (RFC 822/1123): dd Mmm yyyy hh:mm:ss */
- sscanf(http_date, "%d %s %d %d:%d:%d",
- &day, month_name, &year, &hour, &min, &sec);
-***************
-*** 568,584 ****
- day, month, year, 0);
- Web500gw_debug(WEB500GW_DEBUG_UTIL, "%d:%d:%d\n", hour, min, sec, 0);
- #endif
-! if ((i = ((10*(ldap_date[0] - '0') + (ldap_date[1] - '0') + 1900) - year)))
-! return i > 0;
-! if ((i = ((10*(ldap_date[2] - '0') + (ldap_date[3] - '0')) - month)))
- return i > 0;
-! if ((i = ((10*(ldap_date[4] - '0') + (ldap_date[5] - '0')) - day)))
- return i > 0;
-! if ((i = ((10*(ldap_date[6] - '0') + (ldap_date[7] - '0')) - hour)))
- return i > 0;
-! if ((i = ((10*(ldap_date[8] - '0') + (ldap_date[9] - '0')) - min)))
- return i > 0;
-! if ((i = ((10*(ldap_date[10] - '0') + (ldap_date[11] - '0')) - sec)))
- return i > 0;
-
- /* gone so far - dates are identical */
---- 580,608 ----
- day, month, year, 0);
- Web500gw_debug(WEB500GW_DEBUG_UTIL, "%d:%d:%d\n", hour, min, sec, 0);
- #endif
-! /* ldap_date should point to: YYMMDDHHmmSSZ (13 chars) */
-! /* ... well 2 digits for year :-( */
-! /* or: YYYYMMDDHHmmSSZ (15 chars; 4-digit years) */
-! if (strlen(ldap_date) == 13) {
-! ds_off=2;
-! if ((i = ((10*(ldap_date[0] - '0') +
-! (ldap_date[1] - '0') + 1900) - year))) return i > 0;}
-! else {
-! ds_off=4;
-! if ((i = ((1000*(ldap_date[0] - '0') +
-! 100*(ldap_date[1] - '0') +
-! 10*(ldap_date[2] - '0') +
-! (ldap_date[3] - '0')) - year ))) return i > 0;}
-!
-! if ((i = ((10*(ldap_date[ds_off] - '0') + (ldap_date[ds_off+1] - '0')) - month)))
- return i > 0;
-! if ((i = ((10*(ldap_date[ds_off+2] - '0') + (ldap_date[ds_off+3] - '0')) - day)))
- return i > 0;
-! if ((i = ((10*(ldap_date[ds_off+4] - '0') + (ldap_date[ds_off+5] - '0')) - hour)))
- return i > 0;
-! if ((i = ((10*(ldap_date[ds_off+6] - '0') + (ldap_date[ds_off+7] - '0')) - min)))
- return i > 0;
-! if ((i = ((10*(ldap_date[ds_off+8] - '0') + (ldap_date[ds_off+9] - '0')) - sec)))
- return i > 0;
-
- /* gone so far - dates are identical */
diff --git a/www/web500gw/pkg-descr b/www/web500gw/pkg-descr
deleted file mode 100644
index 00809389ff34..000000000000
--- a/www/web500gw/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
-This is an HTTP-to-LDAP gateway:
-
- -------- ----------------- -------- ( --------
-| WWW | | WWWeb to | LDAP | | LDAP |( | X.500 |
-|Browser |<- HTTP ->| LDAP g/w | API |<- LDAP ->| server |(- DAP ->| server |
-|________| |__________|______| |________|( |________|
- web500gw ldapd (
-
-WWW: http://web500gw.sourceforge.net/
-
-Author: Frank.Richter@hrz.tu-chemnitz.de
-
-Port to FreeBSD by
-Brent J. Nordquist <bjn@visi.com>
-Thu Jul 30 1998
diff --git a/www/web500gw/pkg-message b/www/web500gw/pkg-message
deleted file mode 100644
index d26b693b4be0..000000000000
--- a/www/web500gw/pkg-message
+++ /dev/null
@@ -1,8 +0,0 @@
-###
-Web500gw can be installed as an nph-CGI program. For example, with
-Apache installed in /usr/local:
-
-cp /usr/local/bin/web500gw /usr/local/www/cgi-bin/nph-web500gw
-
-Web500gw can also be started from inetd; "man web500gw" for details.
-###
diff --git a/www/web500gw/pkg-plist b/www/web500gw/pkg-plist
deleted file mode 100644
index a0a2ddcd1c38..000000000000
--- a/www/web500gw/pkg-plist
+++ /dev/null
@@ -1,15 +0,0 @@
-bin/web500gw
-etc/web500gw/ldapfriendly
-etc/web500gw/ldapfriendly.de
-etc/web500gw/sample.ldapfilter.conf
-etc/web500gw/sample.ldapfilter.conf.internal
-etc/web500gw/sample.ldaptemplates.conf
-etc/web500gw/sample.ldaptemplates.conf.internal
-etc/web500gw/sample.web500gw.conf
-etc/web500gw/web500gw.attr
-etc/web500gw/web500gw.attr.de
-etc/web500gw/web500gw.help
-etc/web500gw/web500gw.help.de
-etc/web500gw/web500gw.messages
-etc/web500gw/web500gw.messages.de
-@dirrm etc/web500gw