diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2022-03-02 13:23:09 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2022-03-02 13:26:12 +0100 |
commit | ab1a41182e784453a1e46048a0c963e161b1e99c (patch) | |
tree | 000e4b27fea9f35018d4282dadc20a08b4d3d272 /www-servers | |
parent | x11-plugins/purple-facebook: treeclean (diff) | |
download | gentoo-ab1a41182e784453a1e46048a0c963e161b1e99c.tar.gz gentoo-ab1a41182e784453a1e46048a0c963e161b1e99c.tar.bz2 gentoo-ab1a41182e784453a1e46048a0c963e161b1e99c.zip |
www-servers/bozohttpd: treeclean
Closes: https://bugs.gentoo.org/830428
Closes: https://bugs.gentoo.org/713614
Closes: https://bugs.gentoo.org/746356
Closes: https://bugs.gentoo.org/746404
Closes: https://bugs.gentoo.org/746416
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/bozohttpd/Manifest | 1 | ||||
-rw-r--r-- | www-servers/bozohttpd/bozohttpd-20190228.ebuild | 35 | ||||
-rw-r--r-- | www-servers/bozohttpd/files/bozohttpd.conffile | 11 | ||||
-rw-r--r-- | www-servers/bozohttpd/files/bozohttpd.initscript | 37 | ||||
-rw-r--r-- | www-servers/bozohttpd/metadata.xml | 9 |
5 files changed, 0 insertions, 93 deletions
diff --git a/www-servers/bozohttpd/Manifest b/www-servers/bozohttpd/Manifest deleted file mode 100644 index fa4b0c03424d..000000000000 --- a/www-servers/bozohttpd/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bozohttpd-20190228.tar.bz2 59460 BLAKE2B bfd5f16f997903ce8c1b708c5d50955779545bbfee7525966ff0f3475114841ce8feac800d945782548474dc866c032876cb50afaa93cc164c7cdf4b5eeeb555 SHA512 8658695ad9248c9c013362d040981df5d18366e1ad0a6b80707841f93fe576c54631ff3810cc08062b1b28fb07884464bfc27fb71c37831446b2de67a6254f09 diff --git a/www-servers/bozohttpd/bozohttpd-20190228.ebuild b/www-servers/bozohttpd/bozohttpd-20190228.ebuild deleted file mode 100644 index a95a11e85e56..000000000000 --- a/www-servers/bozohttpd/bozohttpd-20190228.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="bozohttpd is a small and secure http server" -HOMEPAGE="http://www.eterna.com.au/bozohttpd/" -SRC_URI="http://www.eterna.com.au/bozohttpd/${P}.tar.bz2" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="dev-libs/openssl:0=" -RDEPEND="${DEPEND} - virtual/logger" - -src_prepare() { - default - mv Makefile{.boot,} || die -} - -src_compile() { - emake CC="$(tc-getCC)" OPT="${CFLAGS}" -} - -src_install() { - dobin bozohttpd - doman bozohttpd.8 - - newconfd "${FILESDIR}"/${PN}.conffile bozohttpd - newinitd "${FILESDIR}"/${PN}.initscript bozohttpd -} diff --git a/www-servers/bozohttpd/files/bozohttpd.conffile b/www-servers/bozohttpd/files/bozohttpd.conffile deleted file mode 100644 index 49dbbe5517c4..000000000000 --- a/www-servers/bozohttpd/files/bozohttpd.conffile +++ /dev/null @@ -1,11 +0,0 @@ -# Config file for /etc/init.d/bozohttpd - -# necessary stuff -DATADIR=/var/www/localhost/htdocs -BIND_ADDRESS=localhost -LISTEN_PORT=80 - -# optional stuff -#USER=daemon -#INDEX_DEFAULT=index.php -#APPEND="-C .php /usr/bin/php" diff --git a/www-servers/bozohttpd/files/bozohttpd.initscript b/www-servers/bozohttpd/files/bozohttpd.initscript deleted file mode 100644 index 9f05c4184178..000000000000 --- a/www-servers/bozohttpd/files/bozohttpd.initscript +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later - -#NB: Config is in /etc/conf.d/bozohttpd - - -depend() { - need logger net -} - -checkconfig() { - if [ -z "$DATADIR" ] || [ -z "$BIND_ADDRESS" ] || [ -z "$LISTEN_PORT" ]; then - eerror "You need to setup DATADIR, BIND_ADDRESS and LISTEN PORT in /etc/conf.d/bozohttpd first" - return 1 - fi -} - -start() { - checkconfig || return 1 - - local params="" - - [ -n "$USER" ] && params="$params -U $USER" - [ -n "$INDEX_DEFAULT" ] && params="$params -x $INDEX_DEFAULT" - [ -n "$APPEND" ] && params="$params $APPEND" - - ebegin "Starting bozohttpd" - start-stop-daemon --start --exec /usr/bin/bozohttpd -- -b -i $BIND_ADDRESS -I $LISTEN_PORT -X ${params} $DATADIR - eend ${?} -} - -stop() { - ebegin "Stopping bozohttpd" - start-stop-daemon --stop --exec /usr/bin/bozohttpd - eend ${?} -} diff --git a/www-servers/bozohttpd/metadata.xml b/www-servers/bozohttpd/metadata.xml deleted file mode 100644 index b818ab566e19..000000000000 --- a/www-servers/bozohttpd/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription> - bozohttpd is designed to be small, simple and relatively - featureless, hopefully increasing its security. - </longdescription> -</pkgmetadata> |