summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-02 22:09:54 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-02 22:09:54 +0000
commitf4936e0a16e70925dd826457aab9f7735ddb5687 (patch)
tree39a9c5d5fe5317b1b6267a3df7b9d9b895b47ff8 /sys-auth/nss_ldap
parentManual Manifest commit. (diff)
downloadgentoo-2-f4936e0a16e70925dd826457aab9f7735ddb5687.tar.gz
gentoo-2-f4936e0a16e70925dd826457aab9f7735ddb5687.tar.bz2
gentoo-2-f4936e0a16e70925dd826457aab9f7735ddb5687.zip
Moved from net-libs/nss_ldap to sys-auth/nss_ldap.
Diffstat (limited to 'sys-auth/nss_ldap')
-rw-r--r--sys-auth/nss_ldap/ChangeLog202
-rw-r--r--sys-auth/nss_ldap/Manifest32
-rw-r--r--sys-auth/nss_ldap/files/db4_1.85.diff46
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-174-r21
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2021
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2071
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-207-r11
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2101
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2111
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2151
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-215-r11
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2201
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2261
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2331
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2341
-rw-r--r--sys-auth/nss_ldap/files/digest-nss_ldap-2381
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-220-db4.2-patch.diff50
-rw-r--r--sys-auth/nss_ldap/files/nss_ldap-238-whitespace-fix.diff47
-rw-r--r--sys-auth/nss_ldap/files/nsswitch.ldap.diff15
-rw-r--r--sys-auth/nss_ldap/metadata.xml9
-rw-r--r--sys-auth/nss_ldap/nss_ldap-174-r2.ebuild46
-rw-r--r--sys-auth/nss_ldap/nss_ldap-202.ebuild46
-rw-r--r--sys-auth/nss_ldap/nss_ldap-207-r1.ebuild43
-rw-r--r--sys-auth/nss_ldap/nss_ldap-207.ebuild48
-rw-r--r--sys-auth/nss_ldap/nss_ldap-210.ebuild58
-rw-r--r--sys-auth/nss_ldap/nss_ldap-211.ebuild59
-rw-r--r--sys-auth/nss_ldap/nss_ldap-215-r1.ebuild65
-rw-r--r--sys-auth/nss_ldap/nss_ldap-215.ebuild55
-rw-r--r--sys-auth/nss_ldap/nss_ldap-220.ebuild64
-rw-r--r--sys-auth/nss_ldap/nss_ldap-226.ebuild55
-rw-r--r--sys-auth/nss_ldap/nss_ldap-233.ebuild55
-rw-r--r--sys-auth/nss_ldap/nss_ldap-234.ebuild55
-rw-r--r--sys-auth/nss_ldap/nss_ldap-238.ebuild56
33 files changed, 1119 insertions, 0 deletions
diff --git a/sys-auth/nss_ldap/ChangeLog b/sys-auth/nss_ldap/ChangeLog
new file mode 100644
index 000000000000..6ce2004a979d
--- /dev/null
+++ b/sys-auth/nss_ldap/ChangeLog
@@ -0,0 +1,202 @@
+# ChangeLog for sys-auth/nss_ldap
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+*nss_ldap-233 (02 Jul 2005)
+
+ 02 Jul 2005; Diego Pettenò <flameeyes@gentoo.org> +files/db4_1.85.diff,
+ +files/nss_ldap-220-db4.2-patch.diff,
+ +files/nss_ldap-238-whitespace-fix.diff, +files/nsswitch.ldap.diff,
+ +metadata.xml, +nss_ldap-174-r2.ebuild, +nss_ldap-202.ebuild,
+ +nss_ldap-207.ebuild, +nss_ldap-207-r1.ebuild, +nss_ldap-210.ebuild,
+ +nss_ldap-211.ebuild, +nss_ldap-215.ebuild, +nss_ldap-215-r1.ebuild,
+ +nss_ldap-220.ebuild, +nss_ldap-226.ebuild, +nss_ldap-233.ebuild,
+ +nss_ldap-234.ebuild, +nss_ldap-238.ebuild:
+ Moved from net-libs/nss_ldap to sys-auth/nss_ldap.
+
+ 29 May 2005; Markus Rothe <corsair@gentoo.org> nss_ldap-220.ebuild:
+ Stable on ppc64
+
+ 26 May 2005; Guy Martin <gmsoft@gentoo.org> nss_ldap-226.ebuild:
+ Stable on hppa.
+
+ 29 Apr 2005; Robin H. Johnson <robbat2@gentoo.org>
+ files/nss_ldap-238-whitespace-fix.diff:
+ Patch bug.
+
+*nss_ldap-238 (29 Apr 2005)
+
+ 29 Apr 2005; Robin H. Johnson <robbat2@gentoo.org>
+ +files/nss_ldap-238-whitespace-fix.diff, +nss_ldap-238.ebuild:
+ New version, possible fix for bug #83879.
+
+ 16 Apr 2005; Markus Rothe <corsair@gentoo.org> nss_ldap-220.ebuild,
+ nss_ldap-226.ebuild:
+ Add ~ppc64 to 220 and -ppc64 to 226
+
+ 16 Apr 2005; Markus Rothe <corsair@gentoo.org> nss_ldap-234.ebuild:
+ Added ~ppc64 to KEYWORDS; bug #89269
+
+ 07 Apr 2005; Simon Stelling <blubb@gentoo.org> nss_ldap-226.ebuild:
+ stable on amd64
+
+*nss_ldap-234 (25 Feb 2005)
+
+ 25 Feb 2005; Robin H. Johnson <robbat2@gentoo.org> +nss_ldap-234.ebuild:
+ Version bump.
+
+ 05 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> nss_ldap-226.ebuild:
+ Stable on ppc.
+
+ 03 Feb 2005; Gustavo Zacarias <gustavoz@gentoo.org> nss_ldap-226.ebuild:
+ Stable on sparc
+
+ 02 Feb 2005; Robin H. Johnson <robbat2@gentoo.org> metadata.xml,
+ nss_ldap-226.ebuild, nss_ldap-233.ebuild:
+ Take over metadata. 226 stable on x86. 233 in tree, but hardmasked for the
+ moment as broken.
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+ 27 Dec 2004; Guy Martin <gmsoft@gentoo.org> nss_ldap-220.ebuild:
+ Stable on hppa.
+
+ 19 Dec 2004; Jason Wever <weeve@gentoo.org> nss_ldap-220.ebuild:
+ Stable on sparc.
+
+ 18 Dec 2004; Jason Wever <weeve@gentoo.org> nss_ldap-211.ebuild:
+ Stable on sparc.
+
+*nss_ldap-226 (30 Nov 2004)
+
+ 30 Nov 2004; Robin H. Johnson <robbat2@gentoo.org> nss_ldap-226.ebuild,
+ nss_ldap-220.ebuild:
+ Bug #49349 redux, 220 in x86. Add new version of 226, new upstream no longer
+ has a dep on berkdb in any way.
+
+ 23 Nov 2004; Sven Wegener <swegener@gentoo.org> :
+ Fixed digest.
+
+ 20 Sep 2004; Bryan Østergaard,,, <kloeri@gentoo.org> nss_ldap-220.ebuild:
+ Add ~alpha.
+
+ 03 Sep 2004; Caleb Tennis <caleb@gentoo.org> -nss_ldap-209.1.ebuild:
+ Removing package masked version
+
+*nss_ldap-220 (24 Aug 2004)
+
+ 24 Aug 2004; Robin H. Johnson <robbat2@gentoo.org>
+ +files/nss_ldap-220-db4.2-patch.diff, +nss_ldap-220.ebuild:
+ Combine #61511 with my own work for the new version.
+
+ 08 Jun 2004; Nick Hadaway <raker@gentoo.org> nss_ldap-215-r1.ebuild,
+ files/nsswitch.ldap.diff :
+ adds a files lookup for hosts in /etc/nsswitch.ldap.
+ Many people do not have proper dns entries for their Base DN.
+ See bug #50830. Not bumping this as there is no recompile required.
+
+ 06 Jun 2004; Guy Martin <gmsoft@gentoo.org> nss_ldap-215-r1.ebuild:
+ Marked stable on hppa.
+
+ 27 May 2004; Jason Wever <weeve@gentoo.org> nss_ldap-215-r1.ebuild:
+ Stable on sparc.
+
+ 28 Apr 2004; Nick Hadaway <raker@gentoo.org> nss_ldap-215-r1.ebuild:
+ Marked stable for x86.
+
+ 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> nss_ldap-215-r1.ebuild:
+ Add inherit eutils
+
+ 30 Mar 2004; Lars Weiler <pylon@gentoo.org> nss_ldap-215-r1.ebuild:
+ Masked ~ppc on user report
+
+*nss_ldap-215-r1 (18 Mar 2004)
+
+ 18 Mar 2004; Nick Hadaway <raker@gentoo.org> nss_ldap-215-r1.ebuild,
+ files/db4_1.85.diff:
+ Your mileage probably did vary. Loosening the dependancy was an
+ appropriate change but did nothing for db4 people. Thanks to
+ Holger on bug #34717, we now have fixed .in files that appropriately
+ search for db{4,4.1} stuff.
+
+*nss_ldap-215 (29 Jan 2004)
+
+ 29 Jan 2004; Nick Hadaway <raker@gentoo.org> nss_ldap-215.ebuild:
+ Removed stale configure options and comments. Loosened the db
+ dependancy so non-db3 users and openldap-2.1 users who need db4 only
+ work fine. As always, YMMV. :)
+
+ 06 Nov 2003; Robin H. Johnson <robbat2@gentoo.org> nss_ldap-174-r2.ebuild,
+ nss_ldap-202.ebuild, nss_ldap-207-r1.ebuild, nss_ldap-207.ebuild,
+ nss_ldap-209.1.ebuild, nss_ldap-210.ebuild, nss_ldap-211.ebuild:
+ fix head/tail issue
+
+*nss_ldap-211 (17 Oct 2003)
+
+ 17 Oct 2003; Nick Hadaway <raker@gentoo.org> nss_ldap-211.ebuild:
+ Version bump. More minor upstream fixes.
+
+*nss_ldap-210 (14 Aug 2003)
+
+ 14 Aug 2003; Nick Hadaway <raker@gentoo.org> nss_ldap-210.ebuild:
+ Version bump. Small upstream fixes.
+
+ 30 Jul 2003; Nick Hadaway <raker@gentoo.org> nss_ldap-209.ebuild:
+ Removed version with showstopping bugs.
+
+*nss_ldap-209.1 (26 Jul 2003)
+
+ 26 Jul 2003; Nick Hadaway <raker@gentoo.org> nss_ldap-209.1.ebuild:
+ Version bump. Now supporting the debug, berkdb, and ssl USE variables.
+ db4 is not supported.
+
+*nss_ldap-209 (19 Jun 2003)
+
+ 19 Jun 2003; Nick Hadaway <raker@gentoo.org> nss_ldap-209.ebuild:
+ Version bump. Re-verified the resolution of bug #18975.
+
+ 17 Jun 2003; Donny Davies <woodchip@gentoo.org> nss_ldap-207-r1.ebuild:
+ Add a few more doc files.
+
+*nss_ldap-207-r1 (16 Jun 2003)
+
+ 16 Jun 2003; Donny Davies <woodchip@gentoo.org> nss_ldap-207-r1.ebuild:
+ Install the library in /lib. This revision also properly installs the
+ configuration file; /etc/ldap.conf != /etc/openldap/ldap.conf!
+
+*nss_ldap-207 (28 May 2003)
+
+ 28 May 2003; Grant Goodyear <g2boojum@gentoo.org> nss_ldap-207.ebuild:
+ Version update, plus installed a proper ldap.conf.
+
+*nss_ldap-202 (28 Mar 2003)
+
+ 28 Mar 2003; Seemant Kulleen <seemant@gentoo.org> nss_ldap-174-r2.ebuild,
+ nss_ldap-202.ebuild:
+ HOMEPAGE fix by Frantz Dhin <tragedy_rm@hotmail.com> in bug #18299
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*nss_ldap-2002 (13 Oct 2002)
+
+ 13 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> :
+ Security update.
+
+*nss_ldap-174-r2 (16 Jun 2002)
+
+ 02 Oct 2002; Seemant Kulleen <seemant@gentoo.org> nss_ldap-174-r2.ebuild :
+ Fixed typo to support RFC2307. Thanks to: Paul@earthguide.ucsd.edu (Paul
+ Collins) in bug #8658.
+
+ 16 Jun 2002; Seemant Kulleen <seemant@gentoo.org> nss_ldap-r2.ebuild
+ files/digest-nss_ldap-r2 :
+ Added two configure options, thanks to: Ssrit@larvalstage.net (Jerry
+ Haltom) in bug #3427
+
+*nss_ldap-174-r1 (18 Apr 2002)
+
+ 18 Apr 2002; Seemant Kulleen <seemant@gentoo.org> nss_ldap-174-r1.ebuild
+ files/digest-nss_ldap-174-r1 :
+ david@guerizec.net (David Guerizec) in bug #1905 submitted a patch to
+ resolve the sandbox violations.
diff --git a/sys-auth/nss_ldap/Manifest b/sys-auth/nss_ldap/Manifest
new file mode 100644
index 000000000000..c9f141e31270
--- /dev/null
+++ b/sys-auth/nss_ldap/Manifest
@@ -0,0 +1,32 @@
+MD5 5ba8c9c9be079ebcbc93c08f838665bd metadata.xml 255
+MD5 9091d3e50ef7b1b97d621847e1d948cd nss_ldap-174-r2.ebuild 995
+MD5 8391330fe9404d9f49092ed360d37e51 nss_ldap-202.ebuild 1004
+MD5 5c3b7496acabe0f8b769cc29fd655f31 nss_ldap-207-r1.ebuild 984
+MD5 d59cceae731cb9ad10c7d0529f2d005f nss_ldap-207.ebuild 1044
+MD5 ec408deef599a294ad2a5a0d301186e7 nss_ldap-210.ebuild 1442
+MD5 adcc35d5ac24058f98df81d6f9919ad6 nss_ldap-211.ebuild 1442
+MD5 559b093e3638b8afe039378a4decefb6 nss_ldap-215-r1.ebuild 1490
+MD5 37ae47fb42cac3f31fa3ed60ffb9b34f nss_ldap-215.ebuild 1301
+MD5 331d36028f4ef64ac98177d9e97455d2 ChangeLog 6523
+MD5 a07be26ec164859b5f4c89116cd60ed5 nss_ldap-226.ebuild 1274
+MD5 7588515f6c79c3a44c15d8c6c8e0be23 nss_ldap-233.ebuild 1273
+MD5 6c6c1f3e50f3ee57d26f2fef76c8a959 nss_ldap-220.ebuild 1572
+MD5 1ca9b3b22562ec16b03519779a987911 nss_ldap-238.ebuild 1318
+MD5 43f55b5ed651429a0dc965d10107cda2 nss_ldap-234.ebuild 1280
+MD5 a4302c4120b75a23e43cc824423169c8 files/db4_1.85.diff 1569
+MD5 a2d9a9c16028097d3f2ade6550440711 files/digest-nss_ldap-174-r2 64
+MD5 d8021fe04d76482091c816f28edad140 files/digest-nss_ldap-202 64
+MD5 8d358c3dda5ce728c6fd5f8f4bc448d2 files/digest-nss_ldap-207 64
+MD5 8d358c3dda5ce728c6fd5f8f4bc448d2 files/digest-nss_ldap-207-r1 64
+MD5 c1919ec630e0278d0e09787a14d497a9 files/digest-nss_ldap-210 64
+MD5 4dc20eb7ee3f4a562d6ad00a0609cfbc files/digest-nss_ldap-211 64
+MD5 b2dc517b69cad6d24fce3d19a7879dcf files/digest-nss_ldap-215 64
+MD5 b2dc517b69cad6d24fce3d19a7879dcf files/digest-nss_ldap-215-r1 64
+MD5 2fdb02aab9086996c9129865cff0f0de files/digest-nss_ldap-220 64
+MD5 94ff5d327f98e3aceb7fa140493e8dd5 files/digest-nss_ldap-226 64
+MD5 3c0eac03246d1f38124da6c86821ce4c files/digest-nss_ldap-233 64
+MD5 7d2b7694b9c68b4538679a6973c23d49 files/digest-nss_ldap-234 64
+MD5 f4606a6bf13f616f9fda25ac76493653 files/digest-nss_ldap-238 64
+MD5 2af7b597298bb9269f739cbb8a25224d files/nss_ldap-220-db4.2-patch.diff 1707
+MD5 1923bbb463805e6cad70e98e567297f5 files/nss_ldap-238-whitespace-fix.diff 2043
+MD5 1fe060c70b1c673346b696dbe194260a files/nsswitch.ldap.diff 575
diff --git a/sys-auth/nss_ldap/files/db4_1.85.diff b/sys-auth/nss_ldap/files/db4_1.85.diff
new file mode 100644
index 000000000000..7584fc63331b
--- /dev/null
+++ b/sys-auth/nss_ldap/files/db4_1.85.diff
@@ -0,0 +1,46 @@
+diff -urN nss_ldap-215/configure.in nss_ldap-215-modified/configure.in
+--- nss_ldap-215/configure.in 2004-01-07 07:02:15.000000000 -0600
++++ nss_ldap-215-modified/configure.in 2004-03-18 19:47:13.111404704 -0600
+@@ -133,6 +133,8 @@
+ AC_CHECK_HEADERS(db1/db.h)
+ AC_CHECK_HEADERS(db_185.h)
+ AC_CHECK_HEADERS(db3/db_185.h)
++AC_CHECK_HEADERS(db4/db_185.h)
++AC_CHECK_HEADERS(db4.1/db_185.h)
+ AC_CHECK_HEADERS(alignof.h)
+ AC_CHECK_HEADERS(rpc/rpcent.h)
+ AC_CHECK_HEADERS(sys/byteorder.h)
+diff -urN nss_ldap-215/ldap-nss.c nss_ldap-215-modified/ldap-nss.c
+--- nss_ldap-215/ldap-nss.c 2004-01-07 07:02:15.000000000 -0600
++++ nss_ldap-215-modified/ldap-nss.c 2004-03-18 19:48:19.139366928 -0600
+@@ -72,7 +72,11 @@
+ #include <sasl.h>
+ #endif
+ #ifdef AT_OC_MAP
+-#ifdef HAVE_DB3_DB_185_H
++#ifdef HAVE_DB4_1_DB_185_H
++#include <db4.1/db_185.h>
++#elif defined(HAVE_DB4_DB_185_H)
++#include <db4/db_185.h>
++#elif defined(HAVE_DB3_DB_185_H)
+ #include <db3/db_185.h>
+ #elif defined(HAVE_DB_185_H)
+ #include <db_185.h>
+diff -urN nss_ldap-215/util.c nss_ldap-215-modified/util.c
+--- nss_ldap-215/util.c 2004-01-07 07:02:15.000000000 -0600
++++ nss_ldap-215-modified/util.c 2004-03-18 19:49:16.347669944 -0600
+@@ -84,7 +84,13 @@
+ * right API!
+ */
+ #if defined(RFC2307BIS) || defined(AT_OC_MAP)
+-#ifdef HAVE_DB3_DB_185_H
++#ifdef HAVE_DB4_1_DB_185_H
++#include <db4.1/db_185.h>
++#define DN2UID_CACHE
++#elif defined(HAVE_DB4_DB_185_H)
++#include <db4/db_185.h>
++#define DN2UID_CACHE
++#elif defined(HAVE_DB3_DB_185_H)
+ #include <db3/db_185.h>
+ #define DN2UID_CACHE
+ #elif defined(HAVE_DB_185_H)
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-174-r2 b/sys-auth/nss_ldap/files/digest-nss_ldap-174-r2
new file mode 100644
index 000000000000..bb031d4bf49d
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-174-r2
@@ -0,0 +1 @@
+MD5 620d2e56730c5e4fd2378b426d9231e5 nss_ldap-174.tar.gz 165140
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-202 b/sys-auth/nss_ldap/files/digest-nss_ldap-202
new file mode 100644
index 000000000000..b9b5e0104aeb
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-202
@@ -0,0 +1 @@
+MD5 22dfe0d2fe9fd8aaaca8f108ede94671 nss_ldap-202.tar.gz 193338
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-207 b/sys-auth/nss_ldap/files/digest-nss_ldap-207
new file mode 100644
index 000000000000..85a4e8621e9a
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-207
@@ -0,0 +1 @@
+MD5 4cff03af355d9df5b6da87295b5bc712 nss_ldap-207.tar.gz 221122
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-207-r1 b/sys-auth/nss_ldap/files/digest-nss_ldap-207-r1
new file mode 100644
index 000000000000..85a4e8621e9a
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-207-r1
@@ -0,0 +1 @@
+MD5 4cff03af355d9df5b6da87295b5bc712 nss_ldap-207.tar.gz 221122
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-210 b/sys-auth/nss_ldap/files/digest-nss_ldap-210
new file mode 100644
index 000000000000..86e051a57a94
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-210
@@ -0,0 +1 @@
+MD5 4209de3cacedcc252c5273a0664b1ea9 nss_ldap-210.tar.gz 220887
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-211 b/sys-auth/nss_ldap/files/digest-nss_ldap-211
new file mode 100644
index 000000000000..13768c73b451
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-211
@@ -0,0 +1 @@
+MD5 34adcab5d46a436617ae686cc7c5e78f nss_ldap-211.tar.gz 221013
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-215 b/sys-auth/nss_ldap/files/digest-nss_ldap-215
new file mode 100644
index 000000000000..38bf07a63446
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-215
@@ -0,0 +1 @@
+MD5 c642a3f0dbaf2aacc3bfb1a9dc6c29d6 nss_ldap-215.tar.gz 202566
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-215-r1 b/sys-auth/nss_ldap/files/digest-nss_ldap-215-r1
new file mode 100644
index 000000000000..38bf07a63446
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-215-r1
@@ -0,0 +1 @@
+MD5 c642a3f0dbaf2aacc3bfb1a9dc6c29d6 nss_ldap-215.tar.gz 202566
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-220 b/sys-auth/nss_ldap/files/digest-nss_ldap-220
new file mode 100644
index 000000000000..c97e065818ed
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-220
@@ -0,0 +1 @@
+MD5 d401485fcabf4ea40d244c2c9a19247e nss_ldap-220.tar.gz 204826
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-226 b/sys-auth/nss_ldap/files/digest-nss_ldap-226
new file mode 100644
index 000000000000..9fca9879a7ff
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-226
@@ -0,0 +1 @@
+MD5 b741a705c112b8c51f6b32abe2540a5d nss_ldap-226.tar.gz 212923
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-233 b/sys-auth/nss_ldap/files/digest-nss_ldap-233
new file mode 100644
index 000000000000..e094963e17d9
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-233
@@ -0,0 +1 @@
+MD5 8adad0ca91887be47324ee919dd96c1a nss_ldap-233.tar.gz 215510
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-234 b/sys-auth/nss_ldap/files/digest-nss_ldap-234
new file mode 100644
index 000000000000..c48b25833277
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-234
@@ -0,0 +1 @@
+MD5 6fd1cf28056613cc12423423f3169e2d nss_ldap-234.tar.gz 215708
diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-238 b/sys-auth/nss_ldap/files/digest-nss_ldap-238
new file mode 100644
index 000000000000..cf5812d6278e
--- /dev/null
+++ b/sys-auth/nss_ldap/files/digest-nss_ldap-238
@@ -0,0 +1 @@
+MD5 97fd929b381329b972b3c3ddca5a4bbf nss_ldap-238.tar.gz 219945
diff --git a/sys-auth/nss_ldap/files/nss_ldap-220-db4.2-patch.diff b/sys-auth/nss_ldap/files/nss_ldap-220-db4.2-patch.diff
new file mode 100644
index 000000000000..ea3309ecf1a8
--- /dev/null
+++ b/sys-auth/nss_ldap/files/nss_ldap-220-db4.2-patch.diff
@@ -0,0 +1,50 @@
+diff -urN nss_ldap-215/configure.in nss_ldap-215-modified/configure.in
+--- nss_ldap-215/configure.in 2004-01-07 07:02:15.000000000 -0600
++++ nss_ldap-215-modified/configure.in 2004-03-18 19:47:13.111404704 -0600
+@@ -133,6 +133,9 @@
+ AC_CHECK_HEADERS(db1/db.h)
+ AC_CHECK_HEADERS(db_185.h)
+ AC_CHECK_HEADERS(db3/db_185.h)
++AC_CHECK_HEADERS(db4/db_185.h)
++AC_CHECK_HEADERS(db4.1/db_185.h)
++AC_CHECK_HEADERS(db4.2/db_185.h)
+ AC_CHECK_HEADERS(alignof.h)
+ AC_CHECK_HEADERS(rpc/rpcent.h)
+ AC_CHECK_HEADERS(sys/byteorder.h)
+diff -urN nss_ldap-215/ldap-nss.c nss_ldap-215-modified/ldap-nss.c
+--- nss_ldap-215/ldap-nss.c 2004-01-07 07:02:15.000000000 -0600
++++ nss_ldap-215-modified/ldap-nss.c 2004-03-18 19:48:19.139366928 -0600
+@@ -72,7 +72,13 @@
+ #include <sasl.h>
+ #endif
+ #ifdef AT_OC_MAP
+-#ifdef HAVE_DB3_DB_185_H
++#ifdef HAVE_DB4_2_DB_185_H
++#include <db4.2/db_185.h>
++#elif defined(HAVE_DB4_1_DB_185_H)
++#include <db4.1/db_185.h>
++#elif defined(HAVE_DB4_DB_185_H)
++#include <db4/db_185.h>
++#elif defined(HAVE_DB3_DB_185_H)
+ #include <db3/db_185.h>
+ #elif defined(HAVE_DB_185_H)
+ #include <db_185.h>
+diff -urN nss_ldap-215/util.c nss_ldap-215-modified/util.c
+--- nss_ldap-215/util.c 2004-01-07 07:02:15.000000000 -0600
++++ nss_ldap-215-modified/util.c 2004-03-18 19:49:16.347669944 -0600
+@@ -84,7 +84,14 @@
+ * right API!
+ */
+ #if defined(RFC2307BIS) || defined(AT_OC_MAP)
+-#ifdef HAVE_DB3_DB_185_H
++#define DN2UID_CACHE
++#ifdef HAVE_DB4_2_DB_185_H
++#include <db4.2/db_185.h>
++#elif defined(HAVE_DB4_1_DB_185_H)
++#include <db4.1/db_185.h>
++#elif defined(HAVE_DB4_DB_185_H)
++#include <db4/db_185.h>
++#elif defined(HAVE_DB3_DB_185_H)
+ #include <db3/db_185.h>
+ #define DN2UID_CACHE
+ #elif defined(HAVE_DB_185_H)
diff --git a/sys-auth/nss_ldap/files/nss_ldap-238-whitespace-fix.diff b/sys-auth/nss_ldap/files/nss_ldap-238-whitespace-fix.diff
new file mode 100644
index 000000000000..4cf0a1e67a52
--- /dev/null
+++ b/sys-auth/nss_ldap/files/nss_ldap-238-whitespace-fix.diff
@@ -0,0 +1,47 @@
+diff -Nuar nss_ldap-238.orig/ldap.conf nss_ldap-238/ldap.conf
+--- nss_ldap-238.orig/ldap.conf 2005-03-23 16:03:40.000000000 -0800
++++ nss_ldap-238/ldap.conf 2005-03-28 21:57:53.326218832 -0800
+@@ -167,27 +167,27 @@
+ # and filter is a filter to be &'d with the
+ # default filter.
+ # You can omit the suffix eg:
+-# nss_base_passwd ou=People,
++# nss_base_passwd ou=People,
+ # to append the default base DN but this
+ # may incur a small performance impact.
+-#nss_base_passwdou=People,dc=padl,dc=com?one
+-#nss_base_shadowou=People,dc=padl,dc=com?one
+-#nss_base_group ou=Group,dc=padl,dc=com?one
+-#nss_base_hosts ou=Hosts,dc=padl,dc=com?one
+-#nss_base_servicesou=Services,dc=padl,dc=com?one
+-#nss_base_networksou=Networks,dc=padl,dc=com?one
+-#nss_base_protocolsou=Protocols,dc=padl,dc=com?one
+-#nss_base_rpc ou=Rpc,dc=padl,dc=com?one
+-#nss_base_ethersou=Ethers,dc=padl,dc=com?one
+-#nss_base_netmasksou=Networks,dc=padl,dc=com?ne
+-#nss_base_bootparamsou=Ethers,dc=padl,dc=com?one
+-#nss_base_aliasesou=Aliases,dc=padl,dc=com?one
+-#nss_base_netgroupou=Netgroup,dc=padl,dc=com?one
++#nss_base_passwd ou=People,dc=padl,dc=com?one
++#nss_base_shadow ou=People,dc=padl,dc=com?one
++#nss_base_group ou=Group,dc=padl,dc=com?one
++#nss_base_hosts ou=Hosts,dc=padl,dc=com?one
++#nss_base_services ou=Services,dc=padl,dc=com?one
++#nss_base_networks ou=Networks,dc=padl,dc=com?one
++#nss_base_protocols ou=Protocols,dc=padl,dc=com?one
++#nss_base_rpc ou=Rpc,dc=padl,dc=com?one
++#nss_base_ethers ou=Ethers,dc=padl,dc=com?one
++#nss_base_netmasks ou=Networks,dc=padl,dc=com?ne
++#nss_base_bootparams ou=Ethers,dc=padl,dc=com?one
++#nss_base_aliases ou=Aliases,dc=padl,dc=com?one
++#nss_base_netgroup ou=Netgroup,dc=padl,dc=com?one
+
+ # attribute/objectclass mapping
+ # Syntax:
+-#nss_map_attributerfc2307attribute mapped_attribute
+-#nss_map_objectclassrfc2307objectclass mapped_objectclass
++#nss_map_attribute rfc2307attribute mapped_attribute
++#nss_map_objectclass rfc2307objectclass mapped_objectclass
+
+ # configure --enable-nds is no longer supported.
+ # NDS mappings
diff --git a/sys-auth/nss_ldap/files/nsswitch.ldap.diff b/sys-auth/nss_ldap/files/nsswitch.ldap.diff
new file mode 100644
index 000000000000..a8e96e05e8d8
--- /dev/null
+++ b/sys-auth/nss_ldap/files/nsswitch.ldap.diff
@@ -0,0 +1,15 @@
+--- nsswitch.ldap 2004-06-08 00:34:09.895330016 -0500
++++ nsswitch.ldap-modified 2004-06-08 00:35:21.518441648 -0500
+@@ -10,10 +10,10 @@
+ passwd: files ldap
+ group: files ldap
+
+-# consult DNS first, we will need it to resolve the LDAP host. (If we
++# consult files/dns first, we will need it to resolve the LDAP host. (If we
+ # can't resolve it, we're in infinite recursion, because libldap calls
+ # gethostbyname(). Careful!)
+-hosts: dns ldap
++hosts: files dns ldap
+
+ # LDAP is nominally authoritative for the following maps.
+ services: ldap [NOTFOUND=return] files
diff --git a/sys-auth/nss_ldap/metadata.xml b/sys-auth/nss_ldap/metadata.xml
new file mode 100644
index 000000000000..2ce0277e448d
--- /dev/null
+++ b/sys-auth/nss_ldap/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-auth/nss_ldap/nss_ldap-174-r2.ebuild b/sys-auth/nss_ldap/nss_ldap-174-r2.ebuild
new file mode 100644
index 000000000000..13b43f082fce
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-174-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-174-r2.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="ftp://ftp.padl.com/pub/${P}.tar.gz"
+
+DEPEND=">=net-nds/openldap-1.2.11"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="x86 sparc"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/config.guess
+}
+
+src_compile() {
+
+ econf \
+ --enable-schema-mapping \
+ --enable-rfc2307bis \
+ --enable-extra-optimization || die
+
+ emake UNIX_CAN_BUILD_STATIC=0 \
+ OPTIMIZER="${CFLAGS}" || die
+}
+
+src_install() {
+
+ dodir /usr/lib
+
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ dosym /etc/openldap/ldap.conf /etc/ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS COPYING
+ dodoc CVSVersionInfo.txt README nsswitch.ldap
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-202.ebuild b/sys-auth/nss_ldap/nss_ldap-202.ebuild
new file mode 100644
index 000000000000..ea16c520795f
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-202.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-202.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="ftp://ftp.padl.com/pub/${P}.tar.gz"
+
+DEPEND=">=net-nds/openldap-1.2.11"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="x86 sparc"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp ${S}/config.guess
+}
+
+src_compile() {
+
+ econf \
+ --enable-schema-mapping \
+ --enable-rfc2307bis \
+ --enable-extra-optimization || die
+
+ emake UNIX_CAN_BUILD_STATIC=0 \
+ OPTIMIZER="${CFLAGS}" || die
+}
+
+src_install() {
+
+ dodir /usr/lib
+
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ dosym /etc/openldap/ldap.conf /etc/ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS COPYING
+ dodoc CVSVersionInfo.txt README nsswitch.ldap
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-207-r1.ebuild b/sys-auth/nss_ldap/nss_ldap-207-r1.ebuild
new file mode 100644
index 000000000000..984bd3d40360
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-207-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-207-r1.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+
+SRC_URI="ftp://ftp.padl.com/pub/${P}.tar.gz"
+DEPEND=">=net-nds/openldap-1.2.11"
+SLOT="0"
+IUSE=""
+LICENSE="LGPL-2"
+KEYWORDS="x86 sparc"
+
+src_unpack() {
+ unpack ${A}
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp ${S}/config.guess
+}
+
+src_compile() {
+ ./configure \
+ --with-ldap-lib=openldap \
+ --enable-schema-mapping \
+ --enable-rfc2307bis \
+ --libdir=/lib || die
+
+ emake || die
+}
+
+src_install() {
+ dodir /lib
+ make DESTDIR=${D} install || die
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap \
+ LICENSE*
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-207.ebuild b/sys-auth/nss_ldap/nss_ldap-207.ebuild
new file mode 100644
index 000000000000..a74cd698f807
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-207.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-207.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="ftp://ftp.padl.com/pub/${P}.tar.gz"
+
+DEPEND=">=net-nds/openldap-1.2.11"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="x86 sparc"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp ${S}/config.guess
+}
+
+src_compile() {
+
+ econf \
+ --enable-schema-mapping \
+ --enable-rfc2307bis \
+ --enable-extra-optimization || die
+
+ emake UNIX_CAN_BUILD_STATIC=0 \
+ OPTIMIZER="${CFLAGS}" || die
+}
+
+src_install() {
+
+ dodir /usr/lib
+
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ insinto /etc/openldap
+ doins ldap.conf
+ dosym /etc/openldap/ldap.conf /etc/ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS COPYING
+ dodoc CVSVersionInfo.txt README nsswitch.ldap
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-210.ebuild b/sys-auth/nss_ldap/nss_ldap-210.ebuild
new file mode 100644
index 000000000000..95da2db5eff6
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-210.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-210.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails
+IUSE="berkdb debug ssl"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~sparc"
+
+DEPEND=">=net-nds/openldap-1.2.11
+ berkdb? ( =sys-libs/db-3* )"
+
+src_unpack() {
+ unpack ${A}
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp ${S}/config.guess
+}
+
+src_compile() {
+ local myconf=""
+ # --enable-schema-mapping enable attribute/objectclass mapping
+ # --enable-paged-results enable paged results control
+ # --enable-configurable-krb5-ccname enable configurable
+ # Kerberos V credentials cache name
+
+ use berkdb && myconf="${myconf} --enable-rfc2307bis"
+
+ use debug && myconf="${myconf} --enable-debugging"
+
+ use ssl || myconf="${myconf} --disable-ssl"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap \
+ LICENSE*
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-211.ebuild b/sys-auth/nss_ldap/nss_ldap-211.ebuild
new file mode 100644
index 000000000000..dc62e94daa3c
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-211.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-211.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails
+
+IUSE="berkdb debug ssl"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 sparc"
+
+DEPEND=">=net-nds/openldap-1.2.11
+ berkdb? ( =sys-libs/db-3* )"
+
+src_unpack() {
+ unpack ${A}
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp ${S}/config.guess
+}
+
+src_compile() {
+ local myconf=""
+ # --enable-schema-mapping enable attribute/objectclass mapping
+ # --enable-paged-results enable paged results control
+ # --enable-configurable-krb5-ccname enable configurable
+ # Kerberos V credentials cache name
+
+ use berkdb && myconf="${myconf} --enable-rfc2307bis"
+
+ use debug && myconf="${myconf} --enable-debugging"
+
+ use ssl || myconf="${myconf} --disable-ssl"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap \
+ LICENSE*
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-215-r1.ebuild b/sys-auth/nss_ldap/nss_ldap-215-r1.ebuild
new file mode 100644
index 000000000000..7bcd39eb4c1e
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-215-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-215-r1.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails eutils
+
+IUSE="berkdb debug"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="x86 sparc amd64 ppc hppa"
+
+DEPEND=">=net-nds/openldap-1.2.11
+ berkdb? ( >=sys-libs/db-3 )"
+
+src_unpack() {
+ unpack ${A}
+ # bug #34717
+ epatch ${FILESDIR}/db4_1.85.diff
+ cd ${S}
+ epatch ${FILESDIR}/nsswitch.ldap.diff
+}
+
+src_compile() {
+ aclocal || die "aclocal failed"
+ autoheader || die "autoheader failed"
+ automake || die "automake failed"
+ autoconf || die "autoconf failed"
+
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp ${S}/config.guess
+
+ local myconf=""
+
+ use berkdb && myconf="${myconf} --enable-rfc2307bis"
+
+ use debug && myconf="${myconf} --enable-debugging"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ --enable-schema-mapping \
+ --enable-paged-results \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap \
+ LICENSE*
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-215.ebuild b/sys-auth/nss_ldap/nss_ldap-215.ebuild
new file mode 100644
index 000000000000..b40522f12875
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-215.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-215.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails
+
+IUSE="berkdb debug"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~sparc amd64"
+
+DEPEND=">=net-nds/openldap-1.2.11
+ berkdb? ( >=sys-libs/db-3 )"
+
+src_unpack() {
+ unpack ${A}
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp ${S}/config.guess
+}
+
+src_compile() {
+ local myconf=""
+ # --enable-schema-mapping enable attribute/objectclass mapping
+ # --enable-paged-results enable paged results control
+
+ use berkdb && myconf="${myconf} --enable-rfc2307bis"
+
+ use debug && myconf="${myconf} --enable-debugging"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap \
+ LICENSE*
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-220.ebuild b/sys-auth/nss_ldap/nss_ldap-220.ebuild
new file mode 100644
index 000000000000..91f09abfebcb
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-220.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-220.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails eutils gnuconfig
+
+IUSE="berkdb debug"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~alpha ~amd64 hppa ~ppc ppc64 sparc x86"
+
+DEPEND=">=net-nds/openldap-1.2.11
+ berkdb? ( >=sys-libs/db-3 )"
+
+src_unpack() {
+ unpack ${A}
+ # bug #34717
+ EPATCH_OPTS="-d${S} -p1" epatch ${FILESDIR}/${PN}-220-db4.2-patch.diff
+ cd ${S}
+ epatch ${FILESDIR}/nsswitch.ldap.diff
+
+ aclocal || die "aclocal failed"
+ autoheader || die "autoheader failed"
+ automake || die "automake failed"
+ autoconf || die "autoconf failed"
+
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp
+ # update config.{guess,sub}
+ gnuconfig_update
+}
+
+src_compile() {
+ local myconf=""
+ use berkdb && myconf="${myconf} --enable-rfc2307bis"
+ use debug && myconf="${myconf} --enable-debugging"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ --enable-schema-mapping \
+ --enable-paged-results \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap certutil
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-226.ebuild b/sys-auth/nss_ldap/nss_ldap-226.ebuild
new file mode 100644
index 000000000000..bd0788d0fae9
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-226.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-226.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails eutils gnuconfig
+
+IUSE="debug"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="x86 sparc amd64 ppc hppa ~alpha -ppc64"
+
+DEPEND=">=net-nds/openldap-1.2.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/nsswitch.ldap.diff
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp
+ # update config.{guess,sub}
+ gnuconfig_update
+}
+
+src_compile() {
+ local myconf=""
+ use debug && myconf="${myconf} --enable-debugging"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ --enable-schema-mapping \
+ --enable-paged-results \
+ --enable-rfc2307bis \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap certutil
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-233.ebuild b/sys-auth/nss_ldap/nss_ldap-233.ebuild
new file mode 100644
index 000000000000..9d954630d113
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-233.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-233.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails eutils gnuconfig
+
+IUSE="debug"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc ~hppa ~alpha"
+
+DEPEND=">=net-nds/openldap-1.2.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/nsswitch.ldap.diff
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp
+ # update config.{guess,sub}
+ gnuconfig_update
+}
+
+src_compile() {
+ local myconf=""
+ use debug && myconf="${myconf} --enable-debugging"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ --enable-schema-mapping \
+ --enable-paged-results \
+ --enable-rfc2307bis \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap certutil
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-234.ebuild b/sys-auth/nss_ldap/nss_ldap-234.ebuild
new file mode 100644
index 000000000000..16adb5e3a66d
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-234.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-234.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails eutils gnuconfig
+
+IUSE="debug"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc ~hppa ~alpha ~ppc64"
+
+DEPEND=">=net-nds/openldap-1.2.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/nsswitch.ldap.diff
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp
+ # update config.{guess,sub}
+ gnuconfig_update
+}
+
+src_compile() {
+ local myconf=""
+ use debug && myconf="${myconf} --enable-debugging"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ --enable-schema-mapping \
+ --enable-paged-results \
+ --enable-rfc2307bis \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap certutil
+ docinto docs; dodoc doc/*
+}
diff --git a/sys-auth/nss_ldap/nss_ldap-238.ebuild b/sys-auth/nss_ldap/nss_ldap-238.ebuild
new file mode 100644
index 000000000000..c30d9aaf9140
--- /dev/null
+++ b/sys-auth/nss_ldap/nss_ldap-238.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-238.ebuild,v 1.1 2005/07/02 22:09:54 flameeyes Exp $
+
+inherit fixheadtails eutils gnuconfig
+
+IUSE="debug"
+
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
+SRC_URI="http://www.padl.com/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~sparc ~amd64 ~ppc ~hppa ~alpha"
+
+DEPEND=">=net-nds/openldap-1.2.11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/nsswitch.ldap.diff
+ epatch ${FILESDIR}/${P}-whitespace-fix.diff
+ # fix head/tail stuff
+ ht_fix_file ${S}/Makefile.am ${S}/Makefile.in ${S}/depcomp
+ # update config.{guess,sub}
+ gnuconfig_update
+}
+
+src_compile() {
+ local myconf=""
+ use debug && myconf="${myconf} --enable-debugging"
+
+ econf \
+ --with-ldap-lib=openldap \
+ --libdir=/lib \
+ --enable-schema-mapping \
+ --enable-paged-results \
+ --enable-rfc2307bis \
+ ${myconf} || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ dodir /lib
+
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ doins ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
+ COPYING CVSVersionInfo.txt README nsswitch.ldap certutil
+ docinto docs; dodoc doc/*
+}