summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-04-20 23:07:14 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-04-20 23:07:14 +0000
commit04339ca2d826c12ec6ba8eff0e1d425fe3b55219 (patch)
tree18073977d906890a4fc1952103a1cc9871464868 /net-nds/openldap
parentResolved bug #1944 (diff)
downloadgentoo-2-04339ca2d826c12ec6ba8eff0e1d425fe3b55219.tar.gz
gentoo-2-04339ca2d826c12ec6ba8eff0e1d425fe3b55219.tar.bz2
gentoo-2-04339ca2d826c12ec6ba8eff0e1d425fe3b55219.zip
Updated package to new version
Diffstat (limited to 'net-nds/openldap')
-rw-r--r--net-nds/openldap/ChangeLog8
-rw-r--r--net-nds/openldap/files/digest-openldap-2.0.231
-rw-r--r--net-nds/openldap/openldap-2.0.23.ebuild77
3 files changed, 85 insertions, 1 deletions
diff --git a/net-nds/openldap/ChangeLog b/net-nds/openldap/ChangeLog
index b27e2bbb542b..57f1ffbec204 100644
--- a/net-nds/openldap/ChangeLog
+++ b/net-nds/openldap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-nds/openldap
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/ChangeLog,v 1.1 2002/02/01 21:53:36 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/ChangeLog,v 1.2 2002/04/20 23:07:14 rphillips Exp $
+
+*openldap-2.0.23 (20 Apr 2002)
+
+ 20 Apr 2002; Ryan Phillips <rphillips@gentoo.org> openldap-2.0.23 :
+
+ Updated package
*openldap-2.0.21 (1 Feb 2002)
diff --git a/net-nds/openldap/files/digest-openldap-2.0.23 b/net-nds/openldap/files/digest-openldap-2.0.23
new file mode 100644
index 000000000000..6d26f5309d9b
--- /dev/null
+++ b/net-nds/openldap/files/digest-openldap-2.0.23
@@ -0,0 +1 @@
+MD5 d13cfded502c7d2b43b3c42b4e6dd599 openldap-2.0.23.tgz 1302928
diff --git a/net-nds/openldap/openldap-2.0.23.ebuild b/net-nds/openldap/openldap-2.0.23.ebuild
new file mode 100644
index 000000000000..2d4402d3e000
--- /dev/null
+++ b/net-nds/openldap/openldap-2.0.23.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.0.23.ebuild,v 1.1 2002/04/20 23:07:14 rphillips 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
+ >=sys-libs/ncurses-5.1
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
+ ssl? ( >=dev-libs/openssl-0.9.6 )
+ readline? ( >=sys-libs/readline-4.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 ssl && myconf="${myconf} --with-tls"
+ use readline && myconf="${myconf} --with-readline"
+ use readline || myconf="${myconf} --without-readline"
+ use gdbm && myconf="${myconf} --enable-ldbm --with-ldbm-api=gdbm"
+ use gdbm || myconf="${myconf} --disable-ldbm"
+ use ipv6 && myconf="${myconf} --enable-ipv6"
+
+ ./configure --host=${CHOST} \
+ --enable-passwd \
+ --enable-shell \
+ --enable-shared \
+ --enable-static \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var/state \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib/openldap \
+ ${myconf} || die "bad configure"
+
+ make depend || die
+ make || die
+ cd tests ; make || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ sysconfdir=${D}/etc/openldap \
+ localstatedir=${D}/var/state \
+ mandir=${D}/usr/share/man \
+ libexecdir=${D}/usr/lib/openldap \
+ install || die "install problem"
+
+ #fix ${D} in manpages
+ cd ${S}/doc/man
+ make DESTDIR=${D} clean all install || die "install doc problem"
+ cd ${S}
+
+ 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
+ dosed $i
+ done
+}