commit:     1b7847f1e5448e92f5a65a3098245e9e20a0a593
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Fri Dec 12 06:36:02 2025 +0000
Commit:     Rahil Bhimjiani <rahil3108 <AT> gmail <DOT> com>
CommitDate: Fri Dec 12 06:36:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b7847f1

net-dns/AdGuardHome: remove 0.107.60 & 61

Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>

 net-dns/AdGuardHome/AdGuardHome-0.107.60.ebuild    | 141 ---------------------
 net-dns/AdGuardHome/AdGuardHome-0.107.61.ebuild    | 141 ---------------------
 net-dns/AdGuardHome/Manifest                       |   7 -
 .../AdGuardHome/files/AdGuardHome-0.107.57.service |  24 ----
 4 files changed, 313 deletions(-)

diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.60.ebuild 
b/net-dns/AdGuardHome/AdGuardHome-0.107.60.ebuild
deleted file mode 100644
index 639bccedd1..0000000000
--- a/net-dns/AdGuardHome/AdGuardHome-0.107.60.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2025 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="5657b4b"
-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/${PN}-0.107.57/wiki.tar.xz
 -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz
-       web? ( 
https://github.com/AdguardTeam/AdGuardHome/releases/download/v${PV}/AdGuardHome_frontend.tar.gz
 -> ${P}-web.tar.gz )
-"
-
-# main
-LICENSE="GPL-3"
-# deps
-LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-IUSE="+web"
-# RESTRICT="test"
-
-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
-
-       # symlinking doesn't work for some reason so MUST `mv`
-       use web && { rm -v build/gitkeep && rmdir build && mv ../build ./ || 
die ; }
-}
-
-src_compile() {
-       # 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.57.service 
"${PN}".service
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-}

diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.61.ebuild 
b/net-dns/AdGuardHome/AdGuardHome-0.107.61.ebuild
deleted file mode 100644
index 0268b1c336..0000000000
--- a/net-dns/AdGuardHome/AdGuardHome-0.107.61.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2025 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="ad09f2b"
-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/${PN}-0.107.57/wiki.tar.xz
 -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz
-       web? ( 
https://github.com/AdguardTeam/AdGuardHome/releases/download/v${PV}/AdGuardHome_frontend.tar.gz
 -> ${P}-web.tar.gz )
-"
-
-# main
-LICENSE="GPL-3"
-# deps
-LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm64"
-
-IUSE="+web"
-# RESTRICT="test"
-
-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
-
-       # symlinking doesn't work for some reason so MUST `mv`
-       use web && { rm -v build/gitkeep && rmdir build && mv ../build ./ || 
die ; }
-}
-
-src_compile() {
-       # 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.57.service 
"${PN}".service
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-}

diff --git a/net-dns/AdGuardHome/Manifest b/net-dns/AdGuardHome/Manifest
index bf3aa26e4e..a10e9dea0a 100644
--- a/net-dns/AdGuardHome/Manifest
+++ b/net-dns/AdGuardHome/Manifest
@@ -1,9 +1,3 @@
-DIST AdGuardHome-0.107.60-deps.tar.xz 5233544 BLAKE2B 
f29ea35932cd664b85e8039389df094426df38a578fd8e9bc6c9b263253380b82453b6c27054875c17e89bab2320a3cb0257d3366930b135856cc0799ded4914
 SHA512 
9b58011b0a8218c7d943032cd51d9df48a494de4afd141e94d130bbb3b0e8b979d81772d7b0c03afbabaeb78b955bad5d30782a1f041cbb7c975747a697cb3c4
-DIST AdGuardHome-0.107.60-web.tar.gz 2460509 BLAKE2B 
f7a7236952fe3bf5da4f4c77a89ee30d2fda6875334d895f4c0ef9e6825c7f712f1a558732f473b6e22ea4617e780405357473935fc5fc564b48e813f6525961
 SHA512 
5efbdcb163ce5f34fd75635166ce1cffb61bca3250da711b76168c371d9a1411d0b115dc5bcb19fe61a95b83711043cf5fa77a3b4c90e93f7adeee9798a84eba
-DIST AdGuardHome-0.107.60.tar.gz 2266231 BLAKE2B 
325c0456bc934a5aac9fce3a272efa3cbbeefb1c7dbf02cca5b3494871e4ebbac7ad35e0708d8869c25e07f1d74334904d48a923159f04e5593f3f3c18bb0070
 SHA512 
