diff options
Diffstat (limited to 'net-dns')
46 files changed, 988 insertions, 933 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex 42151c4c5289..5f2a7db2fa26 100644 --- a/net-dns/Manifest.gz +++ b/net-dns/Manifest.gz diff --git a/net-dns/bind/Manifest b/net-dns/bind/Manifest index be57e915dfcc..9c006f415c02 100644 --- a/net-dns/bind/Manifest +++ b/net-dns/bind/Manifest @@ -22,5 +22,5 @@ DIST dyndns-samples.tbz2 22866 BLAKE2B 409890653c6536cb9c0e3ba809d2bfde0e0ae73a2 EBUILD bind-9.16.48.ebuild 11761 BLAKE2B 18aa8cc8e62794c72bd1ecb6cfc189b2b840b13e49077c6289fc991ebf7802dbb50573e06277b66fd818df6e293d21d8336b0a9fd002375964244b00e4f0f9a3 SHA512 b6b4887ca05afda804c0c3ebc6f06464a0865d86e2d8992c646a119f60c6c88df73ad4af833d88a7f5fc688ddd4cf1d507e38f30f27e6d686025fbf9adb0c7e9 EBUILD bind-9.16.50.ebuild 11765 BLAKE2B d6a951f9a3c9df2429fd5be6b7bbe2a0d7a3023d1309848c6b6f27ecd624a836c1ccfe87b3671bf1273adc9d599a29611ef1838bf1edc726161b09301d41f5fe SHA512 d63ee808be0167bfafa3ff882435889bb826bc17c82af77e76550049942fc0423ba8cb3cf25de62453d8f2a4bf33f5f2513700a77fabfd6f244f5496da771db5 EBUILD bind-9.18.29-r2.ebuild 8061 BLAKE2B 822c6eeffdeb29b33d01161c9ab021a23e455e82e2f60c209ff39af833cbd0934f1d07981b1502781692f9fa54cfaf804ea6b001003338a773f4b4752ae81a4c SHA512 4fe80f58be8946faafa3679c01450c5d4bca84fac68bb5872fb63749db0c1085ce58def805a35d56aa869bd9e57db90abd355f052c9feea804afe79e9574ce6b -EBUILD bind-9.18.31-r1.ebuild 8202 BLAKE2B b8071cc9c022907b7f67bd51c3e4df7763cc9e2abb00a274b89a72cb781eda837bf9fc637b29709c835d99d0da349133559b3d78fad355d4c76f6696b7953c7a SHA512 90fb944356c8620e4534209362b4d0876a95e0132727e6ef07ef9e7ceaf619aa8c62ed8bb786823389736d4ee72115b4154f0a62d7c3676f4839b356c941022d +EBUILD bind-9.18.31-r1.ebuild 8157 BLAKE2B 8c8c8f73b8256ccab95976e352ace4a91963b1984a4672a91131d34cbc05f1e77c9323a56725e1198b9efb20e8db7fc0018ced91283339bc95ea0050b4ea3d31 SHA512 cd511adc466572116ffad991cf918ef5ead59f87f09b16c5af72d0b2f40dcba5faf61e2242dd3df4f0ce5b4be621fcecd54a65d777cd70fe509d79271a75cb3a MISC metadata.xml 915 BLAKE2B e415b3c30f15ba3e3d367dd28ed8dac1e6791fbec6b90ebd5881e217db11987365a8eb574b5e6f008e1228fb38aa461a85e7c45c3521e0a48fb6a4808b3b82ce SHA512 575d7c9992c1b3fd82a28cd5bbb585f568240f90dff5e00384c8ff4f937f582d37d2121fa35664b812192b20a16f2a44c196fb841e4fa3d4fd2c725900ac7d51 diff --git a/net-dns/bind/bind-9.18.31-r1.ebuild b/net-dns/bind/bind-9.18.31-r1.ebuild index f10b1e166977..7a4542ff6000 100644 --- a/net-dns/bind/bind-9.18.31-r1.ebuild +++ b/net-dns/bind/bind-9.18.31-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit systemd tmpfiles +inherit eapi9-ver systemd tmpfiles MY_PV="${PV/_p/-P}" MY_PV="${MY_PV/_rc/rc}" @@ -202,7 +202,7 @@ pkg_postinst() { fi # show only when upgrading to 9.18 - if [[ -n "${REPLACING_VERSIONS}" ]] && ver_test "${REPLACING_VERSIONS}" -lt 9.18; then + if ver_replacing -lt 9.18; then elog "As this is a major bind version upgrade, please read:" elog " https://kb.isc.org/docs/changes-to-be-aware-of-when-moving-from-bind-916-to-918" elog "for differences in functionality." diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest index 5cfcb9a20810..0272a3ad4298 100644 --- a/net-dns/c-ares/Manifest +++ b/net-dns/c-ares/Manifest @@ -5,6 +5,6 @@ DIST c-ares-1.34.3.tar.gz.asc 228 BLAKE2B 40e76fbc23a8aece1749a66499e469299e9df8 DIST c-ares-1.34.4.tar.gz 1001209 BLAKE2B 31b0f6820079105b44714dbd6074bbc31f0552a1387437dc43b8ec80dce9cdd6678a89734d32fcdf3fdd9358197d4b866b7b67286f2efc26463c178f049cdc54 SHA512 3285e14d94bc736d6caddfe7ad7e3c6a6e69d49b079c989bb3e8aba4da62c022e38229d1e691aaa030b7d3bcd89e458d203f260806149a71ad9adb31606eae02 DIST c-ares-1.34.4.tar.gz.asc 228 BLAKE2B 9ceb0735dfdc200f34cfbf6b9b6af4ef3f8d8897478c695b179a76edfb126532420a42d3379006c1bb601660a703aa2775c4a585db90b51b2bfc2b0b89c4d1f8 SHA512 595f1980f61c10c01666b6c596a70b5312474b7a4432b045e0e57004d66c147c6f73643b258e04a0fdd81ff804bf9c36f51b1c95edb2c52e09829a6fcca5b468 EBUILD c-ares-1.33.1.ebuild 3037 BLAKE2B 7a08dd800ff17d153fd103cae3ec1fde2cf62029ca786f7b64455d7d5f0d27ba89f3d61ef44b1d5dd0c6ac77280fb685ca25d9ba59583b02f205ba773db0d716 SHA512 2d1614448f888e31b4f1d92c6b57ad209f486027bbcca7d1cae8ab5171c288fac4745e8ba20a081c077c716c38706034b02b2a70981ec358163caa1770426258 -EBUILD c-ares-1.34.3.ebuild 3038 BLAKE2B 71c487e15b98fe7772540b081bda79d1e339eff6c52dc52659ab7a244791e3bda1ecae5f305278969190012c06e74c9862f81fb489611fcb632846edc06975f0 SHA512 c861646878a476d6d2320f0e952a4f12013723b0cb989d279fda62730899ed14e843779587e589234741f4cbfb1794676d0d08c393bd373d30eba3c9aa0fa3bd -EBUILD c-ares-1.34.4.ebuild 3049 BLAKE2B f235849e16758cd6da365f8514ced768b8bbd56ff038d5f920f3ff0f1773751686ac3bf5e9310710102885477051fb87c8d2c02f8220fb306d2d925152a3b664 SHA512 f6c3e017be9ecf244e52961bde2d275e32b468873554229586a33e4fbd7b43bb41f74449a11088bd7fa3a6ce143fc8b3a1f0372b3d22cba23bf74a01df2ebfd5 +EBUILD c-ares-1.34.3.ebuild 3037 BLAKE2B 3b6610e5d2651ba352c03dc337006b94c23da2a99589d642dd658cbfbf0caa834df8d8569e15124745ea12d3b8da985b8d2cf1ac6fa48feaada70dedf016fffd SHA512 ca5600ed83379e5a29f1229e9b9acdd3cf7f3be218b0e48364a3886486989a3bffbbfc249750e3125c46dcbff91532bb6c90ba180bfba10463d1954ad652e5ab +EBUILD c-ares-1.34.4.ebuild 3041 BLAKE2B 9d79e5b5046c55aeb46f4a926d1723b2c1d820cefc49dd8290d2469b6a16e38d3adc91beef34d887f592df1faabd6c39d78b611742271cde1aadc631e2d9004d SHA512 533adfd5467d5fd096d325624a9783543de5810a4c79c68720e73c13d9d026872ea3e8f71df2b138ed57599db1c488853aa40a80d8ec00f7c7ffba266a5480cc MISC metadata.xml 402 BLAKE2B ab03bca92ec4073f5a877993558552136f0ae673f98619aa1f30eb94b6d8f2103b1cf77d23a9f2b3d56ee33af23d626ee230e480a3e3e0bc174df879082466bd SHA512 e02d13db5d10b1aaaae5680247a6b47610dda28a13b7754d2b97f08a760ce732957c96fb6e88ce7fd2076bfec275e72bfbb3dec802940f0159122364ab21acda diff --git a/net-dns/c-ares/c-ares-1.34.3.ebuild b/net-dns/c-ares/c-ares-1.34.3.ebuild index 50d00053a960..ca266b9127bc 100644 --- a/net-dns/c-ares/c-ares-1.34.3.ebuild +++ b/net-dns/c-ares/c-ares-1.34.3.ebuild @@ -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 @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="MIT ISC" # Subslot = SONAME of libcares.so.2 SLOT="0/2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="static-libs test" RESTRICT="!test? ( test )" diff --git a/net-dns/c-ares/c-ares-1.34.4.ebuild b/net-dns/c-ares/c-ares-1.34.4.ebuild index 756f84c586f6..71d5a1f90d08 100644 --- a/net-dns/c-ares/c-ares-1.34.4.ebuild +++ b/net-dns/c-ares/c-ares-1.34.4.ebuild @@ -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 @@ -18,7 +18,7 @@ SRC_URI=" LICENSE="MIT ISC" # Subslot = SONAME of libcares.so.2 SLOT="0/2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="static-libs test" RESTRICT="!test? ( test )" diff --git a/net-dns/ddclient/Manifest b/net-dns/ddclient/Manifest index bcec4633d403..674353abfc36 100644 --- a/net-dns/ddclient/Manifest +++ b/net-dns/ddclient/Manifest @@ -3,5 +3,7 @@ AUX ddclient.initd-r7 579 BLAKE2B 0dc1e1806789189db1e4e36765e119730df7c1f93a5053 AUX ddclient.service-r2 226 BLAKE2B 19072199ca175fe302f0efa77848bc6a47d560738bd24a731d636ac96fdb91bfef75c5f63bfc4b268e139c24263f857f295f22d9f0ecb1448d7794175f09a528 SHA512 903a5c1f5fb253fb54e9ae0ee13d94e3515c35147be5e07bfbb4e229614425ea0a5130fc90cde91d6593ee06417f8239986212cec00dc48ef832e1f270a81da3 AUX ddclient.tmpfiles-r1 144 BLAKE2B ccee5c685e9ade37b67c629b09a3c7b92d88ad2fa80dadf5299460a792a4a6c93d112a5d910a2e8dc0f01b14f5f678890ad5a7d1e7e62399cf8917af67084c41 SHA512 47c688084f2d3a0015557140b9a74857a40b352bad1bcc95a42d7d848fa2f1fc17d62d551462e9e893d32211394b924701a6780b8dce02789603623b4b377dc6 DIST ddclient-3.11.2.tar.gz 278314 BLAKE2B 5e60d8ab0889fbfe03cf182faf025b84faa6a5c278d0c0c1fd45c0bab88828bc3ebacdadac44d1cbd71202f1eff79a7ae0ffcb668992ad54f71e36f8c2f74333 SHA512 b0d275f5ccc36cd8b532b6176de885696ff189dbdffa71bc63e9fa6db2aaf4ab5ff3290c251e318f05b2163c546dcc785eb3582388d9fb70e8439e35e5cbcd7f +DIST ddclient-4.0.0.tar.gz 301499 BLAKE2B 16cb19ee4d9f30b8da1d8e05cb17aabdf41039d6eb72c66c64c996146918d2f694b50b8364d08ff753911f189af2a5d3f1141a037a1d5fc886fd7cda7a2a1bd3 SHA512 095723aa43c4f08d7e3aa46c0bc47e753fdcbcb2cd0ac5f77cd687f98694985ad70e2f6509c05aaa232d0412fcb0aef8bb07a6d9e4302130ab1db047c14e1e86 EBUILD ddclient-3.11.2.ebuild 2254 BLAKE2B 62cc2e8f716bd33123256b2a4075012377454c1165c993cb60cf692e335fa703a5f74d5e9352017b9a5188dbd65a29fd7114fff0788a19684077e95fe1c2ec03 SHA512 07304c3aace5fe34def5f74c0320a9ec291c24bf5747fc5037fe6a3d5fbeef19d4b6895b1a5b2a866c983a0c1b181336184bc7e815cbc450cd0effe56904cc76 +EBUILD ddclient-4.0.0.ebuild 1832 BLAKE2B 30dc8e93e0f902001bbbccf15930da004c65811bb90d09fcad460f33ddacaeb9766124b06f2545acdaf8a673609eab4b968684980bea4aa37732f3a529b6f84f SHA512 b9bd06eb2ecc78f0c16da7e8e4e271512a139e47f3660ddf18e4b2143f4156aa009ecb4378641ea83b9a1262fe60df4ba3bcc6eb7082e4d11c59fd779f25ce13 MISC metadata.xml 885 BLAKE2B c63978b4205739e523e5ad71c9a0268c1619533a2951339ef3a03509e9031276ba1a8add5afc2b38cac0d1808ccda59da41cc431de86fa7203c5759f5398c4ce SHA512 2a2888daaff085ccd82ad956e6d3590f4af0eb8d8224b3110424ac828ff1bfb49d9a187d1ab2b2ba436860b14a0d2ad0dda1dd13378872c85fe5e0df90f09f5c diff --git a/net-dns/ddclient/ddclient-4.0.0.ebuild b/net-dns/ddclient/ddclient-4.0.0.ebuild new file mode 100644 index 000000000000..a5813e7a90c2 --- /dev/null +++ b/net-dns/ddclient/ddclient-4.0.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools optfeature systemd tmpfiles + +DESCRIPTION="Perl client used to update dynamic DNS entries" +HOMEPAGE="https://ddclient.net/" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86" + +IUSE="examples selinux test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + acct-group/ddclient + acct-user/ddclient + dev-lang/perl + net-misc/curl + dev-perl/Digest-SHA1 + virtual/perl-Digest-SHA + virtual/perl-JSON-PP + selinux? ( sec-policy/selinux-ddclient ) +" + +BDEPEND=" + test? ( + dev-perl/HTTP-Daemon + dev-perl/HTTP-Daemon-SSL + dev-perl/Plack + dev-perl/Test-MockModule + dev-perl/Test-Warnings + ) +" + +src_prepare() { + default + + # Remove PID setting, to reliably setup the environment for the init script + sed -e '/^pid/d' -i ddclient.conf.in || die + + # Disable 'get_ip_from_if.pl' test, as it fails with network-sandbox + # Don't create cache directory, as it's created by init script / tmpfiles + sed -e '/get_ip_from_if.pl/d' -e '/MKDIR_P/d' -i Makefile.am || die + + # Remove windows executable + if use examples; then + rm sample-etc_dhcpc_dhcpcd-eth0.exe || die + fi + + eautoreconf +} + +src_configure() { + myeconfargs=( + --with-confdir="${EPREFIX}/etc" + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + newinitd "${FILESDIR}"/ddclient.initd-r7 ddclient + systemd_newunit "${FILESDIR}"/ddclient.service-r2 ddclient.service + newtmpfiles "${FILESDIR}"/ddclient.tmpfiles-r1 ddclient.conf + + if use examples; then + docinto examples + dodoc sample-* + fi + + einstalldocs +} + +pkg_postinst() { + optfeature "using iproute2 instead if ifconfig." sys-apps/iproute2 + tmpfiles_process ddclient.conf +} diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest index f62280047b12..bb149a2907da 100644 --- a/net-dns/dnscrypt-proxy/Manifest +++ b/net-dns/dnscrypt-proxy/Manifest @@ -1,13 +1,13 @@ -AUX dnscrypt-proxy-2.1.2-config-full-paths.patch 4237 BLAKE2B 6d0e03cb89cd3b57835d4eab8bdb40e65b5382558ef5b65a00b77da22d821f7622988c799058b7874a91d3c5453bd18aebc1aba2e75cadee3eddd94c90cc8dd1 SHA512 64d7d88417bcb412752fb9ae02e85e45ebe88c97a5e6af6d682a2c2e1f58f27cefed9a7edc3d20241b523ba9a9cbbf3542ce20f02b807e6b7362012c858f882b AUX dnscrypt-proxy-2.1.5-config-full-paths.patch 4165 BLAKE2B 9a5fe072e5e53f846ca2ba643e05af3100239b98751b195f3a15d967695012cbed859b987d96c7dfb05aea02c7d3f8e80724c4b3247494092d2574063dcb55a4 SHA512 40ab15f91faf77dabcae9ad28694b7769e8533c9d81d307fd69740264154ffc7a52dde128ba2ed5281172707fc61385f0fbcd7aa7367957c5131a9a683ba209d +AUX dnscrypt-proxy-2.1.7-config-full-paths.patch 4624 BLAKE2B cc98d423e5b99bb5426da1c384e84a438ecd1a9ffea809737d96794ed84ce14582d0540ea37b76ea8ceef2441520b978ac8e6636f40560b9706cb43c080ab79e SHA512 5cd603c4ff8564e804df6c0acdbe8554c6149c6d087fd7a27f8d69e0e8789c333f0230fe54f1c7fe50c18a0609d7f6cf9907c75a5ea10e9c535306515c2cbc58 AUX dnscrypt-proxy.confd 162 BLAKE2B 4547fc4a4ec00a809bac7b55bd7a7c8efb54e526179a7e2103fdf716711912987961969619e6b6e6b2e201253e90f828ffa5eb011c0870c112a028c4cfd89ce5 SHA512 25ccbc09df7b51bc0fa4587f7a715429ba11517c64db53086dd09df24470da71b81dbacebe227bd41d1f9576b4560dc58729969eb7b33aa233ec6a6a07d573ab AUX dnscrypt-proxy.initd 639 BLAKE2B a3d35908a5716ae8ce92a2eacbda99175578d631449a841608ad93f19ae3841ace7feef27c60c75911ea68bc7bd039b0e057bac7b7ba61762418e5a52ddc608f SHA512 f48ba140968a73160e11e137e6d1b3a03ccec96596a91fd2878a0d40b749d4cccca5d2db30fdfff1f75ce42a7a20ac5f8fdef7f282ba26bd1a875905c6751d2b AUX dnscrypt-proxy.logrotate 105 BLAKE2B 892cc2acb621bb2c653f4545ac1c58777cc048b9a2f954eac7d92fdf6109b529884d20e4bc14af6aa6cde4d6e0dcac33347216de33e915f5d1ba850fda361602 SHA512 ef5f9886d7c49334e642fa6b0abd748fcff05e171493998559539f7f48f0241607d4923c7b30ed81b2bae1037ae28e49072170000a5b4cbeb6fb77e9dc3a6546 AUX dnscrypt-proxy.service 1198 BLAKE2B a457e57e2b91e6725fa3a515a2754fc7f39fc3349602861eae8c8747e8cd811440df48f9029da514cd43a4d32a5f001ad6385354c754d0ea36c4a227a5c1f980 SHA512 11769c47ecd44169dd3aab26574a710c07e74f465417081b283f3f2f8b7f64ef77a24359555bc6b94144d38481661bac6087a7f79190bfb67c593e700b2202e5 AUX dnscrypt-proxy.socket 517 BLAKE2B 959f3c38af826607a297b04c7c3284bb97588c8a8ea88e4502bb464eb791a88f7940f2131701ef071187910302b7c564aee928f1862eb15640c448179a54f066 SHA512 1f3776e37a9583771997f270983bc9430adf089631a94e52cd5f9dba07228584ecc149f37cf51f08b2c7f877d3e9aa430f98cf8d996d0f4cf3545c2c9ac0537d -DIST dnscrypt-proxy-2.1.4.tar.gz 6897787 BLAKE2B 655011c98e335e0f605c093e5b12156afc9be88f0e14882e11cfdca1affa6de29830344e7c3aa7a5013f90a322f824d54e2db4d37a69395d344e90b0160e442b SHA512 4540d11432c4f35244b79f66b8926f8a1025e09010d8d313f0cd0d62e3fafcbd12bd24e9956ddf9cd8c1ec8aae997b031ab08dae4ee220bf31f33227ec6c07ca DIST dnscrypt-proxy-2.1.5.tar.gz 4065395 BLAKE2B f8984121776565342c1920832839a9cebe8660eaa5f380baf5db6530a137efefbe270f61f9967426f3bea44110bf66b50524d2b891ec285eef1ad7329b1e305c SHA512 2c9a0e0896483b4453cb3779efd41205be8839e61e17b86701deb91e531676529a82b8859ae0975d121322ec8cc05bdd13a1324b8f56010692e1ac9f36a99d69 -EBUILD dnscrypt-proxy-2.1.4.ebuild 2825 BLAKE2B 73a7e105e9ae6e4a9875cf51fe11fac9533c5ad76a18c60a2eb650de1430ba21754a53ba011bd65c0afd581d1d505b94676c8a8e0193b3f7babd507b7ec79448 SHA512 24724212842a7ffa7dac8c256a495547ab138627a82ddd134c9409a3b934dcac11526aebae55159306eb1dfac25fb59adb5b54ff5f8ddbbfdc1f2292fb6f5a07 +DIST dnscrypt-proxy-2.1.7.tar.gz 4195998 BLAKE2B 2b8e979a178301eb560d7f3be33755401a9fd1808dcd5919c9513a7f2f5513c4d12606af0b38dc6cabdf4f243d69df8a61f2af30071634251309721144521b1d SHA512 53b100d5238186ae99add2a8aff4069e6491f9d687e63cc3e5648630626c86ff4f9d246789ae40490030b20584a3c82e1abce8a8ca685f18111a2bcfa0519c09 EBUILD dnscrypt-proxy-2.1.5.ebuild 2750 BLAKE2B 72bf04dac40c677017a5fa6abac7e2e9055fad876d315ab0710aee5dc39017506a9f052ca77a3c83943a945b522449e32a428f1d4fc1ec02887c4af9aa850bec SHA512 a8f898baad7bd7f2b418fa451b7239252e50bdb01c467547c910c21df473bede2811385537fbe688ea0b8d9a23ee7071b678009502c7e458c94a79da4e4cfdf9 -EBUILD dnscrypt-proxy-9999.ebuild 2755 BLAKE2B 952430974726608b5c3b603ea8f5790dc39583ab6d0d770b757a9a14351a646863c2d5c76cdf22d66e0a321fbda7ce9092e10d92a66bf76bc61db69f5e44686e SHA512 715fa0f491c92e0ff803fc595842f91a0da874c07336d3b85a873731589a8d720ecadaa49ee78a7c72b95a4f7bf2bc8489913ec2be759769fa7d594a8dbc9e1b +EBUILD dnscrypt-proxy-2.1.7.ebuild 2750 BLAKE2B 131466ccc2d96c1d6cbb97444e5f89000d29145e308da627dbb4fe33faebd48211a15aa965eada1e2b54144a29d3bb04c089914b207145c44f320b07e190562f SHA512 261b06b76476a58085e5ebfe4676eba6f0d76e7b4a79218bac93a3117cf42c001a3ace758f3f3c6daa1e0d98f8e261383abb2c5270c92d05c4ed0f15620d45fd +EBUILD dnscrypt-proxy-9999.ebuild 2755 BLAKE2B ffe8a29315f4d175fb31d745aec6b0c848ddd0781aa857782a22d3398dd2958378162669c441c394e828e9222f861acd19312dd2504bedeea3d140c352fa8407 SHA512 97317e8dd67144967bcf9a28e06199cca561592d9006e39838b60236c9dadac5abb31175de1c795029d9dae0d0bbe1d83ded6fd2ea0daa4e25a77bdd95a8f247 MISC metadata.xml 619 BLAKE2B b8c10931edf8899ef018fc5f9605d3aad94ec2a48cce361ff04f2048d4e8cfd8de1ebff181fb968822e498d85178e3ed412726d3321f06a240eafbfc55b85b3b SHA512 268ab4c1a07bc15039c382586a575cecce6797bc452b635d7ebbd1806f789b8c154eb75164f58e8d9c87f0add8f99000c9dc75959328ad24f0f2c63bf6bd2f1d diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.7.ebuild index 76ec52a2adbe..b73e7059b219 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.4.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.1.7.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit fcaps go-module systemd +inherit fcaps go-module prefix systemd -DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols" +DESCRIPTION="Flexible DNS proxy, with support for encrypted DNS protocols" HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy" if [[ ${PV} == 9999 ]]; then @@ -18,7 +18,6 @@ fi LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0" SLOT="0" -IUSE="+pie" RDEPEND=" acct-group/dnscrypt-proxy @@ -28,18 +27,18 @@ RDEPEND=" FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) PATCHES=( - "${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch + "${FILESDIR}"/${PN}-2.1.7-config-full-paths.patch ) src_compile() { pushd "${PN}" >/dev/null || die - go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie default)" || die + ego build -v -x -mod=readonly -mod=vendor popd >/dev/null || die } src_test() { cd "${PN}" || die - go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" + ego test -mod=vendor } src_install() { @@ -47,6 +46,7 @@ src_install() { dobin dnscrypt-proxy + eprefixify example-dnscrypt-proxy.toml insinto /etc/dnscrypt-proxy newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml doins example-{allowed,blocked}-{ips.txt,names.txt} diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index 74779702e9ac..91fc991e7cb3 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,7 +27,7 @@ RDEPEND=" FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) PATCHES=( - "${FILESDIR}"/${PN}-2.1.5-config-full-paths.patch + "${FILESDIR}"/${PN}-2.1.7-config-full-paths.patch ) src_compile() { diff --git a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.1.2-config-full-paths.patch b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.1.7-config-full-paths.patch index c5d7ed53f5f5..d668149783f1 100644 --- a/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.1.2-config-full-paths.patch +++ b/net-dns/dnscrypt-proxy/files/dnscrypt-proxy-2.1.7-config-full-paths.patch @@ -1,92 +1,101 @@ --- a/dnscrypt-proxy/example-dnscrypt-proxy.toml +++ b/dnscrypt-proxy/example-dnscrypt-proxy.toml -@@ -348,7 +348,7 @@ reject_ttl = 10 +@@ -379,7 +379,7 @@ reject_ttl = 10 ## See the `example-forwarding-rules.txt` file for an example -# forwarding_rules = 'forwarding-rules.txt' -+# forwarding_rules = '/etc/dnscrypt-proxy/forwarding-rules.txt' ++# forwarding_rules = '@GENTOO_PORTAGE_EPREFIX@/etc/dnscrypt-proxy/forwarding-rules.txt' -@@ -364,7 +364,7 @@ reject_ttl = 10 +@@ -395,7 +395,7 @@ reject_ttl = 10 ## ## See the `example-cloaking-rules.txt` file for an example -# cloaking_rules = 'cloaking-rules.txt' -+# cloaking_rules = '/etc/dnscrypt-proxy/cloaking-rules.txt' ++# cloaking_rules = '@GENTOO_PORTAGE_EPREFIX@/etc/dnscrypt-proxy/cloaking-rules.txt' ## TTL used when serving entries in cloaking-rules.txt -@@ -418,7 +418,7 @@ cache_neg_max_ttl = 600 +@@ -449,7 +449,7 @@ cache_neg_max_ttl = 600 ## check for connectivity and captive portals, along with hard-coded ## IP addresses to return. -# map_file = 'example-captive-portals.txt' -+# map_file = '/etc/dnscrypt-proxy/example-captive-portals.txt' ++# map_file = '@GENTOO_PORTAGE_EPREFIX@/etc/dnscrypt-proxy/example-captive-portals.txt' -@@ -448,8 +448,8 @@ cache_neg_max_ttl = 600 - ## Certificate file and key - Note that the certificate has to be trusted. +@@ -481,8 +481,8 @@ cache_neg_max_ttl = 600 + ## openssl req -x509 -nodes -newkey rsa:2048 -days 5000 -sha256 -keyout localhost.pem -out localhost.pem ## See the documentation (wiki) for more information. -# cert_file = 'localhost.pem' -# cert_key_file = 'localhost.pem' -+# cert_file = '/etc/dnscrypt-proxy/localhost.pem' -+# cert_key_file = '/etc/dnscrypt-proxy/localhost.pem' ++# cert_file = '@GENTOO_PORTAGE_EPREFIX@/etc/dnscrypt-proxy/localhost.pem' ++# cert_key_file = '@GENTOO_PORTAGE_EPREFIX@/etc/dnscrypt-proxy/localhost.pem' -@@ -680,7 +680,7 @@ format = 'tsv' +@@ -713,7 +713,7 @@ format = 'tsv' [sources.public-resolvers] - urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/public-resolvers.md'] + urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md'] - cache_file = 'public-resolvers.md' -+ cache_file = '/var/cache/dnscrypt-proxy/public-resolvers.md' ++ cache_file = '@GENTOO_PORTAGE_EPREFIX@/var/cache/dnscrypt-proxy/public-resolvers.md' minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' - refresh_delay = 72 + refresh_delay = 73 prefix = '' -@@ -689,7 +689,7 @@ format = 'tsv' +@@ -722,7 +722,7 @@ format = 'tsv' [sources.relays] - urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/relays.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/relays.md'] + urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/relays.md'] - cache_file = 'relays.md' -+ cache_file = '/var/cache/dnscrypt-proxy/relays.md' ++ cache_file = '@GENTOO_PORTAGE_EPREFIX@/var/cache/dnscrypt-proxy/relays.md' minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' - refresh_delay = 72 + refresh_delay = 73 prefix = '' -@@ -698,13 +698,13 @@ format = 'tsv' +@@ -731,13 +731,13 @@ format = 'tsv' # [sources.odoh-servers] - # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-servers.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-servers.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/odoh-servers.md'] + # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-servers.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-servers.md'] - # cache_file = 'odoh-servers.md' -+ # cache_file = '/var/cache/dnscrypt-proxy/odoh-servers.md' ++ # cache_file = '@GENTOO_PORTAGE_EPREFIX@/var/cache/dnscrypt-proxy/odoh-servers.md' # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' - # refresh_delay = 24 + # refresh_delay = 73 # prefix = '' # [sources.odoh-relays] - # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-relays.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/odoh-relays.md'] + # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/odoh-relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/odoh-relays.md'] - # cache_file = 'odoh-relays.md' -+ # cache_file = '/var/cache/dnscrypt-proxy/odoh-relays.md' ++ # cache_file = '@GENTOO_PORTAGE_EPREFIX@/var/cache/dnscrypt-proxy/odoh-relays.md' # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' - # refresh_delay = 24 + # refresh_delay = 73 # prefix = '' -@@ -714,7 +714,7 @@ format = 'tsv' +@@ -747,7 +747,7 @@ format = 'tsv' # [sources.quad9-resolvers] # urls = ['https://www.quad9.net/quad9-resolvers.md'] # minisign_key = 'RWQBphd2+f6eiAqBsvDZEBXBGHQBJfeG6G+wJPPKxCZMoEQYpmoysKUN' - # cache_file = 'quad9-resolvers.md' -+ # cache_file = '/var/cache/dnscrypt-proxy/quad9-resolvers.md' ++ # cache_file = '@GENTOO_PORTAGE_EPREFIX@/var/cache/dnscrypt-proxy/quad9-resolvers.md' # prefix = 'quad9-' ### Another example source, with resolvers censoring some websites not appropriate for children -@@ -722,7 +722,7 @@ format = 'tsv' +@@ -755,7 +755,7 @@ format = 'tsv' # [sources.parental-control] - # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v3/parental-control.md', 'https://ipv6.download.dnscrypt.info/resolvers-list/v3/parental-control.md'] + # urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/parental-control.md', 'https://download.dnscrypt.info/resolvers-list/v3/parental-control.md'] - # cache_file = 'parental-control.md' -+ # cache_file = '/var/cache/dnscrypt-proxy/parental-control.md' ++ # cache_file = '@GENTOO_PORTAGE_EPREFIX@/var/cache/dnscrypt-proxy/parental-control.md' # minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' + ### dnscry.pt servers - See https://www.dnscry.pt +@@ -763,7 +763,7 @@ format = 'tsv' + # [sources.dnscry-pt-resolvers] + # urls = ["https://www.dnscry.pt/resolvers.md"] + # minisign_key = "RWQM31Nwkqh01x88SvrBL8djp1NH56Rb4mKLHz16K7qsXgEomnDv6ziQ" +- # cache_file = "dnscry.pt-resolvers.md" ++ # cache_file = "@GENTOO_PORTAGE_EPREFIX@/var/cache/dnscrypt-proxy/dnscry.pt-resolvers.md" + # refresh_delay = 73 + # prefix = "dnscry.pt-" diff --git a/net-dns/doggo/Manifest b/net-dns/doggo/Manifest index 7c66ae00dce3..fc52b28dd1f3 100644 --- a/net-dns/doggo/Manifest +++ b/net-dns/doggo/Manifest @@ -1,4 +1,4 @@ DIST doggo-1.0.5-deps.tar.xz 13365492 BLAKE2B 4f583509b70e83b2d7bf80dba587e86b67de08276b7b7171a3270f37b50d7d66a3a1348fc72899868637ef5890ae3f3b88a0bc5bcf5c60bce757f208ecb5588f SHA512 50b7cc03fab4ce1b40b1a290e84afe7b6006ef194ab7f19bfe7b21f97cc35b6050830f765b6e9c069aafd86ae5581ffdc4b6e69cf05dc8303fdec2a2b4b33ce7 DIST doggo-1.0.5.tar.gz 2438614 BLAKE2B caae6dc359e990a72387f9794e506b4b31dea202ba857cfbf8271c95b8290e82bcdbb8aa1cd0cc07455a6899cccac2fdf7039a7aea12479d5fb5ea841bcc3bee SHA512 95e3524a5c121f0817dc40a5adf86811d8a3897d4e2374e0a51abc483d145cbf9c8aa27af2ba4acc0fad84b96ee1cf6e482f936ecbe9476c6a134b927d71730b -EBUILD doggo-1.0.5.ebuild 791 BLAKE2B 27f4782ee7c940af90f9a244e436afb4e0bc4fe5b5d45f60a99bd2a51d204fa83567c02a2a355a6176dabeadf92bf0083c891c17d531f1acc2f0ed46bb036375 SHA512 6da8fabf9786759f94edb74b51971d9dbd1656df7a51280d6ae0cf665197de1c8c282a37949558253f20c61f0a79d7f3dcc2d9034f1f35025ee004ae63587057 +EBUILD doggo-1.0.5.ebuild 790 BLAKE2B 996606877c55ebbc51f0fc214b31bb750f4ce305900416b63bfae8011138182b86ead972c5beec9fbd263c031593f564a544f47efdfc6491fcbaa7fa5684208c SHA512 4da151aec64adeebe1146afd1d1e6a8be18a81918f3843ac1a1f0f9fb958b8ab86b6ccdcd2a9e7d95768fda479595d0d5ddf66bda5e26d687c9373279d44e13f MISC metadata.xml 490 BLAKE2B 69393b96a0d24771327d3b5dab102a428576e45041032722b54fcec478a5536299b6f98b35ff6b1f7ceeaafbf4fb24a193738e10a8cbe842c79eb71e3fd736a0 SHA512 164f5b5d712a0f35cf9c64181deb5d5fee59b754a2ed4f58a6ff6e5d2ad7157e28d0c20e390971b7caed638021625d5259a82b704e3a28c4b4381be6b22fd753 diff --git a/net-dns/doggo/doggo-1.0.5.ebuild b/net-dns/doggo/doggo-1.0.5.ebuild index cb4e40048fc1..3f57844ecb91 100644 --- a/net-dns/doggo/doggo-1.0.5.ebuild +++ b/net-dns/doggo/doggo-1.0.5.ebuild @@ -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 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/mr-karan/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${ LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" src_compile() { emake build-cli VERSION=${PV} diff --git a/net-dns/idnkit/Manifest b/net-dns/idnkit/Manifest index 6afeb8c881d0..91238a4cdadd 100644 --- a/net-dns/idnkit/Manifest +++ b/net-dns/idnkit/Manifest @@ -1,3 +1,4 @@ +AUX idnkit-2.3-incompatible-pointers.patch 923 BLAKE2B e178cb274a8239b4d894426b05468536ac0c78c9782405037e696ba331f69d17f2193632842503e3b7f0ffa093130f33254feff937711d225d2a974b8fb9c53b SHA512 bef7e5e63f329493efae1ca6ef2b699913d6f4b0ed14d5fcc2edfa0b7bcf7b91a83d387b98fd1454f003a3ea26536e9007928e5b7e24d91ab3672224b7ae2cab DIST idnkit-2.3.tar.bz2 1473267 BLAKE2B efc2a93527c217b32bfd0e2546944b30d39c3fa046e17c11f2084721f966dc838bfa821c88378c0604cbeafb8d4970cf3c19122182448d5e48c2d392a42225c6 SHA512 a0cbc111d4b7d5f444c9b79ae76378fd2edf18097adca27d5ebf811e12091f609ec45d2c62a95b1e295bd1fa644bd8a38d79841f7f4e85dcd1f6a1cd5ca622e4 -EBUILD idnkit-2.3-r1.ebuild 580 BLAKE2B 0252df0a30adc6ae1d2a270e359f355c45f52af5cb1698ece800e3ccec42190f61e238f6471b94a859a9739722fa6612f579b3c25be09441271957f82be601c1 SHA512 96c9ee9eab4cff078e7ead755f1db7235207df121d4a61699e93b3816a3ca7277f91a446f960ec6fa79656dbf9ecb62e3fdb638c0edd92606f057324a4dceb6d +EBUILD idnkit-2.3-r2.ebuild 642 BLAKE2B 170804c757cd4c5363ccb6582f5f5c735db846b561fe3ab793dd6c38d0a0732b9f4821ec3d9dd42c7c90cdfaf4e32e3aa99abdab0c2a8e4ded4eecedb5947acb SHA512 80a618d893a0c15215c44ef4ca8fb856035645b5bd87f27ac836d9f3433409d8c5d32347625d2571b75543241b981da64c685615bc63695f164b792fcbf576c8 MISC metadata.xml 247 BLAKE2B 633933d19c9480a7b76e66cd77a4b26e7985624ed286909a945d5100b3297b16eb3e4104d887f99b799bfafad9f70d87f7b60ec017e8fca2d98225e35b04c9fd SHA512 02fa7bff65c21e688140840b6c08711ad63c8f93cc6821feafb545557398e4a33cf40eba1b1b6ccb2431f8bcfd90a1180aeeb1574ef2d53074e39cfd45ad3106 diff --git a/net-dns/idnkit/files/idnkit-2.3-incompatible-pointers.patch b/net-dns/idnkit/files/idnkit-2.3-incompatible-pointers.patch new file mode 100644 index 000000000000..130d18b2307f --- /dev/null +++ b/net-dns/idnkit/files/idnkit-2.3-incompatible-pointers.patch @@ -0,0 +1,29 @@ +Fix incompatible pointers for modern C, hope that restrict qualifier +holds in this scenario +https://bugs.gentoo.org/919224 +--- a/lib/localconverter.c ++++ b/lib/localconverter.c +@@ -599,12 +599,12 @@ + inleft = 0; + outbuf = NULL; + outleft = 0; +- iconv(ictx, (const char **)NULL, &inleft, &outbuf, &outleft); ++ iconv(ictx, NULL, &inleft, &outbuf, &outleft); + + inleft = strlen(from); + inbuf = from; + outleft = tolen - 1; /* reserve space for terminating NUL */ +- sz = iconv(ictx, (const char **)&inbuf, &inleft, &to, &outleft); ++ sz = iconv(ictx, (char ** restrict)&inbuf, &inleft, &to, &outleft); + + if (sz == (size_t)(-1) || inleft > 0) { + switch (errno) { +@@ -630,7 +630,7 @@ + * Append a sequence of state reset. + */ + inleft = 0; +- sz = iconv(ictx, (const char **)NULL, &inleft, &to, &outleft); ++ sz = iconv(ictx, NULL, &inleft, &to, &outleft); + if (sz == (size_t)(-1)) { + switch (errno) { + case EILSEQ: diff --git a/net-dns/idnkit/idnkit-2.3-r1.ebuild b/net-dns/idnkit/idnkit-2.3-r2.ebuild index 67dd9b43e2e0..3a20fa937d68 100644 --- a/net-dns/idnkit/idnkit-2.3-r1.ebuild +++ b/net-dns/idnkit/idnkit-2.3-r2.ebuild @@ -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 @@ -19,6 +19,8 @@ DEPEND=" dev-lang/perl " +PATCHES=( "${FILESDIR}"/"${P}"-incompatible-pointers.patch ) + src_configure() { econf $(use_enable liteonly) } diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest index 6827bf2a8e1e..e409949c589b 100644 --- a/net-dns/knot-resolver/Manifest +++ b/net-dns/knot-resolver/Manifest @@ -1,7 +1,7 @@ AUX knot-resolver-5.5.3-docdir.patch 925 BLAKE2B 9d40a287fe0a6d883d46dbe13fa3ba5f19f73b61fbd8c8eb6ec4061744b8c4b8eeb04533b18cede2051aaa5ddacca96b21432c0dac00f8be9087cb8e5d5fed0d SHA512 18259bc66b1b3ff20ee34a01373017267e1cf76a458c938673e925d972ded8bdc863bb961fd93983e45080d7b0b88ab30c513153e6b2b4323a3d95f6724baff5 AUX knot-resolver-5.5.3-nghttp-openssl.patch 1087 BLAKE2B 4570658d9d358384c435c0b4694995945f9c788249899670e000d3273ae6c2631ff69319660db2d04f4143e24746bc0160295042a7887d30dae09de11556ce8e SHA512 50e8a99aef8bc4ce41ddb4d1760cd96818859b440aa74effdc1482af150c21f4fc3e451fae739a07161fc5a2e0ee2cd093c26950dd4e16de430e6bb8a635dd84 -AUX knot-resolver-5.7.0-r2-tmpfiles.patch 1353 BLAKE2B f93e30113275fb92d524cfd7daf72d8f1da95970d721d4e5a83cb8fd3d1d1d95d65ade26609028b413645be3d23c2d3f30f9b43a36b8900e456fd32f316ec146 SHA512 6f9ec265ff7a82292dfcb8b1ab5756f9835573048c29829dd41fc595b535ab7a4d8c2e03cbe49894a78319fb4cf01d6be0ad02dbdc2e7e5559552d5f52a94908 AUX knot-resolver-5.7.4-libsystemd.patch 627 BLAKE2B c59e1ff9e99d11031227725625471a2229fc4143a5e0fdd2946aa35c025322981ad67b0717524cd7bbc0f13ea891906d3f7b74733c4bed534ad9a4ed41b59176 SHA512 2cfa807f2b72664ca6bc4ac7e41701bfe6fdab08b2f44fbd0eadb5aa165b726cb540eeef1480cc095e3b984f15205924984c3039cdc4d6cf1e0068f7524e9f99 +AUX knot-resolver-6.0.11-abs_path_socket.patch 14998 BLAKE2B 83cab45c77fb86fc55c648271ff5d853fa8c96cd5a7ba4a082f32475948863a13f78c3269f42652bcaa6e5c5d3924f92b0f73f1eb5bb75161e7448fef9181fe2 SHA512 e3cbb06a17cdf4aa8a0973116f4f52ca49114c56954648ca5cc59ba46372edba7533f554b2e6737fd43b029824b06951755cf18fb924a57b1d13df4edfeec127 AUX knot-resolver-6.0.9-config-example.patch 992 BLAKE2B 35d2d4705ee916ffba56a4019bf07fddf64b4ec52fe599338a008acf94c6ec418ee8c6ff2b40706eaffe050b52f322cac5bac27956b639e28b53accabfc24869 SHA512 64d70abeb89210d26fa5d0fa56d8ab9a6294b5955704ccd333f83d94d7aa5e312c3342b9d370697c8eb74590e6c38422d23640a1d3806a33e9817ae56a283ec9 AUX knot-resolver-6.0.9-libsystemd.patch 799 BLAKE2B 21c94660986683ed2515320c1e9d75fd62d98947c1accbacc3694431a9baf1d35a72c4f487e3938101e104368b5aefab91162f5909501241eefff3b6d7da8d8b SHA512 71fe41053eb4cfa22a7440da49f4f314acba5b688ef938dd4602b00eb12e0f88fdb4d45a6d8fbf816c4ea1f5363b9973c0d3d7f60286b63a7dfa071b7f016046 AUX knot-resolver-6.0.9-pytest_tomli.patch 929 BLAKE2B 1a0349c2bfbe945411c2220e50be2c93fb917d3c81c8f506576ce7457595da932ab1a717b812656b76b1abc928bd0276327cd37d524a402410016d092d5f71dc SHA512 643e208b9c12156b8a5173afe2d46e489c9f9eb396847c825a484594f3fe3fe7395bd15083a0940e3de36a0b5e6a866364e8dc32297f0e9a4fafde5088ade002 @@ -10,15 +10,14 @@ AUX knot-resolver.confd 336 BLAKE2B eb4e119a67bee3cdcebcee7f917ad13a1976eb04fb82 AUX knot-resolver.initd 936 BLAKE2B f0681cf1c837089348196487ad6858998e76ce6f2303e68478e5b0d9b0de6307f198d5dbbf05a4debea3f02b604352c5460636e29251452833df1b397e5d11af SHA512 535b626f95de4c79906c2df0bf0665234aab05f7bc30a67a8eaf0db37b4bc6cf630d613323a5fa882bb2b40ee712805c8259323c3c87a004c70e8834926d7208 AUX kres-cache-gc.initd 625 BLAKE2B 9b6002cb2811d1c6ad30e1c6dc98fc39bb17760d80f76f3c218857dd10023001c75684c8930a596713513bae067d68992cb1d91d167eeadd95214cba736b8135 SHA512 f4826fcdb61445aecc6b380f2e44dc193e93eaf6164f6f98e89cd67d5b1aa130eb17941e623276401982a7bf454a2155d3e339ad34d18f0b0bb361260622dfd6 AUX kresd.confd-r1 284 BLAKE2B e57439a2b7fd0f433c8ea221129c1696a74c6db95f1182a0a434eb7a53feeb5a8f8678539323bb8094e19e45d781747aae3acccd683fd3b3b4f375934191a77c SHA512 40200c590638e19f9fe26367e10148c022f11dba1182cde2d10cab695de52fd2acb8133e9f05ecc93457fccb019ef4c0b3e47999e0926bd50f1d283ba80d1195 -AUX kresd.initd-r1 793 BLAKE2B 267b16475029eee74eed892fb73e8abc9f197a974f35fb22d6013b9ae68a4e5f18c0f5f371ec6309057aa31db7938f5f7dd3e87d9e1b00598253088a61aad452 SHA512 457eccdd9ec841920674d175d3bf8d25a75ea1f076cdb72a8aa24d743664412250436360e73e96fd5ce3370340c27ed6bf37faac502155e13971541653f84b72 AUX kresd.initd-r2 801 BLAKE2B add0d31ee7781e987d67e5b3bf187177c9e50819dd7dbdcce3637912a27ec6da8a7c0575a4212cfe0aa620fa749558a852fd930a83871ca988b2fa6e8e0ef785 SHA512 041b3b7a31c1d9957f9437527987d88e89eeaa3f72aea2f5fc1dd28f40aab7b222a5edf42ccca8f522dae60c893d2d82900329006cf7a4f4bcc733f6a1208a4a -DIST knot-resolver-5.7.2.tar.xz 1928336 BLAKE2B c4f17a050752a5d1ed141bae646f53f313e866b91b80bb72d37c6b2907d365333ca02fbadf4ff49e5559b721b695d1e7af3417a25e0518dbdfdec1860f890408 SHA512 973e9a541b54cee0d230247d279785a83ce2127216b12ee9f314a49adedac3e23e8369900d6f0985b0a666e9bcae7772f29224565e6208ed4988b13530e4ff0b -DIST knot-resolver-5.7.2.tar.xz.asc 833 BLAKE2B f73f52d7b2326a58a37b821cd8495d20c93017bd1f7bad2cc828f807f1886fc376dc95405b3b36047719f8566e27d7c1052b7ab11fae3d1d67c5563a293d965e SHA512 cf05ceca455400004cf249b1029b93619a1d5fcf839bca1259a7b411a1ddef1da0aff187ea0023c587de1981e91a8d26af3bb22341cf426e5055e8ca1c4024e2 DIST knot-resolver-5.7.4.tar.xz 1931124 BLAKE2B 670bd0bac1417fde0f7b6a02797e49e22af081e55b63c23e1fcd8dee369f21b7a2a8997fe641f69e7f0de5cbc7960307f32c939eb85c260fb2de015542dfce1e SHA512 5d8ea5b5b0cba5a1058aaa6e04573c838895d6b2c204e8d09c9ad898fb074c52ef7589afdad164b007edf151167d31fd0f940466edfeec597f96e5bc1cd72171 DIST knot-resolver-5.7.4.tar.xz.asc 833 BLAKE2B 6432bc23ff779998eb351d57db34bcd9e41ea928fa5d83463122012d8adad16edec7afbcbfb0f0b41789c7797c895216b793ced2d6a01d69fdc3b0f2d12879cb SHA512 d34a0e1fd8be372c325199ace5bb6f20b2b395a4fb5a6f6f4c2c89f29741ecfd36234900b0e836c174df831716012589231551b13426a6728e37aba6c74c197f -DIST knot-resolver-6.0.9.tar.xz 2127432 BLAKE2B 185a78737f6830b4ff036a537f2ceb032388e50ef050c239f0ce21d84a1fa2d1632aa95802a73d4ff80bcb18cef23f444a10b594121cd449cee3c12182dcab2e SHA512 98b3074927d9cb484738592a6cad84b818130aafd91473ee6e17458884c3ff5cb528e22d020d8b8b92b429feb2e3432e9cb77574f505bdf2e5f6f286009ecd59 -DIST knot-resolver-6.0.9.tar.xz.asc 833 BLAKE2B 10c9c895bd3a728b8a9d3769cb72ccc5dbf5c17164df388d1519c5e4734e21ee568c079191ada6ff76f1a150be911d79c5d1ebb02597c32d1aa5003a5ceaf02d SHA512 b46a9346deda328fbe6638657e2d87903052ac36b11ff5d4f68bd145487687c1c2f43a7b62e40585f5853816b7ed66b1af3b98642e882f72e36cf521f5eb1bce -EBUILD knot-resolver-5.7.2.ebuild 2215 BLAKE2B 373293e59d03c0d65329f3dba92072d7618206d7a5d084555495f639f8b906e5cc3014b4c4dcbcca56826af2afa418d6cd135ae22c1dc57e9132df056b54c1b6 SHA512 77f661a294e6fecda8fe0cbc31e8518822f30f6b05093ff629c28147f2bae780e81fef5d47251e654094b72f6eb533e3e05c61b787664fac0fc7e84399a3508a +DIST knot-resolver-6.0.10.tar.xz 2138660 BLAKE2B 9a80e76272b4cb7a30b75b832627529dfbdec7114ef25a576c9a590221e21ef17efef23ec328783f2b687e8f2e0d0cee5b54048a37a0d08a35004ba3e510e14c SHA512 63d5c7a45ca52f02616ac6374625ccddd631cd71a5b6ebc99498e0c28f581eefef1dd5bbb0d8676f1ec53c2023f2b28cebc432e981c51b6166b4b3b1d8443704 +DIST knot-resolver-6.0.10.tar.xz.asc 833 BLAKE2B 5bd7baba40d6577764b3f0d985a2ee7edaff99ce7fc1cd89f42488504c657f1be2a5bf7267eaed225281be6f8154fb21c92ab7ee1d34b844b3001b7ad391d5b6 SHA512 26b8faffe10529559ec9081a567d6c740a9c61f81edf766ea1c32b01129edf9a4049a2844df0c27cb0fd5008e299d6431b099b0a09ac5624f24155d8b1a3b53f +DIST knot-resolver-6.0.11.tar.xz 2139448 BLAKE2B 0d96790ce3ecb85d9466d90683de77d46f75d360f032ae94d18a7b493eedb58c86f6274a5de2eaed4eca792b3ef6ff673120c3a7526e9167d404b8dd0ccd20f3 SHA512 7a3dd8e925a8ba44c66d00175fd689b4daddacde8ffb96712c3770dbaf1c54a2cb90dda340fe674dc11e1222fdd3e4112aa3df72270f422b4c8d2c60f9af9cea +DIST knot-resolver-6.0.11.tar.xz.asc 833 BLAKE2B 3e959798699c1dc0698cdb6e0c8509ba8a3287eab485511b18e01cc80e906149095ca9a537b3b4c45969c338022b61afd6377f106506b59f969fdf44d5e729be SHA512 cf6b034a9ad0daf118c18179dea1c32c9de604581735d89127c9c0fe80122a6159b49ec6176bee0955114d12f8ad20e29958a841c9b6464551e3def69d2e3932 EBUILD knot-resolver-5.7.4-r1.ebuild 2106 BLAKE2B c55d805cc0b34c3d7e6e5144233dd125db2d354c012c8ddb43fd5cd8baddf52b0cf1a67426ef4988cf47a80b79ffde3ee87daf90ac62428158944588b930f23d SHA512 04d439202f6739424a2c28b5379e86cd17aaa6f3841e26a8045ee44a49ccf53a2aad72561decf1cb661bfa0325e96f72dfa85750b4d9128ce2af2c01cf0a880a -EBUILD knot-resolver-6.0.9.ebuild 4544 BLAKE2B 693aa572ff552ddff76a49e6506dc2e89fb7822663d5d195af6426d5de45238f9cdc290a22155f8dcb4ffffee17aaf704a8c67547ca88c25f92039fcd1c811ec SHA512 5b1dbb81ce534383f281e03eb356e14218fd51af82b69a7546a0659ee83d4197d9bce5745674be7021df5ee8598bd68aec135618e23873366229cd66687f9501 -MISC metadata.xml 666 BLAKE2B 1a1dd25bfce96daec18b94625384ffa003d17eb87ce89d4c74d1a935c79cb176a1bd7e7fdb3989e41dcbf6aea6e5b48125134722d858ad20a76fd1725703ee8c SHA512 a7e66a0096de02ed0815fe1536e70987e71f61f36e6cb51b7017fcebf4680e421a39a29fd351edbc2e2a8410b54bfecadcd533b87441013d5eb107faf4598499 +EBUILD knot-resolver-6.0.10.ebuild 4913 BLAKE2B c87dee12d38e03c544e83492056e6c371d54b42c80a9de0fb9f595b00c9524910cf20c22a6c6834fdb5adf40fe023bb1c8a1d1436bdccd8fa3a41ebb4a43e70c SHA512 79bb22cc2fe91f5e013d3c17696db3715c580c44fde929e22d66bed2e5db1129499bf5421795e0588204bec2ab6f1f521f1ba7c9a980605105adb68839f68c2c +EBUILD knot-resolver-6.0.11.ebuild 5003 BLAKE2B dc10ccf7888e52396f947aabfe45ad424fdfa4b7603633abb92e2cd99b3ce49995915ca0e4efdeb41e3308658a81d168913ba8f9364bf7bc70c1d31ed520a3d1 SHA512 e7f5bfc5fd4d535a11a84a00e96399b02cc30af5218bb6ffa19015afad07318570877403f462a6db75030780a5ecf025ac0a9d9d30b2f06bf45f27a5b2019393 +MISC metadata.xml 832 BLAKE2B 006e679fa64a03348302e0a0f1bdc565f2c0bebe8add8a37c7397a1c4ae058fc536917713511c7c3e541349c964a011b46182a23afe9c8f69e8f82b5ea492ea1 SHA512 57206528c668b603a1d343dffee54c077bda1ef9aacfd0a6073ab2024b417d75c85ff7abf66cd493d58eb9dbd32cbc02be2ca4aa0025716df34cb56468ab2fee diff --git a/net-dns/knot-resolver/files/knot-resolver-5.7.0-r2-tmpfiles.patch b/net-dns/knot-resolver/files/knot-resolver-5.7.0-r2-tmpfiles.patch deleted file mode 100644 index a909a6e8c89b..000000000000 --- a/net-dns/knot-resolver/files/knot-resolver-5.7.0-r2-tmpfiles.patch +++ /dev/null @@ -1,60 +0,0 @@ -Always install tmpfiles config. - -Bug: https://bugs.gentoo.org/921567 -Bug: https://gitlab.nic.cz/knot/knot-resolver/-/issues/886 ---- a/meson.build -+++ b/meson.build -@@ -237,9 +237,7 @@ subdir('etc') - - - # Systemd unit files --if systemd_files != 'disabled' -- subdir('systemd') --endif -+subdir('systemd') - - - # Additional files ---- a/systemd/meson.build -+++ b/systemd/meson.build -@@ -12,6 +12,18 @@ systemd_config.set('etc_dir', etc_dir) - systemd_config.set('run_dir', run_dir) - systemd_config.set('lib_dir', lib_dir) - -+## tmpfiles -+tmpfiles = configure_file( -+ input: 'tmpfiles.d/knot-resolver.conf.in', -+ output: 'knot-resolver.tmpfiles', -+ configuration: systemd_config, -+) -+install_data( -+ tmpfiles, -+ rename: ['knot-resolver.conf'], -+ install_dir: systemd_tmpfiles_dir, -+) -+ - if systemd_files == 'enabled' - ## unit files - kresd_service = configure_file( -@@ -39,18 +51,6 @@ if systemd_files == 'enabled' - ) - install_man(kresd_systemd_man) - -- ## tmpfiles -- tmpfiles = configure_file( -- input: 'tmpfiles.d/knot-resolver.conf.in', -- output: 'knot-resolver.tmpfiles', -- configuration: systemd_config, -- ) -- install_data( -- tmpfiles, -- rename: ['knot-resolver.conf'], -- install_dir: systemd_tmpfiles_dir, -- ) -- - ## sysusers - sysusers = configure_file( - input: 'sysusers.d/knot-resolver.conf.in', --- -2.43.0 - diff --git a/net-dns/knot-resolver/files/knot-resolver-6.0.11-abs_path_socket.patch b/net-dns/knot-resolver/files/knot-resolver-6.0.11-abs_path_socket.patch new file mode 100644 index 000000000000..dea7a243bb44 --- /dev/null +++ b/net-dns/knot-resolver/files/knot-resolver-6.0.11-abs_path_socket.patch @@ -0,0 +1,385 @@ +https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1664.patch +From a009365df3f0429edfd181d0109372aca1892298 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ale=C5=A1=20Mr=C3=A1zek?= <ales.mrazek@nic.cz> +Date: Fri, 28 Feb 2025 10:07:08 +0100 +Subject: [PATCH 1/5] Revert "python: constants: added API_SOCKET_NAME" + +This reverts commit cee2250c5a52a4d67ea2a37cc97761ba530f856b. +--- + python/knot_resolver/constants.py | 9 +++------ + python/knot_resolver/constants.py.in | 9 +++------ + 2 files changed, 6 insertions(+), 12 deletions(-) + +diff --git a/python/knot_resolver/constants.py b/python/knot_resolver/constants.py +index 525e8629c..d65c24acb 100644 +--- a/python/knot_resolver/constants.py ++++ b/python/knot_resolver/constants.py +@@ -5,18 +5,15 @@ VERSION = "6.0.11" + USER = "knot-resolver" + GROUP = "knot-resolver" + +-# default files names +-API_SOCK_NAME = "kres-api.sock" +- +-# default dirs paths ++# dirs paths + RUN_DIR = Path("/run/knot-resolver") + ETC_DIR = Path("/etc/knot-resolver") + SBIN_DIR = Path("/usr/sbin") + CACHE_DIR = Path("/var/cache/knot-resolver") + +-# default files paths ++# files paths + CONFIG_FILE = ETC_DIR / "config.yaml" +-API_SOCK_FILE = RUN_DIR / API_SOCK_NAME ++API_SOCK_FILE = RUN_DIR / "kres-api.sock" + + # executables paths + KRESD_EXECUTABLE = SBIN_DIR / "kresd" +diff --git a/python/knot_resolver/constants.py.in b/python/knot_resolver/constants.py.in +index 8c2974a58..35c25ac64 100644 +--- a/python/knot_resolver/constants.py.in ++++ b/python/knot_resolver/constants.py.in +@@ -5,18 +5,15 @@ VERSION = "@version@" + USER = "@user@" + GROUP = "@group@" + +-# default files names +-API_SOCK_NAME = "kres-api.sock" +- +-# default dirs paths ++# dirs paths + RUN_DIR = Path("@run_dir@") + ETC_DIR = Path("@etc_dir@") + SBIN_DIR = Path("@sbin_dir@") + CACHE_DIR = Path("@cache_dir@") + +-# default files paths ++# files paths + CONFIG_FILE = ETC_DIR / "config.yaml" +-API_SOCK_FILE = RUN_DIR / API_SOCK_NAME ++API_SOCK_FILE = RUN_DIR / "kres-api.sock" + + # executables paths + KRESD_EXECUTABLE = SBIN_DIR / "kresd" +-- +GitLab + + +From 2b312097f4ed0c0240b70fb365ac5d1f515812bc Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ale=C5=A1=20Mr=C3=A1zek?= <ales.mrazek@nic.cz> +Date: Fri, 28 Feb 2025 10:07:35 +0100 +Subject: [PATCH 2/5] Revert "datamodel: management socket default based on + rundir" + +This reverts commit 10fb87547af05cd78e76dfb94951c34f4554d090. +--- + doc/_static/config.schema.json | 4 +-- + python/knot_resolver/client/command.py | 35 +++++-------------- + .../knot_resolver/datamodel/config_schema.py | 17 +++------ + tests/manager/datamodel/test_config_schema.py | 23 ------------ + 4 files changed, 15 insertions(+), 64 deletions(-) + +diff --git a/doc/_static/config.schema.json b/doc/_static/config.schema.json +index a429b15dd..0bedbbc4e 100644 +--- a/doc/_static/config.schema.json ++++ b/doc/_static/config.schema.json +@@ -54,7 +54,7 @@ + "default": 256 + }, + "management": { +- "description": "Configuration of management HTTP API. By default, unix-socket is located in 'rundir'.", ++ "description": "Configuration of management HTTP API.", + "type": "object", + "properties": { + "unix-socket": { +@@ -75,7 +75,7 @@ + } + }, + "default": { +- "unix_socket": "kres-api.sock", ++ "unix_socket": "/run/knot-resolver/kres-api.sock", + "interface": null + } + }, +diff --git a/python/knot_resolver/client/command.py b/python/knot_resolver/client/command.py +index 464eb16e6..3966f8ca9 100644 +--- a/python/knot_resolver/client/command.py ++++ b/python/knot_resolver/client/command.py +@@ -4,7 +4,7 @@ from pathlib import Path + from typing import Dict, List, Optional, Set, Tuple, Type, TypeVar + from urllib.parse import quote + +-from knot_resolver.constants import API_SOCK_FILE, API_SOCK_NAME, CONFIG_FILE, RUN_DIR ++from knot_resolver.constants import API_SOCK_FILE, CONFIG_FILE + from knot_resolver.datamodel.types import IPAddressPort + from knot_resolver.utils.modeling import parsing + from knot_resolver.utils.modeling.exceptions import DataValidationError +@@ -154,38 +154,21 @@ def get_socket_from_config(config: Path, optional_file: bool) -> Optional[Socket + try: + with open(config, "r", encoding="utf8") as f: + data = parsing.try_to_parse(f.read()) +- +- rkey = "rundir" +- rundir = Path(data[rkey]) if rkey in data else RUN_DIR +- + mkey = "management" + if mkey in data: + management = data[mkey] +- +- ikey = "interface" +- if ikey in data[mkey]: +- ip = IPAddressPort(data[mkey][ikey], object_path=f"/{mkey}/{ikey}") ++ if "unix-socket" in management: + return SocketDesc( +- f"http://{ip.addr}:{ip.port}", +- f'Key "/management/interface" in "{config}" file', ++ f'http+unix://{quote(management["unix-socket"], safe="")}/', ++ f'Key "/management/unix-socket" in "{config}" file', + ) +- +- skey = "unix-socket" +- if skey in management: +- socket = Path(management[skey]) +- if not socket.is_absolute(): +- socket = rundir / socket ++ if "interface" in management: ++ ip = IPAddressPort(management["interface"], object_path=f"/{mkey}/interface") + return SocketDesc( +- f'http+unix://{quote(str(socket), safe="")}/', +- f'Key "/management/unix-socket" in "{config}" file', ++ f"http://{ip.addr}:{ip.port}", ++ f'Key "/management/interface" in "{config}" file', + ) +- +- socket = rundir / API_SOCK_NAME +- return SocketDesc( +- f'http+unix://{quote(str(socket), safe="")}/', +- f'Key "/rundir" in "{config}" file', +- ) +- ++ return None + except ValueError as e: + raise DataValidationError(*e.args) from e # pylint: disable=no-value-for-parameter + except OSError as e: +diff --git a/python/knot_resolver/datamodel/config_schema.py b/python/knot_resolver/datamodel/config_schema.py +index f8733cb11..410e94d7c 100644 +--- a/python/knot_resolver/datamodel/config_schema.py ++++ b/python/knot_resolver/datamodel/config_schema.py +@@ -1,10 +1,9 @@ + import logging + import os + import socket +-from pathlib import Path + from typing import Any, Dict, List, Literal, Optional, Tuple, Union + +-from knot_resolver.constants import API_SOCK_NAME, RUN_DIR, VERSION ++from knot_resolver.constants import API_SOCK_FILE, RUN_DIR, VERSION + from knot_resolver.datamodel.cache_schema import CacheSchema + from knot_resolver.datamodel.defer_schema import DeferSchema + from knot_resolver.datamodel.dns64_schema import Dns64Schema +@@ -96,7 +95,7 @@ class KresConfig(ConfigSchema): + rundir: Directory where the resolver can create files and which will be it's cwd. + workers: The number of running kresd (Knot Resolver daemon) workers. If set to 'auto', it is equal to number of CPUs available. + max_workers: The maximum number of workers allowed. Cannot be changed in runtime. +- management: Configuration of management HTTP API. By default, unix-socket is located in 'rundir'. ++ management: Configuration of management HTTP API. + webmgmt: Configuration of legacy web management endpoint. + options: Fine-tuning global parameters of DNS resolver operation. + network: Network connections and protocols configuration. +@@ -119,7 +118,7 @@ class KresConfig(ConfigSchema): + rundir: WritableDir = lazy_default(WritableDir, str(RUN_DIR)) + workers: Union[Literal["auto"], IntPositive] = IntPositive(1) + max_workers: IntPositive = IntPositive(WORKERS_MAX) +- management: ManagementSchema = lazy_default(ManagementSchema, {"unix-socket": str(API_SOCK_NAME)}) ++ management: ManagementSchema = lazy_default(ManagementSchema, {"unix-socket": str(API_SOCK_FILE)}) + webmgmt: Optional[WebmgmtSchema] = None + options: OptionsSchema = OptionsSchema() + network: NetworkSchema = NetworkSchema() +@@ -174,14 +173,6 @@ class KresConfig(ConfigSchema): + ) + return obj.workers + +- def _management(self, obj: Raw) -> Any: +- if obj.management.unix_socket: +- soc = Path(obj.management.unix_socket.serialize()) +- if soc.is_absolute(): +- return obj.management +- return ManagementSchema({"unix-socket": str(obj.rundir.to_path() / soc)}) +- return obj.management +- + def _dnssec(self, obj: Raw) -> Any: + if obj.dnssec is True: + return DnssecSchema() +@@ -268,7 +259,7 @@ def kres_config_json_schema() -> Dict[str, Any]: + """ + + context = get_global_validation_context() +- set_global_validation_context(Context(RUN_DIR, False)) ++ set_global_validation_context(Context(None, False)) + + schema = KresConfig.json_schema( + schema_id=f"https://www.knot-resolver.cz/documentation/v{VERSION}/_static/config.schema.json", +diff --git a/tests/manager/datamodel/test_config_schema.py b/tests/manager/datamodel/test_config_schema.py +index 437cade8d..9ec2b31b2 100644 +--- a/tests/manager/datamodel/test_config_schema.py ++++ b/tests/manager/datamodel/test_config_schema.py +@@ -1,9 +1,7 @@ + import inspect + import json +-import os + from typing import Any, Dict, Type, cast + +-from knot_resolver.constants import API_SOCK_FILE, API_SOCK_NAME, RUN_DIR + from knot_resolver.datamodel import KresConfig + from knot_resolver.datamodel.lua_schema import LuaSchema + from knot_resolver.utils.modeling import BaseSchema +@@ -51,31 +49,10 @@ def test_config_check_str_type(): + def test_config_defaults(): + config = KresConfig() + +- # Management API default +- assert config.management.unix_socket.to_path() == API_SOCK_FILE +- + # DNS64 default + assert config.dns64 == False + + +-def test_management_unix_socket(): +- cwd = os.getcwd() +- config = KresConfig({"rundir": cwd}) +- assert str(config.management.unix_socket) == f"{cwd}/{API_SOCK_NAME}" +- +- my_soc = "my-new.soc" +- config = KresConfig({"management": {"unix-socket": my_soc}}) +- assert str(config.management.unix_socket) == f"{RUN_DIR}/{my_soc}" +- +- +-def test_management_interface(): +- cwd = os.getcwd() +- config = KresConfig({"rundir": cwd, "management": {"interface": "127.0.0.1@5000"}}) +- +- assert config.management.unix_socket == None +- assert str(config.management.interface) == "127.0.0.1@5000" +- +- + def test_dnssec_false(): + config = KresConfig({"dnssec": False}) + +-- +GitLab + + +From c1f8f7bc043ca31b9aac96c13411769fad17f6b2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ale=C5=A1=20Mr=C3=A1zek?= <ales.mrazek@nic.cz> +Date: Fri, 28 Feb 2025 10:14:22 +0100 +Subject: [PATCH 3/5] datamodel: management: warning that the unix-socket is + not located in rundir + +--- + python/knot_resolver/datamodel/config_schema.py | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/python/knot_resolver/datamodel/config_schema.py b/python/knot_resolver/datamodel/config_schema.py +index 410e94d7c..713c4a3e2 100644 +--- a/python/knot_resolver/datamodel/config_schema.py ++++ b/python/knot_resolver/datamodel/config_schema.py +@@ -184,6 +184,14 @@ class KresConfig(ConfigSchema): + return obj.dns64 + + def _validate(self) -> None: ++ # warn about '/management/unix-socket' not located in '/rundir' ++ if self.management.unix_socket and self.management.unix_socket.to_path().parent != self.rundir.to_path(): ++ logger.warning( ++ f"The management API unix-socket '{self.management.unix_socket}'" ++ f" is not located in the resolver's rundir '{self.rundir}'." ++ " This can lead to permissions issues." ++ ) ++ + # enforce max-workers config + workers_max = _workers_max_count() + if int(self.workers) > workers_max: +-- +GitLab + + +From 2c467aceded3cfa6eb077439d63b8637d17155c3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ale=C5=A1=20Mr=C3=A1zek?= <ales.mrazek@nic.cz> +Date: Fri, 28 Feb 2025 10:17:17 +0100 +Subject: [PATCH 4/5] client: command: get_socket_from_config improved + +--- + python/knot_resolver/client/command.py | 15 ++++++++++----- + 1 file changed, 10 insertions(+), 5 deletions(-) + +diff --git a/python/knot_resolver/client/command.py b/python/knot_resolver/client/command.py +index 3966f8ca9..7a679885a 100644 +--- a/python/knot_resolver/client/command.py ++++ b/python/knot_resolver/client/command.py +@@ -5,7 +5,7 @@ from typing import Dict, List, Optional, Set, Tuple, Type, TypeVar + from urllib.parse import quote + + from knot_resolver.constants import API_SOCK_FILE, CONFIG_FILE +-from knot_resolver.datamodel.types import IPAddressPort ++from knot_resolver.datamodel.types import IPAddressPort, WritableFilePath + from knot_resolver.utils.modeling import parsing + from knot_resolver.utils.modeling.exceptions import DataValidationError + from knot_resolver.utils.requests import SocketDesc +@@ -154,16 +154,21 @@ def get_socket_from_config(config: Path, optional_file: bool) -> Optional[Socket + try: + with open(config, "r", encoding="utf8") as f: + data = parsing.try_to_parse(f.read()) ++ + mkey = "management" + if mkey in data: + management = data[mkey] +- if "unix-socket" in management: ++ ++ skey = "unix-socket" ++ if skey in management: ++ sock = WritableFilePath(management[skey], object_path=f"/{mkey}/{skey}") + return SocketDesc( +- f'http+unix://{quote(management["unix-socket"], safe="")}/', ++ f'http+unix://{quote(str(sock), safe="")}/', + f'Key "/management/unix-socket" in "{config}" file', + ) +- if "interface" in management: +- ip = IPAddressPort(management["interface"], object_path=f"/{mkey}/interface") ++ ikey = "interface" ++ if ikey in data[mkey]: ++ ip = IPAddressPort(management[ikey], object_path=f"/{mkey}/{ikey}") + return SocketDesc( + f"http://{ip.addr}:{ip.port}", + f'Key "/management/interface" in "{config}" file', +-- +GitLab + + +From f9a75b65cc3664294188de8a5cb93909ea58cadd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ale=C5=A1=20Mr=C3=A1zek?= <ales.mrazek@nic.cz> +Date: Fri, 28 Feb 2025 10:18:04 +0100 +Subject: [PATCH 5/5] NEWS: update about revert + +--- + NEWS | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/NEWS b/NEWS +index 70f5db2f0..614177308 100644 +--- a/NEWS ++++ b/NEWS +@@ -1,3 +1,11 @@ ++Knot Resolver 6.0.12 (2025-0m-dd) ++================================= ++ ++Bugfixes ++-------- ++- /management/unix-socket: revert to absolute path (#926, !1664) ++ ++ + Knot Resolver 6.0.11 (2025-02-26) + ================================= + +-- +GitLab + diff --git a/net-dns/knot-resolver/files/kresd.initd-r1 b/net-dns/knot-resolver/files/kresd.initd-r1 deleted file mode 100644 index 9732b48cc2cb..000000000000 --- a/net-dns/knot-resolver/files/kresd.initd-r1 +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: ${KRESD_GROUP:=knot-resolver} -: ${KRESD_USER:=knot-resolver} -: ${KRESD_CONFIG:=/etc/knot-resolver/kresd.conf} -: ${KRESD_RUNDIR:=/var/run/kresd} -: ${KRESD_PIDFILE:=/var/run/kresd.pid} - -command="/usr/sbin/kresd" -command_args="${KRESD_OPTS} -n -c ${KRESD_CONFIG} ${KRESD_RUNDIR}" -command_user="${KRESD_USER}:${KRESD_GROUP}" -pidfile="${KRESD_PIDFILE}" -command_background=true -retry="TERM/60/KILL/5" - -capabilities="^cap_net_bind_service,^cap_setpcap" - -name="knot-resolver" -description="scaleable caching DNS resolver" - -depend() { - need net - use logger - provide dns -} - -start_pre() { - checkpath -d -m 0750 -o "${KRESD_USER}:${KRESD_GROUP}" ${KRESD_RUNDIR} -} diff --git a/net-dns/knot-resolver/knot-resolver-5.7.2.ebuild b/net-dns/knot-resolver/knot-resolver-5.7.2.ebuild deleted file mode 100644 index f6591f2c3a50..000000000000 --- a/net-dns/knot-resolver/knot-resolver-5.7.2.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( luajit ) - -inherit lua-single meson tmpfiles verify-sig - -DESCRIPTION="A scaleable caching DNS resolver" -HOMEPAGE="https://www.knot-resolver.cz https://gitlab.nic.cz/knot/knot-resolver" -SRC_URI=" - https://knot-resolver.nic.cz/release/${P}.tar.xz - verify-sig? ( https://knot-resolver.nic.cz/release/${P}.tar.xz.asc ) -" - -LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="caps dnstap jemalloc kresc nghttp2 systemd test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND=" - ${LUA_DEPS} - acct-group/knot-resolver - acct-user/knot-resolver - dev-db/lmdb:= - dev-libs/libuv:= - net-dns/knot:= - net-libs/gnutls:= - caps? ( sys-libs/libcap-ng ) - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c:= - ) - jemalloc? ( dev-libs/jemalloc:= ) - kresc? ( dev-libs/libedit ) - nghttp2? ( net-libs/nghttp2:= ) - systemd? ( sys-apps/systemd:= ) -" -DEPEND=" - ${RDEPEND} - test? ( - dev-util/cmocka - ) -" -BDEPEND=" - virtual/pkgconfig - verify-sig? ( >=sec-keys/openpgp-keys-knot-resolver-20240304 ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-5.5.3-docdir.patch - "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch - - # Bug #921567 - "${FILESDIR}"/${PN}-5.7.0-r2-tmpfiles.patch -) - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg - -src_unpack() { - if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.asc} - fi - - unpack ${P}.tar.xz -} - -src_configure() { - local emesonargs=( - --localstatedir "${EPREFIX}"/var # double lib - # https://bugs.gentoo.org/870019 - -Dauto_features=disabled - -Ddoc=disabled - -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} - -Dopenssl=disabled - -Dmalloc=$(usex jemalloc jemalloc disabled) - $(meson_feature caps capng) - $(meson_feature dnstap) - $(meson_feature kresc client) - $(meson_feature nghttp2) - $(meson_feature test unit_tests) - $(meson_feature systemd systemd_files) - ) - - meson_src_configure -} - -src_install() { - meson_src_install - fowners -R ${PN}: /etc/${PN} - - newinitd "${FILESDIR}"/kresd.initd-r1 kresd - newconfd "${FILESDIR}"/kresd.confd-r1 kresd -} - -pkg_postinst() { - tmpfiles_process knot-resolver.conf -} diff --git a/net-dns/knot-resolver/knot-resolver-6.0.9.ebuild b/net-dns/knot-resolver/knot-resolver-6.0.10.ebuild index 6ef4cbb64fd0..8ae140b0c8cd 100644 --- a/net-dns/knot-resolver/knot-resolver-6.0.9.ebuild +++ b/net-dns/knot-resolver/knot-resolver-6.0.10.ebuild @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,13 +8,13 @@ DISTUTILS_EXT=1 DISTUTILS_OPTIONAL=1 DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_PEP517=poetry -# waiting app-admin/supervisor for py3_13 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) -inherit distutils-r1 lua-single meson tmpfiles verify-sig +inherit distutils-r1 lua-single meson optfeature tmpfiles verify-sig DESCRIPTION="A scaleable caching DNS resolver" HOMEPAGE="https://www.knot-resolver.cz https://gitlab.nic.cz/knot/knot-resolver" + SRC_URI=" https://knot-resolver.nic.cz/release/${P}.tar.xz verify-sig? ( https://knot-resolver.nic.cz/release/${P}.tar.xz.asc ) @@ -24,7 +24,7 @@ LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="caps dnstap jemalloc +manager nghttp2 prometheus systemd test xdp" +IUSE="caps dnstap jemalloc +manager nghttp2 systemd test xdp" RESTRICT="!test? ( test )" REQUIRED_USE=" ${LUA_REQUIRED_USE} @@ -53,7 +53,6 @@ RDEPEND=" dev-python/jinja2[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] - prometheus? ( dev-python/prometheus-client[${PYTHON_USEDEP}] ) ') ) nghttp2? ( net-libs/nghttp2:= ) @@ -88,7 +87,6 @@ PATCHES=( "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch "${FILESDIR}"/${PN}-6.0.9-libsystemd.patch "${FILESDIR}"/${PN}-6.0.9-config-example.patch - "${FILESDIR}"/${PN}-6.0.9-sd_notify_alt.patch "${FILESDIR}"/${PN}-6.0.9-pytest_tomli.patch ) @@ -107,7 +105,7 @@ src_configure() { --localstatedir "${EPREFIX}"/var # double lib # https://bugs.gentoo.org/870019 -Dauto_features=disabled - # requires non-gentoo lua modules (basexx, cqueues) + # post-install tests -Dconfig_tests=disabled -Ddoc=disabled -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} @@ -157,20 +155,29 @@ src_install() { pkg_postinst() { tmpfiles_process knot-resolver.conf if use manager; then - elog "You choose the new way, called the manager, to start Knot Resolver :" + elog "You choose the new way, called the manager, to start Knot Resolver:" use systemd && elog " systemctl start knot-resolver.service" use !systemd && elog " /etc/init.d/knot-resolver start" - elog "Configuration file : /etc/knot-resolver/config.yaml" + elog "Configuration file: /etc/knot-resolver/config.yaml" elog "" - elog "The older way, without the manager, is still available :" + elog "The older way, without the manager, is still available:" else - elog "You choose the older way, without the manager, to start Knot Resolver :" + elog "You choose the older way, without the manager, to start Knot Resolver:" fi use systemd && elog " systemctl start kresd@N.service" use !systemd && elog " /etc/init.d/kresd start" - elog "Configuration file : /etc/knot-resolver/kresd.conf" - elog "" - elog "Optional garbage collector : /etc/init.d/kres-cache-gc" + elog "Configuration file: /etc/knot-resolver/kresd.conf" + elog "Optional garbage collector: /etc/init.d/kres-cache-gc" elog "" use !manager && elog "The new way is available with the useflag manager." + elog "" + + optfeature_header "This package is recommended with Knot Resolver:" + optfeature "asynchronous execution, especially with policy module" dev-lua/cqueues + elog "" + optfeature_header "Other packages may also be useful:" + use manager && optfeature "Prometheus metrics (need manager)" dev-python/prometheus-client + use manager && optfeature "auto-reload TLS certificate files (need manager)" dev-python/watchdog + optfeature "legacy doh and webmgmt (metrics, tracking)" dev-lua/lua-http + optfeature "server map with geoIP database (webmgmt)" dev-lua/lua-mmdb } diff --git a/net-dns/knot-resolver/knot-resolver-6.0.11.ebuild b/net-dns/knot-resolver/knot-resolver-6.0.11.ebuild new file mode 100644 index 000000000000..c7cbc691b42a --- /dev/null +++ b/net-dns/knot-resolver/knot-resolver-6.0.11.ebuild @@ -0,0 +1,185 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( luajit ) +DISTUTILS_EXT=1 +DISTUTILS_OPTIONAL=1 +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 lua-single meson optfeature tmpfiles verify-sig + +DESCRIPTION="A scaleable caching DNS resolver" +HOMEPAGE="https://www.knot-resolver.cz https://gitlab.nic.cz/knot/knot-resolver" + +SRC_URI=" + https://knot-resolver.nic.cz/release/${P}.tar.xz + verify-sig? ( https://knot-resolver.nic.cz/release/${P}.tar.xz.asc ) +" + +LICENSE="Apache-2.0 BSD CC0-1.0 GPL-3+ LGPL-2.1+ MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="caps dnstap jemalloc +manager nghttp2 systemd test xdp" +RESTRICT="!test? ( test )" +REQUIRED_USE=" + ${LUA_REQUIRED_USE} + manager? ( ${PYTHON_REQUIRED_USE} ) +" + +RDEPEND=" + ${LUA_DEPS} + acct-group/knot-resolver + acct-user/knot-resolver + dev-db/lmdb:= + dev-libs/libuv:= + >=net-dns/knot-3.3:=[xdp?] + net-libs/gnutls:= + caps? ( sys-libs/libcap-ng ) + dnstap? ( + dev-libs/fstrm + dev-libs/protobuf-c:= + ) + jemalloc? ( dev-libs/jemalloc:= ) + manager? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + app-admin/supervisor[${PYTHON_USEDEP}] + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ') + ) + nghttp2? ( net-libs/nghttp2:= ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-util/cmocka + manager? ( + $(python_gen_cond_dep ' + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/tomli[${PYTHON_USEDEP}] + ') + ) + ) +" +BDEPEND=" + virtual/pkgconfig + manager? ( + ${DISTUTILS_DEPS} + ${PYTHON_DEPS} + ) + verify-sig? ( >=sec-keys/openpgp-keys-knot-resolver-20240304 ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/${PN}.gpg + +PATCHES=( + "${FILESDIR}"/${PN}-5.5.3-docdir.patch + "${FILESDIR}"/${PN}-5.5.3-nghttp-openssl.patch + "${FILESDIR}"/${PN}-6.0.9-libsystemd.patch + "${FILESDIR}"/${PN}-6.0.9-config-example.patch + "${FILESDIR}"/${PN}-6.0.9-pytest_tomli.patch + # to be removed at next release 6.0.12 + "${FILESDIR}"/${PN}-6.0.11-abs_path_socket.patch +) + +pkg_setup() { + lua-single_pkg_setup + use manager && python-single-r1_pkg_setup +} + +src_prepare() { + default + use manager && distutils-r1_src_prepare +} + +src_configure() { + local emesonargs=( + --localstatedir "${EPREFIX}"/var # double lib + # https://bugs.gentoo.org/870019 + -Dauto_features=disabled + # post-install tests + -Dconfig_tests=disabled + -Ddoc=disabled + -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} + -Dinstall_kresd_conf=enabled + -Dopenssl=disabled + -Dmalloc=$(usex jemalloc jemalloc disabled) + -Dsystemd_files=enabled + $(meson_feature caps capng) + $(meson_feature dnstap) + $(meson_feature nghttp2) + $(meson_feature systemd) + $(meson_feature systemd systemd_legacy_units) + $(meson_feature test unit_tests) + ) + meson_src_configure +} + +src_compile() { + meson_src_compile + use manager && distutils-r1_src_compile +} + +src_test() { + meson_src_test + use manager && distutils-r1_src_test +} + +python_test() { + epytest tests/manager +} + +src_install() { + meson_src_install + if use manager; then + distutils-r1_src_install + newinitd "${FILESDIR}"/knot-resolver.initd knot-resolver + newconfd "${FILESDIR}"/knot-resolver.confd knot-resolver + else + rm "${ED}"/usr/lib/systemd/system/knot-resolver.service || die + fi + fowners -R ${PN}: /etc/${PN} + newinitd "${FILESDIR}"/kresd.initd-r2 kresd + newconfd "${FILESDIR}"/kresd.confd-r1 kresd + newinitd "${FILESDIR}"/kres-cache-gc.initd kres-cache-gc +} + +pkg_postinst() { + tmpfiles_process knot-resolver.conf + if use manager; then + elog "You choose the new way, called the manager, to start Knot Resolver:" + use systemd && elog " systemctl start knot-resolver.service" + use !systemd && elog " /etc/init.d/knot-resolver start" + elog "Configuration file: /etc/knot-resolver/config.yaml" + elog "" + elog "The older way, without the manager, is still available:" + else + elog "You choose the older way, without the manager, to start Knot Resolver:" + fi + use systemd && elog " systemctl start kresd@N.service" + use !systemd && elog " /etc/init.d/kresd start" + elog "Configuration file: /etc/knot-resolver/kresd.conf" + elog "Optional garbage collector: /etc/init.d/kres-cache-gc" + elog "" + use !manager && elog "The new way is available with the useflag manager." + elog "" + + optfeature_header "This package is recommended with Knot Resolver:" + optfeature "asynchronous execution, especially with policy module" dev-lua/cqueues + elog "" + optfeature_header "Other packages may also be useful:" + use manager && optfeature "Prometheus metrics (need manager)" dev-python/prometheus-client + use manager && optfeature "auto-reload TLS certificate files (need manager)" dev-python/watchdog + optfeature "legacy doh and webmgmt (metrics, tracking)" dev-lua/lua-http + optfeature "server map with geoIP database (webmgmt)" dev-lua/lua-mmdb +} diff --git a/net-dns/knot-resolver/metadata.xml b/net-dns/knot-resolver/metadata.xml index caa5fc35963b..02d7316545d4 100644 --- a/net-dns/knot-resolver/metadata.xml +++ b/net-dns/knot-resolver/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person" proxied="yes"> + <email>nicolas.parlant@parhuet.fr</email> + <name>Nicolas PARLANT</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <use> <flag name="dnstap"> Build dnstap binary logging module @@ -15,9 +22,6 @@ <flag name="nghttp2"> DNS-over-HTTPS support </flag> - <flag name="prometheus"> - Metrics exported in Prometheus - </flag> <flag name="xdp"> Enable eXpress Data Path </flag> diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest index f77d798f1344..05a12680bff8 100644 --- a/net-dns/knot/Manifest +++ b/net-dns/knot/Manifest @@ -1,12 +1,6 @@ -AUX knot-1.service 337 BLAKE2B a6645b2ab92612f3c6640f4e9601cefe087a519d8a40b222e05dbd44c8b8c5c87a01d500d5ac328fdee1cae3f9dd126448a8b82b979e13a4ff5285fa48b983d5 SHA512 58c4186e57ebd00b86dae34d5d208ed8801c0376da40cccb23b3d4542a7ee04a1003a12a4b89347b76a384b50eae4a61f96164bf22ec987ce05b1c65691659e7 AUX knot-3.init 943 BLAKE2B 068a152efe75d2871d87edf4ff9f52e05e0f0d1ce22fed6bffaf2b5d19d1fbeb7bf706d442b7103aea932fb6eada0c13df935d7c16e43b3906cbf9916c078ff8 SHA512 bc6f35acc9ef9f0555ba59549d9fdb0e6fc2bbb311dd6ce220b0a7afc26835f699fd3ec6c451f250937f5384cddc4c168f172daec9461747e18fc78d8d38c4e8 AUX knot.confd 194 BLAKE2B 9ff11bcd85f98f461a991b757023238bb18258617387e120e7b15902d8e42668e48980ad5dbfd730b07adcae6acf868f6249d5e7d8a6ee15ba5e4df78dd2443d SHA512 ae0da92420c61ba6b68aef33eb9ff993dd3c86d7cac96421511a6278a235790651ac2696582f7be757e6aaceb82d65d34054fe63063ea3bff74bba8227617bbe -AUX knot.init 861 BLAKE2B 30ffe287f4f83058407ceab00b2113dade3b60b38d76c86f156cc31c33cc4f2ec8cf7f22172823755b71385ca18cc1044605b5479c9de05284f911d500b5dc40 SHA512 e5faa96cbee618e9042bdfd0628f06c4bc4d23c7295521771e16f6eae715835a240799e8425317b03b1ea162966defb5d6b6592139cb1d9d61b47a24961ec9b9 AUX knot.tmpfile 58 BLAKE2B a107ca27b8d47253409c319d0e69ab151237844d10840155e6ceeb37b8c63268de52c161f63ca27b6c3ec4092c7759fc46d325d4cd79063caa33ef82e23e119e SHA512 db13a4108ce820032a72aa788e6cf79c6bb0870ec457f454dea9102f07255dd5c1543723436665da92236c093ee97161f72298131f80dff09d5faf6aba24bde8 -DIST knot-3.2.2.tar.xz 1632748 BLAKE2B 185567dc883f946570fe60cd7d01d96162c5f13ac84330e5551c293b5011c162401fd25ddbdb43bf9242e13c3cdc8225be107dc579619fe54c05335601cd27ae SHA512 29fadb96c1ea525c6183f9e7552f4ad370579b67d74aec1910a92d561cc2c5656fd7876015f29161d279a07c23643f6584308bf9fa0e74d351b17af54e5e9a7f -DIST knot-3.2.9.tar.xz 1642600 BLAKE2B 2c81b2afa96c6077778c3458b2ddeeb8b47ea99607ba755a904278f9755a32171738418ea442b1e6b4afcebe0db2c86e68845d38f8e78342b8354411d1e34af8 SHA512 baf8da222e38198c85fa62e45e71b29ddac7c90433b811710ace1e0395e6e7b5d63547ce8f3a62792ee11259ec2e36d6ddd8fff999416f9171671444a95086cf -DIST knot-3.4.3.tar.xz 1637080 BLAKE2B d5d96a69b2464d75e4f2d3231339c1dedccc1cd95febc8bd5950f68c89a277d002d09a60e629a74b378bc7f765370aaef05bf41fd497e740be6c0a349c27f731 SHA512 c05a214a9e5564d09257aff44c0f42e9d084d47536197c95dff7aa125a8b53ed99e26c90affaa6833779778cd8d37af9cc473f108ab6acf7230c476b5858c03f -EBUILD knot-3.2.2.ebuild 2519 BLAKE2B 7c38aa28ce1792b1de97e2135b6aa37a0a1cf7b806e67187cf184b4b78ccfd9f7ca18ac076c2562d92e2d6c985c1f1d33a6e5ee77d2364141aed74cf379eebfe SHA512 81d150918959655847b36006b31d6c27615ffe54a57d001ba555cbf4ffb89cf51289850b0f07f9aa5936b36e33dc8246bfff8f91d94ffb296131ea63ddd95fe7 -EBUILD knot-3.2.9-r1.ebuild 2557 BLAKE2B 98623be379ee80b9273209d68697bb6fcda3f0722b22d71a50824a0568762430bc27c28cb20d6c611dbe1503717971a27294f794897bbf04f52cd734ab3c4ed0 SHA512 87bae5d116b2744296e16fdc52b0c27d9f224233849adc0db8bbb86cd34bbbd9920507868aa34bbf7e1c71e769af647c1e8851e5d4d7d386d857aaf9430c831e -EBUILD knot-3.4.3-r2.ebuild 4401 BLAKE2B f2989d7c9ecfc0e5a9cbebffd2f3c88e484f752f0907563f200b3e0be143bdf454f28fddc205adb6f835f4d73ce32b3b95411cbae66e2b3ac6eb28657e6d0f66 SHA512 0f64660da37cd8fdc6cffd848de88e692373cd842c7400b0c0bb94e4994d1a7668ae87bad74bdf49d455d9066d7561b0dfd47349e908542876279d4f66086ad7 -MISC metadata.xml 2453 BLAKE2B e916665c8a3c2dbb5498e061098d6bd1208acfc79e79e584e85cbd60c7da8a55d97d8e91eaa3a2b8565c9802319fc7bbd64e8212b82cfb799feb3d0dd633f717 SHA512 1a40d2185d65cee18bf8ccba12f27a1a2d17fbbb0433d0f9322a2efddd6156e70213d5fd60a7b1a64a61c02017d21dabe3a1a521e7a6b4d6d9867fea6a7acaf6 +DIST knot-3.4.4.tar.xz 1641460 BLAKE2B d477a4a368b0c6d6c1003a52041403d17bab4e3ecb6e532130b633894d4ee88711038b94e1d4cf12406eb281b800d701c00e40414d458b7bdefb1d632a779821 SHA512 bf8e80d430336934083c1f7c304306de78b254fba5d3b9dd8b44065a0f1527cd78b74d498d994822ed2d364b66091ad967d3cd991bde380fbba67ea34a1ee33f +EBUILD knot-3.4.4.ebuild 4102 BLAKE2B 7cc30a08b82136eb55e878670e24099fabbce1ca0d6804fb30a57e634bc6ffbd647004ca2c58bffc2831020ffb3ccac6f4e685a8232c5ff4cc4814981141da8c SHA512 9b8a8de74c7c56da11c999a3564716674d9930eb15b1b1ff850348b5807300a875e9561ca8e1ef97605fc41858cd45d8533da44d21851c56103641f1f9d3bcf1 +MISC metadata.xml 2238 BLAKE2B 4fb25c18c046e5048d8f2e5106cef5520dc914b6d197d4d3352bd55421d62d60c80cf1104ab93b70691ccb2ba6123e7b739aa60472b7849a5606025ff1e13ff7 SHA512 b699955dcf80ae2d9b7eabd5666a0476fc6ea5e0edae6ff0f83049c258854f37bb5b41d6b83beca177f89ea05a97a6a4628d2ef1effc16421eb2573f332a80c0 diff --git a/net-dns/knot/files/knot-1.service b/net-dns/knot/files/knot-1.service deleted file mode 100644 index 14a34a2b211f..000000000000 --- a/net-dns/knot/files/knot-1.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Knot high-performance DNS Server -After=network.target - -[Service] -ExecStart=/usr/sbin/knotd -ExecReload=/usr/sbin/knotc reload -ExecStop=/usr/sbin/knotc stop -PrivateTmp=true -User=knot -Group=knot -RuntimeDirectory=knot -RuntimeDirectoryMode=750 -AmbientCapabilities=CAP_NET_BIND_SERVICE - -[Install] -WantedBy=multi-user.target diff --git a/net-dns/knot/files/knot.init b/net-dns/knot/files/knot.init deleted file mode 100644 index 8dc460c31cd4..000000000000 --- a/net-dns/knot/files/knot.init +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -command=/usr/sbin/knotd -command_args="-d" -pidfile=/var/run/knot/knot.pid -required_files=/etc/knot/knot.conf -extra_started_commands="reload" -description_reload="Reload configuration and changed zones." - -depend() { - need net -} - -start() { - checkpath -d -m 0750 -o knot:knot /var/run/knot/ /var/lib/knot/ - - ebegin "Starting knot" - start-stop-daemon --start \ - --pidfile $pidfile --exec $command -- $command_args - eend $? -} - -stop() { - ebegin "Stoping knot" - /usr/sbin/knotc stop >/dev/null 2>&1 - # In case remote control is not working - if [ "$?" != 0 ]; then - if [ -f $pidfile ]; then - start-stop-daemon --stop --pidfile $pidfile - fi - fi - ewend $? -} - -reload() { - ebegin "Reloading knot" - /usr/sbin/knotc reload >/dev/null - eend $? -} diff --git a/net-dns/knot/knot-3.2.2.ebuild b/net-dns/knot/knot-3.2.2.ebuild deleted file mode 100644 index ed2515b95b2d..000000000000 --- a/net-dns/knot/knot-3.2.2.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic systemd - -# subslot: libknot major.libdnssec major.libzscanner major -KNOT_SUBSLOT="13.9.4" - -DESCRIPTION="High-performance authoritative-only DNS server" -HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns" -SRC_URI="https://knot-dns.nic.cz/release/${P/_/-}.tar.xz" - -S="${WORKDIR}/${P/_/-}" - -LICENSE="GPL-3+" -SLOT="0/${KNOT_SUBSLOT}" -KEYWORDS="amd64 ~riscv x86" - -KNOT_MODULES=( - "+cookies" - "+dnsproxy" - "dnstap" - "geoip" - "+noudp" - "+onlinesign" - "+queryacl" - "+rrl" - "+stats" - "+synthrecord" - "+whoami" -) -IUSE="doc caps doh +fastparser idn +libidn2 quic systemd +utils xdp ${KNOT_MODULES[@]}" - -RDEPEND=" - acct-group/knot - acct-user/knot - dev-db/lmdb:= - dev-libs/libedit - dev-libs/userspace-rcu:= - dev-python/lmdb:= - net-libs/gnutls:= - caps? ( sys-libs/libcap-ng ) - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c:= - ) - doh? ( net-libs/nghttp2:= ) - geoip? ( dev-libs/libmaxminddb:= ) - idn? ( - !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) - libidn2? ( net-dns/libidn2:= ) - ) - quic? ( net-libs/ngtcp2:=[gnutls] ) - systemd? ( sys-apps/systemd:= ) - xdp? ( - dev-libs/libbpf:= - net-libs/libmnl:= - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( dev-python/sphinx ) -" - -# Used to check cpuset_t in sched.h with NetBSD. -# False positive because linux have sched.h too but with cpu_set_t -QA_CONFIG_IMPL_DECL_SKIP=( cpuset_create cpuset_destroy ) - -src_configure() { - local u - local my_conf=( - --with-storage="${EPREFIX}/var/lib/${PN}" - --with-rundir="${EPREFIX}/var/run/${PN}" - $(use_enable caps cap_ng) - $(use_enable fastparser) - $(use_enable dnstap) - $(use_enable doc documentation) - $(use_enable quic) - $(use_enable utils utilities) - $(use_enable xdp) - --enable-systemd=$(usex systemd) - $(use_with idn libidn) - $(use_with doh libnghttp2) - ) - - for u in "${KNOT_MODULES[@]#+}"; do - my_conf+=("$(use_with ${u} module-${u})") - done - - if use riscv; then - append-libs -latomic - fi - - econf "${my_conf[@]}" -} - -src_compile() { - default - - use doc && emake -C doc html -} - -src_test() { - emake check -} - -src_install() { - use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) - - default - - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die - - newinitd "${FILESDIR}/knot.init" knot - if use systemd; then - systemd_newunit "${FILESDIR}/knot-1.service" knot.service - fi - - find "${D}" -name '*.la' -delete || die - - keepdir /var/lib/knot -} diff --git a/net-dns/knot/knot-3.2.9-r1.ebuild b/net-dns/knot/knot-3.2.9-r1.ebuild deleted file mode 100644 index e93de9489b6c..000000000000 --- a/net-dns/knot/knot-3.2.9-r1.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic systemd - -# subslot: libknot major.libdnssec major.libzscanner major -KNOT_SUBSLOT="13.9.4" - -DESCRIPTION="High-performance authoritative-only DNS server" -HOMEPAGE="https://www.knot-dns.cz/ https://gitlab.nic.cz/knot/knot-dns" -SRC_URI="https://knot-dns.nic.cz/release/${P/_/-}.tar.xz" - -S="${WORKDIR}/${P/_/-}" - -LICENSE="GPL-3+" -SLOT="0/${KNOT_SUBSLOT}" -KEYWORDS="~amd64 ~riscv ~x86" - -KNOT_MODULES=( - "+cookies" - "+dnsproxy" - "dnstap" - "geoip" - "+noudp" - "+onlinesign" - "+queryacl" - "+rrl" - "+stats" - "+synthrecord" - "+whoami" -) -IUSE="doc caps doh +fastparser idn +libidn2 quic systemd +utils xdp ${KNOT_MODULES[@]}" - -RDEPEND=" - acct-group/knot - acct-user/knot - dev-db/lmdb:= - dev-libs/libedit - dev-libs/userspace-rcu:= - dev-python/lmdb:= - net-libs/gnutls:= - caps? ( sys-libs/libcap-ng ) - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c:= - ) - doh? ( net-libs/nghttp2:= ) - geoip? ( dev-libs/libmaxminddb:= ) - idn? ( - !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) - libidn2? ( net-dns/libidn2:= ) - ) - quic? ( >=net-libs/ngtcp2-0.13.1:=[gnutls] ) - systemd? ( sys-apps/systemd:= ) - xdp? ( - >=dev-libs/libbpf-1.0:= - net-libs/libmnl:= - net-libs/xdp-tools - ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( dev-python/sphinx ) -" - -# Used to check cpuset_t in sched.h with NetBSD. -# False positive because linux have sched.h too but with cpu_set_t -QA_CONFIG_IMPL_DECL_SKIP=( cpuset_create cpuset_destroy ) - -src_configure() { - local u - local my_conf=( - --with-storage="${EPREFIX}/var/lib/${PN}" - --with-rundir="${EPREFIX}/var/run/${PN}" - $(use_enable caps cap_ng) - $(use_enable fastparser) - $(use_enable dnstap) - $(use_enable doc documentation) - $(use_enable quic) - $(use_enable utils utilities) - $(use_enable xdp) - --enable-systemd=$(usex systemd) - $(use_with idn libidn) - $(use_with doh libnghttp2) - ) - - for u in "${KNOT_MODULES[@]#+}"; do - my_conf+=("$(use_with ${u} module-${u})") - done - - if use riscv; then - append-libs -latomic - fi - - econf "${my_conf[@]}" -} - -src_compile() { - default - - use doc && emake -C doc html -} - -src_test() { - emake check -} - -src_install() { - use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) - - default - - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die - - newinitd "${FILESDIR}/knot.init" knot - if use systemd; then - systemd_newunit "${FILESDIR}/knot-1.service" knot.service - fi - - find "${D}" -name '*.la' -delete || die - - keepdir /var/lib/knot -} diff --git a/net-dns/knot/knot-3.4.3-r2.ebuild b/net-dns/knot/knot-3.4.4.ebuild index 7802470727a0..c07d89ffb15c 100644 --- a/net-dns/knot/knot-3.4.3-r2.ebuild +++ b/net-dns/knot/knot-3.4.4.ebuild @@ -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 @@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}" LICENSE="GPL-3+" SLOT="0/${KNOT_SUBSLOT}" -KEYWORDS="~amd64 ~riscv ~x86" +KEYWORDS="amd64 ~riscv x86" KNOT_MODULES=( "+authsignal" @@ -101,20 +101,6 @@ pkg_setup() { use python && python-single-r1_pkg_setup } -src_prepare() { - # https://gitlab.nic.cz/knot/knot-dns/-/issues/946 - cat > tests/contrib/test_atomic.c <<-_EOF_ || die - #include <tap/basic.h> - int main(int argc, char *argv[]) - { - skip_all("not supported"); - return 0; - } - _EOF_ - cp tests/contrib/test_{atomic,spinlock}.c || die - default -} - src_configure() { local u local my_conf=( diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml index 6544e399dce4..6a8f6b760ceb 100644 --- a/net-dns/knot/metadata.xml +++ b/net-dns/knot/metadata.xml @@ -2,8 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person" proxied="yes"> - <email>nemunaire@nemunai.re</email> - <name>Pierre-Olivier Mercier</name> + <email>nicolas.parlant@parhuet.fr</email> + <name>Nicolas PARLANT</name> </maintainer> <maintainer type="project" proxied="proxy"> <email>proxy-maint@gentoo.org</email> @@ -33,13 +33,6 @@ Use a zone file parser that is faster, but requires more memory and CPU time to compile </flag> - <flag name="geoip"> - Enable the Geography-based responses module - </flag> - <flag name="libidn2"> - If IDN support is enabled, use <pkg>net-dns/libidn2</pkg> instead - of <pkg>net-dns/libidn</pkg> - </flag> <flag name="noudp"> Enable the module which can send empty truncated responses to UDP queries diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest index eab844c71ec4..71c3a1d15e49 100644 --- a/net-dns/nsd/Manifest +++ b/net-dns/nsd/Manifest @@ -1,10 +1,9 @@ AUX nsd-4.10.1-simdzone-configure_ac-_mm_popcnt_u64.patch 415 BLAKE2B 5379fee77e8fdcbe2b2b15fd17d0d690e00009fd76f70465e26a13350b6a4316ae28fdc9bec47124bd1cfd14cc081418b2e6c5c351269d2421560e3d19fd223d SHA512 5d7333164e14ec1254a6d92687850fa3fdc0240d02bde5992a4bddc9a00d3b4be74cee7212f1ca8a70a2a65e93cdaa249c74ebf52e38d47aa1d4787100ef814a AUX nsd-munin-gentoo-paths.patch 542 BLAKE2B 13ff49c41683d5bf505e257cd17bf5f3ad06662c00032d79b36be3f96486eb89fdd62a42b5ed4816ad99835366864603568613e27504894340ebb64057e2b2c3 SHA512 6034086d6b6f6980468766c901e92291fea8a32df179561ede2add5918c37bfe3aabf122735d4ae2e28efece394fd3398f9a0cc4d8fdcc1e5da1ca709d2ba6ae -AUX nsd.confd-r1 669 BLAKE2B 45ef7846e227566ce2bc2248084598e31a40536f9dbd28ff5964fca34998399253dfd45e1706ddaed566ac4f745264f4f1314ba7394392e637da520ff78470df SHA512 6c9daae27750149e9ee13860b13a9ce7d92159416329098fa60b77982dbe1d0b3ee1c957321b3a459870155d2a4430f1f7796c53b677178f3a6a71a2efc81fdc -AUX nsd.initd-r2 1312 BLAKE2B 798c8df841f3bf22edb0891f1e350a8636db94e9049ba202b988210ff69ba185b3e0a6ed11347752a452d49560930b5f5fd34d5857b150ffbc1c9691e1202feb SHA512 35320b938a29d34cda2919dfcfc975858d2211bbe8a92af270c2e0806d05a12e893bb13944b75bae27b3db4ab8a74e2408b4d70898f715f785ec00f36a629ea2 AUX nsd.munin-conf 23 BLAKE2B 0b08804b2218d77ea925d4c9e26e73649b453b923d6d7b1e1df39ceb58b92a44c48cb21583a480e622f72d07650f410f2e0703f1d16af08152aed16982ab8da2 SHA512 c06d0b035387e7be79cfa8fedf8afb3900772146c6d4090ac39ea2ef165772d875b222ef467bd73422078ef57818bcc931ca67fa290bd99a7a9456efa5448853 -AUX nsd.tmpfilesd-r1 24 BLAKE2B ae4078bff0e71d9b47d02855f7e7ab2389cc83b40af657221ffec07e52d52c666073d32182dc726dcc3df85a17f7a983a546d6cda98554ebcf7df14a64036eb8 SHA512 bfc1b81f8553f499f8048a26870b0964625cad4c73b84b70afc8c00644b95661e86ad540fd66f88ef072166ff22eef4f18974ba3364d1bd33e1ca7ee348f9188 DIST nsd-4.10.1.tar.gz 1404799 BLAKE2B 7b286ac681c1bb8201654cd2e5fac8a98256f6a595dfbb39bcfed92de63b3337e05d219bc766bab01e4aaf3fb1de3c128d7157caeee3a7f21e4132db9ea72cba SHA512 b0f4bdca8a1c6fbbe99096abc8c5f8b34ef2e66dc0da44da253ab164b35ad0aaef5d05eb682b88cc68d8b1671f7b80abafee242a784ed6deb785adee7f6a53a9 +DIST nsd-4.11.1.tar.gz 1527949 BLAKE2B 82a710a5e484818a6df19dd39d6b6b4cce4c1add0a055771946f040bbdd6dbee35d8bdb1d48f7d906aca85653e6809754749cc74654e182f5a5b07f19dcd9b42 SHA512 50b7d93485f3b9903e0d7ee5ec326f47c8a603d3c143899aa46e7865413f8b7f0ed2edcdae5ac054b3c709ab50acfbe8816e1be41dd008803ef83fa9bc370944 EBUILD nsd-4.10.1-r2.ebuild 4440 BLAKE2B 0744e200430fc393f406fa24dd222decdef968d55a9afeb76d89a6ed3a189d9fe8ea338d0f5b566d715fc76f730c619d904870d8968772e07702392692533923 SHA512 6c515c00ce035efc870d4060ce465b148a84e10b83bb28e702d66b3a569b5b7ffec96733bd1b590845d0c670fb5be99000404cb71965e84213f2ffed4493a9fa -EBUILD nsd-9999.ebuild 4371 BLAKE2B f9824aa8fb6738371773cc09749ea1e25c0d53d8f3120b5f2d7cdd59a6f7fc6ae244d4302861505d4dd56c87c0585bf6e6fee0928ec7d6457e4075293de36024 SHA512 5dcfb4226afdd58fec3b0450c18155247235b854265421caba587d8b797000bd38bab4ed39b937f9d636a69aba1973488fba50d75e95524e2aa51b0f4de4b81b +EBUILD nsd-4.11.1.ebuild 4439 BLAKE2B c5f3bf68d20f4feee6c6963b17321da0f73b92d17f813eeb1d978f2f504b9e64d257ef579eb5004b91534780762854d7a8cd7a4409abff31392ddda93803085e SHA512 dc50b45bdfef2bb729c5f10ac9da4b7ceafa7928cbb7c74221a07ebecd603977dab811f62745e271c2ff57c79f7b5e401f95725a145fd9ceecb6e72851781cd7 +EBUILD nsd-9999.ebuild 4441 BLAKE2B ff239ab055cc140eca08ed2cdf3b7589e5031001e485c7a761eab3fdc36a95cf7c03e1b98f2786a7db42438176c395e50788478641a51bb3d98f8f0898710259 SHA512 ff6e055b661bac721e637452b1b41c13e38bea572c78ab2faff9e1d8e4e8dba1618bd5e1fb9c853ecd3149d1f985e171f118d1b0fc23901b7096a6b4f48a2a29 MISC metadata.xml 1984 BLAKE2B e3c44203228f5a114b15966f6d6b06930cecbd2ad10a08ca3166a708f5811117faadd8fae26c98b008dd5080be850db15f93f8ed6477b936206babe880174677 SHA512 9fa4885721b96772df96d25b50005aa0e5028dfe69eff22d32143641d1d4cddabf47ab706eb1c69f8a7d43ac9c09a9c7225de170ee7a537d6b72b4368a5228be diff --git a/net-dns/nsd/files/nsd.confd-r1 b/net-dns/nsd/files/nsd.confd-r1 deleted file mode 100644 index 7c9a7effb844..000000000000 --- a/net-dns/nsd/files/nsd.confd-r1 +++ /dev/null @@ -1,16 +0,0 @@ -# /etc/conf.d/nsd - -# NSD_ARGS is set by default to run in the foreground (-d) and to not -# create its own PID file (-P ''), as we let OpenRC handle that instead. -# It is recommended to keep these defaults and append additional flags -# to them. -NSD_ARGS="-d -P ''" - -# NSD_CONFBASE sets the base configuration directory for nsd's -# configuration and, by default, uses the standard '/etc/nsd' path. -NSD_CONFBASE="/etc/nsd" - -# NSD_CONFNAME sets the first part of the nsd config file name to be that -# of the calling service script name. This allows you to create symlinks -# that point at '/etc/init.d/nsd' for different instances of nsd. -NSD_CONFNAME="${RC_SVCNAME}.conf" diff --git a/net-dns/nsd/files/nsd.initd-r2 b/net-dns/nsd/files/nsd.initd-r2 deleted file mode 100644 index e1825433ac3b..000000000000 --- a/net-dns/nsd/files/nsd.initd-r2 +++ /dev/null @@ -1,52 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -description="NSD is an authoritative-only, high performance, open source name server" -extra_commands="configtest" -extra_started_commands="reload" - -# These can be overridden in /etc/conf.d/nsd if necessary. -NSD_ARGS="${NSD_ARGS:--d -P ''}" -NSD_CONFBASE="${NSD_CONFBASE:-/etc/nsd}" -NSD_CONFNAME="${NSD_CONFNAME:-${RC_SVCNAME}.conf}" - -# The conf.d defaults shipped with nsd-4.9.1+ will run it in the foreground -# and tell it not to create a PID file, as we allow OpenRC to handle those -# details. -config_file="${NSD_CONFBASE}/${NSD_CONFNAME}" -checkconf="/usr/sbin/nsd-checkconf" -command="/usr/sbin/nsd" -command_args="-c ${config_file} ${NSD_ARGS}" -command_background=true -pidfile="/run/${RC_SVCNAME}.pid" -required_files="${config_file}" - -depend() { - use logger -} - -checkconfig() { - if ! "${checkconf}" "${config_file}"; then - eerror "You have errors in your configfile (${config_file})" - return $? - fi - return 0 -} - -configtest() { - ebegin "Checking ${RC_SVCNAME} configuration" - checkconfig - eend $? -} - -start_pre() { - checkconfig || return $? -} - -reload() { - checkconfig || return $? - ebegin "Reloading config and zone files" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} diff --git a/net-dns/nsd/files/nsd.tmpfilesd-r1 b/net-dns/nsd/files/nsd.tmpfilesd-r1 deleted file mode 100644 index 0e2211770cd2..000000000000 --- a/net-dns/nsd/files/nsd.tmpfilesd-r1 +++ /dev/null @@ -1 +0,0 @@ -d /run/nsd 0750 nsd nsd diff --git a/net-dns/nsd/nsd-4.11.1.ebuild b/net-dns/nsd/nsd-4.11.1.ebuild new file mode 100644 index 000000000000..d2a267ef7db4 --- /dev/null +++ b/net-dns/nsd/nsd-4.11.1.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools systemd tmpfiles + +DESCRIPTION="An authoritative only, high performance, open source name server" +HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd" + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git" +else + # version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 + MY_PV="${PV/_beta/b}" + MY_PV="${MY_PV/_rc/rc}" + MY_P="${PN}-${MY_PV}" + + if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then + SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} + + KEYWORDS="amd64 x86" + fi +fi + +LICENSE="BSD" +SLOT="0" +IUSE="bind8-stats debug +default-znow dnstap +ipv6 +largefile libevent +lto memclean minimal-responses mmap munin +nsec3 packed +pie +radix-tree ratelimit recvmmsg +simdzone ssl systemd +tfo year2038" + +RDEPEND=" + acct-group/nsd + acct-user/nsd + dnstap? ( + dev-libs/fstrm + dev-libs/protobuf-c + ) + libevent? ( dev-libs/libevent ) + munin? ( net-analyzer/munin ) + ssl? ( dev-libs/openssl:0= ) + systemd? ( sys-apps/systemd ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc + systemd? ( virtual/pkgconfig ) +" + +PATCHES=( + "${FILESDIR}/${PN}-munin-gentoo-paths.patch" +) + +NSD_DBDIR="/var/db/nsd" # Default dir for NSD's databases. +NSD_ZNDIR="/var/lib/nsd" # Default dir for NSD's zone files. + +src_prepare() { + default + + # Required to get correct pkg-config macros with USE="systemd". + # See bugs #663618 & #758050. + eautoreconf +} + +src_configure() { + local myconf=( + $(use_enable bind8-stats) + $(use_enable bind8-stats zone-stats) + $(use_enable debug checking) + $(use_enable default-znow relro-now) + $(use_enable dnstap) + $(use_enable ipv6) + $(use_enable largefile) + $(use_enable lto flto) + $(use_enable memclean) + $(use_enable minimal-responses) + $(use_enable mmap) + $(use_enable nsec3) + $(use_enable packed) + $(use_enable pie) + $(use_enable radix-tree) + $(use_enable ratelimit) + $(use_enable recvmmsg) + $(use_enable systemd) + $(use_enable tfo tcp-fastopen) + $(use_with libevent) + $(use_with ssl) + + --with-cookiesecretsfile="${EPREFIX}${NSD_DBDIR}/cookiesecrets.txt" + --with-dbfile="${EPREFIX}${NSD_DBDIR}/nsd.db" + --with-logfile="${EPREFIX}/var/log/nsd.log" + --with-pidfile="${EPREFIX}/run/nsd.pid" + --with-xfrdfile="${EPREFIX}${NSD_DBDIR}/xfrd.state" + --with-xfrdir="${EPREFIX}${NSD_DBDIR}" + --with-zonelistfile="${EPREFIX}${NSD_DBDIR}/zone.list" + --with-zonesdir="${EPREFIX}${NSD_ZNDIR}" + ) + + # NSD 4.10.x introduced a new zone parser, "simdzone", which + # replaces the older parser that used flex & bison: + # https://github.com/NLnetLabs/simdzone + # It leverages SSE4.2 and/or AVX2 instruction sets for faster + # zone parsing on x86_64 architectures. Other CPU archs will + # use a fallback implementation. + if use amd64; then + myconf+=( + $(use_enable simdzone haswell) + $(use_enable simdzone westmere) + ) + fi + + # This configure switch only appears on glibc-based userlands. + # It enables 64-bit time_t to support timestamps greater than + # the year 2038 (D_TIME_BITS=64). + if use elibc_glibc; then + myconf+=( $(use_enable year2038) ) + fi + + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} + newinitd "contrib/nsd.openrc" nsd + newconfd "contrib/nsd.openrc.conf" nsd + newtmpfiles "contrib/nsd-tmpfiles.conf" nsd.conf + + # Install munin plugin and config, if requested. + if use munin ; then + exeinto "/usr/libexec/munin/plugins" + doexe "contrib/nsd_munin_" + insinto "/etc/munin/plugin-conf.d" + newins "${FILESDIR}/nsd.munin-conf" nsd_munin + fi + + # Use the upstream-provided systemd service file. + systemd_dounit "contrib/nsd.service" + + # Remove the /run directory that usually resides on tmpfs and is + # being taken care of by the nsd init script anyway (checkpath). + rm -r "${ED}/run" || die "Failed to remove /run" + + keepdir "${NSD_DBDIR}" +} + +pkg_postinst() { + # See eclass/tmpfiles.eclass for info. + tmpfiles_process nsd.conf + + # Database directory + # Writable by nsd:nsd for database updates and zone transfers. + install -d -m 750 -o nsd -g nsd "${EROOT}/${NSD_DBDIR}" + + # Zones directory + # Writable by nsd:nsd for zone file updates (via 'nsd-control write'). + install -d -m 750 -o nsd -g nsd "${EROOT}/${NSD_ZNDIR}" +} diff --git a/net-dns/nsd/nsd-9999.ebuild b/net-dns/nsd/nsd-9999.ebuild index 099b81460652..7fe65a15843c 100644 --- a/net-dns/nsd/nsd-9999.ebuild +++ b/net-dns/nsd/nsd-9999.ebuild @@ -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" @@ -87,6 +87,7 @@ src_configure() { $(use_with libevent) $(use_with ssl) + --with-cookiesecretsfile="${EPREFIX}${NSD_DBDIR}/cookiesecrets.txt" --with-dbfile="${EPREFIX}${NSD_DBDIR}/nsd.db" --with-logfile="${EPREFIX}/var/log/nsd.log" --with-pidfile="${EPREFIX}/run/nsd.pid" diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index a5621476f2cd..59ee371f5289 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -1,80 +1,54 @@ -AUX pdns-recursor-r2 1426 BLAKE2B 4407525f88d6e4299acdaa015e13866b70b2f697493218953c515e00af1476df7b8dbc87f6a39c50743d78b7f8efd2d3446e1a387f98ac4191cea2c04e10c175 SHA512 2f4d8458f6224a42103d28937d69228092c74c9c8c958833b292acf8959df1e617eafc13b65b95cf6eb4e06fb4fa7f23906c28b583865b6885949daaac12799e AUX pdns-recursor-r3 950 BLAKE2B e103dea1a259552b06f86d18eb56441db6fb1e42e3e8f5a204617e64c554411a0dea52e9b363e8eb886d1e33defb9030c213721826f034873ebffd661e9f5f83 SHA512 388034bbb51c5e108653fd3d5a652def0dc41039f1169b246f26af4d020cd46f4c0801b980a21ba43b8932fff144c817ee87a1036fd3a9b4cef36759f31bb925 DIST anyhow-1.0.87.crate 46831 BLAKE2B 8d277aef9dfb9e28d6fbbb840fc3dde385ae29df8fdaf76913c39ccdfac487c8a7599783c6bf4271cd7466a06bcb4b3b1459b317c0f531634a4b4b8ccc1d6174 SHA512 1ed272eb20bd28d361d71b8dd1279bb3ab3a722c6a68e0f7bf4fb0a196f8a5d9f5ed9874d231ba7cf93e6a6f2551e96411d1fcb26908c79ee76919214637816f DIST base64-0.21.7.crate 82576 BLAKE2B 25cc8761c14220981ff4ed332058f6179948080cbfa2b225ec1d1602e4af14cd470c969e8b7049117e6fc51a5a24e06b1d27bab844486ecb76409d12e0581d5d SHA512 c6986d88dd9aa081d914f35b4174be4ba874848657ac4b5e63b9b45af765d973289c548ccb5a01584edfc0d8d79ff5be25b51365295d6e7a311bd7f0ae3c0cb9 DIST base64-0.22.1.crate 81597 BLAKE2B 6f216a560bd36e6e6b74e908344b457594cc768d9763070e269b56a14b150cbfc4b7f599d4c2a0a5f783638170ee132f0796fefb14fcac7fd73c58db0791007a SHA512 91cf2e4e7fc8815f9b8a86a7fa722a20eee3dc1dd57111b29e420de87ce7836bcdb1db01d3cafb9a977710ef63e7cc41b7772762323e68e0e832156858aace20 -DIST cc-1.0.84.crate 74922 BLAKE2B 8a6c1208b32648d1d3e33388f3fea506b82236dcdfc5d89865233c8567d80d55d8e102f30d5a6dc4b9a38bfb831974327048ac01ee7dbe7df04020e6c664f238 SHA512 c74a842b57d1239329b35af63070c147e75455c929999265eb0ddef9f360301c266885dee5f32b13d3cc1b953761db6f5949eb70ad9ecc2920777ec2c1507dbc DIST cc-1.0.98.crate 76780 BLAKE2B 64124ebdda70b211b6fde8c02d256d97d57fc3a0db433371bad896c06e36caaa5f938074d92ca82724b34fde06bc10af63c7fdde8f52ac50a3ea6e3329d18d93 SHA512 dfeb194266a4a9cf2ddf69fe20f8e20a72a0a9c2f72b1ea578fd48dae5b0c3589f501068ca24e0da7b3691860cd8c05247c803f3ef2f338d56eef8b1f4f4fbd2 DIST cc-1.1.18.crate 83315 BLAKE2B a97d24ffdf44f80795f67f7721ed4d2524d92342bfb4ba39e00a1d3351945c904ba84cc7e245c637453e70d19b1584a400e8422e185d42c036ef44d3f2135663 SHA512 af525791c6ba731d688d3f5bf898c0ff86bbd81b127454d7f933491cea1e921d171cb819d04e460e759c6ae0f6da2188ede6bbe94c940c47c6d9d9f991925401 DIST codespan-reporting-0.11.1.crate 48963 BLAKE2B 39deb717a853ffbe3585e20a67fd7a75b62e2d796a66b5004876501fd7476acde9f126804f2ef6220ebab66821a3ccf058d544d689a2705eae44285f34b510cb SHA512 0869789f5c50d3523d3ee16a8fe64756498a13704efbe82bb0845eaa87c7b6b1d075b3b6b80567cd9fce6cb09c5179e9c07e485fd17ce56c8139ade0f8bc6844 -DIST cxx-1.0.110.crate 197887 BLAKE2B 5f727fe8bc2c46052208499f5bf0061b5cb3feefb30d96fad3f5d3f8fc67fc0a1d37148620a1c77bad4ecf2037559919c6f286451e56d41ae9933a5ea5fec775 SHA512 ee168deaf5f08bed4f6f4613c38ccf0c219ec00393204c67d6ce5495ecaf1cc67a7ad30d36f2277cfd276ba284ebe37aa784a81d59019ab973988ab52ee3c136 DIST cxx-1.0.122.crate 274986 BLAKE2B 60c30c0c27885f2362a17cb32a9b28ccfe65593c4545b2915c5a73bdab372abf48286f42e1e8dc9c763a44a7d7f8676aad5fc5572717d2d60928d6f3fd4e26c8 SHA512 5985d5324d77b50e8fd71f3fc820e52f21ab1b4fbc1171c111136ef86d9e5ee70d823a21c2860006d0fb72c690a31d93a80f2bb2ca7616896aa2174c215c93ed DIST cxx-1.0.128.crate 268642 BLAKE2B 0a9c5c30f6099f725b9b5e0dcf948a81211cb37e415fc9098eaa3cec8dca15b7c303add44ceda3c73fcdc70aa224113825c75558efbd7a43c32322ab23580800 SHA512 a426721f5d11989398c1c62bfc2561c08efe314d39e146b868ff6df53328f16d1704f48cfbac38f1eb1c2cffec75aebf4f93ca236f9cf904f2e32110e5438af3 -DIST cxx-build-1.0.110.crate 86469 BLAKE2B 91dfb19587505c020f1130a9f213a9e8f496ea3a1feeefd471b0d3cb4f60a7abbe8ba4bb41ae63ef1b231806b5407fe0850907bd79fd462a81919e8515f534e4 SHA512 a37dfbe97a03026d8469db25c2dbb5110f301a72b22f0b0d98559c7f69a39ad6786f2a9c7a8d6bba3286f374a2024d7b5aaafa7bfc9a603444032f75c7019fdc DIST cxx-build-1.0.122.crate 86704 BLAKE2B cab17e180c641f82fe76cfccadd248b28868137d83566aacde61c6461f84f38f07c1054d464885b7a5f427201bd3d61a0a5ead97c6db134c9a4228e55d20b421 SHA512 5a20911dbaad7669788d7228c9588a367f0fdfdb19828b5ecc38e958a4b5e09bf96d9d2d2ce658286e8188e0213e7b1ce56be7cb8a52668edc99abb572bf675a DIST cxx-build-1.0.128.crate 86674 BLAKE2B bc4028b4e2c51822e86bc7c8b906bb195556df9f81300ed36606996138b4222bec7d8bc2cec204b4703f7db7ef0416e88f4c010159de58f90626dd9909129d68 SHA512 c4121c27d5f3489e82016fc5342820bd4bf1af2d185d0c9ae85eded567fd274db6bcfb394d60d766ebacd2d78082f15073e762f9dd7dfbf45b398cd51d38f0c0 -DIST cxxbridge-flags-1.0.110.crate 5284 BLAKE2B f8cd35bb64cb0b8e371f3c58f251a7595d105e5ca628c1ca016bd831d8ba18c4f598b1a47d32ae6256f24feb8d3aac116c046a42a9a03115d506bb684b0e1a83 SHA512 c78014624144232e84a76f649fef90ac8187fef76bdd802f9d75fdc502b56946580303c39141750544490521c787a9ee7398e40529f791e6066c57ade0c105a0 DIST cxxbridge-flags-1.0.122.crate 5312 BLAKE2B 8a00b92e787bce33092103bfad765a256febf1a83a8533d6a029c5dc63ceb34cce171a3939277652cb7bffd3658e20f2c21c7e48e0d9881812c8a3cd2ca0fa22 SHA512 b2995a302c857ebced6ccb0c87bb4dce7818a124c56342d2faedc3458eb371aeacd9097c237bcd39f654c9159adb9e0f4357bff0950c4e4d4232e620cabdd24f DIST cxxbridge-flags-1.0.128.crate 5313 BLAKE2B 7548c095e4367dab0b5ab080028ce3582dbfcd068726e1c9347f242f6f90a8c770f2238f0b4d6febd0ae80f2f94da40be35dd221c0c3479435ef57e694c32c19 SHA512 caba89e959f53362829e4554e73fed1900a9d172c756552c5bca8b3d04839e4107b6bc1a48ccf50d30ceb369a419fc1e3b846ab57760e3d3449c41efffefc7c6 -DIST cxxbridge-macro-1.0.110.crate 60405 BLAKE2B 38d1f105a427cd0ab40508ce190e45e6e4829051347fc5677d9cbd35551719f119ddf938cd0152f2624f4305fe98e6219dcc117780e64e9480b76ccbc66ce7f7 SHA512 3119839d71d55805dfa22308add558cc4973bd9e7991f04a155da0e81f3e1c927282cff494c205eee6df42c8ad4c97ecf94ad4fe1f5842dd926be8e4d695f6e0 DIST cxxbridge-macro-1.0.122.crate 60451 BLAKE2B b8c9c1a380e87a578fa9ee1f3c6fb273b1bc211280adc911c902b66aa4291a76d20a90625439635dab5b0c925dc6afac9ae209a262a3c2daa6a23d0b97df1805 SHA512 74c8debaff29ee50c37a3af0b290ce7127d47bc980cc60ab43b47a883a4b0c67b3c7121f1462c017cbfa9fe6c92833cf245e04a4d5a8f02ad0192d51c3ee317f DIST cxxbridge-macro-1.0.128.crate 60417 BLAKE2B 3cf8cf16e2ff0ccda30783afe9b1b9d942162a7abccf5215840be34ef8ec5c375736a4cac18e84c36170801e48ece54a009ae8699630b1bc54ed8723d4c721f4 SHA512 9a7a91c8de8e240b0cf7f054e9d5097900aa4982722f55082a71715265fd10c3650e11f7b9705d8d88c04593bdd68529bca74d283f7d404368c442a5a1a5a873 DIST equivalent-1.0.1.crate 6615 BLAKE2B 302d78069d9df05e78b53f0488a9e4eb98fa2bc1e21893dc8a0acf2234347ba7c4df4b9d6b380ae77d8ffb1074b9c790460fe2dae47318aa1c4fe4208244540a SHA512 b2bc60e804c1b02c461dcefcfd60fc37145af710d183ebe65f9a4d63f2b2072d23193f98dc550a9213c7fdc6a2a837af23b04a89294ebbb681a4aaf5d5031140 -DIST hashbrown-0.14.2.crate 140080 BLAKE2B 4a9fc89d77940d116d781ac6ca2a07a8ba3146fed54bd5d304d5ccb7722d27c053bbd83ec5ef897f1a25db50f838b73421677fd92be5d534a91909a7ad390d3b SHA512 a611359ccc8d859a72e812b94123ff162f5653caa1839c5f5e3269ed18b5fe2b2c7b15b4f03ae8076a622d08090a90e747d8cbcdfce9cf7f317592f1a3695351 DIST hashbrown-0.14.5.crate 141498 BLAKE2B 7d7f31b6377c901de12f78f0004a347e3e3b948b1336a54b6abd8dd2210db0ac415efcdded421a00723f16563a7b833b5d1db3cad5c12cac916e273bf3e588b3 SHA512 215ea860bd3de80e2dd2d4647c9dd31c0ac895ea7c08b87256dc11d36407e412ffefaebc6cdbec024057dd4f24b3762b4fe427be307e15d1e68ccfde89a99742 -DIST indexmap-2.1.0.crate 68224 BLAKE2B 9d833570cbb63ecae138ca234b998bd0e5b11b1a7e3d5ef4a21212bb32d0998395f1fc609f66860bdbab198081687630f583f5a2e495fac1afa40ff48bee8a0f SHA512 9d303eef918b9264b9fe326cc1d71f4095f7ed5639ed8696efa3e9be65dff2c50ada4495409e109e7718997db51ae1fd865cf8e88978107d7823faba14380600 DIST indexmap-2.2.6.crate 82420 BLAKE2B fac5cf6339dc3c0a40b100035a5c874cc7b2efeafeb31c51488d25156e392dc9db86a497e76eead351d2126f69d060422faa9c55d73407a0de9f5be18d234123 SHA512 53211c4a9003d751feb6dcdf1a76495764cbf32d24bbfe2be7023946622ef4f2b07a6de57109e5d24ee01892f4b2be0e0692e10cd31fd39c4ffdff4d37abe9ea DIST indexmap-2.5.0.crate 85919 BLAKE2B 766da0a2ddc406e3fb1a70a0bee00141045ff72b52cc412adf05972ccef59d416f502c429dada111461cb522a5c442087e01d8fb235c2f1fd5493adea00e79dc SHA512 c4627d43b1bc5c5fd64861d1a7ed66255ec3f790367028b2758a40751286d6677da7170cfb04dd88ca4c2d163df621583d2e0dc4e9db6d7ed9bd0cbea42b1729 DIST ipnet-2.10.0.crate 28372 BLAKE2B 9bac14f8742962b16ff36c8f8ec6527ceaf60d77c11cd85a557ad2e5d1f99d568512233771b87f0f3b53fed90fbe44262ed8a41f097f0f0fac2a4df359dda83a SHA512 1c82a2bffe92fabedc5bf07c43580bd1bdf2e7293c7dc62d511420a8f4d1c3ecf4831f252a4867fa3693627d798977a04be075be413106403470c4d4729ae557 DIST ipnet-2.9.0.crate 27627 BLAKE2B e7e1c74815b965e9cec1cd37cc3dca76671168feb689620d44d5e635f3a5fa92a7276cb3022f25a9512ffbaaa11b0a8719cc1b838a7dacda71a5beb1a992ecc0 SHA512 8ce429ba2bae53cfdaf8a7d6bf980e10b9dd515446ef3ed4e4e11432043a18e09454260567419818f523bc589fc367194bc345660f2cc808d281db235d3e0b54 DIST itoa-1.0.11.crate 10563 BLAKE2B 94da07e0f7f2535d0b1491b3a3c64905274b315ffd35ec8e9a3e36e26cd7211733b462eefb5208963e388345f65be9694804c344a6132b2b595b0bc716c0b328 SHA512 7e22dffac34c9c9f432daef395e0ec710ed658164bc9cd9fc6445c9f984c912a10bac556214a026bcddbe27a3197b35b0c87d6709fd605062637d086b2d20311 -DIST itoa-1.0.9.crate 10492 BLAKE2B 0d5acef9ae72d3f4b5a387d231952e6025def69da81d38269b4882bc534be7acadc073e526fd8bebdca898a98b2c741735c541e0b6a35ed0f8f8799b906b65b1 SHA512 95f7906edb7d6a2690389167f8c4d01bc37827205bca87d527f2eb33722419ed2f2e8afaa559cc5a0a7e7fac76515c9c44c71c42b536aa34b0e2858c40946b6d -DIST libc-0.2.150.crate 719359 BLAKE2B d08e17fb29992c76337bb5862cbc1cdaf7b9d7749cd65021f145fcf49fa7954d6251c8c2f3c9a796b46283c3bc014bccfd259ea52824459841911ad847fd7f5a SHA512 7ae8fe6a1db38ac6d951c0b4880d25a02f064f5e61d6057c20f7208dec8395d58efd085e41857bcf5f4da2b014d2952dc4ddaf18ac4acd3a23675bb659e70385 DIST libyml-0.0.5.crate 97931 BLAKE2B f79d8e9ab775a6a31be18757129708a6b6f173b3ce2e58696992b34e42b820e4c3426202df1ed7c07601dc351a60d770285c8adf3d5383e515cdb4aea3a3a6b1 SHA512 69ce3208f0602e15cedc6e82b8b27ef7ed20f76fdd9820269959515d964ed8ee3f3f624d73d2989188af0fcd24a915576a3c441c857b29495bac2977e379c714 DIST link-cplusplus-1.0.9.crate 7484 BLAKE2B 4f73807068243aa0dc4b6773c5446fc988154669eb196afca19fe39ffe63627ee705c4ee3cf9cca9628d0bb8fc4cdeb7ef52b41bab810d12721a6ad53d9557ee SHA512 30697093b54ca449135d7a2a963bdd9af61a446472b0f245c87a05bd6eefa62eeebf9cc58cf17aa77ac5f2301b05ae27d13eb50d92ec58fec27303f865261170 DIST memchr-2.7.4.crate 96670 BLAKE2B da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6 SHA512 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2 -DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c -DIST pdns-recursor-5.0.9.tar.bz2 1679197 BLAKE2B 1f69f0aa800b8265a580eb9ac2101e19fc383c5a0d8ead98420d399f97fda748cff4e6d7b090259197be2d822e71f65d3c62ddf7710c56cc1e6ca7b600d972d0 SHA512 4fcb417e63383111bbb784b440c5b9bf9351a4d8dfae404aa468515cd74a4789fb969b8f3bcee1a08792dcb01a2d8129bbb671db1959f523e557bf69a4bc0fca DIST pdns-recursor-5.1.3.tar.bz2 1718665 BLAKE2B 1030d7ee0b4fc06a4e20f23249167d21ac6439218652a5853ea5f3aaaa476c5bd659cf0e79df27cf42ab6efdd9f5ade856ddde8716aacd1914fe8f8f8792549f SHA512 6ff144efb60125c5fa66232852f267270a24f4b656d039f167be007b6aefb65fb68e53007a868493fca11f7e33916565fb3e4de87dd9bd0899f2d975271a72ec DIST pdns-recursor-5.2.0.tar.bz2 1729913 BLAKE2B 61fcfe736e5da8bfb61d359db887a19132516247cfcdc87e6b43db55e8b7ac6f81a7ecd15b8985b0aa1ec91ed3da1d1f23cc4a5415285e32faa0b53ff283e6df SHA512 00b1d9a837d2e854750a90f6306d3a7d7b23cf96dd0897666034f120d2c57f1277e1bc1677b8b54eec804f8983483208e3d2e4f156ca376374d06f3d73e3abd0 -DIST proc-macro2-1.0.69.crate 44271 BLAKE2B 9d1531a0b123e6238363d574bee03ad050454b65710b9800c12597f3a9ae2f9bf50c617da0472b7ac0b549afaca19c546ccd6519e648598500efda9c0db2ef6d SHA512 d197cbe9b6100c3193a01fd7dd6b4e49d440290012ababb5d9f139409f0afe816f213d67a03abeb1f3227228e0a1f2446d1dc0a2775363a15d1237c38b45d6a1 DIST proc-macro2-1.0.84.crate 48922 BLAKE2B 51f73a6bbc3cc42aa5bb5c3f4bf404a0c7803f7219673771d375ab288c638113f496e932b98981ef56dac755d9387f888a4147864d8f9364cef47644ea179161 SHA512 0d0bd0cc1f457b6d5feb9fd6da670f2a0662d15d88e5d20d4d308103c689a103861b3838eb25e5144cf24fb87abffdebb3175989285a03f08730ce3daa55e35e DIST proc-macro2-1.0.86.crate 48958 BLAKE2B 4b89e07f23af8328dbb34fe2b3f1b202f1e6a3885a6269740a23359b41bb4099ac2484565d3b2b0936261689ca525785ac620c766997234fd8d0f409e80e5ea3 SHA512 1cdb7e22a35ae231d880c9420784c9acf97bda2db258b3d34aae5061dc1858449defe19a49e12c6a4173906aa72a4115059ac2db0fc760205fd2ab8b5b414434 -DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 DIST quote-1.0.37.crate 28558 BLAKE2B a7d007a69e619f853af94333e1066bb767013312bd99f147b1b153611242bcfa9c76768b1ba47278589db309a9acd61a772c8ec3b567e48439bb9d831f9326d4 SHA512 c4ed21428c1f89cf22b85d80720a7869831a9c129d694617b0ce8c258278114ab98846f3f653abf736d1c86bc9224bbd695e9a7b06aa3adf292d02e1ef14cc05 -DIST ryu-1.0.15.crate 46906 BLAKE2B 6d6949e43aaa27fba0ec6002fa11ba859af8d867f87c90d88413267186abbf6302b817985bca3d577ab3fab2e319e11756f144473a16330dfd8fc7b604cdc4b3 SHA512 4655b5647f919082a9b84b889539ae7fb23a1201057cf280efe79c58cb5f040864efb7812cda5021bf6d34838a15d173ac8bdb0fb9fa2dba85173d3efa5a826b DIST ryu-1.0.18.crate 47713 BLAKE2B 409cdf4b4e77685394018371e91ad6fdb175ac57e1df9f902871f13208515e5a2ab1daa226fc1e7291278e64448332845be4cc9409bce3b2f3daed409259e104 SHA512 a9b2beac778ec47e6be303148d7512ee681bd2361f6e4ac6db32c8b4baf86a8c5eb5b0d02eacd6131ae88c7b5105c57018c3050676e0b3dd1ed9c4d2fd650e84 DIST scratch-1.0.7.crate 7997 BLAKE2B cb92a93751d209c68cd003792e45365d186138a115b936f190ad22b33f87c1e1aea2bcd20937188ba496cbe709539bf5fc1d73c0760020e5159121e88c82aed8 SHA512 2cdd160a89844101b62b4d6c23a56d3f9089828b8914031ca973bcbdeffba41ee7d9fb2edb0736d5f8e19d3bf2b1491e8451ae8fe2525518939b2f5cc6310d55 -DIST serde-1.0.192.crate 76866 BLAKE2B 4920089921e23bbc9180d413cff34277683db1881d7e65c5fd9dc8bad2beae954d2429c9c2049b3e98bc04314ef059e59562c936d6c767681e75b84aa0a2a468 SHA512 b34cea6034a14a6785b3023d0a1c2cb5b1c2756c28f02ea20ba62a657ba54e9d04096a54c4fdde3ff4094913dba46c99713828de4287186bf9dd3f7d89dda0c3 DIST serde-1.0.203.crate 77935 BLAKE2B 3d3dd4f81f7d74b60483d6759879a9f87c0c7d615aec308bad1bc575fac4e2071dc86551c2789e87331dbf8089e923ae56fff82e6f5a9992cf850121b052ce1d SHA512 a8d302589244e41f6f675e8d199b2532b29f62b63e45aee141a93dad96033e4bbb27ed01c11e329ec2266cdcc6f2a40f41dfc7d1b9bada69aea81d35d2d82cec DIST serde-1.0.210.crate 78338 BLAKE2B b3621d1313312177a346313e6e384fe9660f74eefb18e6cffa39fc2aadc0ab73be84b9037c59b716e5feafcd73f4f054f83e6d17d82746984b3064bf8d3ed338 SHA512 0d853ca51543ae8b4a0c70204ff4e559a4eec77af3d3bdcfc75c5905c80d4ffd1bd9eb8258ea4f6ecfbdd26477ecac7dd698d84d86759fa32e03a9cce02fa4ae -DIST serde_derive-1.0.192.crate 55690 BLAKE2B 1e9706fdf38880989cf907c36d1f72b5b211fc6f263a4ee35d5f7106aea0a792fd79a3361d09f831e06ce0a43680647952a8478bd1001f617d2571be428b5516 SHA512 67ad208291c8d7063adce4bface5d963488c43a326e77a89970f86f65e8f77856e173d134718f64eb80dce67283df1951022c12300dea0b4d9570fb7f637643a DIST serde_derive-1.0.203.crate 55867 BLAKE2B 1bc8aa96328bb83e4e4ff527b1df855bbcefd333f0c43c96d1e0b93f98a46273dd88a21653bccc8f517c4fc06d17b9b44332a963d024796e0a2c18a5bfecc824 SHA512 b2aeeab33395ac11ebdbd922fcdbda29f2592e7a20e78aef250713baf269cacf497271be7aa407f657aba33da132df0e035be046fef070f915f234097d1dd392 DIST serde_derive-1.0.210.crate 56020 BLAKE2B b346e574c99b6a8b12dfc29b20a4fd2daf8abfabd3714ccfde059a3a1f14a5628d4acf6a03f8076174fd28adfdb7cb9bbdb8ac0d4403aa2f43e917eed4b08028 SHA512 1c54d70a55007c00d3ff3d8c2096f4f9966431ba7bfd9195bcf41932de71b71c4ab934f9a8c5067cb56a042742cf0efab07377dbabf12feb1af6d20399de00b5 -DIST serde_yaml-0.9.27.crate 64781 BLAKE2B 071d9ec686e0fd029cda986c14a6156c617e64b94ca9f7608c6306fbe426e07dee6231504f346d53b658395812b0fe32d74a103fc1b361e642949474211df41e SHA512 661b6a796caa3da6fabc3b24e798f9608c97706d49f64f05b8e046d40fd7c5e60ac66c3a88d399fdcd7eb2c71f3b6cec0104bdaf46870404e938b08fd55c7ea5 DIST serde_yaml-0.9.34+deprecated.crate 65290 BLAKE2B 1c1f8c7dd1a7952948596d8c727fb6fd36426c7b80ddaba2e6065db7551757e6fb170c77373ba9784f6b32de9f8aec94f90e1c85df98b9ac1f75a7cc8e5da174 SHA512 64329436d18bc3b1a0737afff7c8727f7e04c71b2bf6022f597a45f0860fa3a678eac688f61f0bf7a7846f98809f427c9907625e1d00c8691c383043c1cffaca DIST serde_yml-0.0.12.crate 125859 BLAKE2B b9edf944cb967a66882354b15b99fb469005e6af002d7a1064b63b0e2cfba812fed56b2c5ca994a157694a10f1e3a0777a1645ae07d347c7840c632f621e189d SHA512 a7a3ef7b9114410388496817e417aa11c8f73cadd09c51ad60c7b62ea4932a6c4cbfa8b735efc8cd4077bee5249949203d618961eb99dd8472ffce4a61711ba1 DIST shlex-1.3.0.crate 18713 BLAKE2B 18800c364d3a628f1a3125097ea82fe6286550c2997235df0bf8483a3906aacabc81308cb239887d46ba2f457cc6f8acd5aca78316707eea5098cd5666aea67d SHA512 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a -DIST syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3 DIST syn-2.0.66.crate 264855 BLAKE2B 5029091b2cfa88e5c739be913a647dc9492696398c09b891f84089350e6f09baafd9935b81e0f3519d5465eff2e1822ef6cdc96c15d6a40d1b6b8dd2f9e7d073 SHA512 60a617bfd37d74c52e4d4d63ef0a27a2f9b982469a6926922f2f6e96754a0c66affb0847b9a44d505c053cbd788b97e998efb8d1e558ea00ae4a0b7f15bed9b0 DIST syn-2.0.77.crate 268784 BLAKE2B adf14ddc4b284ad78dae3c05be7e63a58a85a2ef16c1051b991aa278843ba7231f0da3cf2adc65eb95762d4c88b4e1440cb616c651d3bb568392bb036399304c SHA512 f8030332c3c4ab34fc1e86196eb0eeda9700e5438f2a339591a5968d8bdd3373b523dba4bd998bf578e4247e0019d999d4e9c6d062a1dedcafe18d27b6c9f6d4 -DIST termcolor-1.4.0.crate 18765 BLAKE2B d7286fcc84843296e2edf074e316ee8fcceb018c08deda7f1048e38108bf1a7c5f6b90dd3150078c413322eda08a1c58300b4adb963d9f51f307ecd08b5b7e10 SHA512 36c8550fe85cb90c4fdd1a6e3f60b42b6c71f65b6128da97d5ad6aac8350d907410899ad4a47bb4dc72ea6d00bc69e5a1ccc80ee9b0e80a1a27912e233f3e416 DIST termcolor-1.4.1.crate 18773 BLAKE2B 34676efbde8e242415857d6d40a287ae3459678d8222f5144faefb8c84d635686f640e79588d98635c8f25b7628ec6663a01b16e1e462705b5cba7e8b8e61f44 SHA512 b66aad157c4fa2985f764321d157dfb1f0325fd633811870db7919b5579bf7bc19fefe99e1c706cdfa67504c37dc2ca3d283e11d1bb516edcfaf1eb7747a778a DIST unicode-ident-1.0.12.crate 42168 BLAKE2B 4cede03c08758ccd6bf53a0d0057d7542dfdd0c93d342e89f3b90460be85518a9fd24958d8b1da2b5a09b5ddbee8a4263982194158e171c2bba3e394d88d6dac SHA512 bc1824e1e4452a40732fc69874d7e1a66f7803717a314790dcf48867eba34bc9441331ef031e386912e52c385645c25b6ed39d4f149973b5b97371b1b96b1920 -DIST unicode-width-0.1.11.crate 19187 BLAKE2B 6baf7f3b32eb838925e591792abfe11968206d177facefb89ef51daf44c18f3fef1e41c19a47b88b81be50667af626af2024ccc540b240fb6e1d83fdea57076f SHA512 ee06f4144525424327a17578642565f396802f0eea539b3bebc8d9627376a8bc6c5376d83a6ee577068e99fe75815bd765e6d49fb9ab9b253d00594bb15a5ffe DIST unicode-width-0.1.12.crate 24062 BLAKE2B 61afd22353d46a8a77519af9b3580d75dafc7965967f7724cb740f1ee199c7742b3549ad6c67776b876dbda5b8f27c634431f68517e29a72ade1622da9fde446 SHA512 0bafd7a69bdf49c849e7c063ebf0487eca8a76244e3bc18c9a5f4609465dc0e5d482daceb6a9a6f4125b801bf7063cb8225fdb55173e5dc55e7bf278300df1b4 DIST unicode-width-0.1.13.crate 457228 BLAKE2B 757c4da5fa090369a26130b08440c2348f1cd1c0dfbb6770dd75b65eba797eaa65f5d683f0c2862cced06124d46a89b4825af0d990f6adc2df8709b8ef291665 SHA512 9781d6dab2c6343e8c28ec66b50cb4293261bb2114e122fa80ad2facdb23020f5b621c38030193b918669e58adf143808e5ab4c507c18beb6dc61e97b2e296f4 DIST unsafe-libyaml-0.2.11.crate 62101 BLAKE2B 7ba17f2c19d96fc8999448594ba67bfc0eceaff47a39e560f856d13229ad5e69a9c8ba8794ec814e6b7c3cb7d597b7c7a366c8e880f17c0efc6a03a5677d82bf SHA512 a42c95eaed1ae2e438d3ba19ccd92337327c34f6174a43db80e1f37c507154249c7510e93f81726890c6032c89fe21b1876582afb7fbb811e3931480c4727712 -DIST unsafe-libyaml-0.2.9.crate 60812 BLAKE2B 2fc475191d1285344e06a7056503bb994acf3bcd19fc5692a61cbf2315b2a331a0ed7d30d50c112cf05fa41f6f71b0b8235e15bb936848497bee85592f6ddc3d SHA512 31e803c321475364c6df65cec149a044bf7941379e9e66f47a698ab324eef0b1a3c32092ccf060e73a350b4c87e4e8bd908a1ad0cccf7b75fd86da679300663e DIST version_check-0.9.5.crate 15554 BLAKE2B 131e75cc287518831e142430e2a39b48e4275874f4473780d47a27552294097aa1cddb65c385583e1022478f940b495eb43c24a8b1617b8ac5a24af3340c0d72 SHA512 d11d5a2240ab0c67ea69db56561ce202201edeef9a8e5eda3d9ae7ab7bb5752d8f343fe7f6536d8383de8d55f9024efa84f66a0c21e69563b7a38c4a628014db -DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97 -DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2 -DIST winapi-util-0.1.6.crate 12234 BLAKE2B b8db8ec9d7ada5532a22a2d070320174c32ece1f48890e9b028708e194fe72a04287b11910dc2ddc7f9c9674a9d8d39449b3e100725e1f59e59e3047a7e3650b SHA512 b1c949f9bcd34c1949a9d3a7bde6ce62fcf3d2cb66df60af41fe67a9d1acb24e571cdd5ac721be9f1ee4b3af5ef5149b5724ad6e02b558e124ef2a4412d12db9 DIST winapi-util-0.1.8.crate 12416 BLAKE2B 5b48c27dfbb5db5c332f7e248138327b35ceec0909788b940168e7f6fe1402800da5e7690b2b1654da6c510b5c720330a92da16dff53ef15821f37fef6f335e3 SHA512 e186111398f9f0f0686e791ad0d72c39205e5f246b6e020df413e477ee07f32e91d09405c61dc92752f061f54fd7533435545c1a151477b40e2d68acc94a57fd DIST winapi-util-0.1.9.crate 12464 BLAKE2B 7fb9dd803fc2608c4e5bc75674472992d82da364f24c22072d5624d6ae6abc44abd3e3ea3c45a7558e045331f3d87572b306b4ab5de52c07ff3706e7f13c2a38 SHA512 c46b893f67ec6e36499b00736bb6b9421e0e2611e76784afa6da01d7ebd033df82f1be7cf8d871d541125d290983f98f26f759488ba9aface49efce8edd682e9 -DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 DIST windows-sys-0.52.0.crate 2576877 BLAKE2B 69d6b560ccfc8f679e2678663ba606060d71fa28efa82c8aef8cceaa2c63b06f2052764d60163964f939649a26bbec6361ee4b094555e941fae92070db566980 SHA512 24ee0df246c2b456a4987a9124786a28acd358768cc7d1305bccd81bc5bb8822b81a03fb18d35174a520b911c6d9b685f81a34ab319fee13da3b985273584f03 DIST windows-sys-0.59.0.crate 2387323 BLAKE2B 3110c8cd2bc005f8c95cd038a8d574af648dc19788fe4485f977376f92e36b911b1a542d669a07ae9cd4ea72a884ab01ec78b8a2b5587456eb202452d1d8fa0d SHA512 d35e009e979633a1f3c8468cd038bd5c8c0381405165ce03497decd7d9edaaac485d704487e4a61d9aaf4e4d011b4248408912df6a0044d50e8457259867e061 DIST windows-targets-0.52.5.crate 6376 BLAKE2B 1d39fd86380ab086c536d88e67b60956410b345790ccea62a25e6a700757b2a9cfa6dfeb7b86934cf47b981ea2e5f42dddf49780ad9829a551dc507fcf108641 SHA512 d00d7bc7eec3c10272e803ee5c9ea0d9b07c43311124dae975b4f5aae7408c5f2ccb2fe6e68228ea3d4e70b6b658382cac6992ea177f43a9cba2ef95c4fda0ee @@ -95,7 +69,6 @@ DIST windows_x86_64_gnullvm-0.52.5.crate 433246 BLAKE2B f34328a6d100e092ecb34a63 DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6 DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7 -EBUILD pdns-recursor-5.0.9-r1.ebuild 2800 BLAKE2B 3660bed27c34c3b0d9b2ac16fd39efbf5cbac47a26249c01273a902ecada96d96787cf40098f163cc964e47140f1da1d16d4483bff29f50a656901a11c540fa4 SHA512 870b0a734c11b088f0b4f3499fb036dbf57b97c0207f1b2bbb2e215cb1650acf34756445baeec4c1045b1a924984deaac4e6acdf131f7e614b3014c05fb9f08e -EBUILD pdns-recursor-5.1.3-r1.ebuild 3107 BLAKE2B 0d91c5ca309a1e264c161a59afaaf4884e155994c86d7bf2370febc089b610eb3c916ccd34b3337f95095f4501b809762a0a6e258df9f9fa3a205935be380f47 SHA512 fd5443632ed16a4abffc1a21e5b4b3806cf8a9312c14f57a770d127e1f1bff061cb7a6eccdfe4db5dffe63fc9c4dc7ee11317acaf0309433ca2b01a3660b509a -EBUILD pdns-recursor-5.2.0.ebuild 3123 BLAKE2B fde81475fbeb01e302dd41b1aa7832d07bed5f496c7e4d3cbe3e0ff41fcd4476f9c6b6779e1bb2dbdacb6da60d5bd19b6db2a608734b1f82a4ca78b6a6c7efb8 SHA512 d1804cf88c82e6e02891a84f0cc8941f64e0711bcd84a6bf1194fbfa595a030315cf99b104971b233c6bc8b5bf8cf6c48012ec9eaaa9ceb110c6682a75b3ba35 +EBUILD pdns-recursor-5.1.3-r1.ebuild 3117 BLAKE2B c9cb01d44d61feb9b94f14f0d335bb81f46ba92d9e768703b92c7dea9f1f2475f8d425b5f6836bc8c8ebda16018b35df7b177cef1c98df9729fdd5715e8e9a14 SHA512 58127bb959707958161fb104b39bb74c261d6f4e93d289fdd11e03218e62e60a75d3ddc51a53300e146886649b1c500902afc3528735c92e25af49367d360dfc +EBUILD pdns-recursor-5.2.0.ebuild 3135 BLAKE2B a522d383ccfcb155d600b6e592f6e1c5c85ad87fda152dd6254ba47659ea7e147c2936b44c2daa28193f88554248b9fe8dee87db4b5f90ca79f922ee2009126a SHA512 ddbce963173e39c4816a935a4881743e185247fc833cdfe944205e696cbe9933554e17ef8a82a496d41c3a51abf8dfef72f716f507bdd9f47c2e5b5bc7fab3e0 MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/files/pdns-recursor-r2 b/net-dns/pdns-recursor/files/pdns-recursor-r2 deleted file mode 100644 index 0ca3dfc18782..000000000000 --- a/net-dns/pdns-recursor/files/pdns-recursor-r2 +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -get_config_option() { - awk -v option="${1}" -F = '$1 == option { print $2 }' "${PDNS_CONFIG}" -} - -PDNS_CONFIGDIR="${PDNS_CONFIGDIR:-/etc/powerdns}" - -PDNS_CONFIG="${PDNS_CONFIGDIR}/recursor.conf" -PDNS_CHROOTDIR="$( get_config_option chroot )" -PDNS_SOCKETDIR="$( get_config_option socket-dir )" -PDNS_SETUID="$( get_config_option setuid )" -PDNS_SETGID="$( get_config_option setgid )" -[ -z "${PDNS_SOCKETDIR}" -a -z "${PDNS_CHROOTDIR}" ] && PDNS_SOCKETDIR="/var/run/pdns-recursor" - -name="PowerDNS Recursor" -description="Recursive name server" - -extra_started_commands="ping" -description_ping="Ping the PowerDNS instance" - -command="/usr/sbin/pdns_recursor" -command_args="--config-dir=${PDNS_CONFIGDIR} --write-pid=yes" -command_args_foreground="--daemon=no" -command_args_background="--daemon=yes" -yesno ${rc_verbose} || command_args_background="${command_args_background} >/dev/null 2>&1" - -pidfile="${PDNS_CHROOTDIR}/${PDNS_SOCKETDIR}/pdns_recursor.pid" - -control_command="/usr/bin/rec_control" -control_command_args="${command_args}" - -depend() { - need net -} - -start_pre() { - checkpath --directory --owner "${PDNS_SETUID:-root}:${PDNS_SETGID:-root}" --mode 750 "${PDNS_CHROOTDIR}/${PDNS_SOCKETDIR}" -} - -ping() { - ebegin "Pinging ${name}" - ${control_command} ${control_command_args} ping >/dev/null 2>&1 - eend $? -} diff --git a/net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild deleted file mode 100644 index a86a4870d6ed..000000000000 --- a/net-dns/pdns-recursor/pdns-recursor-5.0.9-r1.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -LUA_COMPAT=( lua5-{1..4} luajit ) - -CRATES=" - cc@1.0.84 - codespan-reporting@0.11.1 - cxx-build@1.0.110 - cxx@1.0.110 - cxxbridge-flags@1.0.110 - cxxbridge-macro@1.0.110 - equivalent@1.0.1 - hashbrown@0.14.2 - indexmap@2.1.0 - ipnet@2.9.0 - itoa@1.0.9 - libc@0.2.150 - link-cplusplus@1.0.9 - once_cell@1.18.0 - proc-macro2@1.0.69 - quote@1.0.33 - ryu@1.0.15 - scratch@1.0.7 - serde@1.0.192 - serde_derive@1.0.192 - serde_yaml@0.9.27 - syn@2.0.39 - termcolor@1.4.0 - unicode-ident@1.0.12 - unicode-width@0.1.11 - unsafe-libyaml@0.2.9 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.6 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 -" - -inherit cargo flag-o-matic lua-single - -DESCRIPTION="The PowerDNS Recursor" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2 ${CARGO_CRATE_URIS}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="debug dnstap snmp sodium systemd test valgrind" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND="${LUA_DEPS} - dnstap? ( dev-libs/fstrm ) - systemd? ( sys-apps/systemd:0= ) - snmp? ( net-analyzer/net-snmp ) - sodium? ( dev-libs/libsodium:= ) - elibc_glibc? ( - arm? ( >=sys-libs/glibc-2.34 ) - x86? ( >=sys-libs/glibc-2.34 ) - ) - dev-libs/openssl:= - >=dev-libs/boost-1.42:=[context]" -RDEPEND="${DEPEND} - !<net-dns/pdns-2.9.20-r1 - acct-user/pdns - acct-group/pdns" -DEPEND="${DEPEND} - valgrind? ( dev-debug/valgrind )" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}"/${P/_/-} - -pkg_setup() { - lua-single_pkg_setup - filter-flags -ftree-vectorize - append-lfs-flags - append-cppflags -D_TIME_BITS=64 - rust_pkg_setup -} - -src_configure() { - econf \ - --sysconfdir=/etc/powerdns \ - --with-nod-cache-dir=/var/lib/powerdns \ - --with-service-user=pdns \ - --with-service-group=pdns \ - --with-lua="${ELUA}" \ - $(use_enable debug verbose-logging) \ - $(use_enable systemd) \ - $(use_enable dnstap dnstap) \ - $(use_enable test unit-tests) \ - $(use_enable valgrind) \ - $(use_with sodium libsodium) \ - $(use_with snmp net-snmp) -} - -src_compile() { - default -} - -src_install() { - default - - mv "${D}"/etc/powerdns/recursor.conf{-dist,} - - # set defaults: setuid=nobody, setgid=nobody - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ - -e 's/^# quiet=$/quiet=on/' \ - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ - "${D}"/etc/powerdns/recursor.conf - - newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor -} - -src_test() { - default -} - -pkg_postinst() { - local old - - for old in ${REPLACING_VERSIONS}; do - ver_test ${old} -lt 4.0.0-r1 || continue - - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" - ewarn "to pdns-recursor, please update your runlevels accordingly." - - break - done -} diff --git a/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild index 2a162eeee98e..d7677bee2e5a 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.1.3-r1.ebuild @@ -54,7 +54,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2 ${CARGO_CRATE_ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm x86" IUSE="debug dnstap snmp sodium systemd test valgrind" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -83,6 +83,7 @@ S="${WORKDIR}"/${P/_/-} pkg_setup() { lua-single_pkg_setup filter-flags -ftree-vectorize + filter-lto append-lfs-flags append-cppflags -D_TIME_BITS=64 rust_pkg_setup diff --git a/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild index 2b552fb89244..02223adeb190 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.2.0.ebuild @@ -86,6 +86,7 @@ S="${WORKDIR}"/${P/_/-} pkg_setup() { lua-single_pkg_setup filter-flags -ftree-vectorize + filter-lto rust_pkg_setup } diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index 65a3bd002fe2..3686216f1264 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -1,7 +1,7 @@ AUX dnsdomain2.schema 6640 BLAKE2B d3efc6bc16390f35979f1184632e7184cf403453422888e2cb44fa4fed7891241919a39c8c6f539a61de032654650a45ea548a6983777ea1bfe029e817f2c315 SHA512 ac16f8d528d6138d3c2cbf997fd8fbb467d388aa63eb6ed4e7780a3dad11ea885b91252ff0809b1d2cf7d5200814b8963aab890af84741ea86d35b2f5955a7ea AUX pdns-r1 2815 BLAKE2B cd607cb30a94540eca9cfa2defb7c996f6e151875fcaad8ad3357261937868bc346962f1080ad45a0ef38c2dfc126eb11e41837ee0784f677d1e7c071589a057 SHA512 4c0442d8d92d95268d4971f80782d2772e2a22c43da00566a9328c79a834e4355b2610d133034351d7137ed6cd7fda300f3db8093b09d5852cea44d983de1e39 -DIST pdns-4.9.2.tar.bz2 1378434 BLAKE2B 96a5ae874b3df27f00891d8e6e399fb529371bb70dffa4cb7167887da5ef231809faac1cddfc3ec84a0ccb286487d8c5c9ba5f5b8ed12398260cc5c4f369407f SHA512 42292d5dadadf39077a5be2bb0f973292375e2d0695738bfee73d91681f9e7b0e313343dafa042ce3c7141e3132ee5756cb42eabab2188c02adb44fa07866235 DIST pdns-4.9.3.tar.bz2 1375976 BLAKE2B 1c4b459d658696bb00eb1dd34f41fde480f8880503f7bc8549485aa27556fb07f0c59d47c16f2854a6761d35175a232af010b1f334c96b11dbfd1973900b0e43 SHA512 fdedd2a766b758362d43fe7baa645e8e9a20bd632647fe8a175b9c5fbf74aaa9aa57a500dc2857fe8ccf7574f538f8f2a46ee2456a2427f264dd7fa0a27daa60 -EBUILD pdns-4.9.2.ebuild 4383 BLAKE2B b7b4b79fe965a5d133426a74f9963267788ee285c4ad2ff50177ca6a3cb7538883bee3bf3bdf3a9a084e4810be4f02a6df86eb06f4d218e56a7843c1a163c9ff SHA512 f930d20162fa7d6e010268fa9c35de71860c3b44143a0b931a898c4b1aeee2087480e8a41454f04bfd222e49dc45332cdfdc744c8fdd1cf359695dc19e8d6613 -EBUILD pdns-4.9.3.ebuild 4385 BLAKE2B 529be8587d12f278a082e57e61da97c79926cccbf4035199aa8d4885484ecac7b442d70b86f7b37aad74a78201907f8f2e600d7dc9132c3af470e99b167e35e5 SHA512 24d8a24c0a39e4c4de477b53fe5a0cdc2be0d5b1c1ef9b6a38a59697a8a1dc3a58a16c9fb4a43a3e358165d16761780d5b8c355948c8b03781da2b593d135a69 +DIST pdns-4.9.4.tar.bz2 1375659 BLAKE2B 1cbd27f5950b0561d21ab7bbd43aa761e4ded69b2f0f0ca2ad5e9512cae55e32082b77a260066d69d16c5541088a03a565fb8b9a3f543f607cbd0a562e5e3ed6 SHA512 fe597a84443bef2c47fdc8302b0fc3e809a48012cec40c4fafb79196eb13be547846d3bd088a93e3bac31bec94bed904b128afc9b8effd78c63c21178f0b2b1a +EBUILD pdns-4.9.3.ebuild 4383 BLAKE2B c2777d097430c1a885d341e9150c098d5f643f79d96fba040a4e3b4772ae1fda3e7ba71217727e302e57f1ed63a12d8cf4eea08eff158635b1c8e9d6c7f8e5f7 SHA512 b571a61b362213d02283357ba857138157710afb1263da2988d4ec191456e8b1a5c7ac0c344a87e5b4a21e9a9a524a795517f2e8e84b05a3b7615d597860c712 +EBUILD pdns-4.9.4.ebuild 4251 BLAKE2B beb4a352c3c75f2358e06c61145fb7daa3422624eb66204fdbc00c541b1c14b7ccf2735a5a3eabc0709b00e87a0e2f9726a9b2d9f6a961e9b43cbcb706dc4274 SHA512 6f185f22af0532018c14e611115985a6263bf8f0d551a924ab5fdb9d714eb3020531f16a80732395af7ac652c1cebeb6fb5bcba22d552d03ac93ce3b79adc749 MISC metadata.xml 951 BLAKE2B 37f168bd4a7db2c11c6da9d5a07abc506c5b7115f10512b0e500cb3c3ea64758cd44d4222b2d750be3a731e8a6d12dee922f829ee5beb11eb1bd5c01f0827af1 SHA512 70612d620009416b680dc442cc0cfe7ea903f87a27f9b2e76fe77ad14eb1428f5a0133eb9e393bd286f404a755246250feeb5f5da63772aa2be2c5db4bc11ee9 diff --git a/net-dns/pdns/pdns-4.9.3.ebuild b/net-dns/pdns/pdns-4.9.3.ebuild index 6a8019baa961..8fa4178e098d 100644 --- a/net-dns/pdns/pdns-4.9.3.ebuild +++ b/net-dns/pdns/pdns-4.9.3.ebuild @@ -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 @@ -14,7 +14,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="debug doc geoip ldap lmdb lua-records mysql odbc postgres remote sodium sqlite systemd tools tinydns test" RESTRICT="!test? ( test )" diff --git a/net-dns/pdns/pdns-4.9.2.ebuild b/net-dns/pdns/pdns-4.9.4.ebuild index 01177ed19023..aa6d7d980d2e 100644 --- a/net-dns/pdns/pdns-4.9.2.ebuild +++ b/net-dns/pdns/pdns-4.9.4.ebuild @@ -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 @@ -6,7 +6,7 @@ EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) PYTHON_COMPAT=( python3_{10..13} ) -inherit flag-o-matic lua-single python-any-r1 +inherit eapi9-ver flag-o-matic lua-single python-any-r1 DESCRIPTION="The PowerDNS Daemon" HOMEPAGE="https://www.powerdns.com/" @@ -14,7 +14,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="~amd64 ~x86" IUSE="debug doc geoip ldap lmdb lua-records mysql odbc postgres remote sodium sqlite systemd tools tinydns test" RESTRICT="!test? ( test )" @@ -132,10 +132,7 @@ pkg_postinst() { elog "The name must be in the format pdns.<suffix> and PowerDNS will use the" elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default." - local old - for old in ${REPLACING_VERSIONS}; do - ver_test ${old} -lt 3.2 || continue - + if ver_replacing -lt 3.2; then echo ewarn "To fix a security bug (bug #458018) had the following" ewarn "files/directories the world-readable bit removed (if set):" @@ -144,22 +141,14 @@ pkg_postinst() { ewarn "Check if this is correct for your setup" ewarn "This is a one-time change and will not happen on subsequent updates." chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} + fi - break - done - - if use postgres; then - for old in ${REPLACING_VERSIONS}; do - ver_test ${old} -lt 4.1.11-r1 || continue - - echo - ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend." - ewarn "This security fix needs to be applied manually to the database schema." - ewarn "Please refer to the official security advisory for more information:" - ewarn - ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html" - - break - done + if use postgres && ver_replacing -lt 4.1.11-r1; then + echo + ewarn "PowerDNS 4.1.11 contains a security fix for the PostgreSQL backend." + ewarn "This security fix needs to be applied manually to the database schema." + ewarn "Please refer to the official security advisory for more information:" + ewarn + ewarn " https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2019-06.html" fi } |