Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/nss_ldap: ChangeLog nss_ldap-257.2.ebuild
Date: Tue, 09 Oct 2007 23:52:51
Message-Id: E1IfOjA-0006Nx-DW@stork.gentoo.org
1 robbat2 07/10/09 23:43:04
2
3 Modified: ChangeLog
4 Added: nss_ldap-257.2.ebuild
5 Log:
6 Upstream minor version bump, fixes Kerberos issues for bug #165638 and upstream integrated the skipmembers patch.
7 (Portage version: 2.1.3.12)
8
9 Revision Changes Path
10 1.43 sys-auth/nss_ldap/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 9 Oct 2007 23:39:47 -0000 1.42
23 +++ ChangeLog 9 Oct 2007 23:43:03 -0000 1.43
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-auth/nss_ldap
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.42 2007/10/09 23:39:47 robbat2 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.43 2007/10/09 23:43:03 robbat2 Exp $
29 +
30 +*nss_ldap-257.2 (09 Oct 2007)
31 +
32 + 09 Oct 2007; Robin H. Johnson <robbat2@g.o> +nss_ldap-257.2.ebuild:
33 + Upstream minor version bump, fixes Kerberos issues for bug #165638 and
34 + upstream integrated the skipmembers patch.
35
36 09 Oct 2007; Robin H. Johnson <robbat2@g.o> nss_ldap-239-r1.ebuild,
37 nss_ldap-249.ebuild, nss_ldap-250.ebuild, nss_ldap-250-r1.ebuild,
38
39
40
41 1.1 sys-auth/nss_ldap/nss_ldap-257.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-257.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-257.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nss_ldap-257.2.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-257.2.ebuild,v 1.1 2007/10/09 23:43:03 robbat2 Exp $
51
52 inherit fixheadtails eutils multilib
53
54 IUSE="debug sasl kerberos"
55
56 DESCRIPTION="NSS LDAP Module"
57 HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html"
58 SRC_URI="http://www.padl.com/download/${P}.tar.gz"
59
60 SLOT="0"
61 LICENSE="LGPL-2"
62 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
63
64 DEPEND=">=net-nds/openldap-2.1.30-r5
65 sasl? ( dev-libs/cyrus-sasl )
66 kerberos? ( virtual/krb5 )"
67 RDEPEND="${DEPEND}
68 !<net-fs/autofs-4.1.3"
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73 epatch "${FILESDIR}"/nsswitch.ldap.diff
74 # Applied by upstream
75 #epatch "${FILESDIR}"/${PN}-239-tls-security-bug.patch
76 epatch "${FILESDIR}"/${PN}-249-sasl-compile.patch
77 EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-252-reconnect-timeouts.patch
78 # Applied by upstream
79 #EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-254-nss_getgrent_skipmembers.patch
80 EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-257-nss_max_group_depth.patch
81 sed -i.orig \
82 -e '/^ @(#)\$Id: ldap.conf,v/s,^,#,' \
83 "${S}"/ldap.conf || die "failed to clean up initial version marker"
84 # fix head/tail stuff
85 ht_fix_file "${S}"/Makefile.am "${S}"/Makefile.in "${S}"/depcomp
86 # fix build borkage
87 for i in Makefile.{in,am}; do
88 sed -i.orig \
89 -e '/^install-exec-local: nss_ldap.so/s,nss_ldap.so,,g' \
90 "${S}"/$i
91 done
92 }
93
94 src_compile() {
95 local myconf=""
96 use debug && myconf="${myconf} --enable-debugging"
97 use kerberos && myconf="${myconf} --enable-configurable-krb5-ccname-gssapi"
98 econf \
99 --with-ldap-lib=openldap \
100 --libdir=/$(get_libdir) \
101 --enable-schema-mapping \
102 --enable-paged-results \
103 --enable-rfc2307bis \
104 ${myconf} || die "configure failed"
105
106 emake || die "make failed"
107 }
108
109 src_install() {
110 dodir /$(get_libdir)
111
112 emake -j1 DESTDIR="${D}" install || die "make install failed"
113
114 insinto /etc
115 doins ldap.conf
116
117 dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \
118 COPYING CVSVersionInfo.txt README nsswitch.ldap certutil
119 docinto docs; dodoc doc/*
120 }
121
122
123
124 --
125 gentoo-commits@g.o mailing list