net-dns/AdGuardHome: update to 0.107.59 & remove 0.107.51

Signed-off-by: Rahil Bhimjiani <me@rahil.rocks>
This commit is contained in:
Rahil Bhimjiani 2025-03-27 11:04:43 +05:30
parent 84d41cadbb
commit c9381e1b33
No known key found for this signature in database
GPG Key ID: 6D39AB4713797E6F
2 changed files with 10 additions and 21 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -8,12 +8,12 @@ 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"
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.49/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz
web? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-0.107.49/npm-deps.tar.xz -> ${PN}-0.107.49-npm-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
@ -27,10 +27,6 @@ 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}
)
@ -60,17 +56,11 @@ src_prepare() {
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
# symlinking doesn't work for some reason so MUST `mv`
use web && { rm -v build/gitkeep && rmdir build && mv ../build ./ || die ; }
}
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"
@ -143,7 +133,7 @@ src_install() {
einstalldocs
readme.gentoo_create_doc
systemd_newunit "${FILESDIR}"/AdGuardHome-0.107.43.service "${PN}".service
systemd_newunit "${FILESDIR}"/AdGuardHome-0.107.57.service "${PN}".service
}
pkg_postinst() {

View File

@ -1,11 +1,10 @@
DIST AdGuardHome-0.107.49-npm-deps.tar.xz 31380124 BLAKE2B df516b58bc5cc94e651b89d92e046432db85f8eaf423fbffd1c0e2f2704193589a916fa09239ac383798508e4146fb6d416a304697001d645cbd2599a25044d0 SHA512 d847734157c2fe8d62cc4cf9788a64849681264cf3f0315423206c00a8ee5e0b8073d97af126c4eb5abf834b55242a7571a6b116aab383f280ad35288467b1a3
DIST AdGuardHome-0.107.51-deps.tar.xz 2675048 BLAKE2B a68d9690c3b0499ac230ac8cc714de0b438a350888e060ae30273c3616f16325a73c2cc744f80ba336820a3285ce67eda53204ebdc80fc2b7f733fe90cc040b2 SHA512 dc86548910e4a44f9f984d4db6df7e9739fd3f0ca8ff43e3d57dba5680be58262df0d4c9002f9d9c1e8f61755a7ad0c45fd9678f36798f6dea2c8905cde3464e
DIST AdGuardHome-0.107.51.tar.gz 2270014 BLAKE2B cadbb18d527768a85f19c29b1f17fad2072ff96565774c48e2b7907578a931c99d51eedd8baab551d62ab5769f363f9bbf877a9f6b9d3429aa78a262a18c94f8 SHA512 148db24905a50945d95381370b28a1acf03ef6747ac9b56267b91b3a0a25c48649c2107ae58a44a6a816c1a9eebf50594e68465ce6620553745f1689aa606992
DIST AdGuardHome-0.107.57-deps.tar.xz 2732084 BLAKE2B 918d46dd3cdbfa663f155b7e97cfafb9fb9ab0c35c629e386b4dc83733660c1d403509dca0de469d3e0fa2cf9e9d9e36ad583719c2f9348c426f553a92d16572 SHA512 4d3b8947911cf18bb64ef4d8c2fa0608f6a37a3f5edc1a7c48e89573b1aac62f65d0a077abd1b429b54911f0b5cff72ac367f04b2986b98c6f915fe1c88022b9
DIST AdGuardHome-0.107.57-web.tar.gz 2461334 BLAKE2B 8ab1fad83d66a5f330593e783a09263bf72e10d5c64d5e7cd0eaa7a2e2ce59e9004ad113ed1339e22ced5d5a3e552485b84a06db839c2982ded49a80f06d228f SHA512 3a6372a4e3d8aad2b1b96da859b738f9425584f24ede188742fed2a29097748c6d3bf10933cc2b1542126bd25c8ea4673685135d15f7784b19b6a765ab66814c
DIST AdGuardHome-0.107.57.tar.gz 2301234 BLAKE2B 054b981658aed9d275559d056d686ea9be62a96a9aa822761004242277ddeca7a6e23637b9a024576e9f12500ec9a8b259713f5a2dc21f36f7ab327dbfed40d7 SHA512 10d76bb4fd8b7f57c72272ae18077e12c5096a29ee8700920dd258b17ad6495310ea8ce47e0e7287b2fda9ef741e12afdfb0ee446e0058d964dc4d6cb56abbc3
DIST AdGuardHome-0.107.58-deps.tar.xz 5228196 BLAKE2B 9022f6f42a19f91aabe61069bfe1ce5f32096928fb76c99e98837dcbf48212dcec1aa11cf18db93e0702a933bca5aeb98c93d23a1ec324109ecc281fb321aafc SHA512 b46d4471bb1a9346c08e928654a8346cef3cbc6dc3e77d4bedbbc55c8168746e231041bcd99ecfee831faadf7ed8caf9c34b75e3f323b304893ea6edd54fdc9e
DIST AdGuardHome-0.107.58-web.tar.gz 2459682 BLAKE2B 11daf72a80c8d962986772711d3f6caa9e48da82aa5c3714b56ef666c6ff8c95887893eb771cf0e7e2a74f11c991ae66b893c489391e3e4db0cd46b00565f4af SHA512 4a923bd8e3ca284592fc1de0082b838da328570fc6eb5a30806bfd4201fb5cfc62290de7a32d33e0cbe6bceb428c2cc65598ef7b1e30a511e99f6198c6495d9a
DIST AdGuardHome-0.107.58.tar.gz 2292117 BLAKE2B 59e5eee6d03008258226b29df53d594117aaccd426225f095b0787817e049eff6e9dd942abf074cb6978e9a9f8ea91a98eb82f81e9c18840783cb9095343be75 SHA512 4d6f3b2a3a3932cb91a408f4ff53133a86390806d4bee01a6e2edc5c1f0d941783c7ffd8bd1e4ead97ec69e4fbbcc1ae84c2bfebc71398b96050109e41ac6429
DIST AdGuardHome-wiki-3b27176.tar.xz 44232 BLAKE2B a4333f99ab7860734b41677265fe3565aea82db1ef6306920f302a3ed2ec69cf9a17523465ffeceefa04ffdd0d916d61adb2c8fc5d01b40a1a80c4d99d76ab72 SHA512 d702373ede62589f079fb86474ade02a9520b7008b8b9b89867c48629cca1816df1560738a575e26813f43bfbc3c77ba2d89b6a1dc8f0625af8cef3fac11a287
DIST AdGuardHome-0.107.59-deps.tar.xz 5228836 BLAKE2B 88f41df2d9a9c8f538e6a3efc5a25b8cb51b92ab14893d74ee9f3d5199d4b766413737725c352d6b9468739d60dc47f8f13ff3f27c834c9eec3c3bbf27de1282 SHA512 16314cd75696567da5ee151f20a12269c411c9c33d0cf07a27f7091240e953e646bc040ec592b0762043517f7e8c93ccc339f75258cd2da174f58c82b7016604
DIST AdGuardHome-0.107.59-web.tar.gz 2460222 BLAKE2B 8488b1797f2e76fc9973d0cdde6e9d9f84d1c1e21884998300beb1edf098d6fa87b0eda1974a8ce875a974894533373080fc215ea2f08887f2338ca081cd692e SHA512 882f83c0cb1841c16adb0c1041f2c04aa662634114c376613b1173f234390d1e88df5bcdc46e9b27b1a835c870beafa83734ef0b86a436ea13e431edf5faf5ab
DIST AdGuardHome-0.107.59.tar.gz 2292263 BLAKE2B f0071eab28194d36874cfaeef08a0bf159e76ad7a09fe7456e5372e4a338fec63a131566914cf6f8ebf889c867259e268d1ebaa28f79e9aeb85385890939c3a2 SHA512 eedf4e0425160abfe0510fdf7547c497df921276f7f0cfb3d589987c9610761a75490ed6b19013732ee40baa7c799b7eadedb5ab3c24c48e45e19f987c9fa734
DIST AdGuardHome-wiki-5657b4b.tar.xz 181172 BLAKE2B 604484e8ecad6a1af61af5b3f5f46a20779951936e55eb51884081c161dd6a97b3a1ec08ad0fec2511ec5173944cacfbe8ca2d4b56c44b375b281671a2280068 SHA512 1a555490b6145a611c456e0443bcd07504c51c2cf1afa20ca74850479762297451c9096a0f0d03aa2f1fe95ae9fa500beb16d4d080d2525c71c987b52f0eb861