1 |
robbat2 09/07/28 18:45:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nss_ldap-264.ebuild |
5 |
Log: |
6 |
Version bump. Bug #214750 - fix automagic deps on kerberos, ssl, sasl. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.58 sys-auth/nss_ldap/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.58&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?rev=1.58&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/ChangeLog?r1=1.57&r2=1.58 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v |
19 |
retrieving revision 1.57 |
20 |
retrieving revision 1.58 |
21 |
diff -p -w -b -B -u -u -r1.57 -r1.58 |
22 |
--- ChangeLog 28 Jul 2009 16:49:56 -0000 1.57 |
23 |
+++ ChangeLog 28 Jul 2009 18:45:51 -0000 1.58 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-auth/nss_ldap |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.57 2009/07/28 16:49:56 robbat2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss_ldap/ChangeLog,v 1.58 2009/07/28 18:45:51 robbat2 Exp $ |
29 |
+ |
30 |
+*nss_ldap-264 (28 Jul 2009) |
31 |
+ |
32 |
+ 28 Jul 2009; Robin H. Johnson <robbat2@g.o> +nss_ldap-264.ebuild, |
33 |
+ +files/nss_ldap-264-disable-automagic.patch: |
34 |
+ Version bump. Bug #214750 - fix automagic deps on kerberos, ssl, sasl. |
35 |
|
36 |
28 Jul 2009; Robin H. Johnson <robbat2@g.o> |
37 |
-nss_ldap-239-r1.ebuild, -nss_ldap-249.ebuild, -nss_ldap-250.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-auth/nss_ldap/nss_ldap-264.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-264.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss_ldap/nss_ldap-264.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nss_ldap-264.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 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-264.ebuild,v 1.1 2009/07/28 18:45:51 robbat2 Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
inherit fixheadtails eutils multilib autotools |
54 |
|
55 |
IUSE="debug ssl 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 ~ia64 ~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 |
ssl? ( dev-libs/openssl )" |
69 |
RDEPEND="${DEPEND} |
70 |
!<net-fs/autofs-4.1.3" |
71 |
|
72 |
src_prepare() { |
73 |
cd "${S}" |
74 |
|
75 |
epatch "${FILESDIR}"/nsswitch.ldap.diff |
76 |
|
77 |
# Applied by upstream |
78 |
#epatch "${FILESDIR}"/${PN}-239-tls-security-bug.patch |
79 |
|
80 |
epatch "${FILESDIR}"/${PN}-249-sasl-compile.patch |
81 |
|
82 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-252-reconnect-timeouts.patch |
83 |
|
84 |
# Applied by upstream |
85 |
#EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-254-nss_getgrent_skipmembers.patch |
86 |
|
87 |
EPATCH_OPTS="-p1 -d ${S}" epatch "${FILESDIR}"/${PN}-257-nss_max_group_depth.patch |
88 |
|
89 |
sed -i.orig \ |
90 |
-e '/^ @(#)\$Id: ldap.conf,v/s,^,#,' \ |
91 |
"${S}"/ldap.conf || die "failed to clean up initial version marker" |
92 |
|
93 |
# fix head/tail stuff |
94 |
ht_fix_file "${S}"/Makefile.am "${S}"/Makefile.in "${S}"/depcomp |
95 |
|
96 |
# fix build borkage |
97 |
for i in Makefile.{in,am}; do |
98 |
sed -i.orig \ |
99 |
-e '/^install-exec-local: nss_ldap.so/s,nss_ldap.so,,g' \ |
100 |
"${S}"/$i |
101 |
done |
102 |
|
103 |
epatch "${FILESDIR}"/${PN}-257.2-gssapi-headers.patch |
104 |
|
105 |
# Bug #214750, no automagic deps |
106 |
epatch "${FILESDIR}"/${PN}-264-disable-automagic.patch |
107 |
|
108 |
# Upstream forgets the version number sometimes |
109 |
#sed -i \ |
110 |
# -e "/^AM_INIT_AUTOMAKE/s~2..~$PV~" \ |
111 |
# "${S}"/configure.in |
112 |
|
113 |
eautoreconf |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
local myconf="" |
118 |
use debug && myconf="${myconf} --enable-debugging" |
119 |
use kerberos && myconf="${myconf} --enable-configurable-krb5-ccname-gssapi" |
120 |
# --enable-schema-mapping \ |
121 |
econf \ |
122 |
--with-ldap-lib=openldap \ |
123 |
--libdir=/$(get_libdir) \ |
124 |
--enable-paged-results \ |
125 |
--enable-rfc2307bis \ |
126 |
$(use_enable ssl) \ |
127 |
$(use_enable sasl) \ |
128 |
$(use_enable kerberos krb) \ |
129 |
${myconf} || die "configure failed" |
130 |
} |
131 |
|
132 |
src_install() { |
133 |
dodir /$(get_libdir) |
134 |
|
135 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
136 |
|
137 |
insinto /etc |
138 |
doins ldap.conf |
139 |
|
140 |
dodoc ldap.conf ANNOUNCE NEWS ChangeLog AUTHORS \ |
141 |
COPYING CVSVersionInfo.txt README nsswitch.ldap certutil |
142 |
docinto docs; dodoc doc/* |
143 |
} |
144 |
|
145 |
pkg_postinst() { |
146 |
elog "If you use a ldaps:// string in the 'uri' setting of" |
147 |
elog "your /etc/ldap.conf, you must set 'ssl on'!" |
148 |
} |