48bc1fe8433bf6dbccd27cbd975e3859f5840dfe75455fcc5c701ea0ce3d5cd78240a8812217f61b5c33f23d2baa3b576a88963c8286a0e2efbee9dae1d59c16
-DIST AdGuardHome-0.107.61-deps.tar.xz 5241764 BLAKE2B 
c0ef0f4cfaac1f69cecd702bb7805ca47be478ef39c898222e21586fff82275c205df1081f91c9f683881f853cda1b291cd88faea2a4306e785a4deb0929e1bb
 SHA512 
7fdf45758477a785084fa4277cace32a9103e510c94f7565fc59b14035cc798fe53373f913cdffe6c13cc8a5c51da78fc812fc1a4e62329025011ba3f17e4e76
-DIST AdGuardHome-0.107.61-web.tar.gz 2460494 BLAKE2B 
29627c3397bbe600a5611f6b011968a9d474a3d45ad337d6eaff252a1c5f9df422c5c69e765a1b4d08782fc12135a74e9ae63e869ab0c2777ae34a528d388c63
 SHA512 
f9df85f9b7661e7ac7c7d3860a746bed33aa329c183ffb2f3836ebe6e418be2fac378bc742fd8bd9361dbfc91d9a561af5e140189e62c650f104666bfecc0f4a
-DIST AdGuardHome-0.107.61.tar.gz 2269745 BLAKE2B 
79f6d4e1b57a803a42f9a7d4abe5fc7d13ef6f736c75d523489ecffcc58ca8868e3f2c4a3564351f74cfdaa3e0e67e0bd4a8c87fa568cae1895790bf5ea84866
 SHA512 
6f99aa776190ef93226606c37977f1778cd92cd3e851406be7a0bf597df692d7106e91448550760ca2b3ec9152ec902c17deea2506e00e3a7623a11bcbab025c
 DIST AdGuardHome-0.107.63-deps.tar.xz 5310180 BLAKE2B 
e574095b1279afa7b1a9274df358d28d630da8daca09801f61d5a808be0e12748dfd9354bfdc370c1d65e6753dc99cfe300552daacae2454c43abf28dc1f4295
 SHA512 
c1726eb2e03fe03afc23b300c9ad5bbe97067215313a8d12fdc76712e49baddd2d189fb3ce5a19e0ed0bf27284b05fb0aa15ce83a048946a371c9169c5a6029d
 DIST AdGuardHome-0.107.63-web.tar.gz 2554041 BLAKE2B 
4eb67d1ca79e99923cff5706765b8db1f84dcd980e298b7f1cb84e84197954793a4f1296d446048d3c4af152d9aefd2c11e2aa40e70684514eaffd24b3f70b5f
 SHA512 
0350c38aa1700b9b4657ba7b041bd63eb3fe5f6abfa73adb344006b552656ccadc742c528e54d188211e7310e23d39c224df9c775885134d655c576fe9e5ba80
 DIST AdGuardHome-0.107.63.tar.gz 2319402 BLAKE2B 
5cd3b86080cb9c467f6f1a77992786b66b088b21923022d309493ee0c22bdcf0f4a4e44ccb7ca3fac96b0416576cbd301773fe897b6b5af29b0c5cf5ac98829d
 SHA512 
c1e3b074ebf1b1a842858c609e483a9b2b11124f4a3f588296691a697873bdc1fffd2b5155e9a4ab14947b04f526a8ae6c4362c6d7de0f9be415cf41c0670fb0
@@ -13,6 +7,5 @@ DIST AdGuardHome-0.107.64.tar.gz 2321767 BLAKE2B 
a877aea963800fbd3dddabf9043a230
 DIST AdGuardHome-0.107.71-deps.tar.xz 5072116 BLAKE2B 
c54351471ac3129ab6f88d9267546fc6dca56d9a158f64aae3b15449d290fbdac177fe1efaaebb7ca0a08fe2e97368540fcd19496b8a47dbb17cca1d554dd78c
 SHA512 
