1 |
robbat2 07/09/18 23:18:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nss_ldap-257.ebuild |
5 |
Log: |
6 |
Version bump per bug #173383. Fixes SIGPIPE issue from bugs #166519, #162355. Includes bug #155492: nss_max_group_depth patch. |
7 |
(Portage version: 2.1.3.7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.41 sys-auth/nss_ldap/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.41&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.41&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?r1=1.40&r2=1.41 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v |
19 |
retrieving revision 1.40 |
20 |
retrieving revision 1.41 |
21 |
diff -u -r1.40 -r1.41 |
22 |
--- ChangeLog 8 Feb 2007 07:14:04 -0000 1.40 |
23 |
+++ ChangeLog 18 Sep 2007 23:18:35 -0000 1.41 |
24 |
@@ -1,6 +1,13 @@ |
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.40 2007/02/08 07:14:04 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.41 2007/09/18 23:18:35 robbat2 Exp $ |
29 |
+ |
30 |
+*nss_ldap-257 (18 Sep 2007) |
31 |
+ |
32 |
+ 18 Sep 2007; Robin H. Johnson <robbat2@g.o> |
33 |
+ +files/nss_ldap-257-nss_max_group_depth.patch, +nss_ldap-257.ebuild: |
34 |
+ Version bump per bug #173383. Fixes SIGPIPE issue from bugs #166519, |
35 |
+ #162355. Includes bug #155492: nss_max_group_depth patch. |
36 |
|
37 |
08 Feb 2007; Robin H. Johnson <robbat2@g.o> metadata.xml: |
38 |
Note ldap-bugs mail alias. |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-auth/nss_ldap/nss_ldap-257.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-257.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-257.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nss_ldap-257.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/nss_ldap-257.ebuild,v 1.1 2007/09/18 23:18:35 robbat2 Exp $ |
52 |
|
53 |
inherit fixheadtails eutils multilib |
54 |
|
55 |
IUSE="debug sasl kerberos" |
56 |
|
57 |
DESCRIPTION="NSS LDAP Module" |
58 |
HOMEPAGE="http://www.padl.com/OSS/nss_ldap.html" |
59 |
SRC_URI="http://www.padl.com/download/${P}.tar.gz" |
60 |
|
61 |
SLOT="0" |
62 |
LICENSE="LGPL-2" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" |
64 |
|
65 |
DEPEND=">=net-nds/openldap-2.1.30-r5 |
66 |
sasl? ( dev-libs/cyrus-sasl ) |
67 |
kerberos? ( virtual/krb5 )" |
68 |
RDEPEND="${DEPEND} |
69 |
!<net-fs/autofs-4.1.3" |
70 |
|
71 |
src_unpack() { |
72 |
unpack ${A} |
73 |
cd ${S} |
74 |
epatch ${FILESDIR}/nsswitch.ldap.diff |
75 |
# Applied by upstream |
76 |
#epatch ${FILESDIR}/${PN}-239-tls-security-bug.patch |
77 |
epatch ${FILESDIR}/${PN}-249-sasl-compile.patch |
78 |
EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-252-reconnect-timeouts.patch |
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 |