1 |
commit: 3b7e5f105cd5eda61a65220a067fd3d6f4c36030 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 25 08:55:30 2020 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 25 08:55:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b7e5f10 |
7 |
|
8 |
net-irc/unrealircd: remove 5.0.3.1 and 5.0.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> |
12 |
|
13 |
net-irc/unrealircd/Manifest | 2 - |
14 |
net-irc/unrealircd/unrealircd-5.0.3.1.ebuild | 168 -------------------------- |
15 |
net-irc/unrealircd/unrealircd-5.0.4.ebuild | 171 --------------------------- |
16 |
3 files changed, 341 deletions(-) |
17 |
|
18 |
diff --git a/net-irc/unrealircd/Manifest b/net-irc/unrealircd/Manifest |
19 |
index 099df45415a..6c7c0f474ff 100644 |
20 |
--- a/net-irc/unrealircd/Manifest |
21 |
+++ b/net-irc/unrealircd/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
DIST unrealircd-4.2.4.1.tar.gz 6090725 BLAKE2B 817a7c2a13a495944676d08ed90b36f6795fe43ee171efc6661980e6da9a8cc8d98c4fb0eb8221ac6af85ab1a9b5578a2e992d7b41696434430e58918bc30145 SHA512 752573c4af1f92a10739bb2b0cdaade1948207b46d28ae5177e1dfd6b0663044bc22dce5ffe8549882cd70325e3ef7e3296182fffbb84e08d59dbbdd6551a686 |
24 |
-DIST unrealircd-5.0.3.1.tar.gz 4902967 BLAKE2B d3c2e2399091b3aa9906583231d5ba42534234c4c40ce7412609fe8866438848bb69a4fc3cd378e0ed9ab13970ba2a7b27ba9fccdaaaea3585ec0a05aa5f89c2 SHA512 1bf3e2aab2f14d68a02ae6925d9e91135a92cf08886f703be0cd203c8b4b323bfc3930254d2bda381e60b3991f379115c954fa1fd262e28d7a27172a25bb172a |
25 |
-DIST unrealircd-5.0.4.tar.gz 4907069 BLAKE2B 223c45dbd060cf13afabafd13325bb76889fa64f663fff1be753de703df50265c6a05658edfe7300e97cf1431f54992b7e37801ef4773b02add9d5edca80237c SHA512 cdd83fa55bdf1960499fff48ba656b66cf5a1c43a360658bc37add217af36933f00280f7eaddcbbd39720058a401650b944a5f0ce79ae3ca6749bd58c9cd5241 |
26 |
DIST unrealircd-5.0.5.1.tar.gz 4957950 BLAKE2B 7e92f941662cec0a202589aecf372578e568559360761e17735d4637785ff737ec24c07593b666dd830b0fc1f36293a700693134c34ad32095839a73e7368677 SHA512 57272afa9b758c71522730a5a5a45819731271c02b25f6e0b9da30671d38ecfbc1adc0e91eef9dc4c1d67b2e1fa4fc9a09377152f2b0e3e97e8f7fe4f144288b |
27 |
|
28 |
diff --git a/net-irc/unrealircd/unrealircd-5.0.3.1.ebuild b/net-irc/unrealircd/unrealircd-5.0.3.1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 10fd8b75326..00000000000 |
31 |
--- a/net-irc/unrealircd/unrealircd-5.0.3.1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,168 +0,0 @@ |
34 |
-# Copyright 1999-2020 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-SSL_CERT_MANDATORY=1 |
40 |
-inherit ssl-cert |
41 |
- |
42 |
-DESCRIPTION="An advanced Internet Relay Chat daemon" |
43 |
-HOMEPAGE="https://www.unrealircd.org/" |
44 |
-SRC_URI="https://www.unrealircd.org/downloads/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="GPL-2" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux" |
49 |
-IUSE="class-nofakelag curl libressl +operoverride operoverride-verify +prefixaq showlistmodes" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- acct-group/unrealircd |
53 |
- acct-user/unrealircd |
54 |
- >=app-crypt/argon2-20171227-r1:= |
55 |
- dev-libs/libpcre2 |
56 |
- >=net-dns/c-ares-1.7:= |
57 |
- !libressl? ( dev-libs/openssl:0= ) |
58 |
- libressl? ( dev-libs/libressl:= ) |
59 |
- curl? ( net-misc/curl[adns] ) |
60 |
-" |
61 |
-DEPEND="${RDEPEND}" |
62 |
-BDEPEND="virtual/pkgconfig" |
63 |
- |
64 |
-DOCS=( doc/{Authors,Donation,RELEASE-NOTES.md,tao.of.irc,technical/,translations.txt} ) |
65 |
- |
66 |
-src_prepare() { |
67 |
- # QA check against bundled pkgs |
68 |
- rm -r extras || die |
69 |
- |
70 |
- # building third-party modules (which we don't do) cause a sandbox violation |
71 |
- # bug 704444 |
72 |
- echo "" > src/buildmod || die |
73 |
- |
74 |
- if use class-nofakelag; then |
75 |
- sed -i -e 's:#undef\( FAKELAG_CONFIGURABLE\):#define\1:' include/config.h || die |
76 |
- fi |
77 |
- |
78 |
- eapply_user |
79 |
-} |
80 |
- |
81 |
-src_configure() { |
82 |
- # Default value for privatelibdir adds a build path to -Wl,-rpath. |
83 |
- econf \ |
84 |
- --with-bindir="${EPREFIX}"/usr/bin \ |
85 |
- --with-cachedir="${EPREFIX}"/var/lib/${PN} \ |
86 |
- --with-confdir="${EPREFIX}"/etc/${PN} \ |
87 |
- --with-datadir="${EPREFIX}"/var/lib/${PN} \ |
88 |
- --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
89 |
- --with-logdir="${EPREFIX}"/var/log/${PN} \ |
90 |
- --with-modulesdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \ |
91 |
- --without-privatelibdir \ |
92 |
- --with-pidfile="${EPREFIX}"/run/${PN}/ircd.pid \ |
93 |
- --with-tmpdir="${EPREFIX}"/var/lib/${PN}/tmp \ |
94 |
- --with-maxconnections=1024 \ |
95 |
- --with-nick-history=2000 \ |
96 |
- --with-permissions=0640 \ |
97 |
- --with-system-argon2 \ |
98 |
- --with-system-cares \ |
99 |
- --with-system-pcre2 \ |
100 |
- --enable-dynamic-linking \ |
101 |
- --enable-ssl="${EPREFIX}"/usr \ |
102 |
- $(use_enable curl libcurl "${EPREFIX}"/usr) \ |
103 |
- $(use_enable prefixaq) \ |
104 |
- $(use_with showlistmodes) \ |
105 |
- $(use_with !operoverride no-operoverride) \ |
106 |
- $(use_with operoverride-verify) |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- keepdir /var/log/${PN} |
111 |
- keepdir /var/lib/${PN}/tmp |
112 |
- |
113 |
- newbin src/ircd ${PN} |
114 |
- |
115 |
- ( |
116 |
- cd src/modules || die |
117 |
- for subdir in $(find . -type d -print); do |
118 |
- if [[ -n $(shopt -s nullglob; echo ${subdir}/*.so) ]]; then |
119 |
- exeinto /usr/$(get_libdir)/${PN}/modules/"${subdir}" |
120 |
- doexe "${subdir}"/*.so |
121 |
- fi |
122 |
- done |
123 |
- ) |
124 |
- |
125 |
- insinto /etc/${PN} |
126 |
- # Purposefully omitting the examples/ and ssl/ subdirectories. ssl |
127 |
- # is redundant with app-misc/ca-certificates and examples will all |
128 |
- # be in docs anyway. |
129 |
- doins -r doc/conf/{aliases,help} |
130 |
- doins doc/conf/*.conf |
131 |
- newins doc/conf/examples/example.conf ${PN}.conf |
132 |
- keepdir /etc/${PN}/tls |
133 |
- |
134 |
- einstalldocs |
135 |
- |
136 |
- newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} |
137 |
- newconfd "${FILESDIR}"/${PN}.confd-r3 ${PN} |
138 |
- |
139 |
- # config should be read-only |
140 |
- fperms -R 0640 /etc/${PN} |
141 |
- fperms 0750 /etc/${PN}{,/aliases,/help} |
142 |
- fperms 0750 /etc/${PN}/tls |
143 |
- # state is editable but not owned by unrealircd directly |
144 |
- fperms 0770 /var/log/${PN} |
145 |
- fperms 0770 /var/lib/${PN}{,/tmp} |
146 |
- fowners -R root:unrealircd /{etc,var/{lib,log}}/${PN} |
147 |
- |
148 |
- # By default looks in /etc/unrealircd/ssl/curl-ca-bundle.crt. Fix |
149 |
- # that to look for ca-certificates-provided file instead. %s is |
150 |
- # CONFDIR. #618066 |
151 |
- dosym ../../ssl/certs/ca-certificates.crt /etc/${PN}/tls/curl-ca-bundle.crt |
152 |
-} |
153 |
- |
154 |
-pkg_postinst() { |
155 |
- # Move docert call from src_install() to install_cert in pkg_postinst for |
156 |
- # bug #201682 |
157 |
- if [[ ! -f "${EROOT}"/etc/${PN}/tls/server.cert.key ]]; then |
158 |
- if [[ -f "${EROOT}"/etc/${PN}/ssl/server.cert.key ]]; then |
159 |
- ewarn "The location ${PN} looks for SSL certificates has changed" |
160 |
- ewarn "from ${EROOT}/etc/${PN}/ssl to ${EROOT}/etc/${PN}/tls." |
161 |
- ewarn "Please move your existing certificates." |
162 |
- else |
163 |
- ( |
164 |
- umask 0037 |
165 |
- install_cert /etc/${PN}/tls/server.cert |
166 |
- chown unrealircd "${EROOT}"/etc/${PN}/tls/server.cert.* |
167 |
- ln -snf server.cert.key "${EROOT}"/etc/${PN}/tls/server.key.pem |
168 |
- ) |
169 |
- fi |
170 |
- fi |
171 |
- |
172 |
- local unrealircd_conf="${EROOT}"/etc/${PN}/${PN}.conf |
173 |
- # Fix up the default cloak keys. |
174 |
- if grep -qe '"and another one";$' "${unrealircd_conf}" && grep -qe '"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";$' "${unrealircd_conf}"; then |
175 |
- ebegin "Generating cloak-keys" |
176 |
- local keys=( |
177 |
- $(su ${PN} -s /bin/sh -c "${PN} -k 2>&1 | tail -n 3") |
178 |
- ) |
179 |
- [[ -n ${keys[0]} || -n ${keys[1]} || -n ${keys[2]} ]] |
180 |
- eend $? |
181 |
- |
182 |
- ebegin "Substituting cloak-keys into ${unrealircd_conf}" |
183 |
- sed -i \ |
184 |
- -e '/cloak-keys/ { |
185 |
-n |
186 |
-s/"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";/"'"${keys[0]}"'";/ |
187 |
-n |
188 |
-s/"and another one";/"'"${keys[1]}"'";/ |
189 |
-n |
190 |
-s/"and another one";/"'"${keys[2]}"'";/ |
191 |
-}' \ |
192 |
- "${unrealircd_conf}" |
193 |
- eend $? |
194 |
- fi |
195 |
- |
196 |
- elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" |
197 |
- elog |
198 |
- elog "You can also configure ${PN} start at boot with rc-update(1)." |
199 |
- elog "It is recommended to run unrealircd as an unprivileged user." |
200 |
- elog "The provided init.d script does this for you." |
201 |
-} |
202 |
|
203 |
diff --git a/net-irc/unrealircd/unrealircd-5.0.4.ebuild b/net-irc/unrealircd/unrealircd-5.0.4.ebuild |
204 |
deleted file mode 100644 |
205 |
index d2f7a8a96ec..00000000000 |
206 |
--- a/net-irc/unrealircd/unrealircd-5.0.4.ebuild |
207 |
+++ /dev/null |
208 |
@@ -1,171 +0,0 @@ |
209 |
-# Copyright 1999-2020 Gentoo Authors |
210 |
-# Distributed under the terms of the GNU General Public License v2 |
211 |
- |
212 |
-EAPI=7 |
213 |
- |
214 |
-SSL_CERT_MANDATORY=1 |
215 |
-inherit ssl-cert systemd |
216 |
- |
217 |
-DESCRIPTION="An advanced Internet Relay Chat daemon" |
218 |
-HOMEPAGE="https://www.unrealircd.org/" |
219 |
-SRC_URI="https://www.unrealircd.org/downloads/${P}.tar.gz" |
220 |
- |
221 |
-LICENSE="GPL-2" |
222 |
-SLOT="0" |
223 |
-KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux" |
224 |
-IUSE="class-nofakelag curl libressl +operoverride operoverride-verify +prefixaq showlistmodes" |
225 |
- |
226 |
-RDEPEND=" |
227 |
- acct-group/unrealircd |
228 |
- acct-user/unrealircd |
229 |
- >=app-crypt/argon2-20171227-r1:= |
230 |
- dev-libs/libpcre2 |
231 |
- >=net-dns/c-ares-1.7:= |
232 |
- !libressl? ( dev-libs/openssl:0= ) |
233 |
- libressl? ( dev-libs/libressl:= ) |
234 |
- curl? ( net-misc/curl[adns] ) |
235 |
-" |
236 |
-DEPEND="${RDEPEND}" |
237 |
-BDEPEND="virtual/pkgconfig" |
238 |
- |
239 |
-DOCS=( doc/{Authors,Donation,RELEASE-NOTES.md,tao.of.irc,technical/,translations.txt} ) |
240 |
- |
241 |
-src_prepare() { |
242 |
- # QA check against bundled pkgs |
243 |
- rm -r extras || die |
244 |
- |
245 |
- # building third-party modules (which we don't do) cause a sandbox violation |
246 |
- # bug 704444 |
247 |
- echo "" > src/buildmod || die |
248 |
- |
249 |
- if use class-nofakelag; then |
250 |
- sed -i -e 's:#undef\( FAKELAG_CONFIGURABLE\):#define\1:' include/config.h || die |
251 |
- fi |
252 |
- |
253 |
- eapply_user |
254 |
-} |
255 |
- |
256 |
-src_configure() { |
257 |
- # Default value for privatelibdir adds a build path to -Wl,-rpath. |
258 |
- econf \ |
259 |
- --with-bindir="${EPREFIX}"/usr/bin \ |
260 |
- --with-cachedir="${EPREFIX}"/var/lib/${PN} \ |
261 |
- --with-confdir="${EPREFIX}"/etc/${PN} \ |
262 |
- --with-datadir="${EPREFIX}"/var/lib/${PN} \ |
263 |
- --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
264 |
- --with-logdir="${EPREFIX}"/var/log/${PN} \ |
265 |
- --with-modulesdir="${EPREFIX}"/usr/"$(get_libdir)"/${PN}/modules \ |
266 |
- --without-privatelibdir \ |
267 |
- --with-pidfile="${EPREFIX}"/run/${PN}/ircd.pid \ |
268 |
- --with-tmpdir="${EPREFIX}"/var/lib/${PN}/tmp \ |
269 |
- --with-maxconnections=1024 \ |
270 |
- --with-nick-history=2000 \ |
271 |
- --with-permissions=0640 \ |
272 |
- --with-system-argon2 \ |
273 |
- --with-system-cares \ |
274 |
- --with-system-pcre2 \ |
275 |
- --enable-dynamic-linking \ |
276 |
- --enable-ssl="${EPREFIX}"/usr \ |
277 |
- $(use_enable curl libcurl "${EPREFIX}"/usr) \ |
278 |
- $(use_enable prefixaq) \ |
279 |
- $(use_with showlistmodes) \ |
280 |
- $(use_with !operoverride no-operoverride) \ |
281 |
- $(use_with operoverride-verify) |
282 |
-} |
283 |
- |
284 |
-src_install() { |
285 |
- keepdir /var/log/${PN} |
286 |
- keepdir /var/lib/${PN}/tmp |
287 |
- |
288 |
- newbin src/ircd ${PN} |
289 |
- |
290 |
- ( |
291 |
- cd src/modules || die |
292 |
- for subdir in $(find . -type d -print); do |
293 |
- if [[ -n $(shopt -s nullglob; echo ${subdir}/*.so) ]]; then |
294 |
- exeinto /usr/$(get_libdir)/${PN}/modules/"${subdir}" |
295 |
- doexe "${subdir}"/*.so |
296 |
- fi |
297 |
- done |
298 |
- ) |
299 |
- |
300 |
- insinto /etc/${PN} |
301 |
- # Purposefully omitting the examples/ and ssl/ subdirectories. ssl |
302 |
- # is redundant with app-misc/ca-certificates and examples will all |
303 |
- # be in docs anyway. |
304 |
- doins -r doc/conf/{aliases,help} |
305 |
- doins doc/conf/*.conf |
306 |
- newins doc/conf/examples/example.conf ${PN}.conf |
307 |
- keepdir /etc/${PN}/tls |
308 |
- |
309 |
- einstalldocs |
310 |
- |
311 |
- newinitd "${FILESDIR}"/${PN}.initd-r2 ${PN} |
312 |
- newconfd "${FILESDIR}"/${PN}.confd-r3 ${PN} |
313 |
- |
314 |
- # config should be read-only |
315 |
- fperms -R 0640 /etc/${PN} |
316 |
- fperms 0750 /etc/${PN}{,/aliases,/help} |
317 |
- fperms 0750 /etc/${PN}/tls |
318 |
- # state is editable but not owned by unrealircd directly |
319 |
- fperms 0770 /var/log/${PN} |
320 |
- fperms 0770 /var/lib/${PN}{,/tmp} |
321 |
- fowners -R root:unrealircd /{etc,var/{lib,log}}/${PN} |
322 |
- |
323 |
- # By default looks in /etc/unrealircd/ssl/curl-ca-bundle.crt. Fix |
324 |
- # that to look for ca-certificates-provided file instead. %s is |
325 |
- # CONFDIR. #618066 |
326 |
- dosym ../../ssl/certs/ca-certificates.crt /etc/${PN}/tls/curl-ca-bundle.crt |
327 |
- |
328 |
- insinto $(systemd_get_systemunitdir) |
329 |
- doins "${FILESDIR}"/${PN}.service |
330 |
-} |
331 |
- |
332 |
-pkg_postinst() { |
333 |
- # Move docert call from src_install() to install_cert in pkg_postinst for |
334 |
- # bug #201682 |
335 |
- if [[ ! -f "${EROOT}"/etc/${PN}/tls/server.cert.key ]]; then |
336 |
- if [[ -f "${EROOT}"/etc/${PN}/ssl/server.cert.key ]]; then |
337 |
- ewarn "The location ${PN} looks for SSL certificates has changed" |
338 |
- ewarn "from ${EROOT}/etc/${PN}/ssl to ${EROOT}/etc/${PN}/tls." |
339 |
- ewarn "Please move your existing certificates." |
340 |
- else |
341 |
- ( |
342 |
- umask 0037 |
343 |
- install_cert /etc/${PN}/tls/server.cert |
344 |
- chown unrealircd "${EROOT}"/etc/${PN}/tls/server.cert.* |
345 |
- ln -snf server.cert.key "${EROOT}"/etc/${PN}/tls/server.key.pem |
346 |
- ) |
347 |
- fi |
348 |
- fi |
349 |
- |
350 |
- local unrealircd_conf="${EROOT}"/etc/${PN}/${PN}.conf |
351 |
- # Fix up the default cloak keys. |
352 |
- if grep -qe '"and another one";$' "${unrealircd_conf}" && grep -qe '"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";$' "${unrealircd_conf}"; then |
353 |
- ebegin "Generating cloak-keys" |
354 |
- local keys=( |
355 |
- $(su ${PN} -s /bin/sh -c "${PN} -k 2>&1 | tail -n 3") |
356 |
- ) |
357 |
- [[ -n ${keys[0]} || -n ${keys[1]} || -n ${keys[2]} ]] |
358 |
- eend $? |
359 |
- |
360 |
- ebegin "Substituting cloak-keys into ${unrealircd_conf}" |
361 |
- sed -i \ |
362 |
- -e '/cloak-keys/ { |
363 |
-n |
364 |
-s/"aoAr1HnR6gl3sJ7hVz4Zb7x4YwpW";/"'"${keys[0]}"'";/ |
365 |
-n |
366 |
-s/"and another one";/"'"${keys[1]}"'";/ |
367 |
-n |
368 |
-s/"and another one";/"'"${keys[2]}"'";/ |
369 |
-}' \ |
370 |
- "${unrealircd_conf}" |
371 |
- eend $? |
372 |
- fi |
373 |
- |
374 |
- elog "UnrealIRCd will not run until you've set up /etc/unrealircd/unrealircd.conf" |
375 |
- elog |
376 |
- elog "You can also configure ${PN} start at boot with rc-update(1)." |
377 |
- elog "It is recommended to run unrealircd as an unprivileged user." |
378 |
- elog "The provided init.d script does this for you." |
379 |
-} |