1 |
jdhore 12/04/27 21:03:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: atheme-services-7.0.1.ebuild |
5 |
Log: |
6 |
Version bump to 7.0.1 |
7 |
|
8 |
(Portage version: 2.2.0_alpha101/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.41 net-irc/atheme-services/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/ChangeLog?rev=1.41&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/ChangeLog?rev=1.41&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/ChangeLog?r1=1.40&r2=1.41 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v |
20 |
retrieving revision 1.40 |
21 |
retrieving revision 1.41 |
22 |
diff -u -r1.40 -r1.41 |
23 |
--- ChangeLog 20 Apr 2012 02:41:42 -0000 1.40 |
24 |
+++ ChangeLog 27 Apr 2012 21:03:09 -0000 1.41 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-irc/atheme-services |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.40 2012/04/20 02:41:42 jdhore Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/ChangeLog,v 1.41 2012/04/27 21:03:09 jdhore Exp $ |
30 |
+ |
31 |
+*atheme-services-7.0.1 (27 Apr 2012) |
32 |
+ |
33 |
+ 27 Apr 2012; Jeff Horelick <jdhore@g.o> +atheme-services-7.0.1.ebuild: |
34 |
+ Version bump to 7.0.1 |
35 |
|
36 |
*atheme-services-7.0.0 (20 Apr 2012) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-irc/atheme-services/atheme-services-7.0.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: atheme-services-7.0.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/atheme-services/atheme-services-7.0.1.ebuild,v 1.1 2012/04/27 21:03:09 jdhore Exp $ |
51 |
|
52 |
EAPI=4 |
53 |
|
54 |
inherit eutils flag-o-matic perl-module |
55 |
|
56 |
DESCRIPTION="A portable and secure set of open-source and modular IRC services" |
57 |
HOMEPAGE="http://atheme.net/" |
58 |
SRC_URI="http://atheme.net/downloads/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="BSD" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux" |
63 |
IUSE="cracklib largenet ldap nls +pcre perl profile ssl" |
64 |
|
65 |
RDEPEND=">=dev-libs/libmowgli-2.0.0:2 |
66 |
cracklib? ( sys-libs/cracklib ) |
67 |
ldap? ( net-nds/openldap ) |
68 |
nls? ( sys-devel/gettext ) |
69 |
perl? ( dev-lang/perl ) |
70 |
pcre? ( dev-libs/libpcre ) |
71 |
ssl? ( dev-libs/openssl )" |
72 |
DEPEND="${RDEPEND} |
73 |
dev-util/pkgconfig" |
74 |
|
75 |
pkg_setup() { |
76 |
# the dependency calculation puts all of the .c files together and |
77 |
# overwhelms cc1 with this flag :-( |
78 |
filter-flags -combine |
79 |
|
80 |
if use profile; then |
81 |
# bug #371119 |
82 |
ewarn "USE=\"profile\" is incompatible with the hardened profile's -pie flag." |
83 |
ewarn "Disabling PIE. Please ignore any warning messages about -nopie being invalid." |
84 |
append-flags -nopie |
85 |
fi |
86 |
|
87 |
enewgroup ${PN} |
88 |
enewuser ${PN} -1 -1 /var/lib/atheme ${PN} |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
# fix docdir |
93 |
sed -i -e 's/\(^DOCDIR.*=.\)@DOCDIR@/\1@docdir@/' extra.mk.in || die |
94 |
|
95 |
# basic logging config directive fix |
96 |
sed -i -e '/^logfile/s;var/\(.*\.log\);'"${EPREFIX}"'/var/log/atheme/\1;g' dist/* || die |
97 |
|
98 |
# QA against bundled libs |
99 |
rm -rf libmowgli-2 || die |
100 |
} |
101 |
|
102 |
src_configure() { |
103 |
# perl scriping module support is also broken in 7.0.0. Yay for QA failures. |
104 |
econf \ |
105 |
atheme_cv_c_gcc_w_error_implicit_function_declaration=no \ |
106 |
--sysconfdir="${EPREFIX}"/etc/${PN} \ |
107 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
108 |
--localstatedir="${EPREFIX}"/var \ |
109 |
--enable-fhs-paths \ |
110 |
--disable-warnings \ |
111 |
--enable-contrib \ |
112 |
$(use_enable largenet large-net) \ |
113 |
$(use_with cracklib) \ |
114 |
$(use_with ldap) \ |
115 |
$(use_with nls) \ |
116 |
$(use_enable profile) \ |
117 |
$(use_with pcre) \ |
118 |
$(use_with perl) \ |
119 |
$(use_enable ssl) |
120 |
} |
121 |
|
122 |
src_compile() { |
123 |
emake V=1 |
124 |
} |
125 |
|
126 |
src_install() { |
127 |
emake DESTDIR="${D}" install |
128 |
|
129 |
insinto /etc/${PN} |
130 |
for conf in dist/*.example; do |
131 |
# The .cron file isn't meant to live in /etc/${PN}, so only |
132 |
# install a .example version. |
133 |
[[ ${conf} == *cron* ]] && continue |
134 |
|
135 |
newins ${conf} $(basename ${conf} .example) |
136 |
done |
137 |
|
138 |
fowners -R 0:${PN} /etc/${PN} |
139 |
keepdir /var/{lib,log}/atheme |
140 |
fowners ${PN}:${PN} /var/{lib,log,run}/atheme |
141 |
fperms -R go-w,o-rx /etc/${PN} |
142 |
fperms 750 /etc/${PN} /var/{lib,log,run}/atheme |
143 |
|
144 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
145 |
mv "${ED}"/usr/bin/{,atheme-}dbverify || die |
146 |
|
147 |
# contributed scripts and such: |
148 |
insinto /usr/share/doc/${PF}/contrib |
149 |
doins contrib/*.{c,pl,php,py,rb} |
150 |
|
151 |
if use perl; then |
152 |
perlinfo |
153 |
insinto "${VENDOR_LIB#${EPREFIX}}" |
154 |
doins -r contrib/Atheme{,.pm} |
155 |
fi |
156 |
} |