diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-20 00:58:21 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-01-20 00:58:21 +0000 |
commit | 3792dd8b104870d2a134147b2d0f22f926ca870b (patch) | |
tree | 1d1f3aaa9bf5e81c2e8c13734c53c82c30ae006e /sys-auth | |
parent | version bump; menu icon patch from François AZELAR via bug #145455 (diff) | |
download | historical-3792dd8b104870d2a134147b2d0f22f926ca870b.tar.gz historical-3792dd8b104870d2a134147b2d0f22f926ca870b.tar.bz2 historical-3792dd8b104870d2a134147b2d0f22f926ca870b.zip |
Version bump, fixes memory leaks.
Package-Manager: portage-2.1.4
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/nss_ldap/ChangeLog | 9 | ||||
-rw-r--r-- | sys-auth/nss_ldap/Manifest | 16 | ||||
-rw-r--r-- | sys-auth/nss_ldap/files/digest-nss_ldap-259 | 3 | ||||
-rw-r--r-- | sys-auth/nss_ldap/nss_ldap-259.ebuild | 80 |
4 files changed, 102 insertions, 6 deletions
diff --git a/sys-auth/nss_ldap/ChangeLog b/sys-auth/nss_ldap/ChangeLog index db30ae45ea63..f0c029ed9775 100644 --- a/sys-auth/nss_ldap/ChangeLog +++ b/sys-auth/nss_ldap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-auth/nss_ldap -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.52 2007/11/14 03:56:40 beandog Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.53 2008/01/20 00:58:20 robbat2 Exp $ + +*nss_ldap-259 (20 Jan 2008) + + 20 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> +nss_ldap-259.ebuild: + Version bump, fixes memory leaks. 14 Nov 2007; Steve Dibb <beandog@gentoo.org> nss_ldap-258.ebuild: amd64 stable, bug 198390 diff --git a/sys-auth/nss_ldap/Manifest b/sys-auth/nss_ldap/Manifest index 8bdde652fc2d..cfdfc477c9f8 100644 --- a/sys-auth/nss_ldap/Manifest +++ b/sys-auth/nss_ldap/Manifest @@ -39,6 +39,7 @@ DIST nss_ldap-254.tar.gz 228504 RMD160 db8e57be27f0fddca0f285380eb3bd9d7e2a11f9 DIST nss_ldap-257.2.tar.gz 274699 RMD160 b27f4509335b7eb026e32458689c01072448093f SHA1 e479a52028836d2494a68e3183673cfd1c202c54 SHA256 7850f40208d1d3dd946e0c9388e7420ef07f69855fd2721fd2784f3cdb5b82fb DIST nss_ldap-257.tar.gz 229242 RMD160 b7260a768217901c701c52a5f2446894f6dc7aef SHA1 fc57c721bcbab7eaa3ddcf4953141ab03d788fc2 SHA256 22a0e3b0ebffc5d8f252144a422ef5eaef2ad1255aa7c0953691c990a44e267b DIST nss_ldap-258.tar.gz 274694 RMD160 ee52775b9612f780908b3c8363ab2b18e7f4ea1c SHA1 50a5128db5a4d894fba35aeb092685605fba578d SHA256 afa3bb64cd29557e775219585655721ac220de5804d95d0c307dab86f2308346 +DIST nss_ldap-259.tar.gz 274878 RMD160 95b7fe2a4c28c4d8e86cf7d0d2e61e5e585b5a06 SHA1 0644d06be11b01e45d7a2a153e247b1203704d25 SHA256 8b65a32717f6173911aaea8e89b2c89ccb901f14f1063f5e49b5ab77d45f1790 EBUILD nss_ldap-239-r1.ebuild 1344 RMD160 072c5afe01d93c4e89dea9434e6cb4725444de70 SHA1 7ebd221362f33881debde95614d0d608f3aa8104 SHA256 bab782405e7699ed20d73e0cf19afc036659a60591b5cd2f7e74fdb2a3f42c32 MD5 e3994581a5a52fd5acb8d62efb415b3b nss_ldap-239-r1.ebuild 1344 RMD160 072c5afe01d93c4e89dea9434e6cb4725444de70 nss_ldap-239-r1.ebuild 1344 @@ -83,10 +84,14 @@ EBUILD nss_ldap-258.ebuild 2372 RMD160 a4869b6d13e033eb35b26dfdcf2cdb71edf35826 MD5 ba2b5a85d812e5912495db459609eb06 nss_ldap-258.ebuild 2372 RMD160 a4869b6d13e033eb35b26dfdcf2cdb71edf35826 nss_ldap-258.ebuild 2372 SHA256 91491630930b3b752c40659937dcce431b315f39253812d8443c971ed8ae00a7 nss_ldap-258.ebuild 2372 -MISC ChangeLog 14507 RMD160 c7d246091b07355958b335fd26cae4b13b644115 SHA1 5226daebb0aa58e2c358bf148b544e52390e14ff SHA256 f5e16794da57ea13eeac934be580b670e438dfb92505906d1dfb9bc20c03631b -MD5 e63035abbb21310cf33b6cd6f8dc720a ChangeLog 14507 -RMD160 c7d246091b07355958b335fd26cae4b13b644115 ChangeLog 14507 -SHA256 f5e16794da57ea13eeac934be580b670e438dfb92505906d1dfb9bc20c03631b ChangeLog 14507 +EBUILD nss_ldap-259.ebuild 2379 RMD160 3df6c70a17527bf60a545915c149f68bbd66724d SHA1 72e3c24e7ba468dc33f70cfcc1e6d1b9eff3fd02 SHA256 53cf4f8aabc230fb3a948d905ae4c51f6f65aabdf12e6042064853a4c3f3f620 +MD5 b0e7b2baa3fdb7f1cada5acc39cda662 nss_ldap-259.ebuild 2379 +RMD160 3df6c70a17527bf60a545915c149f68bbd66724d nss_ldap-259.ebuild 2379 +SHA256 53cf4f8aabc230fb3a948d905ae4c51f6f65aabdf12e6042064853a4c3f3f620 nss_ldap-259.ebuild 2379 +MISC ChangeLog 14648 RMD160 4370854d7e3b7c832fa6950a1b631c7ef8d24743 SHA1 b5fe62839a3321095010c2d0f12f5723c6a11885 SHA256 217633ab423633630c192cb65628526b6320041d196dd97092d2f0e5b3f5e1c2 +MD5 12dcaab7baeef9cd49c5ef0d047b7d56 ChangeLog 14648 +RMD160 4370854d7e3b7c832fa6950a1b631c7ef8d24743 ChangeLog 14648 +SHA256 217633ab423633630c192cb65628526b6320041d196dd97092d2f0e5b3f5e1c2 ChangeLog 14648 MISC metadata.xml 374 RMD160 d093200b154cb3766f818bb06ab05fb29d45af0c SHA1 0e6b6cc539b9c537d3a5464884ca2ca9c1717134 SHA256 72f6eb7d9ee256d2edb0336e03b71674bf17d2828222ca8722fdb48a88304365 MD5 641473a13d5ae20a9b73223b84af5c0d metadata.xml 374 RMD160 d093200b154cb3766f818bb06ab05fb29d45af0c metadata.xml 374 @@ -124,3 +129,6 @@ SHA256 ac72acab66b0186959c7b67436191d4d51ecc0e057761fb5e596be47bf1045c9 files/di MD5 3181cb57157e0e24a136d90478dca852 files/digest-nss_ldap-258 238 RMD160 3516b44aae998aee0db17af5a22c0dca199d45b7 files/digest-nss_ldap-258 238 SHA256 de3a13c05fcbb7f2ff75380bc85da94a12a1f949e84ce231a06b0a06de47c543 files/digest-nss_ldap-258 238 +MD5 3bb974c0962579654f1689433387cacc files/digest-nss_ldap-259 238 +RMD160 1d61319e849dbe482e7c08f24f6317c39d574adb files/digest-nss_ldap-259 238 +SHA256 11fc51584af15cd52fa44bd9dd9a5ab89b16d3d5e2c2e498b7f5d7ff01485fa4 files/digest-nss_ldap-259 238 diff --git a/sys-auth/nss_ldap/files/digest-nss_ldap-259 b/sys-auth/nss_ldap/files/digest-nss_ldap-259 new file mode 100644 index 000000000000..803ceb5c2248 --- /dev/null +++ b/sys-auth/nss_ldap/files/digest-nss_ldap-259 @@ -0,0 +1,3 @@ +MD5 ef29690c6e5f02dffbfd0f32f296a97b nss_ldap-259.tar.gz 274878 +RMD160 95b7fe2a4c28c4d8e86cf7d0d2e61e5e585b5a06 nss_ldap-259.tar.gz 274878 +SHA256 8b65a32717f6173911aaea8e89b2c89ccb901f14f1063f5e49b5ab77d45f1790 nss_ldap-259.tar.gz 274878 diff --git a/sys-auth/nss_ldap/nss_ldap-259.ebuild b/sys-auth/nss_ldap/nss_ldap-259.ebuild new file mode 100644 index 000000000000..79e57ef2cbf5 --- /dev/null +++ b/sys-auth/nss_ldap/nss_ldap-259.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-259.ebuild,v 1.1 2008/01/20 00:58:20 robbat2 Exp $ + +inherit fixheadtails eutils multilib autotools + +IUSE="debug sasl kerberos" + +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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=">=net-nds/openldap-2.1.30-r5 + sasl? ( dev-libs/cyrus-sasl ) + kerberos? ( virtual/krb5 )" +RDEPEND="${DEPEND} + !<net-fs/autofs-4.1.3" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/nsswitch.ldap.diff + # Applied by upstream + #epatch "${FILESDIR}"/${PN}-239-tls-security-bug.patch + epatch "${FILESDIR}"/${PN}-249-sasl-compile.patch + EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-252-reconnect-timeouts.patch + # Applied by upstream + #EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-254-nss_getgrent_skipmembers.patch + EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-257-nss_max_group_depth.patch + sed -i.orig \ + -e '/^ @(#)\$Id: ldap.conf,v/s,^,#,' \ + "${S}"/ldap.conf || die "failed to clean up initial version marker" + # fix head/tail stuff + ht_fix_file "${S}"/Makefile.am "${S}"/Makefile.in "${S}"/depcomp + # fix build borkage + for i in Makefile.{in,am}; do + sed -i.orig \ + -e '/^install-exec-local: nss_ldap.so/s,nss_ldap.so,,g' \ + "${S}"/$i + done + epatch "${FILESDIR}"/${PN}-257.2-gssapi-headers.patch + eautoreconf +} + +src_compile() { + local myconf="" + use debug && myconf="${myconf} --enable-debugging" + use kerberos && myconf="${myconf} --enable-configurable-krb5-ccname-gssapi" + econf \ + --with-ldap-lib=openldap \ + --libdir=/$(get_libdir) \ + --enable-schema-mapping \ + --enable-paged-results \ + --enable-rfc2307bis \ + ${myconf} || die "configure failed" + + emake || die "make failed" +} + +src_install() { + dodir /$(get_libdir) + + emake -j1 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/* +} + +pkg_postinst() { + elog "If you use a ldaps:// string in the 'uri' setting of" + elog "your /etc/ldap.conf, you must set 'ssl on'!" +} |