summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>2001-10-25 18:38:12 +0000
committerkleink <kleink@pkgsrc.org>2001-10-25 18:38:12 +0000
commit314b24f382dcbcee89d890165cf2042493b67fce (patch)
tree1e5c2c9fa4f7f54023ef463bfb744bed6e37d361
parent758b507b69a278fc109c09a90f588f57656b4682 (diff)
downloadpkgsrc-314b24f382dcbcee89d890165cf2042493b67fce.tar.gz
As discussed with Matthias, re-import the previous OpenLDAP package
as openldap1 for those who want to follow the 1.2.x release branch.
-rw-r--r--databases/openldap1/Makefile55
-rw-r--r--databases/openldap1/buildlink.mk44
-rw-r--r--databases/openldap1/distinfo5
-rw-r--r--databases/openldap1/patches/patch-ab20
-rw-r--r--databases/openldap1/pkg/DEINSTALL14
-rw-r--r--databases/openldap1/pkg/DESCR2
-rw-r--r--databases/openldap1/pkg/PLIST.common225
-rw-r--r--databases/openldap1/pkg/PLIST.netbsd1
-rw-r--r--databases/openldap1/pkg/PLIST.solaris2
9 files changed, 368 insertions, 0 deletions
diff --git a/databases/openldap1/Makefile b/databases/openldap1/Makefile
new file mode 100644
index 00000000000..001be05b068
--- /dev/null
+++ b/databases/openldap1/Makefile
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/10/25 18:38:12 kleink Exp $
+#
+
+DISTNAME= openldap-1.2.13
+SVR4_PKGNAME= olda1
+CATEGORIES= databases
+MASTER_SITES= ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.OpenLDAP.org/
+COMMENT= Lightweight directory access protocol server and client package
+
+# for the moment without threads and thus without slurpd and ldapd
+#DEPENDS+= ../../devel/mit-pthreads
+
+CONFLICTS+= ldapsdk-[0-9]*
+
+USE_BUILDLINK_ONLY= YES
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/build/ltconfig
+
+# unfortunately, --enable-phonetic cannot be disabled by runtime configuration
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --enable-dns
+CONFIGURE_ARGS+= --enable-cldap
+CONFIGURE_ARGS+= --enable-passwd
+CONFIGURE_ARGS+= --enable-shell
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --enable-wrappers
+.endif
+
+.if ${OPSYS} == "SunOS"
+.include "../../databases/db/buildlink.mk"
+CPPFLAGS+= -I${BUILDLINK_DIR}/include/db2
+LIBS= -ldb2 -lpthread -lrt
+.endif
+
+PLIST_SRC= ${PKGDIR}/PLIST.common
+PLIST_SRC+= ${PKGDIR}/PLIST.${LOWER_OPSYS}
+
+post-configure:
+ ${ECHO} "SLAPD_LIBS = " >> ${WRKSRC}/servers/slapd/tools/Makefile
+
+.if defined(KERBEROS)
+USE_KERBEROS= yes
+CONFIGURE_ARGS+=--with-kerberos
+.else
+CONFIGURE_ARGS+=--without-kerberos
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/openldap1/buildlink.mk b/databases/openldap1/buildlink.mk
new file mode 100644
index 00000000000..79adff0e9f0
--- /dev/null
+++ b/databases/openldap1/buildlink.mk
@@ -0,0 +1,44 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2001/10/25 18:38:12 kleink Exp $
+#
+# This Makefile fragment is included by packages that use openldap.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.openldap to the dependency pattern
+# for the version of openldap desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(OPENLDAP_BUILDLINK_MK)
+OPENLDAP_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.openldap?= openldap-1.2.*
+DEPENDS+= ${BUILDLINK_DEPENDS.openldap}:../../databases/openldap
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.openldap=openldap
+BUILDLINK_PREFIX.openldap_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.openldap= include/disptmpl.h
+BUILDLINK_FILES.openldap+= include/lber.h
+BUILDLINK_FILES.openldap+= include/ldap.h
+BUILDLINK_FILES.openldap+= include/ldap_cdefs.h
+BUILDLINK_FILES.openldap+= include/srchpref.h
+BUILDLINK_FILES.openldap+= lib/liblber.*
+BUILDLINK_FILES.openldap+= lib/libldap.*
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == SunOS
+.include "../../databases/db/buildlink.mk"
+.endif
+
+BUILDLINK_TARGETS.openldap= openldap-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.openldap}
+
+pre-configure: ${BUILDLINK_TARGETS.openldap}
+openldap-buildlink: _BUILDLINK_USE
+
+.endif # OPENLDAP_BUILDLINK_MK
diff --git a/databases/openldap1/distinfo b/databases/openldap1/distinfo
new file mode 100644
index 00000000000..d40e99bcbb5
--- /dev/null
+++ b/databases/openldap1/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/10/25 18:38:12 kleink Exp $
+
+SHA1 (openldap-1.2.13.tgz) = 61b2d199754db08e9bef5a3dace443acfc9d3ce2
+Size (openldap-1.2.13.tgz) = 1034063 bytes
+SHA1 (patch-ab) = 74043106a6d933ff627eff5c079f50b9bfc9eef5
diff --git a/databases/openldap1/patches/patch-ab b/databases/openldap1/patches/patch-ab
new file mode 100644
index 00000000000..2d9017a206f
--- /dev/null
+++ b/databases/openldap1/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/10/25 18:38:13 kleink Exp $
+
+--- build/lib-shared.mk.orig Fri Jul 23 17:31:32 1999
++++ build/lib-shared.mk Fri Sep 10 12:19:58 1999
+@@ -16,9 +16,11 @@
+
+ $(LIBRARY): version.lo
+ $(LTLIBLINK) -rpath $(libdir) -o $@ $(OBJS) version.lo
+- $(RM) ../$@; \
+- (d=`$(PWD)` ; $(LN_S) `$(BASENAME) $$d`/$@ ../$@)
+- $(RM) ../`$(BASENAME) $@ .la`.a; \
+- (d=`$(PWD)`; t=`$(BASENAME) $@ .la`.a; $(LN_S) `$(BASENAME) $$d`/.libs/$$t ../$$t)
++ @$(RM) ../$@
++ @for ext in a so so.1.0; do \
++ $(RM) ../`$(BASENAME) $@ .la`.$$ext; \
++ (d=`$(PWD)`; t=`$(BASENAME) $@ .la`.$$ext; $(LN_S) `$(BASENAME) $$d`/.libs/$$t ../$$t); \
++ done
++
+
+ Makefile: $(top_srcdir)/build/lib-shared.mk
diff --git a/databases/openldap1/pkg/DEINSTALL b/databases/openldap1/pkg/DEINSTALL
new file mode 100644
index 00000000000..ee7f9b2838f
--- /dev/null
+++ b/databases/openldap1/pkg/DEINSTALL
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1.1.1 2001/10/25 18:38:13 kleink Exp $
+#
+
+case $2 in
+ DEINSTALL) cat << EOF
+===========================================================================
+If you don't want to use openldap anymore, remove ${PKG_PREFIX}/etc/openldap.
+===========================================================================
+
+EOF
+ ;;
+esac
diff --git a/databases/openldap1/pkg/DESCR b/databases/openldap1/pkg/DESCR
new file mode 100644
index 00000000000..7a3715e09ac
--- /dev/null
+++ b/databases/openldap1/pkg/DESCR
@@ -0,0 +1,2 @@
+A open source implementation of the lighthweight directory access protocol
+(LDAP) server and client. OpenLDAP is derived from the U. Mich release 3.3
diff --git a/databases/openldap1/pkg/PLIST.common b/databases/openldap1/pkg/PLIST.common
new file mode 100644
index 00000000000..957e723e003
--- /dev/null
+++ b/databases/openldap1/pkg/PLIST.common
@@ -0,0 +1,225 @@
+@comment $NetBSD: PLIST.common,v 1.1.1.1 2001/10/25 18:38:15 kleink Exp $
+bin/ud
+bin/ldapsearch
+bin/ldapmodify
+bin/ldapdelete
+bin/ldapmodrdn
+bin/ldappasswd
+bin/ldapadd
+lib/liblber.a
+lib/liblber.la
+lib/liblber.so
+lib/liblber.so.1
+lib/liblber.so.1.0
+lib/libldap.a
+lib/libldap.la
+lib/libldap.so
+lib/libldap.so.1
+lib/libldap.so.1.0
+man/man1/ldapadd.1
+man/man1/ldapdelete.1
+man/man1/ldapmodify.1
+man/man1/ldapmodrdn.1
+man/man1/ldappasswd.1
+man/man1/ldapsearch.1
+man/man1/ud.1
+man/man3/ldap.3
+man/man3/cldap.3
+man/man3/cldap_close.3
+man/man3/cldap_open.3
+man/man3/cldap_search_s.3
+man/man3/cldap_setretryinfo.3
+man/man3/lber-decode.3
+man/man3/lber-encode.3
+man/man3/ldap_abandon.3
+man/man3/ldap_add.3
+man/man3/ldap_add_s.3
+man/man3/ldap_bind.3
+man/man3/ldap_bind_s.3
+man/man3/ldap_simple_bind.3
+man/man3/ldap_simple_bind_s.3
+man/man3/ldap_kerberos_bind_s.3
+man/man3/ldap_unbind.3
+man/man3/ldap_kerberos_bind1.3
+man/man3/ldap_kerberos_bind1_s.3
+man/man3/ldap_kerberos_bind2.3
+man/man3/ldap_kerberos_bind2_s.3
+man/man3/ldap_unbind_s.3
+man/man3/ldap_set_rebind_proc.3
+man/man3/ldap_cache.3
+man/man3/ldap_enable_cache.3
+man/man3/ldap_disable_cache.3
+man/man3/ldap_destroy_cache.3
+man/man3/ldap_flush_cache.3
+man/man3/ldap_uncache_entry.3
+man/man3/ldap_uncache_request.3
+man/man3/ldap_set_cache_options.3
+man/man3/ldap_charset.3
+man/man3/ldap_set_string_translators.3
+man/man3/ld_errno.3
+man/man3/ldap_enable_translation.3
+man/man3/ldap_translate_from_t61.3
+man/man3/ldap_translate_to_t61.3
+man/man3/ldap_t61_to_8859.3
+man/man3/ldap_8859_to_t61.3
+man/man3/ldap_compare.3
+man/man3/ldap_compare_s.3
+man/man3/ldap_delete.3
+man/man3/ldap_delete_s.3
+man/man3/ldap_disptmpl.3
+man/man3/ldap_init_templates.3
+man/man3/ldap_init_templates_buf.3
+man/man3/ldap_free_templates.3
+man/man3/ldap_first_disptmpl.3
+man/man3/ldap_next_disptmpl.3
+man/man3/ldap_oc2template.3
+man/man3/ldap_tmplattrs.3
+man/man3/ldap_first_tmplrow.3
+man/man3/ldap_next_tmplrow.3
+man/man3/ldap_first_tmplcol.3
+man/man3/ldap_next_tmplcol.3
+man/man3/ldap_entry2text.3
+man/man3/ldap_entry2text_search.3
+man/man3/ldap_vals2text.3
+man/man3/ldap_entry2html.3
+man/man3/ldap_entry2html_search.3
+man/man3/ldap_vals2html.3
+man/man3/ldap_error.3
+man/man3/ldap_perror.3
+man/man3/ldap_result2error.3
+man/man3/ldap_errlist.3
+man/man3/ldap_err2string.3
+man/man3/ldap_first_attribute.3
+man/man3/ldap_next_attribute.3
+man/man3/ldap_first_entry.3
+man/man3/ldap_next_entry.3
+man/man3/ldap_count_entries.3
+man/man3/ldap_friendly.3
+man/man3/ldap_friendly_name.3
+man/man3/ldap_free_friendlymap.3
+man/man3/ldap_get_dn.3
+man/man3/ldap_explode_dn.3
+man/man3/ldap_explode_dns.3
+man/man3/ldap_dn2ufn.3
+man/man3/ldap_is_dns_dn.3
+man/man3/ldap_get_values.3
+man/man3/ldap_get_values_len.3
+man/man3/ldap_value_free.3
+man/man3/ldap_value_free_len.3
+man/man3/ldap_count_values.3
+man/man3/ldap_count_values_len.3
+man/man3/ldap_modify.3
+man/man3/ldap_getfilter.3
+man/man3/ldap_init_getfilter.3
+man/man3/ldap_init_getfilter_buf.3
+man/man3/ldap_getfilter_free.3
+man/man3/ldap_getfirstfilter.3
+man/man3/ldap_getnextfilter.3
+man/man3/ldap_setfilteraffixes.3
+man/man3/ldap_build_filter.3
+man/man3/ldap_modify_s.3
+man/man3/ldap_mods_free.3
+man/man3/ldap_modrdn.3
+man/man3/ldap_modrdn_s.3
+man/man3/ldap_modrdn2.3
+man/man3/ldap_modrdn2_s.3
+man/man3/ldap_open.3
+man/man3/ldap_init.3
+man/man3/ldap_result.3
+man/man3/ldap_msgfree.3
+man/man3/ldap_sort.3
+man/man3/ldap_search.3
+man/man3/ldap_search_s.3
+man/man3/ldap_search_st.3
+man/man3/ldap_searchprefs.3
+man/man3/ldap_init_searchprefs.3
+man/man3/ldap_init_searchprefs_buf.3
+man/man3/ldap_free_searchprefs.3
+man/man3/ldap_first_searchobj.3
+man/man3/ldap_next_searchobj.3
+man/man3/ldap_sort_entries.3
+man/man3/ldap_sort_values.3
+man/man3/ldap_sort_strcasecmp.3
+man/man3/ldap_ufn.3
+man/man3/ldap_ufn_search_s.3
+man/man3/ldap_ufn_search_c.3
+man/man3/ldap_ufn_search_ct.3
+man/man3/ldap_ufn_setprefix.3
+man/man3/ldap_ufn_setfilter.3
+man/man3/ldap_ufn_timeout.3
+man/man3/ldap_url.3
+man/man3/ldap_is_ldap_url.3
+man/man3/ldap_url_parse.3
+man/man3/ldap_free_urldesc.3
+man/man3/ldap_url_search.3
+man/man3/ldap_url_search_s.3
+man/man3/ldap_url_search_st.3
+man/man5/ldap.conf.5
+man/man5/ldapfilter.conf.5
+man/man5/ldapfriendly.5
+man/man5/ldapsearchprefs.conf.5
+man/man5/ldaptemplates.conf.5
+man/man5/ldif.5
+man/man5/slapd.conf.5
+man/man5/slapd.replog.5
+man/man5/ud.conf.5
+man/man8/centipede.8
+man/man8/chlog2replog.8
+man/man8/edb2ldif.8
+man/man8/go500.8
+man/man8/go500gw.8
+man/man8/in.xfingerd.8
+man/man8/ldapd.8
+man/man8/ldbmcat.8
+man/man8/ldif.8
+man/man8/ldif2ldbm.8
+man/man8/ldif2index.8
+man/man8/ldif2id2entry.8
+man/man8/ldif2id2children.8
+man/man8/mail500.8
+man/man8/fax500.8
+man/man8/rcpt500.8
+man/man8/slapd.8
+man/man8/slurpd.8
+etc/openldap/ldap.conf.default
+@exec [ -f %B/ldap.conf ] || cp %D/%F %B/ldap.conf
+etc/openldap/ldapfilter.conf.default
+@exec [ -f %B/ldapfilter.conf ] || cp %D/%F %B/ldapfilter.conf
+etc/openldap/ldaptemplates.conf.default
+@exec [ -f %B/ldaptemplates.conf ] || cp %D/%F %B/ldaptemplates.conf
+etc/openldap/ldapsearchprefs.conf.default
+@exec [ -f %B/ldapsearchprefs.conf ] || cp %D/%F %B/ldapsearchprefs.conf
+etc/openldap/slapd.conf.default
+@exec [ -f %B/slapd.conf ] || cp %D/%F %B/slapd.conf
+etc/openldap/slapd.at.conf.default
+@exec [ -f %B/slapd.at.conf ] || cp %D/%F %B/slapd.at.conf
+etc/openldap/slapd.oc.conf.default
+@exec [ -f %B/slapd.oc.conf ] || cp %D/%F %B/slapd.oc.conf
+include/ldap.h
+include/lber.h
+include/ldap_cdefs.h
+include/disptmpl.h
+include/srchpref.h
+libexec/in.xfingerd
+libexec/go500
+libexec/go500gw
+libexec/mail500
+libexec/rp500
+libexec/fax500
+libexec/xrpcomp
+libexec/rcpt500
+libexec/slapd
+sbin/ldif2ldbm
+sbin/ldif2index
+sbin/ldbmcat
+sbin/ldif2id2entry
+sbin/ldif2id2children
+sbin/ldif
+sbin/centipede
+sbin/ldbmtest
+share/openldap/ldapfriendly
+share/openldap/go500gw.help
+share/openldap/rcpt500.help
+@unexec rmdir %D/etc/openldap 2>/dev/null || true
+@unexec rmdir -p %D/var/openldap-ldbm 2>/dev/null || true
+@dirrm share/openldap
diff --git a/databases/openldap1/pkg/PLIST.netbsd b/databases/openldap1/pkg/PLIST.netbsd
new file mode 100644
index 00000000000..3bcd82dedfa
--- /dev/null
+++ b/databases/openldap1/pkg/PLIST.netbsd
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST.netbsd,v 1.1.1.1 2001/10/25 18:38:15 kleink Exp $
diff --git a/databases/openldap1/pkg/PLIST.solaris b/databases/openldap1/pkg/PLIST.solaris
new file mode 100644
index 00000000000..53f96d67678
--- /dev/null
+++ b/databases/openldap1/pkg/PLIST.solaris
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.solaris,v 1.1.1.1 2001/10/25 18:38:15 kleink Exp $
+libexec/slurpd