commit:     317bb48257d69fab8e4b0bc1ac2c840e4e75d653
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 28 16:32:23 2026 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb 28 18:33:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=317bb482

www-apps/goatcounter: add 2.7.0

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 www-apps/goatcounter/Manifest                 |  2 ++
 www-apps/goatcounter/goatcounter-2.7.0.ebuild | 48 +++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/www-apps/goatcounter/Manifest b/www-apps/goatcounter/Manifest
index 82bf9412bf..0caed7d8d9 100644
--- a/www-apps/goatcounter/Manifest
+++ b/www-apps/goatcounter/Manifest
@@ -1,2 +1,4 @@
 DIST goatcounter-2.6.0-vendor.tar.xz 3767044 BLAKE2B 
f173800fe4c27d37642e8784a9619c46abf5bfc0dd003847d28824537dafbda59a17ef99d93fcbe177d86f27a588efed26d9995e3d201f8084a7aa639c844273
 SHA512 
7ee6e0de47caaac678dd99ec049478fb1c8943e968fb003917c9b1969c475f5649d2384680e4c97cf723018f997d3e24b1e84c504f6f4d818bbe725b970632b0
 DIST goatcounter-2.6.0.tar.gz 5343019 BLAKE2B 
33869c43bf52b4441dadfdb960c9463887fd54a8281c4d20ccd8db060bc6b234337cdad171a37f4a4eb53a13545aac5e773cdd7f39eb60187cfeaf83d70b95e6
 SHA512 
7a834f5cc36c663e97e4a762928e6601a6576d46b69cca21989b45829b8c42f4ed16ad7ff80c63ff972d1a3c404f07ff423db38aa8427e46789f9ed95c5770c9
+DIST goatcounter-2.7.0-vendor.tar.xz 3701608 BLAKE2B 
bed8f1e463f3fcb40c746865604aee64aa53ff33cd3c3f999728bed45cf5b4b83474cd217d645b831518cd0315e195c65589ae8b18054b13afd6d0a0fe11f5a5
 SHA512 
2450e57282ea4352134208746cec92bdadc4f9a94bf31a575751a02d6a128013b89929bc0b19e35dcc2f21ef774b9b0eb5dfd34d7592dbc12b40aee3b8c9da9c
+DIST goatcounter-2.7.0.tar.gz 5528702 BLAKE2B 
b96bacc1c14851b75dfe94298c45917c5e0c4c0bb7cfd259ba533ef903c18375f5eb0e4618c7994e7fd91578b32f3b7fa034479c14dfc1647ecf47ebb989c47d
 SHA512 
3e1a10f077c2715d34ac10ea2cac63ce8f8652bf47b25c71771c564882f082113c659ec527b1de23b346daf070003fae50db23b49f5b66f923ffa7ffaab91dfd

diff --git a/www-apps/goatcounter/goatcounter-2.7.0.ebuild 
b/www-apps/goatcounter/goatcounter-2.7.0.ebuild
new file mode 100644
index 0000000000..dbe2b2ce8f
--- /dev/null
+++ b/www-apps/goatcounter/goatcounter-2.7.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2025-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd
+
+DESCRIPTION="Easy web analytics without tracking of personal data"
+HOMEPAGE="
+       https://www.goatcounter.com
+       https://github.com/arp242/goatcounter
+"
+SRC_URI="https://github.com/arp242/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz
+       
https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz
+"
+
+LICENSE="EUPL-1.2 ISC MIT OFL-1.1"
+LICENSE+=" Apache-2.0 BSD BSD-2 MIT public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="acct-user/goatcounter"
+BDEPEND=">=dev-lang/go-1.25.5"
+
+DOCS=( CHANGELOG.md README.md docs/. )
+
+src_compile() {
+       ego build -ldflags="-X zgo.at/goatcounter/v2.Version=${PV}" 
./cmd/goatcounter
+}
+
+src_test() {
+       # skip TestMetrics (benchmarks)
+       ego test -vet=off ./... -skip TestMetrics
+}
+
+src_install() {
+       dobin goatcounter
+       einstalldocs
+
+       keepdir /var/db/goatcounter
+       fowners goatcounter:goatcounter /var/db/goatcounter
+       fperms 750 /var/db/goatcounter
+
+       newinitd "${FILESDIR}"/goatcounter.initd goatcounter
+       newconfd "${FILESDIR}"/goatcounter.confd goatcounter
+
+       systemd_dounit "${FILESDIR}"/goatcounter.service
+}

Reply via email to