1 |
binki 12/01/03 05:43:07 |
2 |
|
3 |
Modified: atheme-services-7.0.0_alpha9.ebuild |
4 |
atheme-services-6.0.9.ebuild ChangeLog metadata.xml |
5 |
Added: atheme-services-6.0.9-r1.ebuild |
6 |
Log: |
7 |
Add patch removing automagic dependence on sys-libs/cracklib, fixes bug #397401 reported by kensington. |
8 |
|
9 |
(Portage version: 2.2.0_alpha82-r1/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.3 net-irc/atheme-services/atheme-services-7.0.0_alpha9.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.0_alpha9.ebuild?rev=1.3&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.0_alpha9.ebuild?rev=1.3&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.0_alpha9.ebuild?r1=1.2&r2=1.3 |
17 |
|
18 |
Index: atheme-services-7.0.0_alpha9.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.0_alpha9.ebuild,v |
21 |
retrieving revision 1.2 |
22 |
retrieving revision 1.3 |
23 |
diff -u -r1.2 -r1.3 |
24 |
--- atheme-services-7.0.0_alpha9.ebuild 30 Dec 2011 22:42:37 -0000 1.2 |
25 |
+++ atheme-services-7.0.0_alpha9.ebuild 3 Jan 2012 05:43:07 -0000 1.3 |
26 |
@@ -1,6 +1,6 @@ |
27 |
-# Copyright 1999-2011 Gentoo Foundation |
28 |
+# Copyright 1999-2012 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.0_alpha9.ebuild,v 1.2 2011/12/30 22:42:37 binki Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.0_alpha9.ebuild,v 1.3 2012/01/03 05:43:07 binki Exp $ |
32 |
|
33 |
EAPI=4 |
34 |
|
35 |
@@ -15,9 +15,10 @@ |
36 |
LICENSE="BSD" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" |
39 |
-IUSE="largenet ldap nls +pcre perl profile ssl" |
40 |
+IUSE="cracklib largenet ldap nls +pcre perl profile ssl" |
41 |
|
42 |
RDEPEND=">=dev-libs/libmowgli-0.9.95 |
43 |
+ cracklib? ( sys-libs/cracklib ) |
44 |
ldap? ( net-nds/openldap ) |
45 |
nls? ( sys-devel/gettext ) |
46 |
perl? ( dev-lang/perl ) |
47 |
@@ -48,6 +49,7 @@ |
48 |
# The first PKG_CHECK_MODULES call is conditional, causing |
49 |
# PKG_PROG_PKG_CONFIG expansion to fail. |
50 |
epatch "${FILESDIR}"/${P}-pkg-config.patch |
51 |
+ epatch "${FILESDIR}"/${PN}-7.0.0_alpha11-cracklib-automagic.patch |
52 |
eautoconf |
53 |
|
54 |
# fix docdir |
55 |
@@ -73,6 +75,7 @@ |
56 |
--disable-warnings \ |
57 |
--enable-contrib \ |
58 |
$(use_enable largenet large-net) \ |
59 |
+ $(use_with cracklib) \ |
60 |
$(use_with ldap) \ |
61 |
$(use_with nls) \ |
62 |
$(use_enable profile) \ |
63 |
|
64 |
|
65 |
|
66 |
1.4 net-irc/atheme-services/atheme-services-6.0.9.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9.ebuild?rev=1.4&view=markup |
69 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9.ebuild?rev=1.4&content-type=text/plain |
70 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9.ebuild?r1=1.3&r2=1.4 |
71 |
|
72 |
Index: atheme-services-6.0.9.ebuild |
73 |
=================================================================== |
74 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9.ebuild,v |
75 |
retrieving revision 1.3 |
76 |
retrieving revision 1.4 |
77 |
diff -u -r1.3 -r1.4 |
78 |
--- atheme-services-6.0.9.ebuild 26 Dec 2011 14:42:27 -0000 1.3 |
79 |
+++ atheme-services-6.0.9.ebuild 3 Jan 2012 05:43:07 -0000 1.4 |
80 |
@@ -1,6 +1,6 @@ |
81 |
-# Copyright 1999-2011 Gentoo Foundation |
82 |
+# Copyright 1999-2012 Gentoo Foundation |
83 |
# Distributed under the terms of the GNU General Public License v2 |
84 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9.ebuild,v 1.3 2011/12/26 14:42:27 maekke Exp $ |
85 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9.ebuild,v 1.4 2012/01/03 05:43:07 binki Exp $ |
86 |
|
87 |
EAPI=4 |
88 |
|
89 |
@@ -16,6 +16,7 @@ |
90 |
IUSE="largenet ldap nls +pcre perl profile ssl" |
91 |
|
92 |
RDEPEND="dev-libs/libmowgli |
93 |
+ sys-libs/cracklib |
94 |
ldap? ( net-nds/openldap ) |
95 |
nls? ( sys-devel/gettext ) |
96 |
pcre? ( dev-libs/libpcre ) |
97 |
|
98 |
|
99 |
|
100 |
1.26 net-irc/atheme-services/ChangeLog |
101 |
|
102 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/ChangeLog?rev=1.26&view=markup |
103 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/ChangeLog?rev=1.26&content-type=text/plain |
104 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/ChangeLog?r1=1.25&r2=1.26 |
105 |
|
106 |
Index: ChangeLog |
107 |
=================================================================== |
108 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v |
109 |
retrieving revision 1.25 |
110 |
retrieving revision 1.26 |
111 |
diff -u -r1.25 -r1.26 |
112 |
--- ChangeLog 30 Dec 2011 22:47:37 -0000 1.25 |
113 |
+++ ChangeLog 3 Jan 2012 05:43:07 -0000 1.26 |
114 |
@@ -1,6 +1,16 @@ |
115 |
# ChangeLog for net-irc/atheme-services |
116 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
117 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.25 2011/12/30 22:47:37 binki Exp $ |
118 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
119 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.26 2012/01/03 05:43:07 binki Exp $ |
120 |
+ |
121 |
+*atheme-services-6.0.9-r1 (03 Jan 2012) |
122 |
+ |
123 |
+ 03 Jan 2012; Nathan Phillip Brink <binki@g.o> |
124 |
+ atheme-services-6.0.9.ebuild, +atheme-services-6.0.9-r1.ebuild, |
125 |
+ +files/atheme-services-6.0.9-cracklib-automagic.patch, |
126 |
+ atheme-services-7.0.0_alpha9.ebuild, |
127 |
+ +files/atheme-services-7.0.0_alpha11-cracklib-automagic.patch, metadata.xml: |
128 |
+ Add patch removing automagic dependence on sys-libs/cracklib, fixes bug |
129 |
+ #397401 reported by kensington. |
130 |
|
131 |
30 Dec 2011; Nathan Phillip Brink <binki@g.o> |
132 |
-atheme-services-6.0.8-r2.ebuild: |
133 |
|
134 |
|
135 |
|
136 |
1.5 net-irc/atheme-services/metadata.xml |
137 |
|
138 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/metadata.xml?rev=1.5&view=markup |
139 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/metadata.xml?rev=1.5&content-type=text/plain |
140 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/metadata.xml?r1=1.4&r2=1.5 |
141 |
|
142 |
Index: metadata.xml |
143 |
=================================================================== |
144 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/atheme-services/metadata.xml,v |
145 |
retrieving revision 1.4 |
146 |
retrieving revision 1.5 |
147 |
diff -u -r1.4 -r1.5 |
148 |
--- metadata.xml 21 Dec 2011 01:58:13 -0000 1.4 |
149 |
+++ metadata.xml 3 Jan 2012 05:43:07 -0000 1.5 |
150 |
@@ -11,7 +11,8 @@ |
151 |
<name>Jeff Horelick</name> |
152 |
<description>Co-maintainer</description> |
153 |
</maintainer> |
154 |
- <use> |
155 |
+ <use> |
156 |
+ <flag name='cracklib'>Enable nickserv/cracklib module for enforcing strong account passwords</flag> |
157 |
<flag name='largenet'>Enable support/tweaks for large networks</flag> |
158 |
<flag name='ldap'>Enable ldap-backed authentication module</flag> |
159 |
<flag name='perl'>Install a perl module which wraps around the services' XML-RPC interface</flag> |
160 |
|
161 |
|
162 |
|
163 |
1.1 net-irc/atheme-services/atheme-services-6.0.9-r1.ebuild |
164 |
|
165 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9-r1.ebuild?rev=1.1&view=markup |
166 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9-r1.ebuild?rev=1.1&content-type=text/plain |
167 |
|
168 |
Index: atheme-services-6.0.9-r1.ebuild |
169 |
=================================================================== |
170 |
# Copyright 1999-2012 Gentoo Foundation |
171 |
# Distributed under the terms of the GNU General Public License v2 |
172 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-6.0.9-r1.ebuild,v 1.1 2012/01/03 05:43:07 binki Exp $ |
173 |
|
174 |
EAPI=4 |
175 |
|
176 |
inherit autotools eutils flag-o-matic perl-module prefix |
177 |
|
178 |
DESCRIPTION="A portable and secure set of open-source and modular IRC services" |
179 |
HOMEPAGE="http://atheme.net/" |
180 |
SRC_URI="http://atheme.net/downloads/${P}.tar.bz2" |
181 |
|
182 |
LICENSE="BSD" |
183 |
SLOT="0" |
184 |
KEYWORDS="~amd64 ~sparc ~x86 ~x86-fbsd ~amd64-linux" |
185 |
IUSE="cracklib largenet ldap nls +pcre perl profile ssl" |
186 |
|
187 |
RDEPEND="dev-libs/libmowgli |
188 |
cracklib? ( sys-libs/cracklib ) |
189 |
ldap? ( net-nds/openldap ) |
190 |
nls? ( sys-devel/gettext ) |
191 |
pcre? ( dev-libs/libpcre ) |
192 |
ssl? ( dev-libs/openssl )" |
193 |
DEPEND="${RDEPEND} |
194 |
dev-util/pkgconfig" |
195 |
|
196 |
pkg_setup() { |
197 |
# the dependency calculation puts all of the .c files together and |
198 |
# overwhelms cc1 with this flag :-( |
199 |
filter-flags -combine |
200 |
|
201 |
if use profile; then |
202 |
# bug #371119 |
203 |
ewarn "USE=\"profile\" is incompatible with the hardened profile's -pie flag." |
204 |
ewarn "Disabling PIE. Please ignore any warning messages about -nopie being invalid." |
205 |
append-flags -nopie |
206 |
fi |
207 |
|
208 |
enewgroup ${PN} |
209 |
enewuser ${PN} -1 -1 /var/lib/atheme ${PN} |
210 |
} |
211 |
|
212 |
src_prepare() { |
213 |
epatch "${FILESDIR}"/${PN}-6.0.8-configure-disable.patch |
214 |
epatch "${FILESDIR}"/${P}-cracklib-automagic.patch |
215 |
eautoconf |
216 |
|
217 |
# fix docdir |
218 |
sed -i -e 's/\(^DOCDIR.*=.\)@DOCDIR@/\1@docdir@/' extra.mk.in || die |
219 |
|
220 |
# basic logging config directive fix |
221 |
sed -i -e '/^logfile/s;var/\(.*\.log\);'"${EPREFIX}"'/var/log/atheme/\1;g' dist/* || die |
222 |
|
223 |
# QA against bundled libs |
224 |
rm -rf libmowgli || die |
225 |
|
226 |
# Get useful information into build.log |
227 |
sed -i -e '/^\.SILENT:$/d' buildsys.mk.in || die |
228 |
} |
229 |
|
230 |
src_configure() { |
231 |
econf \ |
232 |
--sysconfdir="${EPREFIX}"/etc/${PN} \ |
233 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
234 |
--localstatedir="${EPREFIX}"/var \ |
235 |
--enable-fhs-paths \ |
236 |
--enable-contrib \ |
237 |
$(use_enable largenet large-net) \ |
238 |
$(use_with cracklib) \ |
239 |
$(use_with ldap) \ |
240 |
$(use_with nls) \ |
241 |
$(use_enable profile) \ |
242 |
$(use_with pcre) \ |
243 |
$(use_enable ssl) |
244 |
} |
245 |
|
246 |
src_install() { |
247 |
emake DESTDIR="${D}" install |
248 |
|
249 |
insinto /etc/${PN} |
250 |
for conf in dist/*.example; do |
251 |
# The .cron file isn't meant to live in /etc/${PN}, so only |
252 |
# install a .example version. |
253 |
[[ ${conf} == *cron* ]] && continue |
254 |
|
255 |
newins ${conf} $(basename ${conf} .example) |
256 |
done |
257 |
|
258 |
fowners -R 0:${PN} /etc/${PN} |
259 |
keepdir /var/{lib,log}/atheme |
260 |
fowners ${PN}:${PN} /var/{lib,log,run}/atheme |
261 |
fperms -R go-w,o-rx /etc/${PN} |
262 |
fperms 750 /etc/${PN} /var/{lib,log,run}/atheme |
263 |
|
264 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
265 |
|
266 |
# contributed scripts and such: |
267 |
insinto /usr/share/doc/${PF}/contrib |
268 |
doins contrib/*.{c,pl,php,py,rb} |
269 |
|
270 |
if use perl; then |
271 |
perlinfo |
272 |
insinto "${VENDOR_LIB#${EPREFIX}}" |
273 |
doins -r contrib/Atheme{,.pm} |
274 |
fi |
275 |
} |