diff options
author | Wynn Wolf Arbor | 2020-10-30 21:01:40 +0100 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-10-30 21:01:40 +0100 |
commit | 29c96f759f52b467074fb96a36495adc04e8ec5d (patch) | |
tree | 1e83d827abf7389d794602b21cb77db7e2477a7b /www-servers | |
parent | c024e8614e9363abc2add8f5729733a1779c4ec6 (diff) | |
download | pramantha-29c96f759f52b467074fb96a36495adc04e8ec5d.tar.gz |
www-servers/caddy-bin: Drop
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/caddy-bin/Manifest | 5 | ||||
-rw-r--r-- | www-servers/caddy-bin/caddy-bin-1.0.4-r2.ebuild | 35 | ||||
-rw-r--r-- | www-servers/caddy-bin/files/caddy.confd | 4 | ||||
-rw-r--r-- | www-servers/caddy-bin/files/caddy.initd | 48 | ||||
-rw-r--r-- | www-servers/caddy-bin/metadata.xml | 7 |
5 files changed, 0 insertions, 99 deletions
diff --git a/www-servers/caddy-bin/Manifest b/www-servers/caddy-bin/Manifest deleted file mode 100644 index e228c53..0000000 --- a/www-servers/caddy-bin/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX caddy.confd 130 BLAKE2B d238ba2f7cb00b587377a0aba525a04929b2fee6d4c30dc4c96f89f09b930969946876c2fb6c505dfcd266ef7203e9d90d2883a6553754ce5aaab2de4054cb5f SHA512 dd8c1dee1d69ffe2dc516c6435b4efec12270b963df82fb703447590640dc1bf7d285821be7b25ebe0ec3d69969cb3e679b7b796237da1bcddfc6acf20dceae1 -AUX caddy.initd 1100 BLAKE2B 3ed5283b7e0da25388b05f922ade8a18ed8dd79afd1c2a3e1a6174a8f12a747c5428ed2e81231f8c03fa250132d91913444986f01b3e1dcb09837fe5ab415f68 SHA512 490de25a6e4e00dce5ec0d82be927204562a69e3b322cd643af2429e46c82696815f808da4035fa79ece17de9e66b860f739171ba8ee98b1c81b086b4d76717a -DIST caddy_v1.0.4_linux_amd64.tar.gz 11207935 BLAKE2B b8877bffb1fe72002336f45e7153cff5ff327ae17252efa62e77256b93906c987e182cc98586f694e56492314ba217c2eb8d1b5b3005e842aea1f764b92fa83d SHA512 c3e7ac2ad1cba15ef3184784a08c4f1dc3b867d551476a0902a9d04d08d975cb8786daebc3ae074f9026296cb3214a331b8bfbea909e7b1a3e51ade73382d42b -EBUILD caddy-bin-1.0.4-r2.ebuild 685 BLAKE2B 790da260b474c7b8f5f5a34aeba230f98d3295c176fe30663b737bc8beaa4047549c8c9f94a047bc237a1359015fea91ab681ba6f5437667c5ecef5654bf6b16 SHA512 5f7ac3504986177a6130c55366caaf8466490b8b305f37a3f8f43d041fbb8bd37cbbd6f4aa7357148b3e542268288dc8e286be9e634c1ea291deb48b3203d4d0 -MISC metadata.xml 223 BLAKE2B 2c1cd83f1f1d25a43ea978cd66b5c9f6020889613dfaed65d6745858a45d4bf50fda775305420e41c36cafd63d63746ed894411acbced66ab8ae04906dfb8592 SHA512 4f71eacfeb2b21a4ea746ce1663777937b920e942c94eef1fe93c3557e207c9fdb2569369d56637cba563dc50179d62195db6225123ecfedc303600b8a0bb49b diff --git a/www-servers/caddy-bin/caddy-bin-1.0.4-r2.ebuild b/www-servers/caddy-bin/caddy-bin-1.0.4-r2.ebuild deleted file mode 100644 index 567d3f0..0000000 --- a/www-servers/caddy-bin/caddy-bin-1.0.4-r2.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit fcaps - -DESCRIPTION="Fast, cross-platform HTTP/2 web server with automatic HTTPS" -HOMEPAGE="https://github.com/mholt/caddy" - -SRC_URI="https://github.com/caddyserver/caddy/releases/download/v${PV}/caddy_v${PV}_linux_amd64.tar.gz" -KEYWORDS="amd64" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND=" - acct-user/caddy - acct-group/http" - -RDEPEND="!www-servers/caddy" - -FILECAPS=( cap_net_bind_service+ep /usr/bin/caddy ) - -RESTRICT="test mirror" - -S="${WORKDIR}" - -src_install() { - dobin caddy - - newinitd "${FILESDIR}"/caddy.initd caddy - newconfd "${FILESDIR}"/caddy.confd caddy -} diff --git a/www-servers/caddy-bin/files/caddy.confd b/www-servers/caddy-bin/files/caddy.confd deleted file mode 100644 index ae77de2..0000000 --- a/www-servers/caddy-bin/files/caddy.confd +++ /dev/null @@ -1,4 +0,0 @@ -CADDYPATH="/var/lib/caddy" -CADDY_CONFIG="/etc/caddy/Caddyfile" -CADDY_OPTS="-agree=true -conf=${CADDY_CONFIG}" -rc_ulimit="-n 8192" diff --git a/www-servers/caddy-bin/files/caddy.initd b/www-servers/caddy-bin/files/caddy.initd deleted file mode 100644 index c0112d3..0000000 --- a/www-servers/caddy-bin/files/caddy.initd +++ /dev/null @@ -1,48 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -name="${RC_SVCNAME}" -extra_commands="configtest" -extra_started_commands="reload" -description_configtest="Run Caddy's internal config check" -description_reload="Reload Caddy configuration" - -export CADDYPATH="${CADDYPATH}" -command="caddy" -command_args="${CADDY_OPTS}" -command_user="${command_user:-caddy:http}" -command_background=yes -pidfile="/run/${RC_SVCNAME}.pid" - -depend() { - use net - after dns -} - -start_pre() { - if [ "${RC_CMD}" != "restart" ]; then - configtest || return 1 - fi -} - -stop_pre() { - if [ "${RC_CMD}" = "restart" ]; then - configtest || return 1 - fi -} - -reload() { - configtest || return 1 - ebegin "Refreshing ${name}'s configuration" - start-stop-daemon --signal USR1 --pidfile "${pidfile}" - eend $? "Failed to reload ${name}" -} - -configtest() { - ebegin "Checking ${name} configuration" - if ! ${command} -validate -conf="${CADDY_CONFIG}" >/dev/null 2>&1; then - ${command} -validate -conf="${CADDY_CONFIG}" - fi - eend $? "Failed, please correct the errors above" -} diff --git a/www-servers/caddy-bin/metadata.xml b/www-servers/caddy-bin/metadata.xml deleted file mode 100644 index c84abce..0000000 --- a/www-servers/caddy-bin/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>wolf@oriole.systems</email> - </maintainer> -</pkgmetadata> |