Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/bozohttpd/, profiles/, www-servers/bozohttpd/files/
Date: Wed, 02 Mar 2022 12:26:57
Message-Id: 1646223972.ab1a41182e784453a1e46048a0c963e161b1e99c.jsmolic@gentoo
1 commit: ab1a41182e784453a1e46048a0c963e161b1e99c
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 12:23:09 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 12:26:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab1a4118
7
8 www-servers/bozohttpd: treeclean
9
10 Closes: https://bugs.gentoo.org/830428
11 Closes: https://bugs.gentoo.org/713614
12 Closes: https://bugs.gentoo.org/746356
13 Closes: https://bugs.gentoo.org/746404
14 Closes: https://bugs.gentoo.org/746416
15 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
16
17 profiles/package.mask | 5 ----
18 www-servers/bozohttpd/Manifest | 1 -
19 www-servers/bozohttpd/bozohttpd-20190228.ebuild | 35 ----------------------
20 www-servers/bozohttpd/files/bozohttpd.conffile | 11 -------
21 www-servers/bozohttpd/files/bozohttpd.initscript | 37 ------------------------
22 www-servers/bozohttpd/metadata.xml | 9 ------
23 6 files changed, 98 deletions(-)
24
25 diff --git a/profiles/package.mask b/profiles/package.mask
26 index ddd096e11b49..1da8be3a6c49 100644
27 --- a/profiles/package.mask
28 +++ b/profiles/package.mask
29 @@ -236,11 +236,6 @@ dev-python/python-slip
30 # Removal after 2022-03-01.
31 sys-auth/pam_blue
32
33 -# Jonas Stein <jstein@g.o> (2022-01-02)
34 -# Unmaintained and broken.
35 -# Removal after 2022-03-01. Bug #830428.
36 -www-servers/bozohttpd
37 -
38 # Jonas Stein <jstein@g.o> (2021-12-24)
39 # Alpha version
40 =app-editors/ghex-4.0.0_alpha
41
42 diff --git a/www-servers/bozohttpd/Manifest b/www-servers/bozohttpd/Manifest
43 deleted file mode 100644
44 index fa4b0c03424d..000000000000
45 --- a/www-servers/bozohttpd/Manifest
46 +++ /dev/null
47 @@ -1 +0,0 @@
48 -DIST bozohttpd-20190228.tar.bz2 59460 BLAKE2B bfd5f16f997903ce8c1b708c5d50955779545bbfee7525966ff0f3475114841ce8feac800d945782548474dc866c032876cb50afaa93cc164c7cdf4b5eeeb555 SHA512 8658695ad9248c9c013362d040981df5d18366e1ad0a6b80707841f93fe576c54631ff3810cc08062b1b28fb07884464bfc27fb71c37831446b2de67a6254f09
49
50 diff --git a/www-servers/bozohttpd/bozohttpd-20190228.ebuild b/www-servers/bozohttpd/bozohttpd-20190228.ebuild
51 deleted file mode 100644
52 index a95a11e85e56..000000000000
53 --- a/www-servers/bozohttpd/bozohttpd-20190228.ebuild
54 +++ /dev/null
55 @@ -1,35 +0,0 @@
56 -# Copyright 1999-2021 Gentoo Authors
57 -# Distributed under the terms of the GNU General Public License v2
58 -
59 -EAPI=7
60 -
61 -inherit toolchain-funcs
62 -
63 -DESCRIPTION="bozohttpd is a small and secure http server"
64 -HOMEPAGE="http://www.eterna.com.au/bozohttpd/"
65 -SRC_URI="http://www.eterna.com.au/bozohttpd/${P}.tar.bz2"
66 -
67 -LICENSE="BSD-2"
68 -SLOT="0"
69 -KEYWORDS="~amd64 ~ppc ~x86"
70 -
71 -DEPEND="dev-libs/openssl:0="
72 -RDEPEND="${DEPEND}
73 - virtual/logger"
74 -
75 -src_prepare() {
76 - default
77 - mv Makefile{.boot,} || die
78 -}
79 -
80 -src_compile() {
81 - emake CC="$(tc-getCC)" OPT="${CFLAGS}"
82 -}
83 -
84 -src_install() {
85 - dobin bozohttpd
86 - doman bozohttpd.8
87 -
88 - newconfd "${FILESDIR}"/${PN}.conffile bozohttpd
89 - newinitd "${FILESDIR}"/${PN}.initscript bozohttpd
90 -}
91
92 diff --git a/www-servers/bozohttpd/files/bozohttpd.conffile b/www-servers/bozohttpd/files/bozohttpd.conffile
93 deleted file mode 100644
94 index 49dbbe5517c4..000000000000
95 --- a/www-servers/bozohttpd/files/bozohttpd.conffile
96 +++ /dev/null
97 @@ -1,11 +0,0 @@
98 -# Config file for /etc/init.d/bozohttpd
99 -
100 -# necessary stuff
101 -DATADIR=/var/www/localhost/htdocs
102 -BIND_ADDRESS=localhost
103 -LISTEN_PORT=80
104 -
105 -# optional stuff
106 -#USER=daemon
107 -#INDEX_DEFAULT=index.php
108 -#APPEND="-C .php /usr/bin/php"
109
110 diff --git a/www-servers/bozohttpd/files/bozohttpd.initscript b/www-servers/bozohttpd/files/bozohttpd.initscript
111 deleted file mode 100644
112 index 9f05c4184178..000000000000
113 --- a/www-servers/bozohttpd/files/bozohttpd.initscript
114 +++ /dev/null
115 @@ -1,37 +0,0 @@
116 -#!/sbin/openrc-run
117 -# Copyright 1999-2016 Gentoo Foundation
118 -# Distributed under the terms of the GNU General Public License, v2 or later
119 -
120 -#NB: Config is in /etc/conf.d/bozohttpd
121 -
122 -
123 -depend() {
124 - need logger net
125 -}
126 -
127 -checkconfig() {
128 - if [ -z "$DATADIR" ] || [ -z "$BIND_ADDRESS" ] || [ -z "$LISTEN_PORT" ]; then
129 - eerror "You need to setup DATADIR, BIND_ADDRESS and LISTEN PORT in /etc/conf.d/bozohttpd first"
130 - return 1
131 - fi
132 -}
133 -
134 -start() {
135 - checkconfig || return 1
136 -
137 - local params=""
138 -
139 - [ -n "$USER" ] && params="$params -U $USER"
140 - [ -n "$INDEX_DEFAULT" ] && params="$params -x $INDEX_DEFAULT"
141 - [ -n "$APPEND" ] && params="$params $APPEND"
142 -
143 - ebegin "Starting bozohttpd"
144 - start-stop-daemon --start --exec /usr/bin/bozohttpd -- -b -i $BIND_ADDRESS -I $LISTEN_PORT -X ${params} $DATADIR
145 - eend ${?}
146 -}
147 -
148 -stop() {
149 - ebegin "Stopping bozohttpd"
150 - start-stop-daemon --stop --exec /usr/bin/bozohttpd
151 - eend ${?}
152 -}
153
154 diff --git a/www-servers/bozohttpd/metadata.xml b/www-servers/bozohttpd/metadata.xml
155 deleted file mode 100644
156 index b818ab566e19..000000000000
157 --- a/www-servers/bozohttpd/metadata.xml
158 +++ /dev/null
159 @@ -1,9 +0,0 @@
160 -<?xml version="1.0" encoding="UTF-8"?>
161 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
162 -<pkgmetadata>
163 - <!-- maintainer-needed -->
164 - <longdescription>
165 - bozohttpd is designed to be small, simple and relatively
166 - featureless, hopefully increasing its security.
167 - </longdescription>
168 -</pkgmetadata>