From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-dns/AdGuardHome/
Date: Sat, 15 Mar 2025 10:36:45 +0000 (UTC) [thread overview]
Message-ID: <1741893372.98c79fc5becf8a6af1f0cf475c4714421a659844.lanodan@gentoo> (raw)
commit: 98c79fc5becf8a6af1f0cf475c4714421a659844
Author: Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Thu Mar 13 19:15:50 2025 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Mar 13 19:16:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=98c79fc5
net-dns/AdGuardHome: remove 0.107.49
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild | 151 ------------------------
net-dns/AdGuardHome/Manifest | 2 -
2 files changed, 153 deletions(-)
diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild
deleted file mode 100644
index 698ff424f..000000000
--- a/net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit fcaps go-module readme.gentoo-r1 systemd
-
-DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui"
-HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/"
-
-WIKI_COMMIT="3b27176"
-SRC_URI="
- https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz
- https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz
- web? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/npm-deps.tar.xz -> ${P}-npm-deps.tar.xz )
-"
-
-# main
-LICENSE="GPL-3"
-# deps
-LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-IUSE="+web"
-# RESTRICT="test"
-
-BDEPEND="
- web? ( net-libs/nodejs[npm] )
-"
-
-FILECAPS=(
- -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN}
-)
-
-PATCHES=(
- "${FILESDIR}"/disable-update-cmd-opt.patch
-)
-
-DOCS="
- ../${PN}.wiki/*
-"
-
-DOC_CONTENTS="\n
-User is advised to not run binary directly instead use systemd service\n\n
-Defaults for systemd service:\n
-Web UI: 0.0.0.0:3000\n
-Data directory: /var/lib/${PN}\n
-Default config: /var/lib/${PN}/${PN}.yaml
-"
-src_unpack() {
- # because we're using vendor/ so we don't need go-module_src_unpack
- default
-}
-
-src_prepare() {
- ln -sv ../vendor ./ || die
-
- default
-
- if use web; then
- # mimicking `make js-deps`
- export npm_config_cache="${WORKDIR}/npm-cache" NODE_OPTIONS=--openssl-legacy-provider || die
- npm --verbose --offline --prefix client/ --no-progress --ignore-engines --ignore-optional --ignore-platform --ignore-scripts ci || die
- fi
-}
-
-src_compile() {
- # mimicking `make js-build`
- use web && npm --verbose --offline --prefix client run build-prod || die
-
- # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh
-
- local MY_LDFLAGS="-s -w"
- MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}"
- MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release"
- MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)"
- if [ "$(go env GOARM)" != '' ]
- then
- MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)"
- elif [ "$(go env GOMIPS)" != '' ]
- then
- MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)"
- fi
-
- ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1
-}
-
-src_test() {
-
- # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh
- count_flags='--count=1'
- cover_flags='--coverprofile=./coverage.txt'
- shuffle_flags='--shuffle=on'
- timeout_flags="--timeout=30s"
- fuzztime_flags="--fuzztime=20s"
- readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags
-
- # race only works when pie is disabled
- export GOFLAGS="${GOFLAGS/-buildmode=pie/}"
-
- # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing.
- # ego test\
- # "$count_flags"\
- # "$cover_flags"\
- # "$shuffle_flags"\
- # --race=1\
- # "$timeout_flags"\
- # ./...
-
- # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh
- ego test\
- "$count_flags"\
- "$shuffle_flags"\
- --race=0\
- "$timeout_flags"\
- --bench='.'\
- --benchmem\
- --benchtime=1s\
- --run='^$'\
- ./...
-
- # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-fuzz.sh
- ego test\
- "$count_flags"\
- "$shuffle_flags"\
- --race=0\
- "$timeout_flags"\
- "$fuzztime_flags"\
- --fuzz='.'\
- --run='^$'\
- ./internal/filtering/rulelist/\
- ;
-
-}
-
-src_install() {
- dobin "${PN}"
- dosym -r /usr/bin/"${PN}" /usr/bin/adguardhome
-
- einstalldocs
- readme.gentoo_create_doc
-
- systemd_newunit "${FILESDIR}"/AdGuardHome-0.107.43.service "${PN}".service
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
diff --git a/net-dns/AdGuardHome/Manifest b/net-dns/AdGuardHome/Manifest
index a4665f2f1..d3d38f1f2 100644
--- a/net-dns/AdGuardHome/Manifest
+++ b/net-dns/AdGuardHome/Manifest
@@ -1,6 +1,4 @@
-DIST AdGuardHome-0.107.49-deps.tar.xz 2655500 BLAKE2B b3fc899f6c0b1c2e4ee3861f151089a6ed8287f28b7274b70f1fc1a287d5aff6540f7385ac012d7d9aafad7cdbcf245d05dd80d546f63f7c6b714682f83a62fb SHA512 690340b6353dcf4ecc705cb63db398d5b9a64350bc9a04dcde92be75517294c177027525b987ba06009f25a049686d667fe4b738cf98bf314704b59f02d9f942
DIST AdGuardHome-0.107.49-npm-deps.tar.xz 31380124 BLAKE2B df516b58bc5cc94e651b89d92e046432db85f8eaf423fbffd1c0e2f2704193589a916fa09239ac383798508e4146fb6d416a304697001d645cbd2599a25044d0 SHA512 d847734157c2fe8d62cc4cf9788a64849681264cf3f0315423206c00a8ee5e0b8073d97af126c4eb5abf834b55242a7571a6b116aab383f280ad35288467b1a3
-DIST AdGuardHome-0.107.49.tar.gz 2269512 BLAKE2B e118e3a31fc88b477a5b7cdc6b81e4aaf52b3c92ebde49f0b552220fef285c0128ec590b1eb75d82633e697065ab16da815b5bbd6bef70bb22d8fc20794711de SHA512 20e5c528a00d87658be90d7320972b44db10e1537d5a836d83dadf772c4f54754272e69bc2565163e5847375fd4d9a0159f7ef9eb552beadee2432330729b373
DIST AdGuardHome-0.107.50-deps.tar.xz 2674988 BLAKE2B 72747c4eebd33a3e453c9062ca84f84f58d5c8a65b63059b8f9788fd695f513475d3a933953eec017b052eba7822ebb24fb7a09ad9e986ac9f2fbe8bca408bcd SHA512 7af25252a7ee1de9153c16658f56aeb65481780e4ff1e22fe01b73de14c53f9d54a9f7f87d5f246e309ab0f3671d4cdf02a216468d603aceb6d66b3affea1af6
DIST AdGuardHome-0.107.50.tar.gz 2269495 BLAKE2B 49b4811c118a938d6191e856588d262a9645309e43d40d70be646d6ba831f722da069f1d07b7192e663f23992994a3d1328e52d4923f58cbc0a70d0495476ce4 SHA512 d2744328d03945c6d8851e3d49d5244f5e85fceb769e901209381d79af4bcc9996d19eb29bff7e20d6e51d2e52285813ebe649d93a94eaa143c0315422dcb5a8
DIST AdGuardHome-0.107.51-deps.tar.xz 2675048 BLAKE2B a68d9690c3b0499ac230ac8cc714de0b438a350888e060ae30273c3616f16325a73c2cc744f80ba336820a3285ce67eda53204ebdc80fc2b7f733fe90cc040b2 SHA512 dc86548910e4a44f9f984d4db6df7e9739fd3f0ca8ff43e3d57dba5680be58262df0d4c9002f9d9c1e8f61755a7ad0c45fd9678f36798f6dea2c8905cde3464e
next reply other threads:[~2025-03-15 10:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-15 10:36 Haelwenn Monnier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-15 11:12 [gentoo-commits] repo/proj/guru:master commit in: net-dns/AdGuardHome/ Julien Roy
2024-06-15 11:12 Julien Roy
2024-05-23 22:18 Haelwenn Monnier
2024-05-23 22:18 Haelwenn Monnier
2024-04-09 11:25 Julien Roy
2024-03-21 23:06 Julien Roy
2024-03-02 14:26 David Roman
2024-01-07 23:46 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1741893372.98c79fc5becf8a6af1f0cf475c4714421a659844.lanodan@gentoo \
--to=contact@hacktivis.me \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox