diff options
author | Nick Hadaway <raker@gentoo.org> | 2002-07-18 04:14:23 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2002-07-18 04:14:23 +0000 |
commit | b0f5f4d507f9c650dd5d53a20b9b90b0fa62dd3a (patch) | |
tree | 84e3190699a890f2c218095c10d798bc8b84adb2 /net-nds | |
parent | few more KEYWORDS/LICENSE/SLOT clean-ups (diff) | |
download | gentoo-2-b0f5f4d507f9c650dd5d53a20b9b90b0fa62dd3a.tar.gz gentoo-2-b0f5f4d507f9c650dd5d53a20b9b90b0fa62dd3a.tar.bz2 gentoo-2-b0f5f4d507f9c650dd5d53a20b9b90b0fa62dd3a.zip |
Updated to latest stable version. Included support for SASL via use
variable. Closes bug #5104 if there are no problems with the ebuild.
Diffstat (limited to 'net-nds')
-rw-r--r-- | net-nds/openldap/ChangeLog | 10 | ||||
-rw-r--r-- | net-nds/openldap/files/digest-openldap-2.0.25 | 1 | ||||
-rw-r--r-- | net-nds/openldap/openldap-2.0.25.ebuild | 82 |
3 files changed, 92 insertions, 1 deletions
diff --git a/net-nds/openldap/ChangeLog b/net-nds/openldap/ChangeLog index 57f1ffbec204..df422d05eea6 100644 --- a/net-nds/openldap/ChangeLog +++ b/net-nds/openldap/ChangeLog @@ -1,6 +1,14 @@ # 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.2 2002/04/20 23:07:14 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/ChangeLog,v 1.3 2002/07/18 04:14:23 raker Exp $ + +*openldap-2.0.25 (17 Jul 2002) + + 17 Jul 2002; Nick Hadaway <raker@gentoo.org> + openldap-2.0.25.ebuild, file/digest-openldap-2.0.25 : + + Version bump to latest stable vesion. Also added support for SASL by + request on bug #5104. *openldap-2.0.23 (20 Apr 2002) diff --git a/net-nds/openldap/files/digest-openldap-2.0.25 b/net-nds/openldap/files/digest-openldap-2.0.25 new file mode 100644 index 000000000000..8f386fb0e4ef --- /dev/null +++ b/net-nds/openldap/files/digest-openldap-2.0.25 @@ -0,0 +1 @@ +MD5 57ed9ea3d872595076d6eab7b93337bd openldap-2.0.25.tgz 1304098 diff --git a/net-nds/openldap/openldap-2.0.25.ebuild b/net-nds/openldap/openldap-2.0.25.ebuild new file mode 100644 index 000000000000..ffc46f861df2 --- /dev/null +++ b/net-nds/openldap/openldap-2.0.25.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-nds/openldap/openldap-2.0.25.ebuild,v 1.1 2002/07/18 04:14:23 raker 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/" + +SLOT="0" +KEYWORDS="x86" +LICENSE="OPENLDAP" + +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 ) + sasl? ( >=dev-libs/cyrus-sasl-1.5.27 )" + +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" + use sasl && myconf="${myconf} --enable-cyrus-sasl" + + + ./configure --host=${CHOST} \ + --enable-passwd \ + --enable-shell \ + --enable-shared \ + --enable-static \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/state/openldap \ + --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 +} |