summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-18 16:30:27 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-18 16:30:27 +0000
commit021af898c1cfd28b5b0ed002f9a48a4b757f39e4 (patch)
treee4c8960384edb41347c80143e594fac6446c5bc4 /net-libs
parentMore translation woes (diff)
downloadgentoo-2-021af898c1cfd28b5b0ed002f9a48a4b757f39e4.tar.gz
gentoo-2-021af898c1cfd28b5b0ed002f9a48a4b757f39e4.tar.bz2
gentoo-2-021af898c1cfd28b5b0ed002f9a48a4b757f39e4.zip
resolved sandbox violation
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nss_ldap/ChangeLog10
-rw-r--r--net-libs/nss_ldap/nss_ldap-174-r1.ebuild44
2 files changed, 53 insertions, 1 deletions
diff --git a/net-libs/nss_ldap/ChangeLog b/net-libs/nss_ldap/ChangeLog
index 73d33b8b956f..5f89d9ef75cb 100644
--- a/net-libs/nss_ldap/ChangeLog
+++ b/net-libs/nss_ldap/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-libs/nss_ldap
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nss_ldap/ChangeLog,v 1.1 2002/02/01 21:53:34 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nss_ldap/ChangeLog,v 1.2 2002/04/18 16:30:27 seemant Exp $
+
+*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.
*nss_ldap-174 (1 Feb 2002)
diff --git a/net-libs/nss_ldap/nss_ldap-174-r1.ebuild b/net-libs/nss_ldap/nss_ldap-174-r1.ebuild
new file mode 100644
index 000000000000..707072a2e89d
--- /dev/null
+++ b/net-libs/nss_ldap/nss_ldap-174-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Authors Achim Gottinger <achim@gentoo.org>, Joshua Pollak <pardsbane@offthehill.org>
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nss_ldap/nss_ldap-174-r1.ebuild,v 1.1 2002/04/18 16:30:27 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="NSS LDAP Module"
+HOMEPAGE="http://www.padl.com/nss_ldap.html"
+SRC_URI="ftp://ftp.padl.com/pub/${P}.tar.gz"
+
+DEPEND=">=sys-libs/glibc-2.1.3
+ >=net-nds/openldap-1.2.11"
+
+
+src_compile() {
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc \
+ --localstatedir=/var/lib \
+ --enable-extra-optimization || die
+
+ emake UNIX_CAN_BUILD_STATIC=0 \
+ OPTIMIZER="${CFLAGS}" || die
+}
+
+src_install() {
+
+ mkdir ${D}/usr
+ mkdir ${D}/usr/lib
+
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ rm ${D}/etc/ldap.conf
+ ln -s /etc/openldap/ldap.conf ${D}/etc/ldap.conf
+
+ dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS COPYING
+ dodoc CVSVersionInfo.txt README nsswitch.ldap
+}
+