summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-11-11 12:36:03 +0000
committerAchim Gottinger <achim@gentoo.org>2001-11-11 12:36:03 +0000
commite418c6380c8cb89c1520f69fce0965c269caadd5 (patch)
tree8a15ea96090b8df4f2516c3d05bb23466710d68c /net-nds
parentUpdate (diff)
downloadhistorical-e418c6380c8cb89c1520f69fce0965c269caadd5.tar.gz
historical-e418c6380c8cb89c1520f69fce0965c269caadd5.tar.bz2
historical-e418c6380c8cb89c1520f69fce0965c269caadd5.zip
Update
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/openldap/files/digest-openldap-1.2.13-r61
-rw-r--r--net-nds/openldap/openldap-1.2.13-r6.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/net-nds/openldap/files/digest-openldap-1.2.13-r6 b/net-nds/openldap/files/digest-openldap-1.2.13-r6
new file mode 100644
index 000000000000..ebc2fe7e4ea5
--- /dev/null
+++ b/net-nds/openldap/files/digest-openldap-1.2.13-r6
@@ -0,0 +1 @@
+MD5 9613c1f8211c058e0b13788355b0e580 openldap-1.2.13.tgz 1036288
diff --git a/net-nds/openldap/openldap-1.2.13-r6.ebuild b/net-nds/openldap/openldap-1.2.13-r6.ebuild
new file mode 100644
index 000000000000..b3b0fdfe7fdf
--- /dev/null
+++ b/net-nds/openldap/openldap-1.2.13-r6.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-1.2.13-r6.ebuild,v 1.1 2001/11/11 12:36:03 achim Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="LDAP suite of application and development tools"
+SRC_URI="ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-release/${P}.tgz"
+HOMEPAGE="http://www.OpenLDAP.org/"
+
+DEPEND="virtual/glibc
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
+ >=sys-libs/ncurses-5.1
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )"
+
+RDEPEND="virtual/glibc
+ >=sys-libs/ncurses-5.1
+ gdbm? ( >=sys-libs/gdbm-1.8.0 )"
+
+src_compile() {
+ local myconf
+ use tcpd && myconf="${myconf} --enable-wrappers"
+ use gdbm && myconf="${myconf} --enable-ldbm --with-ldbm-api=gdbm"
+ use gdbm || myconf="${myconf} --disable-ldbm"
+
+ ./configure --host=${CHOST} --enable-passwd --enable-shell --enable-shared \
+ --enable-static --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib \
+ --mandir=/usr/share/man --libexecdir=/usr/lib/openldap ${myconf}
+ assert "bad configure"
+
+ make depend || die
+ make || die "compile problem"
+ cd tests ; make || die
+}
+
+src_install() {
+ make prefix=${D}/usr sysconfdir=${D}/etc/openldap localstatedir=${D}/var/lib \
+ mandir=${D}/usr/share/man libexecdir=${D}/usr/lib/openldap install
+ assert "install problem"
+
+ dodoc ANNOUNCEMENT CHANGES COPYRIGHT README LICENSE
+ docinto rfc ; dodoc doc/rfc/*.txt
+ docinto devel ; dodoc doc/devel/*
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/slapd.rc6 slapd
+ newexe ${FILESDIR}/slurpd.rc6 slurpd
+
+ cd ${D}/etc/openldap
+ for i in *
+ do
+ cp $i $i.orig
+ sed -e "s:${D}::" $i.orig > $i
+ rm $i.orig
+ done
+}