1 |
commit: 32b08650cb9978cfac955ab232858feea15e1a6b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 9 07:20:53 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 07:21:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b08650 |
7 |
|
8 |
www-servers/cherokee: Remove last-rited pkg |
9 |
|
10 |
Bug: https://bugs.gentoo.org/715204 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
profiles/package.mask | 8 - |
14 |
www-servers/cherokee/Manifest | 1 - |
15 |
www-servers/cherokee/cherokee-1.2.104-r2.ebuild | 197 --------------------- |
16 |
.../cherokee/files/cherokee-1.2.99-gentoo.patch | 38 ---- |
17 |
www-servers/cherokee/files/cherokee-confd-1.2.98 | 4 - |
18 |
www-servers/cherokee/files/cherokee-initd-1.2.99 | 67 ------- |
19 |
www-servers/cherokee/files/cherokee.logrotate-r1 | 10 -- |
20 |
www-servers/cherokee/files/cherokee.service | 10 -- |
21 |
www-servers/cherokee/metadata.xml | 15 -- |
22 |
9 files changed, 350 deletions(-) |
23 |
|
24 |
diff --git a/profiles/package.mask b/profiles/package.mask |
25 |
index 83f88f3f70b..a4e8ad25bcc 100644 |
26 |
--- a/profiles/package.mask |
27 |
+++ b/profiles/package.mask |
28 |
@@ -540,14 +540,6 @@ sys-fs/owfs |
29 |
# Backport of a module included in Python >= 3.3. |
30 |
dev-python/backports-unittest-mock |
31 |
|
32 |
-# Michał Górny <mgorny@g.o> (2020-09-09) |
33 |
-# Multiple unresolved vulnerabilities. Last release in 2013 (but has |
34 |
-# some activity in git). Not touched by maintainer since 2015. Stuck |
35 |
-# on Python 2 (bug #735522) with incorrect eclass usage (bug #710258). |
36 |
-# Apparently broken with openssl-1.1 (bug #674246). |
37 |
-# Removal in 30 days. Bug #715204. |
38 |
-www-servers/cherokee |
39 |
- |
40 |
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@×××××.com> (2020-09-01) |
41 |
# Mismatched version (bug #695022). Masked to force upgrade to 2.0.4_pre20200306162733. |
42 |
# (Mask should remain after ebuilds are deleted, until 2021-03-01 or |
43 |
|
44 |
diff --git a/www-servers/cherokee/Manifest b/www-servers/cherokee/Manifest |
45 |
deleted file mode 100644 |
46 |
index 4b45671aef7..00000000000 |
47 |
--- a/www-servers/cherokee/Manifest |
48 |
+++ /dev/null |
49 |
@@ -1 +0,0 @@ |
50 |
-DIST cherokee-1.2.104.zip 6200164 BLAKE2B 55ff5b5475c478078727ec072da4f1205209701b972efa420fbee4133cb83cf2ebd4a0f49165e4653c4a6b6f9e0f6ef633258e6ee4732d998b19863e99e6e2f2 SHA512 9c9f44643d0d2636f2e3e61ef8e2918d91d9bb6099be761826c8ffad01d339739ed40984d01151044c2e536d4754b5157d6d20c37627ce49eecdb404a716cd9d |
51 |
|
52 |
diff --git a/www-servers/cherokee/cherokee-1.2.104-r2.ebuild b/www-servers/cherokee/cherokee-1.2.104-r2.ebuild |
53 |
deleted file mode 100644 |
54 |
index 431f42db0e9..00000000000 |
55 |
--- a/www-servers/cherokee/cherokee-1.2.104-r2.ebuild |
56 |
+++ /dev/null |
57 |
@@ -1,197 +0,0 @@ |
58 |
-# Copyright 1999-2020 Gentoo Authors |
59 |
-# Distributed under the terms of the GNU General Public License v2 |
60 |
- |
61 |
-EAPI=7 |
62 |
- |
63 |
-WANT_AUTOMAKE="1.11" |
64 |
- |
65 |
-PYTHON_COMPAT=( python2_7 ) |
66 |
- |
67 |
-inherit autotools python-r1 pam systemd user |
68 |
- |
69 |
-DESCRIPTION="An extremely fast and tiny web server" |
70 |
-SRC_URI="https://github.com/cherokee/webserver/archive/v${PV}.zip -> ${P}.zip" |
71 |
-HOMEPAGE="https://www.cherokee-project.com/" |
72 |
- |
73 |
-LICENSE="GPL-2" |
74 |
-SLOT="0" |
75 |
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
76 |
-IUSE="admin ffmpeg debug geoip ipv6 kernel_linux ldap libressl mysql nls pam php rrdtool ssl static static-libs" |
77 |
-RDEPEND="" |
78 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
79 |
- |
80 |
-COMMON_DEPEND=" |
81 |
- ${PYTHON_DEPS} |
82 |
- dev-libs/libpcre |
83 |
- >=sys-libs/zlib-1.1.4-r1 |
84 |
- ffmpeg? ( media-video/ffmpeg ) |
85 |
- geoip? ( dev-libs/geoip ) |
86 |
- ldap? ( net-nds/openldap ) |
87 |
- mysql? ( dev-db/mysql-connector-c:0= ) |
88 |
- nls? ( virtual/libintl ) |
89 |
- pam? ( sys-libs/pam ) |
90 |
- php? ( || ( |
91 |
- dev-lang/php:*[fpm] |
92 |
- dev-lang/php:*[cgi] |
93 |
- ) ) |
94 |
- ssl? ( |
95 |
- !libressl? ( <dev-libs/openssl-1.1.0:0= ) |
96 |
- libressl? ( dev-libs/libressl:0= ) |
97 |
- ) |
98 |
- " |
99 |
-DEPEND="${COMMON_DEPEND} |
100 |
- nls? ( sys-devel/gettext )" |
101 |
-RDEPEND="${COMMON_DEPEND} |
102 |
- rrdtool? ( net-analyzer/rrdtool )" |
103 |
-BDEPEND="app-arch/unzip" |
104 |
- |
105 |
-RESTRICT="test" |
106 |
- |
107 |
-WEBROOT="/var/www/localhost" |
108 |
- |
109 |
-PATCHES=( "${FILESDIR}/${PN}-1.2.99-gentoo.patch" ) |
110 |
-S="${WORKDIR}/webserver-${PV}" |
111 |
- |
112 |
-pkg_setup() { |
113 |
- enewgroup cherokee |
114 |
- enewuser cherokee -1 -1 /var/www cherokee |
115 |
-} |
116 |
- |
117 |
-src_prepare() { |
118 |
- python_setup |
119 |
- default |
120 |
- |
121 |
- "${S}/po/admin/generate_POTFILESin.py" > po/admin/POTFILES.in |
122 |
- eautoreconf |
123 |
-} |
124 |
- |
125 |
-src_configure() { |
126 |
- local myconf |
127 |
- |
128 |
- if use admin ; then |
129 |
- myconf="${myconf} --enable-admin --with-python=/usr/bin/python" |
130 |
- else |
131 |
- myconf="${myconf} --disable-admin" |
132 |
- fi |
133 |
- |
134 |
- # Uses autodetect because --with-php requires path to php-{fpm,cgi}. |
135 |
- if ! use php ; then |
136 |
- myconf="${myconf} --without-php" |
137 |
- fi |
138 |
- |
139 |
- if use static ; then |
140 |
- myconf="${myconf} --enable-static-module=all" |
141 |
- fi |
142 |
- |
143 |
- local os="Unknown" |
144 |
- case "${CHOST}" in |
145 |
- *-freebsd*) |
146 |
- os="FreeBSD" ;; |
147 |
- *-netbsd*) |
148 |
- os="NetBSD" ;; |
149 |
- *-openbsd*) |
150 |
- os="OpenBSD" ;; |
151 |
- *) |
152 |
- os="Linux" ;; |
153 |
- esac |
154 |
- |
155 |
- econf \ |
156 |
- $(use_enable debug trace) \ |
157 |
- $(use_enable debug backtraces) \ |
158 |
- $(use_enable ipv6) \ |
159 |
- $(use_enable kernel_linux epoll) \ |
160 |
- $(use_enable nls) \ |
161 |
- $(use_enable pam) \ |
162 |
- $(use_enable static-libs static) \ |
163 |
- $(use_with ffmpeg) \ |
164 |
- $(use_with geoip) \ |
165 |
- $(use_with ldap) \ |
166 |
- $(use_with mysql) \ |
167 |
- $(use_with ssl libssl) \ |
168 |
- --docdir="${EPREFIX}/usr/share/doc/${PF}/html" \ |
169 |
- --enable-os-string="Gentoo ${os}" \ |
170 |
- --enable-tmpdir="${EPREFIX}/var/tmp" \ |
171 |
- --localstatedir="${EPREFIX}/var" \ |
172 |
- --with-wwwroot="${EPREFIX}${WEBROOT}/htdocs" \ |
173 |
- --with-cgiroot="${EPREFIX}${WEBROOT}/cgi-bin" \ |
174 |
- --with-wwwuser=cherokee \ |
175 |
- --with-wwwgroup=cherokee \ |
176 |
- ${myconf} |
177 |
-} |
178 |
- |
179 |
-src_install() { |
180 |
- default |
181 |
- |
182 |
- if ! use static-libs ; then |
183 |
- find "${ED}" -name '*.la' -delete || die |
184 |
- elif ! use static ; then |
185 |
- find "${ED}/usr/$(get_libdir)/cherokee" '(' -name '*.la' -o -name '*.a' ')' -delete || die |
186 |
- fi |
187 |
- |
188 |
- dodoc AUTHORS NEWS README.rst |
189 |
- |
190 |
- if use pam ; then |
191 |
- pamd_mimic system-auth cherokee auth account session || die |
192 |
- fi |
193 |
- |
194 |
- newinitd "${FILESDIR}/${PN}-initd-1.2.99" ${PN} |
195 |
- newconfd "${FILESDIR}/${PN}-confd-1.2.98" ${PN} |
196 |
- |
197 |
- if ! use admin ; then |
198 |
- rm -r \ |
199 |
- "${ED}"/usr/bin/cherokee-admin-launcher \ |
200 |
- "${ED}"/usr/bin/CTK-run \ |
201 |
- "${ED}"/usr/sbin/cherokee-admin \ |
202 |
- "${ED}"/usr/share/cherokee/admin || die |
203 |
- fi |
204 |
- |
205 |
- exeinto /usr/share/doc/${PF}/contrib |
206 |
- doexe contrib/{bin2buffer.py,make-cert.sh,make-dh_params.sh,tracelor.py} |
207 |
- |
208 |
- #move the htdocs to docdir, bug #429632 |
209 |
- docompress -x /usr/share/doc/"${PF}"/htdocs.dist |
210 |
- mv "${ED}"${WEBROOT}/htdocs \ |
211 |
- "${ED}"/usr/share/doc/"${PF}"/htdocs.dist |
212 |
- mkdir "${ED}"${WEBROOT}/htdocs |
213 |
- |
214 |
- keepdir \ |
215 |
- "${WEBROOT}"/htdocs \ |
216 |
- /var/log/cherokee \ |
217 |
- /var/lib/cherokee/graphs/images |
218 |
- fowners cherokee:cherokee \ |
219 |
- /var/log/cherokee \ |
220 |
- /var/lib/cherokee/graphs \ |
221 |
- /var/lib/cherokee/graphs/images |
222 |
- |
223 |
- # logrotate |
224 |
- insinto /etc/logrotate.d |
225 |
- newins "${FILESDIR}"/${PN}.logrotate-r1 ${PN} |
226 |
- |
227 |
- systemd_dounit "${FILESDIR}"/cherokee.service |
228 |
- |
229 |
- # Fix QA error - not important if it fails |
230 |
- rmdir "${ED}"/var/run |
231 |
-} |
232 |
- |
233 |
-pkg_postinst() { |
234 |
- elog |
235 |
- if use admin ; then |
236 |
- elog "Just run '/usr/sbin/cherokee-admin' and go to: http://localhost:9090" |
237 |
- elog |
238 |
- elog "Cherokee currently supports configuration versioning, so from now on," |
239 |
- elog "whenever a change is made to the configuration file format," |
240 |
- elog "Cherokee-Admin will be able to automatically convert yours to the new" |
241 |
- elog "release. You simply have to load Cherokee-Admin and it will be converted" |
242 |
- elog "once you proceed to saving it." |
243 |
- elog |
244 |
- elog "There is also a command line utility that you can use to do the exact" |
245 |
- elog "same thing. Config format can change in different versions. It is" |
246 |
- elog "provided under:" |
247 |
- elog " ${EPREFIX}/usr/share/cherokee/admin/upgrade_config.py" |
248 |
- else |
249 |
- elog "Try USE=admin if you want an easy way to configure cherokee." |
250 |
- fi |
251 |
- elog |
252 |
- elog "emerge www-servers/spawn-fcgi if you use Ruby on Rails with ${PN}." |
253 |
- elog |
254 |
-} |
255 |
|
256 |
diff --git a/www-servers/cherokee/files/cherokee-1.2.99-gentoo.patch b/www-servers/cherokee/files/cherokee-1.2.99-gentoo.patch |
257 |
deleted file mode 100644 |
258 |
index d55a5a2a82c..00000000000 |
259 |
--- a/www-servers/cherokee/files/cherokee-1.2.99-gentoo.patch |
260 |
+++ /dev/null |
261 |
@@ -1,38 +0,0 @@ |
262 |
-diff -Naur cherokee-1.2.99.orig/admin/configured.py.pre cherokee-1.2.99/admin/configured.py.pre |
263 |
---- cherokee-1.2.99.orig/admin/configured.py.pre 2011-03-31 17:30:04.000000000 +0900 |
264 |
-+++ cherokee-1.2.99/admin/configured.py.pre 2011-09-16 19:37:15.893487362 +0900 |
265 |
-@@ -22,7 +22,7 @@ |
266 |
- CHEROKEE_DATADIR = join (DATADIR, "cherokee") |
267 |
- CHEROKEE_DEPSDIR = join (DATADIR, "cherokee/deps") |
268 |
- CHEROKEE_CONFDIR = join (SYSCONFDIR, "cherokee") |
269 |
--CHEROKEE_VAR_LOG = join (LOCALSTATE, "log") |
270 |
-+CHEROKEE_VAR_LOG = join (LOCALSTATE, "log/cherokee") |
271 |
- CHEROKEE_VAR_RUN = join (LOCALSTATE, "run") |
272 |
- CHEROKEE_VAR_LIB = join (LOCALSTATE, "lib/cherokee") |
273 |
- CHEROKEE_RRD_DIR = join (LOCALSTATE, "lib/cherokee/graphs") |
274 |
-diff -Naur cherokee-1.2.99.orig/cherokee.conf.sample.pre cherokee-1.2.99/cherokee.conf.sample.pre |
275 |
---- cherokee-1.2.99.orig/cherokee.conf.sample.pre 2011-05-03 18:01:42.000000000 +0900 |
276 |
-+++ cherokee-1.2.99/cherokee.conf.sample.pre 2011-09-16 19:37:15.894487368 +0900 |
277 |
-@@ -18,6 +18,8 @@ |
278 |
- server!server_tokens = full |
279 |
- server!panic_action = %prefix%/bin/cherokee-panic |
280 |
- server!pid_file = %localstatedir%/run/cherokee.pid |
281 |
-+server!user = cherokee |
282 |
-+server!group = cherokee |
283 |
- |
284 |
- # Default virtual server |
285 |
- # |
286 |
-@@ -27,11 +29,11 @@ |
287 |
- |
288 |
- vserver!1!logger = combined |
289 |
- vserver!1!logger!access!type = file |
290 |
--vserver!1!logger!access!filename = %localstatedir%/log/cherokee.access |
291 |
-+vserver!1!logger!access!filename = %localstatedir%/log/cherokee/cherokee.access |
292 |
- vserver!1!logger!access!buffsize = 16384 |
293 |
- |
294 |
- vserver!1!error_writer!type = file |
295 |
--vserver!1!error_writer!filename = %localstatedir%/log/cherokee.error |
296 |
-+vserver!1!error_writer!filename = %localstatedir%/log/cherokee/cherokee.error |
297 |
- |
298 |
- vserver!1!rule!1!match = default |
299 |
- vserver!1!rule!1!handler = common |
300 |
|
301 |
diff --git a/www-servers/cherokee/files/cherokee-confd-1.2.98 b/www-servers/cherokee/files/cherokee-confd-1.2.98 |
302 |
deleted file mode 100644 |
303 |
index 62e7fd64f78..00000000000 |
304 |
--- a/www-servers/cherokee/files/cherokee-confd-1.2.98 |
305 |
+++ /dev/null |
306 |
@@ -1,4 +0,0 @@ |
307 |
-# /etc/conf.d/cherokee: config file for /etc/init.d/cherokee |
308 |
- |
309 |
-#CHEROKEE_OPTS="--config=/etc/cherokee/cherokee.conf --valgrind" |
310 |
-CHEROKEE_OPTS="" |
311 |
|
312 |
diff --git a/www-servers/cherokee/files/cherokee-initd-1.2.99 b/www-servers/cherokee/files/cherokee-initd-1.2.99 |
313 |
deleted file mode 100644 |
314 |
index 488cc819d0d..00000000000 |
315 |
--- a/www-servers/cherokee/files/cherokee-initd-1.2.99 |
316 |
+++ /dev/null |
317 |
@@ -1,67 +0,0 @@ |
318 |
-#!/sbin/openrc-run |
319 |
-# Copyright 1999-2011 Gentoo Foundation |
320 |
-# Distributed under the terms of the GNU General Public License v2 |
321 |
- |
322 |
-command="/usr/sbin/cherokee" |
323 |
-extra_commands="configtest" |
324 |
-extra_started_commands="graceful reload" |
325 |
- |
326 |
- |
327 |
-depend() { |
328 |
- need net |
329 |
- use dns ldap logger mysql netmount |
330 |
-} |
331 |
- |
332 |
-checkconfig() { |
333 |
- ${command} -t 1>/dev/null 2>&1 |
334 |
- ret=$? |
335 |
- if [ $ret -ne 0 ]; then |
336 |
- eerror "${SVCNAME} has detected an error in your config:" |
337 |
- ${command} -t ${CHEROKEE_OPTS} |
338 |
- fi |
339 |
- return $? |
340 |
-} |
341 |
- |
342 |
-configtest() { |
343 |
- ebegin "Checking ${SVCNAME} configuration" |
344 |
- checkconfig |
345 |
- eend $? |
346 |
-} |
347 |
- |
348 |
-start() { |
349 |
- checkconfig || return 1 |
350 |
- |
351 |
- ebegin "Starting ${SVCNAME}" |
352 |
- start-stop-daemon --start --quiet \ |
353 |
- --exec ${command} -- -d ${CHEROKEE_OPTS} |
354 |
- eend $? |
355 |
-} |
356 |
- |
357 |
-stop() { |
358 |
- checkconfig || return 1 |
359 |
- |
360 |
- ebegin "Stopping ${SVCNAME}" |
361 |
- start-stop-daemon --stop --quiet \ |
362 |
- --exec ${command} |
363 |
- eend $? |
364 |
-} |
365 |
- |
366 |
-graceful() { |
367 |
- checkconfig || return 1 |
368 |
- |
369 |
- ebegin "Restarting ${SVCNAME} and closing all the opened connections" |
370 |
- start-stop-daemon \ |
371 |
- --exec ${command} \ |
372 |
- --signal USR1 |
373 |
- eend $? |
374 |
-} |
375 |
- |
376 |
-reload() { |
377 |
- checkconfig || return 1 |
378 |
- |
379 |
- ebegin "Reloading ${SVCNAME} configuration" |
380 |
- start-stop-daemon \ |
381 |
- --exec ${command} \ |
382 |
- --signal HUP |
383 |
- eend $? |
384 |
-} |
385 |
|
386 |
diff --git a/www-servers/cherokee/files/cherokee.logrotate-r1 b/www-servers/cherokee/files/cherokee.logrotate-r1 |
387 |
deleted file mode 100644 |
388 |
index 49b68364bc2..00000000000 |
389 |
--- a/www-servers/cherokee/files/cherokee.logrotate-r1 |
390 |
+++ /dev/null |
391 |
@@ -1,10 +0,0 @@ |
392 |
-# lighttpd logrotate script for Gentoo |
393 |
- |
394 |
-/var/log/cherokee/cherokee.access /var/log/cherokee/cherokee.error { |
395 |
- missingok |
396 |
- notifempty |
397 |
- sharedscripts |
398 |
- postrotate |
399 |
- [ -f /var/run/cherokee.pid ] && /bin/kill -USR2 `cat /var/run/cherokee.pid` |
400 |
- endscript |
401 |
-} |
402 |
|
403 |
diff --git a/www-servers/cherokee/files/cherokee.service b/www-servers/cherokee/files/cherokee.service |
404 |
deleted file mode 100644 |
405 |
index a2d703185d3..00000000000 |
406 |
--- a/www-servers/cherokee/files/cherokee.service |
407 |
+++ /dev/null |
408 |
@@ -1,10 +0,0 @@ |
409 |
-[Unit] |
410 |
-Description=Cherokee web server |
411 |
-After=syslog.target |
412 |
- |
413 |
-[Service] |
414 |
-Type=forking |
415 |
-ExecStart=/usr/sbin/cherokee -d -C /etc/cherokee/cherokee.conf |
416 |
- |
417 |
-[Install] |
418 |
-WantedBy=multi-user.target |
419 |
|
420 |
diff --git a/www-servers/cherokee/metadata.xml b/www-servers/cherokee/metadata.xml |
421 |
deleted file mode 100644 |
422 |
index bb0494e0acc..00000000000 |
423 |
--- a/www-servers/cherokee/metadata.xml |
424 |
+++ /dev/null |
425 |
@@ -1,15 +0,0 @@ |
426 |
-<?xml version="1.0" encoding="UTF-8"?> |
427 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
428 |
-<pkgmetadata> |
429 |
- <maintainer type="person"> |
430 |
- <email>blueness@g.o</email> |
431 |
- <name>Anthony G. Basile</name> |
432 |
- </maintainer> |
433 |
- <use> |
434 |
- <flag name="admin">Install web based cherokee conf tool</flag> |
435 |
- <flag name="rrdtool">Enable rrdtool support</flag> |
436 |
- </use> |
437 |
- <upstream> |
438 |
- <remote-id type="github">cherokee/webserver</remote-id> |
439 |
- </upstream> |
440 |
-</pkgmetadata> |