94aac6f2bd6205aa8bf00c859b0568bd88df11ee081a34a509f85e588a513c01ef2acf0e766de9b0a5e999bfe6410bdf4b7efb9ca14c7941264b75b2078b3ec3
 DIST AdGuardHome-0.107.71-web.tar.gz 2598727 BLAKE2B 
7295e21965ed076002bded008159d7c8504f5f69eeef4e843d908ad4e9060049249775ae03cf9e443f72890fa937fe2b32c3cd42ca77d338a7fdbb2d617e9f06
 SHA512 
45682ca3f59a05be36543948377dd04c723a2ca905f5d9772f655d8835e1ed1c0b1456e609918886e6fe8afab4452d776f39a5e2bc80855348d2e407922a13dd
 DIST AdGuardHome-0.107.71.tar.gz 2366341 BLAKE2B 
2619d0fbe8e6e4e67df6bc4898c7b1f5fec2885614b1a3b4b9b53a14268b0dfaf6d2a8748d6eb9629b0a5717dfb65c43b64c1b09230f8bd975e7143bacfff683
 SHA512 
af6e6d207fe2f87543b7db4549783561be715397613d4eb964fa8da3275a297babed4ed9b5a77b45ec4372f513dc61f4c8428b3240be763b8b278fd3ff5c6a72
-DIST AdGuardHome-wiki-5657b4b.tar.xz 181172 BLAKE2B 
604484e8ecad6a1af61af5b3f5f46a20779951936e55eb51884081c161dd6a97b3a1ec08ad0fec2511ec5173944cacfbe8ca2d4b56c44b375b281671a2280068
 SHA512 
1a555490b6145a611c456e0443bcd07504c51c2cf1afa20ca74850479762297451c9096a0f0d03aa2f1fe95ae9fa500beb16d4d080d2525c71c987b52f0eb861
 DIST AdGuardHome-wiki-ad09f2b.tar.xz 181172 BLAKE2B 
604484e8ecad6a1af61af5b3f5f46a20779951936e55eb51884081c161dd6a97b3a1ec08ad0fec2511ec5173944cacfbe8ca2d4b56c44b375b281671a2280068
 SHA512 
1a555490b6145a611c456e0443bcd07504c51c2cf1afa20ca74850479762297451c9096a0f0d03aa2f1fe95ae9fa500beb16d4d080d2525c71c987b52f0eb861
 DIST AdGuardHome-wiki-da0097b.tar.xz 44752 BLAKE2B 
d53aaec1c694dac5782b2f44898da828579263fff11a2f397c5580e3b3e7633247754d6fbdf26d7395b4ed01232eb3af6ff161c907a51b8d9d0f8eb09f518e47
 SHA512 
ffebc99001fb37ef5fe38b5a2161cbf9eb67319c61fdaa56ff8690fbf4361b3e18a9050f836b3ec2383d9cdc2592fa9aa6564757876b5f5a615c33b8580e2255

diff --git a/net-dns/AdGuardHome/files/AdGuardHome-0.107.57.service 
b/net-dns/AdGuardHome/files/AdGuardHome-0.107.57.service
deleted file mode 100644
index 6627619cb6..0000000000
--- a/net-dns/AdGuardHome/files/AdGuardHome-0.107.57.service
+++ /dev/null
@@ -1,24 +0,0 @@
-# This unit is inspired from
-# `AdGuardHome -s install` on systemd machine and
-# https://aur.archlinux.org/cgit/aur.git/tree/adguardhome.service?h=adguardhome
-
-[Unit]
-Description=Network-wide ads & trackers blocking DNS server with WebUI
-After=network-online.target
-ConditionFileIsExecutable=/usr/bin/AdGuardHome
-
-[Service]
-StartLimitInterval=5
-StartLimitBurst=10
-DynamicUser=true
-StateDirectory=AdGuardHome
-WorkingDirectory=/var/lib/AdGuardHome
-AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW
-CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_RAW
-ExecStart=/usr/bin/AdGuardHome --no-check-update --work-dir 
/var/lib/AdGuardHome -s run
-ExecReload=/usr/bin/AdGuardHome -s reload
-StandardOutput=journal
-StandardError=journal
-
-[Install]
-WantedBy=multi-user.target

Reply via email to