Gentoo Archives: gentoo-commits

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