From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B1F0158020 for ; Fri, 14 Oct 2022 01:21:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1F49E082B; Fri, 14 Oct 2022 01:21:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B45EBE082B for ; Fri, 14 Oct 2022 01:21:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98F243410DC for ; Fri, 14 Oct 2022 01:21:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B616F5F7 for ; Fri, 14 Oct 2022 01:21:16 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1665710467.0c0eacac76de796cb6944966ba92f3078b9d1be2.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/caddy/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/caddy/Manifest www-servers/caddy/caddy-2.6.2.ebuild X-VCS-Directories: www-servers/caddy/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 0c0eacac76de796cb6944966ba92f3078b9d1be2 X-VCS-Branch: master Date: Fri, 14 Oct 2022 01:21:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3ee91735-e750-47db-9146-e50cc2438844 X-Archives-Hash: 8590d83da0a91e72fb22f9b94fb9f52e commit: 0c0eacac76de796cb6944966ba92f3078b9d1be2 Author: Zac Medico gentoo org> AuthorDate: Fri Oct 14 01:21:02 2022 +0000 Commit: Zac Medico gentoo org> CommitDate: Fri Oct 14 01:21:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0eacac www-servers/caddy: add 2.6.2 Signed-off-by: Zac Medico gentoo.org> www-servers/caddy/Manifest | 2 ++ www-servers/caddy/caddy-2.6.2.ebuild | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/www-servers/caddy/Manifest b/www-servers/caddy/Manifest index af2641b9c69a..70c9b25b74e1 100644 --- a/www-servers/caddy/Manifest +++ b/www-servers/caddy/Manifest @@ -1,2 +1,4 @@ DIST caddy-2.5.2-deps.tar.xz 121709464 BLAKE2B d15157536916aae8a63dcdcdd01bef7fa37c2f7174b8a43222d3a150b16efa153274b0158a6e86893f02310453b9b176529295021c51b85956de69e60653414f SHA512 6600a30bf3b63ceeae98a60377be43f16723e6e0cbd65ed626c3777cb5c39eb3fea5769a6cc0f987da978df8efc917825e85f118810a23504d396a94f3e270ae 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 diff --git a/www-servers/caddy/caddy-2.6.2.ebuild b/www-servers/caddy/caddy-2.6.2.ebuild new file mode 100644 index 000000000000..c1adcb1cf8b0 --- /dev/null +++ b/www-servers/caddy/caddy-2.6.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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 +}