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