summaryrefslogtreecommitdiff
path: root/www-servers/caddy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-21 02:22:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-21 02:22:31 +0000
commit3b32ae7547d742f6e65770361188670710bec186 (patch)
tree51b5a45e8291644df70197de17f086e1640e9c7e /www-servers/caddy
parentdd03974882f85ca04e35cfbc97f7ff756f5d5c20 (diff)
gentoo auto-resync : 21:02:2023 - 02:22:31
Diffstat (limited to 'www-servers/caddy')
-rw-r--r--www-servers/caddy/Manifest3
-rw-r--r--www-servers/caddy/caddy-2.6.4.ebuild45
2 files changed, 48 insertions, 0 deletions
diff --git a/www-servers/caddy/Manifest b/www-servers/caddy/Manifest
index 1b2ea716f895..46d52e28fe03 100644
--- a/www-servers/caddy/Manifest
+++ b/www-servers/caddy/Manifest
@@ -7,6 +7,9 @@ DIST caddy-2.5.2-deps.tar.xz 121709464 BLAKE2B d15157536916aae8a63dcdcdd01bef7fa
DIST caddy-2.5.2.tar.gz 538564 BLAKE2B dcdaacc63ec0481a9add35ac79c4d02d0a262dc4a1b5215877843797817832cf07e2ecaa2c8f73173f5e0bf38d4d15f2f6c5909f0dc3c8a178db9b001af5206f SHA512 98eb10075b6eacd93cfe893f7df6d8d8ce41649b6a6b78937c1ee7ba82ebdf483204d98c5e45501617abfe426d3b12a9a413e49304e1b62569ab3bad489e2c66
DIST caddy-2.6.2-deps.tar.xz 157577068 BLAKE2B 4ee60155de108ae1a0c897f3cd95549fff6add81b8c6b5cc1e4407d47eb8e81da825977ac9334fa884729759b88a8e23297a9c7b10a088d865ee6698cd444054 SHA512 ca7ab6522b6a3ba2741ad3c40044236196331fd0abcfdf480690a6dfd63127512e31cdc6219deff6b7ec9f6c7acaa672c161b738b87d22e655896bf1d5f70788
DIST caddy-2.6.2.tar.gz 556197 BLAKE2B a3fd7e69a33ee045de7f4b8218d5bb41e1f740c744bf633554c93d298c06506f3b8f2f8ff739b423641958459fed84d6783a2ffe764ff175ee329eab9dc7dc19 SHA512 01761de707668d589af7eeecdd694c94e867d5710f0b72285b4d2e6fb26cf9e10baeed3920e9b9b292c75568c84ff79b400026e37d7dcc003cebb839469b6c1b
+DIST caddy-2.6.4-deps.tar.xz 126961712 BLAKE2B 45448376fb368639913360c96074a21b6907a0d573de403d46f150f004b24a0e328c210e6192d6540444bef6b33d4dbff7f44ad129bbe6cdfc344fb108500bf0 SHA512 f8d73a888c6f0e1c1467878162e3c34da35dcfc2ab7232db4f5e7ac5b51b2f91f6a98a07d732a8f17d9523226a21a8a9b1075a474e9d2b5f3c7869ef0a9e892a
+DIST caddy-2.6.4.tar.gz 568213 BLAKE2B 4837c8511002538ed6d7ac92743a834e76bdba3a35e92a3587ee29911c4a623d37948725a4c20967f3893abe7ce05a88aeb93af294045d722193a68ca7c69bff SHA512 438869a24c0f68e8d742752d3573cf7894c566344f85d0e262ddf26d91c711dd27a0422396bfdd94823c8ee4c7fd24ce222938f3339f1c19e706e64207fc483f
EBUILD caddy-2.5.2.ebuild 1041 BLAKE2B 5cfba3fe9efd2217f476ccc991692a34b366183407710e8d6ca178d40020e4bded01c2238d775c5a65221e2943a168824da12650b8500e8824650f99eb24191d SHA512 5c7724e4e150f1829cb43d452e716f6acd5e98dd636a4d00ff2c547d61b41bf908b80e15f7f295fb2c0908461d1940cb1a5d357bfb2d558b3a6920c1cbeb1667
EBUILD caddy-2.6.2.ebuild 1041 BLAKE2B 5cfba3fe9efd2217f476ccc991692a34b366183407710e8d6ca178d40020e4bded01c2238d775c5a65221e2943a168824da12650b8500e8824650f99eb24191d SHA512 5c7724e4e150f1829cb43d452e716f6acd5e98dd636a4d00ff2c547d61b41bf908b80e15f7f295fb2c0908461d1940cb1a5d357bfb2d558b3a6920c1cbeb1667
+EBUILD caddy-2.6.4.ebuild 1040 BLAKE2B 4cc2c74a8538a99ab205911e81634f8c74d9a728557ec59330de46cad0d24e4eb6228d32b2396d71e945ea6d66b9afb661e80b30252177d6d71d4b0c35c8d176 SHA512 7f95065cc7be5ee373ec1c1376ba0d39f1ebe85d5371689a32c4595b1e62871c1efbce9ffee5b2b2c9a267cc7da6c595fce03bc7e27908235cbdc0087d00bde5
MISC metadata.xml 327 BLAKE2B c733fe2ddb3626e38631dea64fc3edf837fc52c8454ed7a37f2859a9759db43db0ef018753649276f846cf4a67b705f2080d7bf55856848c8fb2a2a5db43cb4a SHA512 c52162e031367163930279cf1ebb06b5a59a5d0d13769fe79f6ee146c4752865ac6e4bb13fb8087a569be125dc6d8ee0b2d052088f27d2ae327ba6a31160252b
diff --git a/www-servers/caddy/caddy-2.6.4.ebuild b/www-servers/caddy/caddy-2.6.4.ebuild
new file mode 100644
index 000000000000..9f2ebbf5fde8
--- /dev/null
+++ b/www-servers/caddy/caddy-2.6.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit fcaps go-module systemd
+
+DESCRIPTION="Fast, cross-platform HTTP/2 web server with automatic HTTPS"
+HOMEPAGE="https://caddyserver.com"
+SRC_URI="https://github.com/caddyserver/caddy/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD ECL-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+RDEPEND="
+ acct-user/http
+ acct-group/http"
+DEPEND="${RDEPEND}"
+
+RESTRICT="test"
+
+FILECAPS=(
+ -m 755 'cap_net_bind_service=+ep' usr/bin/${PN}
+)
+
+src_compile() {
+ ego build ./cmd/caddy
+}
+
+src_install() {
+ dobin caddy
+ dodoc README.md
+ keepdir /etc/caddy
+ insinto /etc/caddy
+ newins "${FILESDIR}"/caddy_config.json caddy_config.json.example
+ systemd_dounit "${FILESDIR}/${PN}.service"
+ newinitd "${FILESDIR}/initd" "${PN}"
+ newconfd "${FILESDIR}/confd" "${PN}"
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}/logrotated" "${PN}"
+}
+
+pkg_postinst() {
+ fcaps_pkg_postinst
+}