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