1 |
jdhore 12/12/31 22:26:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: charybdis-3.4.2.ebuild |
5 |
Removed: charybdis-3.4.1.ebuild |
6 |
Log: |
7 |
Version bump (and remove old) due to security advisory ASA-2012-12-31 |
8 |
|
9 |
(Portage version: 2.2.0_alpha149/cvs/Linux i686, signed Manifest commit with key 23E9E900) |
10 |
|
11 |
Revision Changes Path |
12 |
1.19 net-irc/charybdis/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/charybdis/ChangeLog?rev=1.19&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/charybdis/ChangeLog?rev=1.19&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/charybdis/ChangeLog?r1=1.18&r2=1.19 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-irc/charybdis/ChangeLog,v |
21 |
retrieving revision 1.18 |
22 |
retrieving revision 1.19 |
23 |
diff -u -r1.18 -r1.19 |
24 |
--- ChangeLog 25 Nov 2012 16:00:55 -0000 1.18 |
25 |
+++ ChangeLog 31 Dec 2012 22:26:58 -0000 1.19 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-irc/charybdis |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/ChangeLog,v 1.18 2012/11/25 16:00:55 jdhore Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/ChangeLog,v 1.19 2012/12/31 22:26:58 jdhore Exp $ |
31 |
+ |
32 |
+*charybdis-3.4.2 (31 Dec 2012) |
33 |
+ |
34 |
+ 31 Dec 2012; Jeff Horelick <jdhore@g.o> +charybdis-3.4.2.ebuild, |
35 |
+ -charybdis-3.4.1.ebuild: |
36 |
+ Version bump (and remove old) due to security advisory ASA-2012-12-31 |
37 |
|
38 |
25 Nov 2012; Jeff Horelick <jdhore@g.o> |
39 |
-files/charybdis-3.4.0-testline-crash-fix.patch, charybdis-3.4.1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-irc/charybdis/charybdis-3.4.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/charybdis/charybdis-3.4.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/charybdis/charybdis-3.4.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: charybdis-3.4.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-irc/charybdis/charybdis-3.4.2.ebuild,v 1.1 2012/12/31 22:26:58 jdhore Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
inherit eutils multilib user |
57 |
|
58 |
DESCRIPTION="The atheme project's IRCd based on ratbox" |
59 |
HOMEPAGE="http://atheme.org/project/charybdis http://www.stack.nl/~jilles/irc/#charybdis" |
60 |
SRC_URI="http://www.stack.nl/~jilles/irc/${P}.tbz2" |
61 |
LICENSE="GPL-2" |
62 |
|
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="debug +ipv6 largenet ssl zlib" |
66 |
|
67 |
RDEPEND="ssl? ( dev-libs/openssl ) |
68 |
zlib? ( sys-libs/zlib )" |
69 |
DEPEND="${RDEPEND} |
70 |
virtual/yacc |
71 |
sys-devel/flex" |
72 |
|
73 |
pkg_setup() { |
74 |
enewgroup ${PN} |
75 |
enewuser ${PN} -1 -1 "${EPREFIX}"/usr ${PN} |
76 |
} |
77 |
|
78 |
src_prepare() { |
79 |
# Fill the example configuration file with proper paths. |
80 |
sed -i \ |
81 |
-e "s:path =.*modules:path = \"$(get_libdir)/${PN}/modules:g" \ |
82 |
-e "s:etc/:../etc/${PN}/:g" \ |
83 |
-e "s:logs/:../var/log/charybdis/:g" \ |
84 |
-e "s:test\.\(cert\|key\):ssl.\1:g" \ |
85 |
doc/example.conf \ |
86 |
doc/reference.conf \ |
87 |
|| die |
88 |
} |
89 |
|
90 |
src_configure() { |
91 |
econf \ |
92 |
ac_cv_prog_cc_g=no \ |
93 |
--disable-gnutls \ |
94 |
$(use_enable debug assert soft) \ |
95 |
$(use_enable debug iodebug) \ |
96 |
$(use_enable ipv6) \ |
97 |
$(use_enable !largenet small-net) \ |
98 |
$(use_enable ssl openssl) \ |
99 |
$(use_enable zlib) \ |
100 |
--with-program-prefix=charybdis- \ |
101 |
\ |
102 |
--enable-fhs-paths \ |
103 |
--sysconfdir="${EPREFIX}"/etc/${PN} \ |
104 |
--libdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN} \ |
105 |
--with-logdir="${EPREFIX}"/var/log/${PN} \ |
106 |
--with-moduledir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \ |
107 |
--with-rundir="${EPREFIX}"/var/run |
108 |
} |
109 |
|
110 |
src_install() { |
111 |
default |
112 |
|
113 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
114 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
115 |
|
116 |
insinto etc/${PN} |
117 |
newins doc/reference.conf ircd.conf |
118 |
|
119 |
keepdir var/{lib,log}/${PN} |
120 |
|
121 |
# Ensure that if `make install' created /var/run/${PN}, we still |
122 |
# force the initscript to create that directory. |
123 |
rm -rf "${D}"/var/run || die |
124 |
|
125 |
# charybdis ircd needs writing to its state (bandb) and log directories |
126 |
fowners :charybdis /var/{lib,log}/${PN} |
127 |
fperms 770 /var/{lib,log}/${PN} |
128 |
|
129 |
# ensure that charybdis can access but not modify its configuration |
130 |
# while protecting it from others |
131 |
fowners :charybdis /etc/${PN}{,/ircd.conf} |
132 |
fperms 750 /etc/${PN} |
133 |
fperms 640 /etc/${PN}/ircd.conf |
134 |
} |
135 |
|
136 |
pkg_postinst() { |
137 |
elog "All of the charybdis binaries in PATH have been prefixed with" |
138 |
elog "'charybdis-' to prevent file collisions." |
139 |
} |