diff options
author | Wolfgang Müller | 2024-06-21 15:29:44 +0200 |
---|---|---|
committer | Wolfgang Müller | 2024-06-21 15:29:44 +0200 |
commit | 48d51458b5deccb5aca1781a59e32738b8bb22a7 (patch) | |
tree | 32e89af6d86e55e80b70bdd6adb30a75f58b6243 /www-servers/caddy/caddy-2.8.4.ebuild | |
parent | 6aceaa3a355f5de68080c8812c38751c9b370d5f (diff) | |
download | pramantha-48d51458b5deccb5aca1781a59e32738b8bb22a7.tar.gz |
www-servers/caddy: add 2.8.4, drop 2.7.6
Diffstat (limited to 'www-servers/caddy/caddy-2.8.4.ebuild')
-rw-r--r-- | www-servers/caddy/caddy-2.8.4.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www-servers/caddy/caddy-2.8.4.ebuild b/www-servers/caddy/caddy-2.8.4.ebuild new file mode 100644 index 0000000..772fb21 --- /dev/null +++ b/www-servers/caddy/caddy-2.8.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit fcaps go-module + +DESCRIPTION="Fast, cross-platform HTTP/2 web server with automatic HTTPS" +HOMEPAGE="https://caddyserver.com" + +DEPEND=" + acct-user/caddy + acct-group/http" + +FILECAPS=( + cap_net_bind_service /usr/bin/caddy +) + +SRC_URI="https://github.com/caddyserver/caddy/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://nest.oriole.systems/gentoo/go-mod/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD ECL-2.0 MIT" +SLOT="0" +KEYWORDS="amd64" + +RESTRICT+=" mirror test" + +src_compile() { + go build ./cmd/caddy || die +} + +src_install() { + dobin caddy + dodoc README.md + + newinitd "${FILESDIR}"/caddy.initd caddy +} + +pkg_postinst() { + fcaps_pkg_postinst +} |