diff options
Diffstat (limited to 'net-dns')
47 files changed, 1469 insertions, 971 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex 6273b32bcbda..beaefa32b871 100644 --- a/net-dns/Manifest.gz +++ b/net-dns/Manifest.gz diff --git a/net-dns/c-ares/Manifest b/net-dns/c-ares/Manifest index 38d1a90bd7b2..93fba2cf3c8a 100644 --- a/net-dns/c-ares/Manifest +++ b/net-dns/c-ares/Manifest @@ -4,7 +4,19 @@ DIST c-ares-1.29.0.tar.gz 1329299 BLAKE2B 7dd6a0dc85d3383087726cd48e75b481f4ef75 DIST c-ares-1.29.0.tar.gz.asc 488 BLAKE2B 3d955b0a130dce562436d9629f1403e30ee5ebd2e981a9c2220b51d129222c3760d6bd8a681cab6115e3f2ef0bcf8e8d600792fc498bc0c05638ce7fcac0d509 SHA512 a379f3c5338073810b7bf932fecf0ce1f0b382cfbc75521f4b135cb78d0a9fd418b06f7affd747fa00d11479186db248fe8ef8120858de2b8f562b56cc41ecb2 DIST c-ares-1.31.0.tar.gz 1012373 BLAKE2B d302862148998fbfb737e5f78826a3152b299fbbf04db4d80580daeaade77e4ea1a9513f4d194746733c33a35474f39dce43dd0562b3faa8673b366a2190c87c SHA512 571d2555b4aaf3bf9cd7b5c89be8448ca26fe0ea1f3d664b07a01b42d28af4f5412b30485ef01d4bacc4e08de487dc6eeda98acf212a6a08edec6805f17210cc DIST c-ares-1.31.0.tar.gz.asc 228 BLAKE2B 41d35804e4f5d0e11c2c6c192453a0d48f779be999a3f9c1bd8066c547e0ed9959083d953b7735ca15699444913bcdd7d43c3871e11a381e9c8ee508086fc3d8 SHA512 ea2decdec5913f25e690e6c7437fad1682b2df807397e4b764ebb2a8b010804f77b91a889e8aa00471cd1bba3b96c5f90d815ffa677598e9b516909e29b7f960 +DIST c-ares-1.32.0.tar.gz 1021855 BLAKE2B b60c924581ba7db1d87350929d22b5e15684484579e0a7d46068438ca8a953bfb7945cb38cad42f008631bb7ea51e10acb074053d485cd91a52eef742f09fdc1 SHA512 15b9dc967f66a355095f68ef84238776f6ed826fc9077702ffbb6b136be1befadcb9da1f07956079efe593434c1e912993f6e93e948291668b806be50f03136c +DIST c-ares-1.32.0.tar.gz.asc 228 BLAKE2B d9cf726e42d79ccdaeca2aafc028c1d03aa56acd1cf03b118070968a31655046a3d609e8ea529f03465341d6decaa7f8eace4310487e7028e3a1ad355d25fa4c SHA512 7554b37e470a57ad0175050c1966e1b72bf67791aa860b113a66688ac28e525b93a633a472dd43c8a16bddb366e918b202760efab5ab311c4b6ee63e72869552 +DIST c-ares-1.32.1.tar.gz 1022052 BLAKE2B 662f15e7f1ae39614f0212745fe7883bbf831da667905e4595e011922b37c95b2037423dde96b0a62122a304d6edd04d36e99e428bdbf8f89d6ff9ecb4cfd712 SHA512 20339b92c5355c01f71a0ab5fe4b823b41ad09269dbdaf4f1567324735d7e90812c9f3f7ce197247be0bd793df35b85aa1747675762a2344e4f506346466d349 +DIST c-ares-1.32.1.tar.gz.asc 228 BLAKE2B d3d44263673c79b2dae594f5a2b3be076528c9c9f3c672e9c5cf3db68eb1b7da6ba74f8ae44605d783440f3bbada4033073e4feeee8ed9833226f76068022dc4 SHA512 3a1dc1f1066bb4d35024ef9e7246c2f630d309a1843e32574f29c07ce01e0461176dd9d53b1a7d2df279959a8b13c10cb4396ee7fafbac534e1b4d44bcefc47a +DIST c-ares-1.32.2.tar.gz 1026293 BLAKE2B 1acd4d90d0e9d8abcbc49561db8ae2e55295398353896a7ab0108c1ac8718eb08c655dff8aa6c0efa138524805972ac4033d0c49cfcebaeca1a019021073e981 SHA512 f552dbe9cb7f7b28ed05d93ee866a161e77c841453cde3659cb1e0bf6d501894bf5f6b8db308f7397e6ead4b42f34ce17e1c2ef307352de50f2aad25e4610de8 +DIST c-ares-1.32.2.tar.gz.asc 228 BLAKE2B 6a09ff532d1334f994f9e9365ce6074aae4227b27c0a5ef40e441192b6b23c728772278fec7c8c34fc93d20309b04b9e31802d4491dc3e1313818eadbe8a4afc SHA512 385ca9bd72a2131f2eb51c035e50d21d816361872a0db42c6a9dc60a1a3971d464f34c2518c759e01e6c88b5bf100ddaa87862e877187a9b59800070b2bef7af +DIST c-ares-1.33.0.tar.gz 1040626 BLAKE2B 730ca3ca9ebb03228fc17d87f1a659f77f91d2a4cc840fa21d7bf083878cc2714a2695808f53de2182e3cf2be367a95bb9625473cfbace40536cb3a33fd0d338 SHA512 3cf1b94d6e8e53742703a679d7e35d3f985320720f41fa58189a0bcad4aca80405c73c4689abe7879df292dbe8f3ddca34b2d48429af5afcc9d2933edb075788 +DIST c-ares-1.33.0.tar.gz.asc 228 BLAKE2B 945ebedb47c998aa917aebc6180cc9f601bc4f10c648955cc9af84e09d5832e06cf7c7afa7ddc1591474f23758c7d269c722d4dce34e4680edc69ce93be483ad SHA512 bd6386a917d072ac41adb604affa314b8e05e8cfeff5ade7e9d6f520baf4d73d7adf68cff35f4748aeee45d4d646ca6d6cf438e75e1c7125f1ababd561809e8c EBUILD c-ares-1.28.1.ebuild 2469 BLAKE2B 3602700c7fbd2b32142f10a96cfb6d0918a7a9b532d5c9a3464b8e4f99d64bbe77248211628123fb7d29bff9642ff3f5630b9483d1c2f758dd988bdbf97ba448 SHA512 9a19121ff5d8b4290613e9db043824f5eca2879bd86f9e6a76f479af4190145966484dc60112323d881b7408db668912347346e8981dae021e56f2d8fca6906f -EBUILD c-ares-1.29.0.ebuild 2477 BLAKE2B af7ef39d916bdf7fff30e9ed176699fb20abc10a51e69e56f9380e9b41d0831880eeecc438476c6d5709fb0d05360899a1c6ce271c65ae2cdd55f3c415778d6d SHA512 daf2ec88ced3df7ce2a112ec0b2c9562681fb11e2bedbceef636fd5d63be0bf0c3a2788a53635a208f93eb87356907058eac0ccbcbbcb4b8284270c1073fe6a6 +EBUILD c-ares-1.29.0.ebuild 2470 BLAKE2B b53ca35edc43d7d4662086f742f0497ce9179dfbdc33ca478991bdb1585e336c7e5a45c880787b3739cfb44df70fa0c2ffb1ccdae0557759b82fed86e134e009 SHA512 9c616b30bdf0efd9d2fa967299442bce009effc0619c0b35497e2f02c56746c2dea74cc7c66820102e6abac45d50eb69fc9327da9212ecf5338803dd9b8e7092 EBUILD c-ares-1.31.0.ebuild 2499 BLAKE2B a596da04d3c74feb78f2ebbbc82bd8b46668592931b0fa74de8f54e6a9fb093203aa5794d8d9761b2183e2bfdb2046abca927f3f3c2b4a468bf8746c771edafb SHA512 509712dbfdb6ce96e5fdafb73cc8b7d75c0f78b5d6383461230a4555545ad20708dc4c7636d1cacf141b99d3a79d77394a2680960b07bcf261c7b75a43922df1 +EBUILD c-ares-1.32.0.ebuild 2499 BLAKE2B a596da04d3c74feb78f2ebbbc82bd8b46668592931b0fa74de8f54e6a9fb093203aa5794d8d9761b2183e2bfdb2046abca927f3f3c2b4a468bf8746c771edafb SHA512 509712dbfdb6ce96e5fdafb73cc8b7d75c0f78b5d6383461230a4555545ad20708dc4c7636d1cacf141b99d3a79d77394a2680960b07bcf261c7b75a43922df1 +EBUILD c-ares-1.32.1.ebuild 2499 BLAKE2B a596da04d3c74feb78f2ebbbc82bd8b46668592931b0fa74de8f54e6a9fb093203aa5794d8d9761b2183e2bfdb2046abca927f3f3c2b4a468bf8746c771edafb SHA512 509712dbfdb6ce96e5fdafb73cc8b7d75c0f78b5d6383461230a4555545ad20708dc4c7636d1cacf141b99d3a79d77394a2680960b07bcf261c7b75a43922df1 +EBUILD c-ares-1.32.2.ebuild 3051 BLAKE2B 64f3b222de1074de421cf5ce994a7fe4c9e4a6a3957dbd700cb2d192af33a1da8c1bf93e5708f8e68c2b0801ed6ce6e47f9def5c2ef23014a7874f9725e83e92 SHA512 45786c717fba2a84e018ca5fb6a59bbcedd81890ddf758b6d7cb05fae07a62581b9df7ef6b8d9586231ec218d755b351e193c82c69ebceaafae3550c0c3c5654 +EBUILD c-ares-1.33.0.ebuild 3051 BLAKE2B 64f3b222de1074de421cf5ce994a7fe4c9e4a6a3957dbd700cb2d192af33a1da8c1bf93e5708f8e68c2b0801ed6ce6e47f9def5c2ef23014a7874f9725e83e92 SHA512 45786c717fba2a84e018ca5fb6a59bbcedd81890ddf758b6d7cb05fae07a62581b9df7ef6b8d9586231ec218d755b351e193c82c69ebceaafae3550c0c3c5654 MISC metadata.xml 402 BLAKE2B ab03bca92ec4073f5a877993558552136f0ae673f98619aa1f30eb94b6d8f2103b1cf77d23a9f2b3d56ee33af23d626ee230e480a3e3e0bc174df879082466bd SHA512 e02d13db5d10b1aaaae5680247a6b47610dda28a13b7754d2b97f08a760ce732957c96fb6e88ce7fd2076bfec275e72bfbb3dec802940f0159122364ab21acda diff --git a/net-dns/c-ares/c-ares-1.29.0.ebuild b/net-dns/c-ares/c-ares-1.29.0.ebuild index f57d48f92bcd..2e6982838c3e 100644 --- a/net-dns/c-ares/c-ares-1.29.0.ebuild +++ b/net-dns/c-ares/c-ares-1.29.0.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="MIT ISC" # Subslot = SONAME of libcares.so.2 SLOT="0/2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 ~ia64 ~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.32.0.ebuild b/net-dns/c-ares/c-ares-1.32.0.ebuild new file mode 100644 index 000000000000..d6ad901bd330 --- /dev/null +++ b/net-dns/c-ares/c-ares-1.32.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Both Daniel and Brad are listed as possible signers on the homepage +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bradhouse.asc +inherit edo multilib-minimal verify-sig + +DESCRIPTION="C library that resolves names asynchronously" +HOMEPAGE="https://c-ares.org/" +SRC_URI=" + https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz + verify-sig? ( https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz.asc ) +" + +# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405) +LICENSE="MIT ISC" +# Subslot = SONAME of libcares.so.2 +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 )" + +BDEPEND=" + test? ( dev-cpp/gtest ) + verify-sig? ( sec-keys/openpgp-keys-bradhouse ) +" + +DOCS=( AUTHORS README.md RELEASE-NOTES.md ) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/ares_build.h +) + +A__QA_CONFIG_IMPL_DECL_SKIP=( + # Checking for obsolete headers + malloc + calloc + free + + # Non-existent on Linux + closesocket + CloseSocket + ioctlsocket + bitncmp + ConvertInterfaceIndexToLuid + ConvertInterfaceLuidToNameA +) + +multilib_src_configure() { + local myeconfargs=( + --enable-symbol-hiding + $(use_enable static-libs static) + $(use_enable test tests) + ) + + # Needed for running unit tests only + # Violates sandbox and tests pass fine without + export ax_cv_uts_namespace=no + export ax_cv_user_namespace=no + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + cd "${BUILD_DIR}"/test || die + + # We're skipping the "real" network tests with the filter + # see https://github.com/c-ares/c-ares/tree/main/test + local network_tests=( + # Most live tests have Live in the name + *Live* + # These don't but are still in ares-test-live.cc => live + *GetTCPSock* + *TimeoutValue* + *GetSock* + *GetSock_virtualized* + *VerifySocketFunctionCallback* + # Seems flaky, even run manually + # https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d + *MockUDPMaxQueriesTest.GetHostByNameParallelLookups* + ) + + # The format for disabling test1, test2, and test3 looks like: + # -test1:test2:test3 + edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}")) +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -name "*.la" -delete || die +} diff --git a/net-dns/c-ares/c-ares-1.32.1.ebuild b/net-dns/c-ares/c-ares-1.32.1.ebuild new file mode 100644 index 000000000000..d6ad901bd330 --- /dev/null +++ b/net-dns/c-ares/c-ares-1.32.1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Both Daniel and Brad are listed as possible signers on the homepage +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bradhouse.asc +inherit edo multilib-minimal verify-sig + +DESCRIPTION="C library that resolves names asynchronously" +HOMEPAGE="https://c-ares.org/" +SRC_URI=" + https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz + verify-sig? ( https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz.asc ) +" + +# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405) +LICENSE="MIT ISC" +# Subslot = SONAME of libcares.so.2 +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 )" + +BDEPEND=" + test? ( dev-cpp/gtest ) + verify-sig? ( sec-keys/openpgp-keys-bradhouse ) +" + +DOCS=( AUTHORS README.md RELEASE-NOTES.md ) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/ares_build.h +) + +A__QA_CONFIG_IMPL_DECL_SKIP=( + # Checking for obsolete headers + malloc + calloc + free + + # Non-existent on Linux + closesocket + CloseSocket + ioctlsocket + bitncmp + ConvertInterfaceIndexToLuid + ConvertInterfaceLuidToNameA +) + +multilib_src_configure() { + local myeconfargs=( + --enable-symbol-hiding + $(use_enable static-libs static) + $(use_enable test tests) + ) + + # Needed for running unit tests only + # Violates sandbox and tests pass fine without + export ax_cv_uts_namespace=no + export ax_cv_user_namespace=no + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + cd "${BUILD_DIR}"/test || die + + # We're skipping the "real" network tests with the filter + # see https://github.com/c-ares/c-ares/tree/main/test + local network_tests=( + # Most live tests have Live in the name + *Live* + # These don't but are still in ares-test-live.cc => live + *GetTCPSock* + *TimeoutValue* + *GetSock* + *GetSock_virtualized* + *VerifySocketFunctionCallback* + # Seems flaky, even run manually + # https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d + *MockUDPMaxQueriesTest.GetHostByNameParallelLookups* + ) + + # The format for disabling test1, test2, and test3 looks like: + # -test1:test2:test3 + edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}")) +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -name "*.la" -delete || die +} diff --git a/net-dns/c-ares/c-ares-1.32.2.ebuild b/net-dns/c-ares/c-ares-1.32.2.ebuild new file mode 100644 index 000000000000..8268e2db33ce --- /dev/null +++ b/net-dns/c-ares/c-ares-1.32.2.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Both Daniel and Brad are listed as possible signers on the homepage +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bradhouse.asc +inherit edo multilib-minimal verify-sig + +DESCRIPTION="C library that resolves names asynchronously" +HOMEPAGE="https://c-ares.org/" +SRC_URI=" + https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz + verify-sig? ( https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz.asc ) +" + +# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405) +LICENSE="MIT ISC" +# Subslot = SONAME of libcares.so.2 +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 )" + +BDEPEND=" + test? ( dev-cpp/gtest ) + verify-sig? ( sec-keys/openpgp-keys-bradhouse ) +" + +DOCS=( AUTHORS README.md RELEASE-NOTES.md ) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/ares_build.h +) + +A__QA_CONFIG_IMPL_DECL_SKIP=( + # Checking for obsolete headers + malloc + calloc + free + + # Non-existent on Linux + closesocket + CloseSocket + ioctlsocket + bitncmp + ConvertInterfaceIndexToLuid + ConvertInterfaceLuidToNameA +) + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* ]] ; then + # warnings are default, but enable -std=c90 which doesn't define + # 'bool' which is a type used/assumed in macOS system headers + sed -i -e 's/-std=c90/& -Dbool=int/' configure{.ac,} || die + # sysconfig integration requires deep framework compatibility + # and is not really desired in Prefix + sed -i -e 's/__APPLE__/__DISABLED__/' \ + src/lib/ares_sysconfig_mac.c || die + sed -i -e '/elif defined(__APPLE__)/s/__APPLE__/__DISABLED__/' \ + src/lib/ares_sysconfig.c || die + fi +} + +multilib_src_configure() { + local myeconfargs=( + --enable-symbol-hiding + $(use_enable static-libs static) + $(use_enable test tests) + ) + + # Needed for running unit tests only + # Violates sandbox and tests pass fine without + export ax_cv_uts_namespace=no + export ax_cv_user_namespace=no + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + cd "${BUILD_DIR}"/test || die + + # We're skipping the "real" network tests with the filter + # see https://github.com/c-ares/c-ares/tree/main/test + local network_tests=( + # Most live tests have Live in the name + *Live* + # These don't but are still in ares-test-live.cc => live + *GetTCPSock* + *TimeoutValue* + *GetSock* + *GetSock_virtualized* + *VerifySocketFunctionCallback* + # Seems flaky, even run manually + # https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d + *MockUDPMaxQueriesTest.GetHostByNameParallelLookups* + ) + + # The format for disabling test1, test2, and test3 looks like: + # -test1:test2:test3 + edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}")) +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -name "*.la" -delete || die +} diff --git a/net-dns/c-ares/c-ares-1.33.0.ebuild b/net-dns/c-ares/c-ares-1.33.0.ebuild new file mode 100644 index 000000000000..8268e2db33ce --- /dev/null +++ b/net-dns/c-ares/c-ares-1.33.0.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Both Daniel and Brad are listed as possible signers on the homepage +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/bradhouse.asc +inherit edo multilib-minimal verify-sig + +DESCRIPTION="C library that resolves names asynchronously" +HOMEPAGE="https://c-ares.org/" +SRC_URI=" + https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz + verify-sig? ( https://github.com/c-ares/c-ares/releases/download/v${PV}/${P}.tar.gz.asc ) +" + +# ISC for lib/{bitncmp.c,inet_ntop.c,inet_net_pton.c} (bug #912405) +LICENSE="MIT ISC" +# Subslot = SONAME of libcares.so.2 +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 )" + +BDEPEND=" + test? ( dev-cpp/gtest ) + verify-sig? ( sec-keys/openpgp-keys-bradhouse ) +" + +DOCS=( AUTHORS README.md RELEASE-NOTES.md ) + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/ares_build.h +) + +A__QA_CONFIG_IMPL_DECL_SKIP=( + # Checking for obsolete headers + malloc + calloc + free + + # Non-existent on Linux + closesocket + CloseSocket + ioctlsocket + bitncmp + ConvertInterfaceIndexToLuid + ConvertInterfaceLuidToNameA +) + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* ]] ; then + # warnings are default, but enable -std=c90 which doesn't define + # 'bool' which is a type used/assumed in macOS system headers + sed -i -e 's/-std=c90/& -Dbool=int/' configure{.ac,} || die + # sysconfig integration requires deep framework compatibility + # and is not really desired in Prefix + sed -i -e 's/__APPLE__/__DISABLED__/' \ + src/lib/ares_sysconfig_mac.c || die + sed -i -e '/elif defined(__APPLE__)/s/__APPLE__/__DISABLED__/' \ + src/lib/ares_sysconfig.c || die + fi +} + +multilib_src_configure() { + local myeconfargs=( + --enable-symbol-hiding + $(use_enable static-libs static) + $(use_enable test tests) + ) + + # Needed for running unit tests only + # Violates sandbox and tests pass fine without + export ax_cv_uts_namespace=no + export ax_cv_user_namespace=no + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_test() { + cd "${BUILD_DIR}"/test || die + + # We're skipping the "real" network tests with the filter + # see https://github.com/c-ares/c-ares/tree/main/test + local network_tests=( + # Most live tests have Live in the name + *Live* + # These don't but are still in ares-test-live.cc => live + *GetTCPSock* + *TimeoutValue* + *GetSock* + *GetSock_virtualized* + *VerifySocketFunctionCallback* + # Seems flaky, even run manually + # https://github.com/c-ares/c-ares/commit/9e542a8839f81c990bb0dff14beeaf9aa6bcc18d + *MockUDPMaxQueriesTest.GetHostByNameParallelLookups* + ) + + # The format for disabling test1, test2, and test3 looks like: + # -test1:test2:test3 + edo ./arestest --gtest_filter=-$(echo $(IFS=:; echo "${network_tests[*]}")) +} + +multilib_src_install_all() { + einstalldocs + + find "${ED}" -name "*.la" -delete || die +} diff --git a/net-dns/djbdns/Manifest b/net-dns/djbdns/Manifest index efd3eba24298..6b0a1d65207c 100644 --- a/net-dns/djbdns/Manifest +++ b/net-dns/djbdns/Manifest @@ -21,7 +21,5 @@ AUX tinydns-softlimit.patch 639 BLAKE2B 377c821ed8802d235f94823c7a702760c9b978e0 DIST djbdns-1.05-man.tar.gz 17170 BLAKE2B 2fef7e1be8a427b2c426c2af58bf4c22795e64d03e0f605ca333e38f187ff65b333e88a7cea0e8a9ec867b446b5ca34a5c97dd24ae18b28ee4c747f2fd1f1608 SHA512 98af7bd9033a2205fbbc0f23b7eab45b9756f6ceff5199a62952e19c89c9fe3c03495cb6f8621d388f883c40650309a1509095417df3f54af21a71350c4aa183 DIST djbdns-1.05-test32.diff.xz 31096 BLAKE2B 0bd6948ba3930f7d6e657f91ff76b1101fa7bb8f3da6849344c2230622fce6c15354e632a9140fefafee5986b522fb85c77c70ac64821d280043d1cd3564be2a SHA512 ed5ea46e3346841a8e8b6a77756c1dba53dab5636f73cf495bf1a182c393bef83d6035f6af26fb903baa75ee689db4abae222b6f85a7e245eb59f9c805163774 DIST djbdns-1.05.tar.gz 85648 BLAKE2B 51918fcc8944e64e72709636ee7d56975a138a2806e22c019fa836770de3a338bb8f682216b89c09d6b2861c2423e60e28dc60639f5a86aca2040e1788e4cf5c SHA512 20f066402801d7bec183cb710a5bc51e41f1410024741e5803e26f68f2c13567e48eba793f233dfab903459c3335bc169e24b99d66a4c64e617e1f0779732fa9 -EBUILD djbdns-1.05-r38.ebuild 3865 BLAKE2B 48ad84b7063fe3bad4f85a31cabf347cf190184d8ba53a1f58e41a687dcdf4ab4073a2e81745f475eeeb5eb2e9b4d90db2525e9db76fbd43e3669be435722f03 SHA512 cde9e09279e6934bd862d3e8962b2aa40348eeff2bb1ba03c7d4b8788ffc9a895a484bd7fee63b0ead42dadfb34c8cc26f700056f3417f2c26565fb443a5e2a2 -EBUILD djbdns-1.05-r39.ebuild 4289 BLAKE2B 9945ba00fa1d8ba613245a7dc86cedc0470bd43de7541419c4bbd999f469a31d8f408bc3f0cfc08d0ff9893428597907f5e8762096e6ec1b4c188aceafb40b10 SHA512 3392601d470e4e1830f23d7a7daac0dcd9149cbfcf827db762c0f6e3369ef53c8a65bdf9707591ad6c1237af62f375d8e2f9e3b5d7a7ee4b0d7107e6bd072f4c EBUILD djbdns-1.05-r40.ebuild 4429 BLAKE2B 974b95fdc81a512479737296cb53e7c4e9340f568a9b8fd4e05e9eec492439aaf71506bbe67695de6a3b811a8f5c6752291df61e6053ffca6bd015f6a3b7980d SHA512 68276853101bfb890a971f84e4422a905e6394ee5381395ccf5dac18bb32143a814a115e11f393b69bee79537418916b1cf6c5e092cde270659dc81e91cd98f3 MISC metadata.xml 576 BLAKE2B ade984b384316960d3ea8de1f6ef83c8a578901cf644af5e42543038d52cdac99a834a3881e244fe6f3999f1aac030f4e39cd3cd83d4eed39dbf24b4a55ea9be SHA512 7d85669a1c841d3ea2a97ab5efcd4c18e03062526827f8ae9a97e7becddcf9e3222fee03a67933d01675b605c51dbf0ed6b1e17b9130829545c7c5bad651b5fd diff --git a/net-dns/djbdns/djbdns-1.05-r38.ebuild b/net-dns/djbdns/djbdns-1.05-r38.ebuild deleted file mode 100644 index d1df9ff618ef..000000000000 --- a/net-dns/djbdns/djbdns-1.05-r38.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit readme.gentoo-r1 toolchain-funcs - -DESCRIPTION="Collection of DNS client/server software" -HOMEPAGE="https://cr.yp.to/djbdns.html" -IPV6_PATCH="test32" - -SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz - http://smarden.org/pape/djb/manpages/${P}-man.tar.gz - ipv6? ( http://www.fefe.de/dns/${P}-${IPV6_PATCH}.diff.xz )" - -SLOT="0" -LICENSE="public-domain" -KEYWORDS="~alpha amd64 ~hppa ~mips ppc ppc64 sparc x86" -IUSE="ipv6 selinux" - -DEPEND="" -RDEPEND=" - acct-user/dnscache - acct-user/dnslog - acct-user/tinydns - sys-apps/ucspi-tcp - virtual/daemontools - selinux? ( sec-policy/selinux-djbdns )" - -src_unpack() { - # Unpack both djbdns and its man pages to separate directories. - default - - # Now move the man pages under ${S} so that user patches can be - # applied to them as well in src_prepare(). - mv "${PN}-man" "${P}/man" || die "failed to transplant man pages" -} - -PATCHES=( - "${FILESDIR}/dnsroots.patch" - "${FILESDIR}/dnstracesort.patch" - "${FILESDIR}/string_length_255.patch" - "${FILESDIR}/srv_record_support.patch" - "${FILESDIR}/increase-cname-recustion-depth.patch" - "${FILESDIR}/CVE2009-0858_0001-check-response-domain-name-length.patch" - "${FILESDIR}/CVE2012-1191_0001-ghost-domain-attack.patch" - "${FILESDIR}/AR-and-RANLIB-support.patch" - "${FILESDIR}/tinydns-softlimit.patch" -) - -src_prepare() { - if use ipv6; then - PATCHES=(${PATCHES[@]} - # The big ipv6 patch. - "${WORKDIR}/${P}-${IPV6_PATCH}.diff" - # Fix CVE2008-4392 (ipv6) - "${FILESDIR}/CVE2008-4392_0001-dnscache-merge-similar-outgoing-queries-ipv6-test32.patch" - "${FILESDIR}/CVE2008-4392_0002-dnscache-cache-soa-records-ipv6-test29.patch" - ) - else - PATCHES=(${PATCHES[@]} - # Fix CVE2008-4392 (no ipv6) - "${FILESDIR}/CVE2008-4392_0001-dnscache-merge-similar-outgoing-queries-r1.patch" - "${FILESDIR}/CVE2008-4392_0002-dnscache-cache-soa-records.patch" - # Later versions of the ipv6 patch include this - "${FILESDIR}/${PV}-errno-r1.patch" - ) - fi - - default - - # Change "head -X" to the posix-compatible "head -nX" within the - # Makefile. We do this with sed instead of a patch because the ipv6 - # patch uses some of the surrounding lines; we'd need two versions - # of the patch. - sed -i Makefile \ - -e 's/head[[:space:]]\{1,\}\-\([0-9]\{1,\}\)/head -n\1/g' \ - || die 'failed to sed head in the Makefile' -} - -src_compile() { - echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die - echo "/usr" > conf-home || die - emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) -} - -src_install() { - insinto /etc - doins dnsroots.global - - into /usr - dobin *-conf dnscache tinydns walldns rbldns pickdns axfrdns \ - *-get *-data *-edit dnsip dnsipq dnsname dnstxt dnsmx \ - dnsfilter random-ip dnsqr dnsq dnstrace dnstracesort - - if use ipv6; then - dobin dnsip6 dnsip6q - fi - - dodoc CHANGES README - - doman man/*.[158] - - readme.gentoo_create_doc -} - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS=' -To configure djbdns, please follow the instructions at, - - http://cr.yp.to/djbdns.html - -Of particular interest are, - - axfrdns : http://cr.yp.to/djbdns/axfrdns-conf.html - dnscache: http://cr.yp.to/djbdns/run-cache-x-home.html - tinydns : http://cr.yp.to/djbdns/run-server.html - -Portage has created users for axfrdns, dnscache, and tinydns; the -commands to configure these programs are, - - 1. axfrdns-conf tinydns dnslog /var/axfrdns /var/tinydns $ip - 2. dnscache-conf dnscache dnslog /var/dnscache $ip - 3. tinydns-conf tinydns dnslog /var/tinydns $ip - -(replace $ip with the ip address on which the server will run). - -If you wish to configure rbldns or walldns, you will need to create -those users yourself (although you should still use the "dnslog" -user for the logs): - - 4. rbldns-conf $username dnslog /var/rbldns $ip $base - 5. walldns-conf $username dnslog /var/walldns $ip -' diff --git a/net-dns/djbdns/djbdns-1.05-r39.ebuild b/net-dns/djbdns/djbdns-1.05-r39.ebuild deleted file mode 100644 index 9b70fbb959bb..000000000000 --- a/net-dns/djbdns/djbdns-1.05-r39.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit flag-o-matic readme.gentoo-r1 toolchain-funcs - -DESCRIPTION="Collection of DNS client/server software" -HOMEPAGE="https://cr.yp.to/djbdns.html" -IPV6_PATCH="test32" - -SRC_URI="http://cr.yp.to/djbdns/${P}.tar.gz - http://smarden.org/pape/djb/manpages/${P}-man.tar.gz - ipv6? ( http://www.fefe.de/dns/${P}-${IPV6_PATCH}.diff.xz )" - -SLOT="0" -LICENSE="public-domain" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="ipv6 selinux" - -RDEPEND=" - acct-user/dnscache - acct-user/dnslog - acct-user/tinydns - sys-apps/ucspi-tcp - virtual/daemontools - selinux? ( sec-policy/selinux-djbdns )" - -src_unpack() { - # Unpack both djbdns and its man pages to separate directories. - default - - # Now move the man pages under ${S} so that user patches can be - # applied to them as well in src_prepare(). - mv "${PN}-man" "${P}/man" || die "failed to transplant man pages" -} - -PATCHES=( - "${FILESDIR}/dnsroots.patch" - "${FILESDIR}/dnstracesort.patch" - "${FILESDIR}/string_length_255.patch" - "${FILESDIR}/srv_record_support.patch" - "${FILESDIR}/increase-cname-recustion-depth.patch" - "${FILESDIR}/CVE2009-0858_0001-check-response-domain-name-length.patch" - "${FILESDIR}/CVE2012-1191_0001-ghost-domain-attack.patch" - "${FILESDIR}/AR-and-RANLIB-support.patch" - "${FILESDIR}/tinydns-softlimit.patch" - "${FILESDIR}/${PN}-dnscache-configurable-truncate-manpages.patch" -) - -src_prepare() { - if use ipv6; then - PATCHES=(${PATCHES[@]} - # The big ipv6 patch. - "${WORKDIR}/${P}-${IPV6_PATCH}.diff" - # Fix CVE2008-4392 (ipv6) - "${FILESDIR}/CVE2008-4392_0001-dnscache-merge-similar-outgoing-queries-ipv6-test32.patch" - "${FILESDIR}/CVE2008-4392_0002-dnscache-cache-soa-records-ipv6-test29.patch" - "${FILESDIR}/${PN}-dnscache-configurable-truncate-size-v6.patch" - ) - else - PATCHES=(${PATCHES[@]} - "${FILESDIR}/implicit-declarations-nov6.patch" - # Fix CVE2008-4392 (no ipv6) - "${FILESDIR}/CVE2008-4392_0001-dnscache-merge-similar-outgoing-queries-r1.patch" - "${FILESDIR}/CVE2008-4392_0002-dnscache-cache-soa-records.patch" - # Later versions of the ipv6 patch include this - "${FILESDIR}/${PV}-errno-r1.patch" - "${FILESDIR}/${PN}-dnscache-configurable-truncate-size-nov6.patch" - ) - fi - - default - - # Change "head -X" to the posix-compatible "head -nX" within the - # Makefile. We do this with sed instead of a patch because the ipv6 - # patch uses some of the surrounding lines; we'd need two versions - # of the patch. - sed -i Makefile \ - -e 's/head[[:space:]]\{1,\}\-\([0-9]\{1,\}\)/head -n\1/g' \ - || die 'failed to sed head in the Makefile' -} - -src_compile() { - # Bug 927539. This is beyond our ability to realistically fix due - # to patch conflicts. - append-cflags $(test-flags-CC -Wno-error=incompatible-pointer-types) - - echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die - echo "/usr" > conf-home || die - emake AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) -} - -src_install() { - insinto /etc - doins dnsroots.global - - into /usr - dobin *-conf dnscache tinydns walldns rbldns pickdns axfrdns \ - *-get *-data *-edit dnsip dnsipq dnsname dnstxt dnsmx \ - dnsfilter random-ip dnsqr dnsq dnstrace dnstracesort - - if use ipv6; then - dobin dnsip6 dnsip6q - fi - - dodoc CHANGES README - - doman man/*.[158] - - readme.gentoo_create_doc -} - -DISABLE_AUTOFORMATTING=1 -DOC_CONTENTS=' -To configure djbdns, please follow the instructions at, - - http://cr.yp.to/djbdns.html - -Of particular interest are, - - axfrdns : http://cr.yp.to/djbdns/axfrdns-conf.html - dnscache: http://cr.yp.to/djbdns/run-cache-x-home.html - tinydns : http://cr.yp.to/djbdns/run-server.html - -Portage has created users for axfrdns, dnscache, and tinydns; the -commands to configure these programs are, - - 1. axfrdns-conf tinydns dnslog /var/axfrdns /var/tinydns $ip - 2. dnscache-conf dnscache dnslog /var/dnscache $ip - 3. tinydns-conf tinydns dnslog /var/tinydns $ip - -(replace $ip with the ip address on which the server will run). - -If you wish to configure rbldns or walldns, you will need to create -those users yourself (although you should still use the "dnslog" -user for the logs): - - 4. rbldns-conf $username dnslog /var/rbldns $ip $base - 5. walldns-conf $username dnslog /var/walldns $ip -' diff --git a/net-dns/dnsdist/Manifest b/net-dns/dnsdist/Manifest index 8d788b64dbee..bcd4ee26275d 100644 --- a/net-dns/dnsdist/Manifest +++ b/net-dns/dnsdist/Manifest @@ -5,8 +5,10 @@ DIST dnsdist-1.8.0.tar.bz2 1480500 BLAKE2B 47cfcfe3756cdc4520c1ba1e11b7d60191125 DIST dnsdist-1.8.1.tar.bz2 1492793 BLAKE2B 84fdf2f360c41ea235f3989d2bc14ad05e98d7b51dd20d983e7ad53ce5a6c00c7075b673e8a15fe3fd710a4e15c80db4d7431256bfb4291bd5785482d3f7f7e5 SHA512 db50c56587084ebdea3eb7f8e5b79178aea67b608cf6afce1453932b5225b3474a459cdc3dc8e4618a36a9edb405403dfefaed7fadd5848b5612de6bfb356f3a DIST dnsdist-1.9.4.tar.bz2 1591994 BLAKE2B a8cfc5c2da135ed96b857f9f1b6c3caa796b27f66ff7ead6e976b871a5e5db208ef3ce275c23085318bd7ff2f0fa2ec19e28ad36234991d84b8d13e74acb2f34 SHA512 e013fa3e582cc30d104a66ee44eec50dd1d04cb2bd0dc5b3c9dfec95f3e0e5f3da5f2a1bb9a713b50e5659908669957fe4deb5b1ca10f728e6ceaf550a3223ef DIST dnsdist-1.9.5.tar.bz2 1607962 BLAKE2B 2723abd3ba9ab2824c232f65901601c558054ae70dc668632514c4f9bd60f1e3dd7d67d6a58a974a054d33b6869b72dc888024a8f23256c078d7779dbb1b1836 SHA512 1c38f346b6199063e3862dcc5ff8283b3fe17473ef88660a122793b07c806e47fd1c47602d0edf66fd060f2170fb2f678d94e6cc6cc4800e70912b80a4c26c7d +DIST dnsdist-1.9.6.tar.bz2 1598874 BLAKE2B adb56707bb768ceae974cd9b725d2bf1f4beaa6e3edc6ede22a7d93920214614f10c82d71dbb773741f56dff04e0f0aa26dc0a0e2d5d405bee89d8ada1130303 SHA512 8d0c88336864b788df320298678e2a8556d7c4ff468ec1b4165b87c2fe5c6c167a2c75cdd2df433346fac12694d8e39d30910b8d1d4be7f35d9e0d85edd5ef5a EBUILD dnsdist-1.8.0.ebuild 2237 BLAKE2B 0ceb0e09c542ebd775c93d1adbcd4630ee82f64f90318a6764e54a80eaac0ccc28702bd9bf581064ac64c7cf1debfe25e4565e6357d33aa42d543e49045b557f SHA512 6d531a84be771b5e1913bba6daa2acba9dc8af28196d70b2446efee85d9fcf10e5da43b38d867af2c93eb7fd12dbd3573a774b46529f76b970b622a4964fc486 EBUILD dnsdist-1.8.1.ebuild 2237 BLAKE2B 0ceb0e09c542ebd775c93d1adbcd4630ee82f64f90318a6764e54a80eaac0ccc28702bd9bf581064ac64c7cf1debfe25e4565e6357d33aa42d543e49045b557f SHA512 6d531a84be771b5e1913bba6daa2acba9dc8af28196d70b2446efee85d9fcf10e5da43b38d867af2c93eb7fd12dbd3573a774b46529f76b970b622a4964fc486 EBUILD dnsdist-1.9.4.ebuild 2711 BLAKE2B f55a4211d6d6f62e19930615b45f51a955d719e32a6e59d4182aa75121d56fec0ee2b95281f70e7e75f35a3ce8ec89ecbf1584dc37919e608aadbead7a0d807e SHA512 f9c609bdce1398633011156a24ffe2d85411108902fba995837b07a6c8758c8f5108e6d7016bc18d56a1f9c21ffa3b9e6cf2a204ed92427137a3b8d360c7772b EBUILD dnsdist-1.9.5.ebuild 2711 BLAKE2B f55a4211d6d6f62e19930615b45f51a955d719e32a6e59d4182aa75121d56fec0ee2b95281f70e7e75f35a3ce8ec89ecbf1584dc37919e608aadbead7a0d807e SHA512 f9c609bdce1398633011156a24ffe2d85411108902fba995837b07a6c8758c8f5108e6d7016bc18d56a1f9c21ffa3b9e6cf2a204ed92427137a3b8d360c7772b +EBUILD dnsdist-1.9.6.ebuild 2711 BLAKE2B f55a4211d6d6f62e19930615b45f51a955d719e32a6e59d4182aa75121d56fec0ee2b95281f70e7e75f35a3ce8ec89ecbf1584dc37919e608aadbead7a0d807e SHA512 f9c609bdce1398633011156a24ffe2d85411108902fba995837b07a6c8758c8f5108e6d7016bc18d56a1f9c21ffa3b9e6cf2a204ed92427137a3b8d360c7772b MISC metadata.xml 1965 BLAKE2B c45e150d13af41f787befd5775596b83073e7041be244ba99240106d07f044bcbfd24a46165e04ca48990e24870402322fe496578ef784252a2973434cfee76d SHA512 83ced0072f306d0e296f66ce83cdc8e3b94e9a1c6946bb01722a3139b49dde27bc4ee4df5b4816755c412aa05c83278ba5f072741bb078f25cb3ac8c843949cc diff --git a/net-dns/dnsdist/dnsdist-1.9.6.ebuild b/net-dns/dnsdist/dnsdist-1.9.6.ebuild new file mode 100644 index 000000000000..33366646a868 --- /dev/null +++ b/net-dns/dnsdist/dnsdist-1.9.6.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit flag-o-matic lua-single + +DESCRIPTION="A highly DNS-, DoS- and abuse-aware loadbalancer" +HOMEPAGE="https://dnsdist.org" + +SRC_URI="https://downloads.powerdns.com/releases/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +IUSE="bpf cdb dnscrypt dnstap doh doh3 ipcipher lmdb quic regex snmp +ssl systemd test web xdp" +RESTRICT="!test? ( test )" +REQUIRED_USE="${LUA_REQUIRED_USE} + dnscrypt? ( ssl ) + doh? ( ssl ) + doh3? ( ssl quic ) + ipcipher? ( ssl ) + quic? ( ssl )" + +RDEPEND="acct-group/dnsdist + acct-user/dnsdist + bpf? ( dev-libs/libbpf:= ) + cdb? ( dev-db/tinycdb:= ) + dev-libs/boost:= + sys-libs/libcap + dev-libs/libedit + dev-libs/libsodium:= + dnstap? ( dev-libs/fstrm ) + doh? ( net-libs/nghttp2:= ) + doh3? ( net-libs/quiche:= ) + lmdb? ( dev-db/lmdb:= ) + quic? ( net-libs/quiche ) + regex? ( dev-libs/re2:= ) + snmp? ( net-analyzer/net-snmp:= ) + ssl? ( dev-libs/openssl:= ) + systemd? ( sys-apps/systemd:0= ) + xdp? ( net-libs/xdp-tools ) + ${LUA_DEPS} +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # clean up duplicate file + rm -f README.md +} + +src_configure() { + # bug #822855 + append-lfs-flags + + # some things can only be enabled/disabled by defines + ! use dnstap && append-cppflags -DDISABLE_PROTOBUF + ! use web && append-cppflags -DDISABLE_BUILTIN_HTML + + sed 's/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl$libdir'\''/hardcode_libdir_flag_spec_CXX='\''$wl-rpath $wl\/$libdir'\''/g' \ + -i "${S}/configure" + + local myeconfargs=( + --sysconfdir=/etc/dnsdist + --with-lua="${ELUA}" + --without-h2o + --enable-tls-providers + --without-gnutls + $(use_with bpf ebpf) + $(use_with cdb cdb) + $(use_enable doh dns-over-https) + $(use_enable doh3 dns-over-http3) + $(use_enable dnscrypt) + $(use_enable dnstap) + $(use_enable ipcipher) + $(use_with lmdb ) + $(use_enable quic dns-over-quic) + $(use_with regex re2) + $(use_with snmp net-snmp) + $(use_enable ssl dns-over-tls) + $(use_enable systemd) \ + $(use_enable test unit-tests) + $(use_with xdp xsk) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + insinto /etc/dnsdist + doins "${FILESDIR}"/dnsdist.conf.example + + newconfd "${FILESDIR}"/dnsdist.confd ${PN} + newinitd "${FILESDIR}"/dnsdist.initd ${PN} +} + +pkg_postinst() { + elog "dnsdist provides multiple instances support. You can create more instances" + elog "by symlinking the dnsdist init script to another name." + elog + elog "The name must be in the format dnsdist.<suffix> and dnsdist will use the" + elog "/etc/dnsdist/dnsdist-<suffix>.conf configuration file instead of the default." +} diff --git a/net-dns/dnssec-root/Manifest b/net-dns/dnssec-root/Manifest index afc70cb426bf..a020d631e3c2 100644 --- a/net-dns/dnssec-root/Manifest +++ b/net-dns/dnssec-root/Manifest @@ -1,9 +1,5 @@ -DIST icannbundle-20181220.pem 13026 BLAKE2B 36f760c69e8e22036d7d927071be25508b6906838f0f468900385d5a3b9ce301c5688f9bdcab471abc5445a14bfbbe34ecb39ca131b01d9e6bbebcc3f1481241 SHA512 6a8b8bec6d104d31253a8acafc1694a095714537a39a4dc53a379ac900c83715f85d75ea7322de430557691ff31ec95ae5104f47b050da3568dd68377c2d5767 DIST icannbundle-20210902.pem 1261 BLAKE2B cc21c2066478c3385528a0b4635d324b2033f9d2c939c4d7176bdd42ba6e606a23036326036c82c665db64bec13783347d4ff0830807f431830ccf22ddbc7f58 SHA512 c749bf4649480f2ddaa2ee0622a104c56c858e10e8c8768307ef24ca0000c7afe120837bedc61dee1eda302273040cb61060298dceed8dd6e83904f953e3f3f5 -DIST root-anchors-20181220.p7s 4182 BLAKE2B 3d7d881f5ef066a3ff937cf638941f783e9b65834a13ba0efce766b59e8f469826718cea9e8968ca64e216b7ef1f1b4d7b73c3110ff2d65667a28e071cd52859 SHA512 af96358bbb7847fe7c30452f566771480a38a99f192775168ab8672332381958ffa6d2f4870f539e3957b6ecf62e0e3a80b1cffbd579beb3be6941ffba3f6fa9 -DIST root-anchors-20181220.xml 690 BLAKE2B 548fd62073542f527e0b05c09ed1e668baafbb3cf7ca8afd1a32b67dd43d8958cef5005729c1bc11c2b1d0ddea48ca4db69a10b049f2e8a05536b93fff15e911 SHA512 e3adfaa4f8c9751599b8062787f4c3a81d3fa1478411f138f227c0cc972c7262bcf85578d333d36352da3628211b7d8ec4416528814a8937078dc393ce195f32 DIST root-anchors-20210902.p7s 2551 BLAKE2B 2a079bf36d77a7cc480c197700bfb3f06bbc67f0cc2937954793fab1f4fee5fff4477ceb028a8796a5cb41c0fb1369df7df45b33410f78b03cb18794ddd564df SHA512 3d57446cc145081841ced6cda3ecff8fba1de5123f116d580cd3ea33011e26ad9dc790281590a06f68e551e22fef45aa2408a4e2ea80e35ec0a642454b45ca0d DIST root-anchors-20210902.xml 690 BLAKE2B 548fd62073542f527e0b05c09ed1e668baafbb3cf7ca8afd1a32b67dd43d8958cef5005729c1bc11c2b1d0ddea48ca4db69a10b049f2e8a05536b93fff15e911 SHA512 e3adfaa4f8c9751599b8062787f4c3a81d3fa1478411f138f227c0cc972c7262bcf85578d333d36352da3628211b7d8ec4416528814a8937078dc393ce195f32 -EBUILD dnssec-root-20181220-r1.ebuild 2798 BLAKE2B 109ee1c0e3f3476c56ecbf0ba74619cbc2e0133231d9f995d9c0789b8abbc6a856f41463ae8254a08b7139b48aad3446c087b7757fc4f7899f9b9f7cfd291ddd SHA512 47683cd914620700672b74339cd6f9422f9c24a0d55f82cb172c057e9360b4442afa7eedb7e983a04415aba64801dea5f6a022c1b079127c6208a2a84c7ce942 EBUILD dnssec-root-20210902.ebuild 2863 BLAKE2B 37a96172b817a9b619110e2da164e259c1038b11a8b408bf9c08f49c852e6a98229d51f3dad13964e0fe45db9eaa156c55dfd15bd25931895f70b5db1c1f3fe4 SHA512 f4ab71439bb17de3318ec828a8ebf7ae545afa310807122375717e4c2482db94657ddf62a442e8cdace4810d12b2abb4f25836d9f28ed275af5f310a047ab19a MISC metadata.xml 251 BLAKE2B c4b2c58fbe476fa27226d01a46b74c9506d938c1e14fe68ccbee1383f683d357ff87a3c1aacee177b7f3908333cd58540e446bc73ed8258359481c4b507c155e SHA512 f113d652bc4a2cded17c6fc788d425f8a5d1fac17709b4f0583c7d530cbba5093c4309d2539d169f733d8e8bff3c0e71e24ffe4ba6a81ebd5bab23191c0e4278 diff --git a/net-dns/dnssec-root/dnssec-root-20181220-r1.ebuild b/net-dns/dnssec-root/dnssec-root-20181220-r1.ebuild deleted file mode 100644 index 66f6fb19ae31..000000000000 --- a/net-dns/dnssec-root/dnssec-root-20181220-r1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DESCRIPTION="The DNSSEC root key(s)" -HOMEPAGE="https://www.iana.org/dnssec/" -SRC_URI="https://data.iana.org/root-anchors/root-anchors.xml -> root-anchors-${PV}.xml - https://data.iana.org/root-anchors/root-anchors.p7s -> root-anchors-${PV}.p7s - https://data.iana.org/root-anchors/icannbundle.pem -> icannbundle-${PV}.pem" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" -IUSE="" - -BDEPEND=">=dev-perl/XML-XPath-1.420.0" -DEPEND="" - -src_unpack() { - mkdir "${S}" || die - - cp -t "${S}" "${DISTDIR}"/root-anchors-${PV}.{p7s,xml} "${DISTDIR}"/icannbundle-${PV}.pem || die -} - -src_prepare() { - mv root-anchors-${PV}.xml root-anchors.xml || die - mv root-anchors-${PV}.p7s root-anchors.p7s || die - mv icannbundle-${PV}.pem icannbundle.pem || die - - if has_version "dev-libs/openssl" ; then - # Signature validating is optional: - # - We are already downloading SRC, signature file & CA from same URI - # - We store checksums for distfiles - einfo "dev-libs/openssl is available, will validate signature of root-anchors.xml" - openssl smime -verify \ - -content root-anchors.xml \ - -in root-anchors.p7s -inform der \ - -CAfile icannbundle.pem \ - -noverify || die "OpenSSL S/Mime verify failed" - else - einfo "dev-libs/openssl is not available, skipping optional validation root-anchors.xml" - fi - - default -} - -src_compile() { - local KEYTAGS="" ALGORITHMS="" DIGESTTYPES="" DIGESTS="" i=1 - - KEYTAGS=$(xpath -q -e '/TrustAnchor/KeyDigest/KeyTag/node()' root-anchors.xml) - ALGORITHMS=$(xpath -q -e '/TrustAnchor/KeyDigest/Algorithm/node()' root-anchors.xml) - DIGESTTYPES=$(xpath -q -e '/TrustAnchor/KeyDigest/DigestType/node()' root-anchors.xml) - DIGESTS=$(xpath -q -e '/TrustAnchor/KeyDigest/Digest/node()' root-anchors.xml) - while [ 1 ] ; do - KEYTAG=$(echo ${KEYTAGS} | cut -d" " -f$i) - [[ "${KEYTAG}" != "" ]] || break - - ALGORITHM=$(echo ${ALGORITHMS} | cut -d" " -f$i) - [[ "${ALGORITHM}" == "" ]] && die "root-anchors.xml contains invalid key: ${KEYTAG} is missing algorithm" - - DIGESTTYPE=$(echo ${DIGESTTYPES} | cut -d" " -f$i) - [[ "${DIGESTTYPE}" == "" ]] && die "root-anchors.xml contains invalid key: ${KEYTAG} is missing digest type" - - DIGEST=$(echo ${DIGESTS} | cut -d" " -f$i) - [[ "${DIGEST}" == "" ]] && die "root-anchors.xml contains invalid key: ${KEYTAG} is missing digest" - - echo ". IN DS $KEYTAG $ALGORITHM $DIGESTTYPE $DIGEST" >> root-anchors.txt - i=`expr $i + 1` - done - - if [[ ! -s "root-anchors.txt" ]] ; then - die "Sanity check failed: root-anchors.txt is empty or does not exist!" - fi -} - -src_install() { - insinto /etc/dnssec - doins root-anchors.{p7s,txt,xml} icannbundle.pem -} diff --git a/net-dns/hash-slinger/Manifest b/net-dns/hash-slinger/Manifest index 6ef29569e6b6..96dba495f2fd 100644 --- a/net-dns/hash-slinger/Manifest +++ b/net-dns/hash-slinger/Manifest @@ -1,3 +1,5 @@ -DIST hash-slinger-3.2.tar.gz 38376 BLAKE2B 8c89f9a372818166c862d97354a60dddc2795c70f23b39225ad0fc3a2657cc5e048dca228dc004db0240fcf80e74bc799528d3459a65e6de347a493df5abf7b3 SHA512 01a25b3bc00bd9cd86c448f087c48ad04248a5a8755c2f154272b833efdce058a1fc62ea3f5cc6e9ff35180754b3e44db03c4e4888fd9051b749eff5fc8c3110 -EBUILD hash-slinger-3.2-r1.ebuild 1142 BLAKE2B 04c954c1c3fdc2174462864f7d356b7ba6c4941dd4da64e015622212dccb9147c31d6839b17d86c74447054124bc1ba1e956f031dea31abeb47a8121c53f6eb8 SHA512 28e3425334bae01dace3c9cf8f8f50e62899262afc15f6c7945bfe16a3067ff38aa0f7a66983a9cf90864c8d8bdf05e440528bf2a2fc7843d452c019ef9c75dd +AUX hash-slinger-3.3-fix-tlsa-record-generation.patch 1446 BLAKE2B cb0a435b41048aa07ceefe7138590211c36aae4bb5af3aad4e9c2a51246a24a8b404ee8a69eb2ae780ffe8c2b8d2648c4be73353bbc13acbdd7460648a8dfbcc SHA512 81cd9eca58b513ad77d49252c5679fd0543dc0da386cbe930cc65d31876c7b171813dc4b9c2abe3934ed335873246c32782181804a1adcb50df5af18c7506e80 +AUX hash-slinger-3.3-python-3.12.patch 2442 BLAKE2B 2aaadbb02c04901d4071e7627f7090e3a2ade9b7571587ac7a6032a6c4cdc26bad356a9dc70b21a0597ab0c1f19a5c390ea1bf2fd030709dd03e3f1f56a324aa SHA512 5dfd50778a1464bc6a8284efaebd6980f9ab21feed70cdd54bbd932d9c98bc14f45d2941c0a295e9c729a6bd6b1fd8b3e1ff85030f2a115f61027067bd4a88ac +DIST hash-slinger-3.3.tar.gz 38597 BLAKE2B 237affa3f933d3dbd1dca3bc4f927268c15d10eed16c18aae68906f1fe6511eda48283f76da851d70535139bc880074951a1ab4c6be92bd27e32c38e374ce044 SHA512 ba59771d32a93f500b61beab1d44e6edf94965c1a7cb30708e4722fe7e6d97a884ccd0e16c9058c29b174a710c13d562b1b6dfc15edc7440692494744392a52e +EBUILD hash-slinger-3.3.ebuild 1257 BLAKE2B 0f9dbfcf9e22645245bc6c46c97c6538f8f54e388cfd572e670a6750b1370d933b231ab4d667f9ea909bc5ea83e294c5598dc881eeac6d74a86baa8af4305afc SHA512 433096e4863ec701cbeb2d91fdc9aee945ae054fe3872e37a14e7a4e4ab0bd4fee3ce31ef70e541e521b0e5b7c627dc709c014a360e0456e0c95304ab59a4f39 MISC metadata.xml 598 BLAKE2B dfe22fbc9dec4a1bf906a13c184945f42c956ba1f5167a1a3ca744bf7f482c9fb7a85cebfeec71d4376bd0acf89660c6dba13399325d3c123f967c1a21c7848a SHA512 954cd85c0b50c26483dcb000c7eeb8f1fa59f5c4c2e66114ba86a634f48325e273fa01ab7a76e71ba2d4cb9d269f7934429d56aa5eef8e673cea21fc4411f59d diff --git a/net-dns/hash-slinger/files/hash-slinger-3.3-fix-tlsa-record-generation.patch b/net-dns/hash-slinger/files/hash-slinger-3.3-fix-tlsa-record-generation.patch new file mode 100644 index 000000000000..36b8d60d3057 --- /dev/null +++ b/net-dns/hash-slinger/files/hash-slinger-3.3-fix-tlsa-record-generation.patch @@ -0,0 +1,35 @@ +From 0bb0dba91c51d367d9a37297f13e07f33c01bfdc Mon Sep 17 00:00:00 2001 +From: anarcat <anarcat@users.noreply.github.com> +Date: Thu, 5 Oct 2023 02:10:32 -0400 +Subject: [PATCH] fix generic TLSA record generation (#46) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +It seems like the calculation for the TLSA record never really worked, +as we're doing float division here on the `len()` field. In our case, +that field returned `35.0` which is not valid in our environment. + +Doing an integer division gives the correct result in most cases, I +believe. + +Closes: #45 + +Co-authored-by: Jérôme Charaoui <jerome@riseup.net> +--- + tlsa | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tlsa b/tlsa +index cea7230..ec97150 100755 +--- a/tlsa ++++ b/tlsa +@@ -513,7 +513,7 @@ class TLSARecord: + def getRecord(self, generic=False): + """Returns the RR string of this TLSARecord, either in rfc (default) or generic format""" + if generic: +- return '%s IN TYPE52 \# %s %s%s%s%s' % (self.name, (len(self.cert)/2)+3 , self._toHex(self.usage), self._toHex(self.selector), self._toHex(self.mtype), self.cert) ++ return '%s IN TYPE52 \# %s %s%s%s%s' % (self.name, (len(self.cert)//2)+3 , self._toHex(self.usage), self._toHex(self.selector), self._toHex(self.mtype), self.cert) + return '%s IN TLSA %s %s %s %s' % (self.name, self.usage, self.selector, self.mtype, self.cert) + + def _toHex(self, val): diff --git a/net-dns/hash-slinger/files/hash-slinger-3.3-python-3.12.patch b/net-dns/hash-slinger/files/hash-slinger-3.3-python-3.12.patch new file mode 100644 index 000000000000..d4b1eacc94e6 --- /dev/null +++ b/net-dns/hash-slinger/files/hash-slinger-3.3-python-3.12.patch @@ -0,0 +1,57 @@ +From e04d8262f1409725afc8f71720b77083fb43c525 Mon Sep 17 00:00:00 2001 +From: Hoggins! <hoggins@radiom.fr> +Date: Tue, 16 Jul 2024 23:52:39 +0200 +Subject: [PATCH] Python3.12 compains with a "SyntaxWarning: invalid escape + sequence" when regexes are not used with raw strings + +--- + tlsa | 12 ++++++------ + 1 file changed, 6 insertions(+), 6 deletions(-) + +diff --git a/tlsa b/tlsa +index ec97150..d06bd49 100755 +--- a/tlsa ++++ b/tlsa +@@ -495,7 +495,7 @@ class TLSARecord: + """When instanciated, this class contains all the fields of a TLSA record. + """ + def __init__(self, name, usage, selector, mtype, cert): +- """name is the name of the RR in the format: /^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([a-z0-9]*\.){2,}$/ ++ r"""name is the name of the RR in the format: /^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([a-z0-9]*\.){2,}$/ + usage, selector and mtype should be an integer + cert should be a hexidecimal string representing the certificate to be matched field + """ +@@ -513,7 +513,7 @@ class TLSARecord: + def getRecord(self, generic=False): + """Returns the RR string of this TLSARecord, either in rfc (default) or generic format""" + if generic: +- return '%s IN TYPE52 \# %s %s%s%s%s' % (self.name, (len(self.cert)//2)+3 , self._toHex(self.usage), self._toHex(self.selector), self._toHex(self.mtype), self.cert) ++ return r'%s IN TYPE52 \# %s %s%s%s%s' % (self.name, (len(self.cert)//2)+3 , self._toHex(self.usage), self._toHex(self.selector), self._toHex(self.mtype), self.cert) + return '%s IN TLSA %s %s %s %s' % (self.name, self.usage, self.selector, self.mtype, self.cert) + + def _toHex(self, val): +@@ -554,20 +554,20 @@ class TLSARecord: + + def isNameValid(self): + """Check if the name if in the correct format""" +- if not re.match('^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([-a-z0-9]*\.){2,}$', self.name): ++ if not re.match(r'^(_\d{1,5}|\*)\._(tcp|udp|sctp)\.([-a-z0-9]*\.){2,}$', self.name): + return False + return True + + def getProtocol(self): + """Returns the protocol based on the name""" +- return re.split('\.', self.name)[1][1:] ++ return re.split(r'\.', self.name)[1][1:] + + def getPort(self): + """Returns the port based on the name""" +- if re.split('\.', self.name)[0][0] == '*': ++ if re.split(r'\.', self.name)[0][0] == '*': + return '*' + else: +- return re.split('\.', self.name)[0][1:] ++ return re.split(r'\.', self.name)[0][1:] + + class ARecord: + """An object representing an A Record (IPv4 address)""" diff --git a/net-dns/hash-slinger/hash-slinger-3.2-r1.ebuild b/net-dns/hash-slinger/hash-slinger-3.3.ebuild index d4c705076a21..da7e8e7310b8 100644 --- a/net-dns/hash-slinger/hash-slinger-3.2-r1.ebuild +++ b/net-dns/hash-slinger/hash-slinger-3.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit python-single-r1 @@ -31,6 +31,11 @@ RDEPEND=" ssh? ( virtual/openssh ) " +PATCHES=( + "${FILESDIR}/${PN}-3.3-fix-tlsa-record-generation.patch" + "${FILESDIR}/${PN}-3.3-python-3.12.patch" +) + src_install() { local tools tool diff --git a/net-dns/inadyn/Manifest b/net-dns/inadyn/Manifest index 52bb30fb6c1f..f172fe19eaf9 100644 --- a/net-dns/inadyn/Manifest +++ b/net-dns/inadyn/Manifest @@ -1,6 +1,7 @@ +AUX inadyn-2.12.0-musl.patch 6309 BLAKE2B 4a5059eb508a419bd89a376517aef364304143c081eec431960e780db4be7b94643d13504bf88213dd31fd7d5faca2250fbae0f739e5199045996b80b45ec9f6 SHA512 29ca951fca1115b7cb1c39093879821821aab57482af48114a01620324b973140eea9094516794e6f0d935d881413bec9e84af69785afb2fb80a8116bd45146d AUX inadyn.confd 158 BLAKE2B 246e1620c4e86ae2181cdee7ae4a14d9139a96476c159a2bd1b57bb3c10b8696f39e232da0efdef89a3473d138c72ba523ae866a248ba38213a1cab6127b5128 SHA512 0806329acf13e83f6806e1c36a0cf7bff4c4cfd480e10f602ff0e3dfddfcf99bb912460d1bb6c5ef84036d42fb3ccd5ff11e7ac99e1f8db2d82d84b5acf20d2f AUX inadyn.initd 618 BLAKE2B 14dbddb55e21194ddad9fbbd8470a84964f06a30a560375ee2b4916ca3522cf366a5e793eef7edbee272ab117e55ebf20a5ab574c24c8d8561937168cb70bdcb SHA512 fe5d77d54f4f56900e7e54d920530b2023401207ffc43955ebdbf8edf9d8b0a323ec10df7620bc3751c6ee7bf1c25047ef6d7226b3b29d276f70d511665ce45e AUX inadyn.tmpfilesd 75 BLAKE2B f09b58e347524f2bb42dbab273a6ca86e2a46bd15082fd54bbf2523a75e97f204a1539c6acde658e2fc4e377cf3801fd5c1a393e7f91ccca847f86aca139c1f1 SHA512 53f3a24f2bd3ed9a236294223199cb9717a009550222d32f704c0b98b6b91c94943440a47ed3dfcd528591cf7e00b29ded02b6245eeb5887282fbffe169e1414 DIST inadyn-2.12.0.tar.xz 341904 BLAKE2B 2bb1e8f16784c41cb2810c3ed2a52ef12823277082b33a9436a330caad4b4f76034ab3e7f9fefb4dffc0fbf5968f4fb60967f784ce3682f165666c8c0744fcc9 SHA512 309ad6deca4831cbbfb4f4c0b4fcc1ba69fd46a47dc329b20b5e74acdcaf32e7bef435abdc89d2924b576d166095b61bdb7a74cc698a805659c47e7d6a4fe907 -EBUILD inadyn-2.12.0-r1.ebuild 1689 BLAKE2B f97e96f7ef1e68ccb963730798ae1e67ee322b5805f32db2f3d6391b6719cdaf6def1a6be85c7c7f3610d7ec172dd5c4b4e336db222a5063f1b0c4f79e3eeac0 SHA512 96bcdf93fdd1a252a975194fd924340fc0e7955bdf8d946515ce4268a312a66c22852f4c6298d75b43446b4f8fc60ea687549397655ae3ed78a9d809ebf11215 +EBUILD inadyn-2.12.0-r1.ebuild 1740 BLAKE2B 41db45ac22e67e5dfa4da53e8d6835f3ad56413c57a98b838108dec7d79e99f1161356ed39f0f893d576ae3f4fd5e5e8d65098863f13ad1739a5c20fe6920202 SHA512 aa22c606002637557b2ffcbe59a78bc90d64d3926b85f21eddd2c38087adee8dfbaf0211774aa18d91c7b3be94505d3c9d2d5e0e79f8305d980a4e9c79eb97d7 MISC metadata.xml 993 BLAKE2B 362846a13e02a33b0219fa4c21f7e4d39886089b16a0eb2d5891abbf3f6c1945f42750126d54b8271caa381770dedf458f18117ece52f7058c494838d5625540 SHA512 7bb3ba6f732c1bde413bd52a50f22c93ca1e5f59cbdee12e106cc33b4175982c55cb587f48a691d603d46ae268ab9bf37fbb816cab514e895c7386c6d5cc4267 diff --git a/net-dns/inadyn/files/inadyn-2.12.0-musl.patch b/net-dns/inadyn/files/inadyn-2.12.0-musl.patch new file mode 100644 index 000000000000..3a9ecc8cbcf9 --- /dev/null +++ b/net-dns/inadyn/files/inadyn-2.12.0-musl.patch @@ -0,0 +1,217 @@ +From b9edfbfb94b3582cf32dfc04e0dd867ecef2ba92 Mon Sep 17 00:00:00 2001 +From: Joachim Wiberg <troglobit@gmail.com> +Date: Sat, 3 Aug 2024 13:25:39 +0200 +Subject: [PATCH] Refactor mkpath() to drop all uses of strdupa() + +Fixes #488 + +Signed-off-by: Joachim Wiberg <troglobit@gmail.com> +--- + include/Makefile.am | 2 +- + include/compat.h | 4 ++-- + include/strdupa.h | 52 ----------------------------------------- + src/makepath.c | 56 ++++++++++++++++++++++++++++++--------------- + src/os.c | 2 +- + 5 files changed, 42 insertions(+), 74 deletions(-) + delete mode 100644 include/strdupa.h + +diff --git a/include/Makefile.am b/include/Makefile.am +index 4e112c16..31534b8a 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -5,4 +5,4 @@ noinst_HEADERS = base64.h md5.h sha1.h \ + jsmn.h json.h log.h \ + md5.h os.h plugin.h \ + queue.h sha1.h ssl.h \ +- strdupa.h tcp.h ++ tcp.h +diff --git a/include/compat.h b/include/compat.h +index 35f2edf7..3eb1b1e8 100644 +--- a/include/compat.h ++++ b/include/compat.h +@@ -29,14 +29,14 @@ + #include <unistd.h> + #include <sys/param.h> /* MAX(), isset(), setbit(), TRUE, FALSE, et consortes. :-) */ + #include <sys/types.h> +-#include "strdupa.h" + + /* From The Practice of Programming, by Kernighan and Pike */ + #ifndef NELEMS + #define NELEMS(array) (sizeof(array) / sizeof(array[0])) + #endif + +-int mkpath (char *dir, mode_t mode); ++int mkpath (const char *dir, mode_t mode); ++int makepath (const char *dir); + + #ifndef pidfile + int pidfile (const char *basename); +diff --git a/include/strdupa.h b/include/strdupa.h +deleted file mode 100644 +index ccd177e8..00000000 +--- a/include/strdupa.h ++++ /dev/null +@@ -1,52 +0,0 @@ +-/* ========================================================================== +- * strdupa.h - Re-implementation of glibc strdupa. +- * -------------------------------------------------------------------------- +- * Copyright (c) 2009 William Ahern +- * +- * Permission is hereby granted, free of charge, to any person obtaining a +- * copy of this software and associated documentation files (the +- * "Software"), to deal in the Software without restriction, including +- * without limitation the rights to use, copy, modify, merge, publish, +- * distribute, sublicense, and/or sell copies of the Software, and to permit +- * persons to whom the Software is furnished to do so, subject to the +- * following conditions: +- * +- * The above copyright notice and this permission notice shall be included +- * in all copies or substantial portions of the Software. +- * +- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +- * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +- * NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +- * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +- * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +- * USE OR OTHER DEALINGS IN THE SOFTWARE. +- * ========================================================================== +- */ +-#ifndef LITE_STRDUPA_H +-#define LITE_STRDUPA_H +- +-#if !defined(HAVE_STRDUPA) +-#if defined(strdupa) +-#define HAVE_STRDUPA 1 +-#endif +-#endif +- +-#if !HAVE_STRDUPA +-#if defined(__GNUC__) +-#include <stddef.h> /* size_t */ +-#include <string.h> /* memcpy(3) strlen(3) */ +- +-#define strdupa(src) (__extension__ ({ \ +- size_t len_ = strlen(src); \ +- char *dst_ = __builtin_alloca(len_ + 1); \ +- dst_[len_] = '\0'; \ +- (char *)memcpy(dst_, src, len_); \ +-})) +- +-#else /* If not GCC, e.g. Clang */ +-#error strdupa() may use an unsupported GNU C API, please forward any fix to maintainer, cheers! +-#endif /* __GNUC__ */ +-#endif /* !HAVE_STRDUPA */ +- +-#endif /* LITE_STRDUPA_H */ +diff --git a/src/makepath.c b/src/makepath.c +index 5235c19d..9774c737 100644 +--- a/src/makepath.c ++++ b/src/makepath.c +@@ -1,6 +1,6 @@ + /* mkpath() -- Create all components leading up to a given directory + * +- * Copyright (c) 2013-2021 Joachim Wiberg <troglobit@gmail.com> ++ * Copyright (c) 2013-2024 Joachim Wiberg <troglobit@gmail.com> + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above +@@ -16,11 +16,35 @@ + */ + + #include <errno.h> +-#include <libgen.h> +-#include <sys/stat.h> +-#include <sys/types.h> ++#include <string.h> /* strdup(), strrchr() */ ++#include <stdlib.h> /* free() */ ++#include <sys/stat.h> /* mkdir() */ ++ + #include "compat.h" + ++/* Recursively create directories */ ++static int _mkpath(char *dir, mode_t mode) ++{ ++ char *slash; ++ ++ if (!mkdir(dir, mode) || errno == EEXIST) ++ return 0; ++ ++ if (errno != ENOENT) ++ return -1; ++ ++ slash = strrchr(dir, '/'); ++ if (!slash) ++ return -1; ++ ++ *slash = 0; ++ if (_mkpath(dir, mode) == -1) ++ return -1; ++ ++ *slash = '/'; ++ return mkdir(dir, mode); ++} ++ + /** + * mkpath - Like makepath() but takes a mode_t argument + * @dir: Directory to created, relative or absolute +@@ -29,21 +53,24 @@ + * Returns: + * POSIX OK(0) on success, otherwise -1 with @errno set. + */ +-int mkpath(char *dir, mode_t mode) ++int mkpath(const char *dir, mode_t mode) + { +- struct stat sb; ++ char *_dir; ++ int rc; + + if (!dir) { + errno = EINVAL; + return 1; + } + +- if (!stat(dir, &sb)) +- return 0; ++ _dir = strdup(dir); ++ if (!_dir) ++ return -1; + +- mkpath(dirname(strdupa(dir)), mode); ++ rc = _mkpath(_dir, mode); ++ free(_dir); + +- return mkdir(dir, mode); ++ return rc; + } + + /** +@@ -56,14 +83,7 @@ int mkpath(char *dir, mode_t mode) + * fails allocating temporary memory. For other error codes see the + * mkdir() syscall description. + */ +-int makepath(char *dir) ++int makepath(const char *dir) + { + return mkpath(dir, 0777); + } +- +-/** +- * Local Variables: +- * indent-tabs-mode: t +- * c-file-style: "linux" +- * End: +- */ +diff --git a/src/os.c b/src/os.c +index bc85b1d7..2b169062 100644 +--- a/src/os.c ++++ b/src/os.c +@@ -266,7 +266,7 @@ int os_check_perms(void) + } + } + +- pidfile_dir = dirname(strdupa(pidfn)); ++ pidfile_dir = dirname(pidfn); + if (access(pidfile_dir, F_OK)) { + if (mkpath(pidfile_dir, 0755) && errno != EEXIST) + logit(LOG_ERR, "No write permission to %s, aborting.", pidfile_dir); diff --git a/net-dns/inadyn/inadyn-2.12.0-r1.ebuild b/net-dns/inadyn/inadyn-2.12.0-r1.ebuild index d95e11c356fd..36e4bd48984f 100644 --- a/net-dns/inadyn/inadyn-2.12.0-r1.ebuild +++ b/net-dns/inadyn/inadyn-2.12.0-r1.ebuild @@ -29,6 +29,8 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( "${FILESDIR}/${PN}-2.12.0-musl.patch" ) + src_configure() { # Tests would need a custom config file in homedir per configure help? local myeconfargs=( diff --git a/net-dns/knot-resolver/Manifest b/net-dns/knot-resolver/Manifest index 79dfd1bbb2fa..7b7232b6deb2 100644 --- a/net-dns/knot-resolver/Manifest +++ b/net-dns/knot-resolver/Manifest @@ -9,4 +9,4 @@ DIST knot-resolver-5.7.2.tar.xz 1928336 BLAKE2B c4f17a050752a5d1ed141bae646f53f3 DIST knot-resolver-5.7.2.tar.xz.asc 833 BLAKE2B f73f52d7b2326a58a37b821cd8495d20c93017bd1f7bad2cc828f807f1886fc376dc95405b3b36047719f8566e27d7c1052b7ab11fae3d1d67c5563a293d965e SHA512 cf05ceca455400004cf249b1029b93619a1d5fcf839bca1259a7b411a1ddef1da0aff187ea0023c587de1981e91a8d26af3bb22341cf426e5055e8ca1c4024e2 EBUILD knot-resolver-5.7.1.ebuild 2198 BLAKE2B 5dc2cf77cd4fb2c2edb45ce16f9823dd77981fc766c9a110e74526f36ee93022633a30dccfd24be8b99fdda317a7bd42915eec1a219db8d8924fdee54f480eaf SHA512 6de3cdfe9e6fe485eefbeb50b52900ac1b5ff0baa99ce40c1b702d14024f1ba19dae6ce0c9cc9829cd4ec1ec94bce3da91967ba3129d3277b85e10b151665f63 EBUILD knot-resolver-5.7.2.ebuild 2210 BLAKE2B c98be7101490561d48f63b7373f9c2a881362934fecc1e318b6ebc2166ccae5913641d9be4548e81da8818a10b752f1481dab60beed60a4e5cff823879503fca SHA512 781e580075d3afd448b1671aec0835c5bcaf63fe81731cd50cceb9286e48986ecf1a28b4c3b76e393304b7848af316e7d21e8b525ab86484d1fe51f26f159f7a -MISC metadata.xml 470 BLAKE2B 16d945ec59b8b4bf54306a3f3182bc61f45ec8cc1880480366a6a918cbad337fc102ae6d2f0cdf3347e7a7a85fc5bc58129bb7e2f1378e42cb047aaa15dbc138 SHA512 09e7fce327eff1d4b5c4702ac4c90c6cf157d076715808eaea42cf0371007ed44a84466bed7c03b296c3fc1b99059cfd0cb575a2a957e7730d49a26bb35c160a +MISC metadata.xml 390 BLAKE2B 8d671225e024581137be9f98f3df0e32cfde1f0582d8169991417461bafbccaecbb7b8dd32d6652360a8c57bceabacec8194768e9177d7a75d0df821f2938a16 SHA512 e2ec3636fb2534ca3d3aee4215382e033ae9fd39df20152f3bb4deadf958b256dbe578954b6de348a9b80c173cd0d5bbe878561a09d094afd141644b5e512e44 diff --git a/net-dns/knot-resolver/metadata.xml b/net-dns/knot-resolver/metadata.xml index 9f36a2c8cacc..a535381c62c3 100644 --- a/net-dns/knot-resolver/metadata.xml +++ b/net-dns/knot-resolver/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>matthew@gentoo.org</email> - <name>Matthew Smith</name> - </maintainer> + <!-- maintainer-needed --> <use> <flag name="dnstap"> Build dnstap binary logging module diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest index ec22119ccef7..ba14524d5562 100644 --- a/net-dns/nsd/Manifest +++ b/net-dns/nsd/Manifest @@ -1,17 +1,13 @@ -AUX nsd-4.8.0-implausible-stats.patch 760 BLAKE2B ae6d75c8f2ad17fa5f6c8ba1cbaa6e812a1650c3b913b7e86aa4b479c264c8fae02d5713bb21ee3bace5c832e5b96f762772f70eb8aa24d7ce6c9fd4b04756dc SHA512 2b40047b8277e2fe18afd7aa1aef5b91244478aa38df04e094ded9ae7c1bd49f62ae940831b1c144c7cd9b4f26957c4e726001d3afdd48e51b940bd36c2ee9bf +AUX nsd-4.10.1-simdzone-configure_ac-_mm_popcnt_u64.patch 415 BLAKE2B 5379fee77e8fdcbe2b2b15fd17d0d690e00009fd76f70465e26a13350b6a4316ae28fdc9bec47124bd1cfd14cc081418b2e6c5c351269d2421560e3d19fd223d SHA512 5d7333164e14ec1254a6d92687850fa3fdc0240d02bde5992a4bddc9a00d3b4be74cee7212f1ca8a70a2a65e93cdaa249c74ebf52e38d47aa1d4787100ef814a AUX nsd-4.9.1-systemd-no-pidfile.patch 484 BLAKE2B 697c6de4e4e69da281316be06d6636fba7ac301987bbb8e1816f4028cab9b76b0faa668d8ede0b85059325792c71d31292eb661734023fe6bcdb9306d4f7b662 SHA512 c0133bad41d405f704ed754bc9ee5d96e878c0a2c5ffd41940823f26a9962e737da3e26c66bfd258b6165b166ec52896bb56de3ad6056d9508123eb59f20b4b8 AUX nsd-munin-gentoo-paths.patch 542 BLAKE2B 13ff49c41683d5bf505e257cd17bf5f3ad06662c00032d79b36be3f96486eb89fdd62a42b5ed4816ad99835366864603568613e27504894340ebb64057e2b2c3 SHA512 6034086d6b6f6980468766c901e92291fea8a32df179561ede2add5918c37bfe3aabf122735d4ae2e28efece394fd3398f9a0cc4d8fdcc1e5da1ca709d2ba6ae AUX nsd.confd-r1 669 BLAKE2B 45ef7846e227566ce2bc2248084598e31a40536f9dbd28ff5964fca34998399253dfd45e1706ddaed566ac4f745264f4f1314ba7394392e637da520ff78470df SHA512 6c9daae27750149e9ee13860b13a9ce7d92159416329098fa60b77982dbe1d0b3ee1c957321b3a459870155d2a4430f1f7796c53b677178f3a6a71a2efc81fdc -AUX nsd.initd-r1 1383 BLAKE2B b90de2ebef09a4f9050f6e95f5faf659c62910462aba1179daccde4e63a3972124247e6e8ce725c4dbd34a7fcd4f14b40899d7b59ba4937bdc59c493f6f7e173 SHA512 f775c78b529c5c7f1130035ea9c6cf1c1e9c1790c5df84fafd86a41294748a46c82b66c58df8385f8f4bbca8113427c665051aeec5720073bd9823607c9f8ce1 AUX nsd.initd-r2 1312 BLAKE2B 798c8df841f3bf22edb0891f1e350a8636db94e9049ba202b988210ff69ba185b3e0a6ed11347752a452d49560930b5f5fd34d5857b150ffbc1c9691e1202feb SHA512 35320b938a29d34cda2919dfcfc975858d2211bbe8a92af270c2e0806d05a12e893bb13944b75bae27b3db4ab8a74e2408b4d70898f715f785ec00f36a629ea2 AUX nsd.munin-conf 23 BLAKE2B 0b08804b2218d77ea925d4c9e26e73649b453b923d6d7b1e1df39ceb58b92a44c48cb21583a480e622f72d07650f410f2e0703f1d16af08152aed16982ab8da2 SHA512 c06d0b035387e7be79cfa8fedf8afb3900772146c6d4090ac39ea2ef165772d875b222ef467bd73422078ef57818bcc931ca67fa290bd99a7a9456efa5448853 -AUX nsd.service 272 BLAKE2B 66a7d4132246589f71341afd98361f6b02082be3d4e230c86ae690876a797ea0a4580b29892d91feba2785ea933a053f862e0d00f2c8a8c09ab907386c39a03c SHA512 fbca86887bfc36d61af06992cc98b3f3cb33c39274fbdc1e53d489bdcc767993911fab27a20244c3878b36bacbd1644a552364b2f7bf4d48e6eb247d0eecdf0f AUX nsd.tmpfilesd-r1 24 BLAKE2B ae4078bff0e71d9b47d02855f7e7ab2389cc83b40af657221ffec07e52d52c666073d32182dc726dcc3df85a17f7a983a546d6cda98554ebcf7df14a64036eb8 SHA512 bfc1b81f8553f499f8048a26870b0964625cad4c73b84b70afc8c00644b95661e86ad540fd66f88ef072166ff22eef4f18974ba3364d1bd33e1ca7ee348f9188 -DIST nsd-4.10.0.tar.gz 1388963 BLAKE2B 1ae50e2c2756fbbbabe87ecf88e74c2f9e5bf21dfe8f34a279894499ba5434a9249e5424f511ed0b67d21b3b1c98b7a03e38cd20fd6dd0cd2a6ad4b397d352df SHA512 ebf65d9a3d56ba560b587dc3cf91b0b086c9267c67f4c6a6c415cc062a08a9d0deb50cc44189b741d5b7634fe07038f6a234999f5a0ee7df6609fc026127fb09 -DIST nsd-4.8.0.tar.gz 1273228 BLAKE2B d1e6a5e8fb158bb32081bc7674d957e3f5a596ed10ee89dd6a5f6af9a79a8c130f2de7070345bee69cb7798e9f373d856a9336a9e9f65f733ff45e15e94833ff SHA512 13c9cffffe6adfcbabf744ee2effebe6ae265d83476345a1edb60dc9c6d7f838a5e239e9b18e667924e5e76b74b2caac63818fcaecf7f0fa651ff21736174a46 +DIST nsd-4.10.1.tar.gz 1404799 BLAKE2B 7b286ac681c1bb8201654cd2e5fac8a98256f6a595dfbb39bcfed92de63b3337e05d219bc766bab01e4aaf3fb1de3c128d7157caeee3a7f21e4132db9ea72cba SHA512 b0f4bdca8a1c6fbbe99096abc8c5f8b34ef2e66dc0da44da253ab164b35ad0aaef5d05eb682b88cc68d8b1671f7b80abafee242a784ed6deb785adee7f6a53a9 DIST nsd-4.9.1.tar.gz 1309953 BLAKE2B 4a43db480be7196c0a177cc6ee2b9cd6eaaaa9af4d0c3dc7b8f07a5b9e24fd4eac816a29f83de870efe012f2f3bbcbb9bdbda903d05bf9d96574bddc97f68547 SHA512 65cd38aa8a41aee57a6950747de448bc4007a2d2c095152f1d22006f85faa7f0732ec4aa0aeae9f46bc69bff17164d8fe384bbc3441d0484364c4af938b511c1 -EBUILD nsd-4.10.0.ebuild 4526 BLAKE2B f935b1b2ad157a2af9ce3a4f3d5560f8a6c6056c7641573f31a38f4f928a0bbc90c628b8253a0c76f485a300e511aae4b58916e74b07102a8821861c504557ea SHA512 78e684b042dcd4816b77fb86a3339e71fbc1ffb3ae32e85f4af2a7ae9ba27d8d87912d1ed2e4524941e7a286db6a1142af08e817191a1908d4e8c648c80559c0 -EBUILD nsd-4.8.0-r1.ebuild 3218 BLAKE2B e591458f0b53f6f0e0bbef131414779e2c7c151bd2de1747660b468b88e5882efdc807991809061fbeaf4348d3a23b16abb95616f25564c002de8bbdd97d9861 SHA512 3fd01e8bc80fd69dc42b1046522d3680bf6a1700df1b986a934baebdb018ab30de3b6cebb4e3f073b927182bd5058271a6197895a5bba0e71526b0000910ab4b -EBUILD nsd-4.9.1.ebuild 4133 BLAKE2B 53862f88c4eb8c9ee18a61e36cad387e70e71f7a951cf8a1cbadfc134434dcdfe57522a34ea2c48e855243d6905d476d388dba28cf2a7e9ccec4191e6f2f863e SHA512 ab68f0ff5d4c68b050474ccc95e48159dd8979bf3f5ca446d79b183a74f27d2c755deb3015c272a92019ea2aafc6006ca85011263ad27f2487571bc3143a8c55 -EBUILD nsd-9999.ebuild 4526 BLAKE2B f935b1b2ad157a2af9ce3a4f3d5560f8a6c6056c7641573f31a38f4f928a0bbc90c628b8253a0c76f485a300e511aae4b58916e74b07102a8821861c504557ea SHA512 78e684b042dcd4816b77fb86a3339e71fbc1ffb3ae32e85f4af2a7ae9ba27d8d87912d1ed2e4524941e7a286db6a1142af08e817191a1908d4e8c648c80559c0 -MISC metadata.xml 2054 BLAKE2B cb2f3d4a5425521a7780f1fb247a55b2ab718e26d23894474dafbd82ad1bc0acee4e097684cf634d354870c0ac270897c571238ef8cf95b82bcd7dcf4971ca89 SHA512 2425ab4ca52a28afa3311b9dcd722e24ea490e32f859f5ea72f6c50b62b7dc677fd2217837526a05d36e069bd48324f51caa385656ebd58cee4e4d61fa19947a +EBUILD nsd-4.10.1-r2.ebuild 4442 BLAKE2B bccfba5b68e16b0052022c3f305590e987b45bff72785bb6c301617d866436612523c7ed04eb7ff45953c6aad3ea5c4cbbd7a45c91e9572ab05f3525e7cab80e SHA512 8583a4bebcbd20ec63d663c2c68fbb3724034d24f32cffe423c566f4cccc0bcd350b35223355664e45e753e9d26343dd6553a2af6b342d3e6ca03d24657ea44e +EBUILD nsd-4.9.1.ebuild 4225 BLAKE2B 4cd80b4819e79dc416c39820f068cf24c5d585a6bd9032901607ca667437172b81928cb01d3cb378c76ac6ff635a340ef5c96207276bf3186b5ad71c4d8d250d SHA512 41b979d7aea4557d9d3985e71113f4f3e4c25178c8b30e9291b3c9ae2034b41812d30f066b0b1d7fd27433c6fccb892ed323a87f1fa6fa41091f03482c363d2a +EBUILD nsd-9999.ebuild 4371 BLAKE2B f9824aa8fb6738371773cc09749ea1e25c0d53d8f3120b5f2d7cdd59a6f7fc6ae244d4302861505d4dd56c87c0585bf6e6fee0928ec7d6457e4075293de36024 SHA512 5dcfb4226afdd58fec3b0450c18155247235b854265421caba587d8b797000bd38bab4ed39b937f9d636a69aba1973488fba50d75e95524e2aa51b0f4de4b81b +MISC metadata.xml 1984 BLAKE2B e3c44203228f5a114b15966f6d6b06930cecbd2ad10a08ca3166a708f5811117faadd8fae26c98b008dd5080be850db15f93f8ed6477b936206babe880174677 SHA512 9fa4885721b96772df96d25b50005aa0e5028dfe69eff22d32143641d1d4cddabf47ab706eb1c69f8a7d43ac9c09a9c7225de170ee7a537d6b72b4368a5228be diff --git a/net-dns/nsd/files/nsd-4.10.1-simdzone-configure_ac-_mm_popcnt_u64.patch b/net-dns/nsd/files/nsd-4.10.1-simdzone-configure_ac-_mm_popcnt_u64.patch new file mode 100644 index 000000000000..5d6a38c64a0d --- /dev/null +++ b/net-dns/nsd/files/nsd-4.10.1-simdzone-configure_ac-_mm_popcnt_u64.patch @@ -0,0 +1,12 @@ +diff -Naurp a/simdzone/configure.ac b/simdzone/configure.ac +--- a/simdzone/configure.ac 2024-08-02 08:05:01.000000000 -0400 ++++ b/simdzone/configure.ac 2024-08-04 17:56:15.810347292 -0400 +@@ -76,7 +76,7 @@ AC_INCLUDES_DEFAULT + int main(int argc, char *argv[]) + { + (void)argv; +- uint64_t popcnt = _mm_popcnt_64((uint64_t)argc); ++ uint64_t popcnt = _mm_popcnt_u64((uint64_t)argc); + return popcnt == 11; + } + ]]) diff --git a/net-dns/nsd/files/nsd-4.8.0-implausible-stats.patch b/net-dns/nsd/files/nsd-4.8.0-implausible-stats.patch deleted file mode 100644 index 318f2a5e2f55..000000000000 --- a/net-dns/nsd/files/nsd-4.8.0-implausible-stats.patch +++ /dev/null @@ -1,22 +0,0 @@ -https://github.com/NLnetLabs/nsd/issues/313 -https://github.com/NLnetLabs/nsd/commit/ccc1bbc28abd3a723c25cb8dcc735731926979d0 - -From ccc1bbc28abd3a723c25cb8dcc735731926979d0 Mon Sep 17 00:00:00 2001 -From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl> -Date: Tue, 6 Feb 2024 11:44:24 +0100 -Subject: [PATCH] - Fix #313: nsd 4.8 stats with implausible spikes. - ---- a/remote.c -+++ b/remote.c -@@ -2932,7 +2932,9 @@ process_stats(RES* ssl, xfrd_state_type* xfrd, int peek) - process_stats_manage_clear(xfrd, stats, peek); - process_stats_add_total(xfrd, &total, stats); - print_stats(ssl, xfrd, &stattime, !peek, &total, zonestats); -- xfrd->nsd->rc->stats_time = stattime; -+ if(!peek) { -+ xfrd->nsd->rc->stats_time = stattime; -+ } - - free(stats); - #ifdef USE_ZONE_STATS - diff --git a/net-dns/nsd/files/nsd.initd-r1 b/net-dns/nsd/files/nsd.initd-r1 deleted file mode 100644 index 2a97c6dea708..000000000000 --- a/net-dns/nsd/files/nsd.initd-r1 +++ /dev/null @@ -1,59 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 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_CONFIG="${NSD_CONFIG:-/etc/nsd/nsd.conf}" -NSD_CHECKCONF="${NSD_CHECKCONF:-/usr/sbin/nsd-checkconf}" -command="${NSD_BINARY:-/usr/sbin/nsd}" -command_args="-c ${NSD_CONFIG}" - -depend() { - need net - use logger -} - -get_pidfile() { - printf '%s' "$("${NSD_CHECKCONF}" -o pidfile "${NSD_CONFIG}")" -} - -checkconfig() { - if ! test -e "${NSD_CONFIG}"; then - eerror "You need to create an appropriate config file." - eerror "An example can be found in /etc/nsd/nsd.conf.sample" - return 1 - elif ! "${NSD_CHECKCONF}" "${NSD_CONFIG}"; then - eerror "You have errors in your configfile (${NSD_CONFIG})" - return $? - fi - return 0 -} - -configtest() { - ebegin "Checking ${SVCNAME} configuration" - checkconfig - eend $? -} - -start_pre() { - checkconfig || return $? - pidfile="$(get_pidfile)" - checkpath --directory --owner nsd:nsd "${pidfile%/*}" || return 1 -} - -stop_pre() { - checkconfig || return $? - pidfile="$(get_pidfile)" -} - -reload() { - checkconfig || return $? - pidfile="$(get_pidfile)" - ebegin "Reloading config and zone files" - kill -s HUP $(cat ${pidfile}) - eend $? -} diff --git a/net-dns/nsd/files/nsd.service b/net-dns/nsd/files/nsd.service deleted file mode 100644 index 8337557faeef..000000000000 --- a/net-dns/nsd/files/nsd.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=NSD authoritative DNS server -Wants=network.target -After=network.target - -[Service] -Type=forking -ExecStartPre=/usr/bin/install -d -o nsd -g nsd /run/nsd -ExecStart=/usr/sbin/nsd -KillMode=mixed -PIDFile=/run/nsd/nsd.pid - -[Install] -WantedBy=multi-user.target diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml index 0cdd2376e40c..65dad76e8f3c 100644 --- a/net-dns/nsd/metadata.xml +++ b/net-dns/nsd/metadata.xml @@ -5,6 +5,9 @@ <email>kumba@gentoo.org</email> <name>Joshua Kinard</name> </maintainer> + <upstream> + <remote-id type="github">NLnetLabs/nsd</remote-id> + </upstream> <use> <flag name="bind8-stats">Enables BIND8 like NSTATS and XSTATS and statistics in nsd-control</flag> <flag name="default-znow">Enable full relocation binding at load-time (RELRO NOW, to protect GOT and .dtor areas)</flag> @@ -21,12 +24,8 @@ <flag name="radix-tree">Use a radix tree for main lookups instead of a red-black tree</flag> <flag name="ratelimit">Enables ratelimiting, based on query name, type and source</flag> <flag name="recvmmsg">Enable recvmmsg and sendmmsg compilation, faster but some kernel versions may have implementation problems for IPv6</flag> - <flag name="root-server">Configure NSD as a root server (OBSOLETE: removed in >=4.9.x)</flag> <flag name="simdzone">Leverage SIMD instructions in modern CPUs to improve throughput</flag> <flag name="tfo">Enable TCP Fast Open</flag> - <flag name="year2038">Support timestamps after 2038 (glibc only!)</flag> + <flag name="year2038">Enables support for 64-bit 'time_t' (sets D_TIME_BITS=64; glibc only)</flag> </use> - <upstream> - <remote-id type="github">NLnetLabs/nsd</remote-id> - </upstream> </pkgmetadata> diff --git a/net-dns/nsd/nsd-4.10.0.ebuild b/net-dns/nsd/nsd-4.10.1-r2.ebuild index da8e10d8e3ac..06ee9f176c22 100644 --- a/net-dns/nsd/nsd-4.10.0.ebuild +++ b/net-dns/nsd/nsd-4.10.1-r2.ebuild @@ -49,13 +49,10 @@ BDEPEND=" " PATCHES=( + "${FILESDIR}/${PN}-4.10.1-simdzone-configure_ac-_mm_popcnt_u64.patch" "${FILESDIR}/${PN}-munin-gentoo-paths.patch" ) -NSD_CONFD_VER="1" # Cur version of NSD's OpenRC conf.d file. -NSD_INITD_VER="2" # Cur version of NSD's OpenRC init.d script. -NSD_TMPFILESD_VER="1" # Cur version of NSD's tmpfiles.d config. - NSD_DBDIR="/var/db/nsd" # Default dir for NSD's databases. NSD_ZNDIR="/var/lib/nsd" # Default dir for NSD's zone files. @@ -113,7 +110,9 @@ src_configure() { ) fi - # This configure switch is only available on a glibc-based system. + # 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 @@ -125,14 +124,14 @@ src_install() { emake DESTDIR="${D}" install dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} - newinitd "${FILESDIR}/nsd.initd-r${NSD_INITD_VER}" nsd - newconfd "${FILESDIR}/nsd.confd-r${NSD_CONFD_VER}" nsd - newtmpfiles "${FILESDIR}/nsd.tmpfilesd-r${NSD_TMPFILESD_VER}" nsd.conf + 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_ + doexe "contrib/nsd_munin_" insinto "/etc/munin/plugin-conf.d" newins "${FILESDIR}/nsd.munin-conf" nsd_munin fi diff --git a/net-dns/nsd/nsd-4.8.0-r1.ebuild b/net-dns/nsd/nsd-4.8.0-r1.ebuild deleted file mode 100644 index 654f972468e3..000000000000 --- a/net-dns/nsd/nsd-4.8.0-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools systemd - -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 dnstap libevent minimal-responses mmap munin +nsec3 ratelimit root-server ssl systemd" - -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=( - # Fix the paths in the munin plugin to match our install - "${FILESDIR}/${PN}-munin-gentoo-paths.patch" - "${FILESDIR}/${P}-implausible-stats.patch" -) - -src_prepare() { - default - - # Required to get correct pkg-config macros with USE="systemd" - # See bugs #663618 and #758050 - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-ipv6 - --enable-largefile - --enable-pie - --enable-relro-now - --enable-tcp-fastopen - - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db - --with-logfile="${EPREFIX}"/var/log/nsd.log - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state - --with-xfrdir="${EPREFIX}"/var/db/nsd - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list - --with-zonesdir="${EPREFIX}"/var/lib/nsd - - $(use_enable bind8-stats) - $(use_enable bind8-stats zone-stats) - $(use_enable debug checking) - $(use_enable dnstap) - $(use_enable minimal-responses) - $(use_enable mmap) - $(use_enable nsec3) - $(use_enable ratelimit) - $(use_enable root-server) - $(use_enable systemd) - $(use_with libevent) - $(use_with ssl) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} - - newinitd "${FILESDIR}"/nsd.initd-r1 nsd - - # Install munin plugin and config - 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 - - systemd_dounit "${FILESDIR}"/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 /var/db/${PN} -} - -pkg_postinst() { - # database directory, writable by nsd for database updates and zone transfers - install -d -m 750 -o nsd -g nsd "${EROOT}"/var/db/nsd - - # zones directory, writable by nsd for zone file updates (nsd-control write) - install -d -m 750 -o nsd -g nsd "${EROOT}"/var/lib/nsd -} diff --git a/net-dns/nsd/nsd-4.9.1.ebuild b/net-dns/nsd/nsd-4.9.1.ebuild index 8c9ca27a596b..f18bd817fb51 100644 --- a/net-dns/nsd/nsd-4.9.1.ebuild +++ b/net-dns/nsd/nsd-4.9.1.ebuild @@ -21,7 +21,7 @@ else SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" S="${WORKDIR}"/${MY_P} - KEYWORDS="~amd64 ~x86" + KEYWORDS="amd64 x86" fi fi @@ -101,7 +101,9 @@ src_configure() { --with-zonesdir="${EPREFIX}${NSD_ZNDIR}" ) - # This configure switch is only available on a glibc-based system. + # 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 diff --git a/net-dns/nsd/nsd-9999.ebuild b/net-dns/nsd/nsd-9999.ebuild index da8e10d8e3ac..099b81460652 100644 --- a/net-dns/nsd/nsd-9999.ebuild +++ b/net-dns/nsd/nsd-9999.ebuild @@ -52,10 +52,6 @@ PATCHES=( "${FILESDIR}/${PN}-munin-gentoo-paths.patch" ) -NSD_CONFD_VER="1" # Cur version of NSD's OpenRC conf.d file. -NSD_INITD_VER="2" # Cur version of NSD's OpenRC init.d script. -NSD_TMPFILESD_VER="1" # Cur version of NSD's tmpfiles.d config. - NSD_DBDIR="/var/db/nsd" # Default dir for NSD's databases. NSD_ZNDIR="/var/lib/nsd" # Default dir for NSD's zone files. @@ -113,7 +109,9 @@ src_configure() { ) fi - # This configure switch is only available on a glibc-based system. + # 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 @@ -125,14 +123,14 @@ src_install() { emake DESTDIR="${D}" install dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} - newinitd "${FILESDIR}/nsd.initd-r${NSD_INITD_VER}" nsd - newconfd "${FILESDIR}/nsd.confd-r${NSD_CONFD_VER}" nsd - newtmpfiles "${FILESDIR}/nsd.tmpfilesd-r${NSD_TMPFILESD_VER}" nsd.conf + 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_ + doexe "contrib/nsd_munin_" insinto "/etc/munin/plugin-conf.d" newins "${FILESDIR}/nsd.munin-conf" nsd_munin fi diff --git a/net-dns/opendnssec/Manifest b/net-dns/opendnssec/Manifest index ad3c33582bd8..d988bfb13703 100644 --- a/net-dns/opendnssec/Manifest +++ b/net-dns/opendnssec/Manifest @@ -1,8 +1,9 @@ +AUX 0001-include-lots-of-headers-to-pass-the-basic-c99-sniff-.patch 2769 BLAKE2B 6ccc853c8999e97c6fb45eaa3bc6477b86a46bec8d71b2ca563e0f8ad51c81dcd7cf7dd2f90431c4fbafac1c6ff6cb09ad3530199b3205abcab48304447cddcc SHA512 17f0d8760d27484407b9ea718c6cb624b31e525f80468dc5992d70fce4f7b2c34400474648990087a1b3d120ac31841071a3a7578f65c138d2138603980b3281 AUX opendnssec-fix-mysql.patch 1292 BLAKE2B 054de4eb88d89ebfdb3df79f72f6d5d47c35dcba760fd80f845724de8e461e7a1bab7b0afeb2220932abcced43d208d678ab3e232f8cf612a7c54f96b695df17 SHA512 2ae9e7228ff9d2def1cceae1da8c3bfb28d8241cf2a54ea74b0c476b81492be18d22c8961cbcf2d3647dc853314b6bad16da91ba93fc38cd1d48c01be3ac7a27 AUX opendnssec-fix-run-dir-2.1.x.patch 1364 BLAKE2B be870fded9a3dfadfe2b131c7bf0dca3e8ec3b89f0baae469148e8c9ef81ceac1f6ace024373536fa34fa1fa31aa23b432ee97fce7d79c7324aee84eaa3014ec SHA512 c476a5808d914e2056c75d49a3297f4c9a6f9f20882734af21208d563d3a1f9b1aca387ea53159a7c91e6faacc38280ba7b72a3bd3d4a6dd7b4ffb3cfd749b33 AUX opendnssec-use-system-trang.patch 618 BLAKE2B 32e1b6784f1666e0485e6109af40b06373fbdc974f90bf3a3d6fc564d7c69728151afc5a9f793c96a3be77593bb2679af9dee4456bf69e89367fa459f8b70435 SHA512 316b89a2c6ba56c4fe45d00ad1bc31316fa20ba7177a2cc0979c23f11aba4234cd2f0b8972f98e4f14be9535b704fdc3177a514a41c489eb43016f8ff878795c AUX opendnssec.confd 393 BLAKE2B 47f83e11292c01cb999fae36dbea2d0b45cb970493bfbab43c43682fe26e574e12bbe7f7096e71ff7bd0b8b49827f13e4de858a38868706fa769cc92ceb1f307 SHA512 17bd24efef9bd6b7a907c75126809a6012db23a6c8547169c41dbc62fc91775331f445905282bc6c2ef13357f92eccab5008d4605419d98acdb723806b63a924 AUX opendnssec.initd 1854 BLAKE2B 358bcf513123f7a38b7795f142f56e6a186062d1ad80bb70bee46ba7ebe7a137b4d2830a6c27ae690add23e0296ed2bd3a7a5d7ee88e1ee7ee3a8a9631306916 SHA512 75bce27c152b55ba2ba7d0770c6f2149493ef4b145f2257328e7e4b6865ad2d644695a688c3e06be02705ac42752e031846551b80b560e19a73e595e5ad15def DIST opendnssec-2.1.13.tar.gz 1161140 BLAKE2B 964a612e191bf5feb09a8b214e3341fbe5fc03c847e22b33bfc64ec7712608fd0f944c3b089901f08d7e3d2a27cb47543b3d5d210de48708192bb87546dacfa3 SHA512 5f3926f0f144cf8819895da2ec81fce21e2a05cf0b83dd9174a72ebfdef99badc3bcff2d6685c498485113209e7c73ab9cf55b3e126009ce6cbcc3cde54d6051 -EBUILD opendnssec-2.1.13.ebuild 6751 BLAKE2B 9c56b73e2ae4a5cc49af5d1761694c2df9df132051a5c39113e9254eff76464f6340ba7b13377bf776b99339c04f988dc777f46a61adb6e595c9a8ad2fd99d0d SHA512 93895cb4ea3e2a3f6848cf0c756d1586f2f56417f89728474cff20879f742385862fef68dc97df6ff4ad8f6dbcc1156f70b7b9a46095a0796323f6ab816648ac -MISC metadata.xml 667 BLAKE2B d32db6dbcfebdb81a5b1289f4630034e6277cfc52c96cd6c5d4e361b30570659852ce168f62fb85aafdd187b3db5e7f946f2cb28317154f7767530d3737105c6 SHA512 bf88072975ccb44724c55fcb8543b2626710a7f50fd820ccfb09dbc627e42db0dea19bbb77d763cd39394a14a01d07902811b56e3ff86c1a0f686828050e911c +EBUILD opendnssec-2.1.13-r1.ebuild 7018 BLAKE2B f1434e7f1278bce09c39a2c66be10b5e6d597b5c6befac15467f490401bf0ad8216cbc146579d021059303131d002582546055e653ee48748cc0f5f687f86f43 SHA512 675f519c0f4267f368dccdf98c01f5cd4f33681fb7f8af483469703c0b6c17587cbde94e83c03cd4f02736c72e8a0619d31630bd3d3bbd4f123e47a9679932ac +MISC metadata.xml 753 BLAKE2B 0f1a885e7a40b2d1dd268f9dd313eda9022061313f7629de0ae6865e8ea6bc1bf97e3ce51a6904dd9e63f46e98d1602bc0e8b5c74ee017bd2b5ac8990044db5d SHA512 2893886f21d3302f4ab3960632d3186e4f8c05096870e538517cd8065bc7f6ad5d1f640f0208a04754c000b0e118525eb68316bfb28c2abc786ec0d5a0018bca diff --git a/net-dns/opendnssec/files/0001-include-lots-of-headers-to-pass-the-basic-c99-sniff-.patch b/net-dns/opendnssec/files/0001-include-lots-of-headers-to-pass-the-basic-c99-sniff-.patch new file mode 100644 index 000000000000..3d0f1b8e73ef --- /dev/null +++ b/net-dns/opendnssec/files/0001-include-lots-of-headers-to-pass-the-basic-c99-sniff-.patch @@ -0,0 +1,89 @@ +From cd5e920572eabc54dc7350c41ca172b49e48ac1a Mon Sep 17 00:00:00 2001 +From: Eli Schwartz <eschwartz93@gmail.com> +Date: Sun, 7 Jul 2024 21:38:29 -0400 +Subject: [PATCH] include lots of headers to pass the basic c99 sniff test + +Including configure checks, which currently emit broken results. + +And in one case, include config.h early enough to do something. +--- + common/scheduler/task.c | 1 + + enforcer/src/daemon/time_leap_cmd.c | 2 +- + enforcer/src/utils/kaspcheck.c | 1 + + enforcer/src/utils/kc_helper.c | 1 + + m4/acx_broken_setres.m4 | 2 ++ + 5 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/common/scheduler/task.c b/common/scheduler/task.c +index 4dcf9e9..0dfa496 100644 +--- a/common/scheduler/task.c ++++ b/common/scheduler/task.c +@@ -40,6 +40,7 @@ + #include "duration.h" + #include "file.h" + #include "log.h" ++#include "utilities.h" + + static const char* task_str = "task"; + static pthread_mutex_t worklock = PTHREAD_MUTEX_INITIALIZER; +diff --git a/enforcer/src/daemon/time_leap_cmd.c b/enforcer/src/daemon/time_leap_cmd.c +index af41c8d..b17773c 100644 +--- a/enforcer/src/daemon/time_leap_cmd.c ++++ b/enforcer/src/daemon/time_leap_cmd.c +@@ -26,8 +26,8 @@ + * + */ + +-#include <getopt.h> + #include "config.h" ++#include <getopt.h> + + #include "file.h" + #include "duration.h" +diff --git a/enforcer/src/utils/kaspcheck.c b/enforcer/src/utils/kaspcheck.c +index 9bac3b7..fcdb36d 100644 +--- a/enforcer/src/utils/kaspcheck.c ++++ b/enforcer/src/utils/kaspcheck.c +@@ -25,6 +25,7 @@ + + #define _GNU_SOURCE + #include <stdio.h> ++#include <stdlib.h> + #include <getopt.h> + #include <string.h> + #include <syslog.h> +diff --git a/enforcer/src/utils/kc_helper.c b/enforcer/src/utils/kc_helper.c +index 72d181f..7f1278e 100644 +--- a/enforcer/src/utils/kc_helper.c ++++ b/enforcer/src/utils/kc_helper.c +@@ -27,6 +27,7 @@ + #include <syslog.h> + #include <stdarg.h> + #include <stdio.h> ++#include <stdlib.h> + #include <string.h> + #include <sys/stat.h> + #include <errno.h> +diff --git a/m4/acx_broken_setres.m4 b/m4/acx_broken_setres.m4 +index 374cee0..c9eda46 100644 +--- a/m4/acx_broken_setres.m4 ++++ b/m4/acx_broken_setres.m4 +@@ -4,6 +4,7 @@ AC_DEFUN([ACX_BROKEN_SETRES],[ + AC_MSG_CHECKING(if setresuid seems to work) + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ ++#include <unistd.h> + #include <stdlib.h> + #include <errno.h> + int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} +@@ -20,6 +21,7 @@ int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} + AC_MSG_CHECKING(if setresgid seems to work) + AC_RUN_IFELSE( + [AC_LANG_SOURCE([[ ++#include <unistd.h> + #include <stdlib.h> + #include <errno.h> + int main(){errno=0; setresgid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);} +-- +2.44.2 + diff --git a/net-dns/opendnssec/metadata.xml b/net-dns/opendnssec/metadata.xml index 142c2461b8ff..dacff87f9bec 100644 --- a/net-dns/opendnssec/metadata.xml +++ b/net-dns/opendnssec/metadata.xml @@ -8,4 +8,7 @@ <flag name="softhsm">Enables support for storing DNSSEC keys in a <pkg>dev-libs/softhsm</pkg> PKCS#11 object</flag> <flag name="external-hsm">Enables support for storing DNSSEC keys through an arbitrary non-portage PKCS#11 interface, specified through an environment variable</flag> </use> + <upstream> + <remote-id type="github">opendnssec/opendnssec</remote-id> + </upstream> </pkgmetadata> diff --git a/net-dns/opendnssec/opendnssec-2.1.13.ebuild b/net-dns/opendnssec/opendnssec-2.1.13-r1.ebuild index 36ea2b040912..7ae289d49c92 100644 --- a/net-dns/opendnssec/opendnssec-2.1.13.ebuild +++ b/net-dns/opendnssec/opendnssec-2.1.13-r1.ebuild @@ -59,6 +59,10 @@ PATCHES=( "${FILESDIR}/${PN}-fix-run-dir-2.1.x.patch" "${FILESDIR}/${PN}-use-system-trang.patch" "${FILESDIR}/${PN}-fix-mysql.patch" + # fix some modern C errors due to missing includes. Not forwarded upstream, + # since upstream's website appears to be in a state of disarray and the + # "Bug Reporting" link doesn't work. + "${FILESDIR}"/0001-include-lots-of-headers-to-pass-the-basic-c99-sniff-.patch ) DOCS=( MIGRATION NEWS ) diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index def1813da42b..33dfe77fc275 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -1,38 +1,76 @@ AUX pdns-recursor-r2 1426 BLAKE2B 4407525f88d6e4299acdaa015e13866b70b2f697493218953c515e00af1476df7b8dbc87f6a39c50743d78b7f8efd2d3446e1a387f98ac4191cea2c04e10c175 SHA512 2f4d8458f6224a42103d28937d69228092c74c9c8c958833b292acf8959df1e617eafc13b65b95cf6eb4e06fb4fa7f23906c28b583865b6885949daaac12799e +AUX pdns-recursor-r3 950 BLAKE2B e103dea1a259552b06f86d18eb56441db6fb1e42e3e8f5a204617e64c554411a0dea52e9b363e8eb886d1e33defb9030c213721826f034873ebffd661e9f5f83 SHA512 388034bbb51c5e108653fd3d5a652def0dc41039f1169b246f26af4d020cd46f4c0801b980a21ba43b8932fff144c817ee87a1036fd3a9b4cef36759f31bb925 +DIST base64-0.21.7.crate 82576 BLAKE2B 25cc8761c14220981ff4ed332058f6179948080cbfa2b225ec1d1602e4af14cd470c969e8b7049117e6fc51a5a24e06b1d27bab844486ecb76409d12e0581d5d SHA512 c6986d88dd9aa081d914f35b4174be4ba874848657ac4b5e63b9b45af765d973289c548ccb5a01584edfc0d8d79ff5be25b51365295d6e7a311bd7f0ae3c0cb9 DIST cc-1.0.84.crate 74922 BLAKE2B 8a6c1208b32648d1d3e33388f3fea506b82236dcdfc5d89865233c8567d80d55d8e102f30d5a6dc4b9a38bfb831974327048ac01ee7dbe7df04020e6c664f238 SHA512 c74a842b57d1239329b35af63070c147e75455c929999265eb0ddef9f360301c266885dee5f32b13d3cc1b953761db6f5949eb70ad9ecc2920777ec2c1507dbc +DIST cc-1.0.98.crate 76780 BLAKE2B 64124ebdda70b211b6fde8c02d256d97d57fc3a0db433371bad896c06e36caaa5f938074d92ca82724b34fde06bc10af63c7fdde8f52ac50a3ea6e3329d18d93 SHA512 dfeb194266a4a9cf2ddf69fe20f8e20a72a0a9c2f72b1ea578fd48dae5b0c3589f501068ca24e0da7b3691860cd8c05247c803f3ef2f338d56eef8b1f4f4fbd2 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-build-1.0.110.crate 86469 BLAKE2B 91dfb19587505c020f1130a9f213a9e8f496ea3a1feeefd471b0d3cb4f60a7abbe8ba4bb41ae63ef1b231806b5407fe0850907bd79fd462a81919e8515f534e4 SHA512 a37dfbe97a03026d8469db25c2dbb5110f301a72b22f0b0d98559c7f69a39ad6786f2a9c7a8d6bba3286f374a2024d7b5aaafa7bfc9a603444032f75c7019fdc +DIST cxx-build-1.0.122.crate 86704 BLAKE2B cab17e180c641f82fe76cfccadd248b28868137d83566aacde61c6461f84f38f07c1054d464885b7a5f427201bd3d61a0a5ead97c6db134c9a4228e55d20b421 SHA512 5a20911dbaad7669788d7228c9588a367f0fdfdb19828b5ecc38e958a4b5e09bf96d9d2d2ce658286e8188e0213e7b1ce56be7cb8a52668edc99abb572bf675a 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-macro-1.0.110.crate 60405 BLAKE2B 38d1f105a427cd0ab40508ce190e45e6e4829051347fc5677d9cbd35551719f119ddf938cd0152f2624f4305fe98e6219dcc117780e64e9480b76ccbc66ce7f7 SHA512 3119839d71d55805dfa22308add558cc4973bd9e7991f04a155da0e81f3e1c927282cff494c205eee6df42c8ad4c97ecf94ad4fe1f5842dd926be8e4d695f6e0 +DIST cxxbridge-macro-1.0.122.crate 60451 BLAKE2B b8c9c1a380e87a578fa9ee1f3c6fb273b1bc211280adc911c902b66aa4291a76d20a90625439635dab5b0c925dc6afac9ae209a262a3c2daa6a23d0b97df1805 SHA512 74c8debaff29ee50c37a3af0b290ce7127d47bc980cc60ab43b47a883a4b0c67b3c7121f1462c017cbfa9fe6c92833cf245e04a4d5a8f02ad0192d51c3ee317f 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 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 link-cplusplus-1.0.9.crate 7484 BLAKE2B 4f73807068243aa0dc4b6773c5446fc988154669eb196afca19fe39ffe63627ee705c4ee3cf9cca9628d0bb8fc4cdeb7ef52b41bab810d12721a6ad53d9557ee SHA512 30697093b54ca449135d7a2a963bdd9af61a446472b0f245c87a05bd6eefa62eeebf9cc58cf17aa77ac5f2301b05ae27d13eb50d92ec58fec27303f865261170 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.4.tar.bz2 1659047 BLAKE2B f1a5cbd69f32bb402a5556fa4ad99df7fc89cc868cec9e4c271f42407e2a4f7cf900b1f071d416f271597242b472f537bdfbe969e2c3694f7ef9df77763f9937 SHA512 a78422917df91a8f8c49bc5c2bdf599f92f6c3359f049653c6623a05da8117445c04400321cc4e2128cfaedb7b345cbec003339c35e4f2c76bb43d16d07b00d4 DIST pdns-recursor-5.0.5.tar.bz2 1658574 BLAKE2B 7bf3bc9c742e97d396654fdd8b680cb9d3270a7dc1849ee50c747cc8934c21bed0f778708e04c162fafdca74c4664e299b18c2abd6bdef6d127cee04c75684fd SHA512 52bed3516a8dfbe4be5e5ddd81920955c1c4c66d1996afc9f61d361e06ec11cc5aba7afe4c49f8f69b1554b6564cb619ee5572c066d6d6f2733a0f07bc6945c0 DIST pdns-recursor-5.0.6.tar.bz2 1689757 BLAKE2B ddc82e19e3761a35ab3fd81bf0f73a7c139f0ce9464259f311d1f9fd8134627760efadca5310c4d3875bb469eafbdc0719fe30e38aa58687ff24eefe16e27205 SHA512 1f8496b4ce50d02ca12d44576b2fa800b83d5d9fdeab57956445ebb80ab72b7fe6e7bf7368c3fe6e6b57133458c98c5773ce0ad9da86dd49f2830c52649957d6 +DIST pdns-recursor-5.0.7.tar.bz2 1697502 BLAKE2B b3fff4f0b2baaf9e9e99f192b4b900355aea8e347ed4ff8bb1b3e70e8f017b66fcda3ba1c140c84950e99bcc8350bf5f61fb75e3dcf7443a55455781213f6b25 SHA512 d23c289c972d671d31735839bcae68fb573330435563061b6b9086c74dedcd37ff30632d5b67ec6185877fd42c881b2f41fc9eb65cfd4414457763626149dd4b +DIST pdns-recursor-5.0.8.tar.bz2 1675936 BLAKE2B 21bebcf135c310dc8b82223dd1dece8621b79bb34d2dd5f30970c577c300bf75728c45f138c36198ddacde004ac7e57f3a2083441577a355168c81730df6d125 SHA512 90d990cf6e8ce89252d0fc428265b93b70c974c9b86627fdf61534c5a5ecc85c2b3c51eb12d37a9bf6fcddf9e576dbc3c883e9f599687e7b2741a49194957c38 +DIST pdns-recursor-5.1.1.tar.bz2 1709091 BLAKE2B dd09852d14520dcb623a617e9af8342e63b731d5df818e25fcb4a5ed91782c90fa728a7dc808d8e22a66770d0113bfff34fda0f95da0695de26b2a48bebf5e48 SHA512 59129312e79bb48ce5af4de0c90f36765084708fd7b728655b07ca0cf68ba618a4bf517a9e695caaecc57e5edef4f6fa373719aa0b3e82e25d17a077883784d0 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 quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c +DIST quote-1.0.36.crate 28507 BLAKE2B b93495163ed205e33543ed45f084870240d479071d643704b6e348fb9ada6e1d8401893c13348b9964f4b6b17ddb96cb5458eec540f0d761655fcb96a4cd9129 SHA512 f1f002a912692f7ffd4912ca980ec57ff4aca3a7d9e2e42e9e3409e2105c9f59d86c05719f6af309bccaef2f8843b0848a6e3afda3356e045d8e7cc5956ae685 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_derive-1.0.192.crate 55690 BLAKE2B 1e9706fdf38880989cf907c36d1f72b5b211fc6f263a4ee35d5f7106aea0a792fd79a3361d09f831e06ce0a43680647952a8478bd1001f617d2571be428b5516 SHA512 67ad208291c8d7063adce4bface5d963488c43a326e77a89970f86f65e8f77856e173d134718f64eb80dce67283df1951022c12300dea0b4d9570fb7f637643a +DIST serde_derive-1.0.203.crate 55867 BLAKE2B 1bc8aa96328bb83e4e4ff527b1df855bbcefd333f0c43c96d1e0b93f98a46273dd88a21653bccc8f517c4fc06d17b9b44332a963d024796e0a2c18a5bfecc824 SHA512 b2aeeab33395ac11ebdbd922fcdbda29f2592e7a20e78aef250713baf269cacf497271be7aa407f657aba33da132df0e035be046fef070f915f234097d1dd392 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 syn-2.0.39.crate 244129 BLAKE2B 2cff6626624d03f70f1662af45a8644c28a9f92e2dfe38999bef3ba4a4c1ce825ae598277e9cb7abd5585eebfb17b239effc8d0bbf1c6ac196499f0d288e5e01 SHA512 96cc347cfdb0f9ca0b6c7289279a1cad8fc401625783742292564f7ceca8237ced8d9a3f62069696f6132ed06092dff2baaf4be09ef53b21260d93785b0e27c3 +DIST syn-2.0.66.crate 264855 BLAKE2B 5029091b2cfa88e5c739be913a647dc9492696398c09b891f84089350e6f09baafd9935b81e0f3519d5465eff2e1822ef6cdc96c15d6a40d1b6b8dd2f9e7d073 SHA512 60a617bfd37d74c52e4d4d63ef0a27a2f9b982469a6926922f2f6e96754a0c66affb0847b9a44d505c053cbd788b97e998efb8d1e558ea00ae4a0b7f15bed9b0 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 unsafe-libyaml-0.2.11.crate 62101 BLAKE2B 7ba17f2c19d96fc8999448594ba67bfc0eceaff47a39e560f856d13229ad5e69a9c8ba8794ec814e6b7c3cb7d597b7c7a366c8e880f17c0efc6a03a5677d82bf SHA512 a42c95eaed1ae2e438d3ba19ccd92337327c34f6174a43db80e1f37c507154249c7510e93f81726890c6032c89fe21b1876582afb7fbb811e3931480c4727712 DIST unsafe-libyaml-0.2.9.crate 60812 BLAKE2B 2fc475191d1285344e06a7056503bb994acf3bcd19fc5692a61cbf2315b2a331a0ed7d30d50c112cf05fa41f6f71b0b8235e15bb936848497bee85592f6ddc3d SHA512 31e803c321475364c6df65cec149a044bf7941379e9e66f47a698ab324eef0b1a3c32092ccf060e73a350b4c87e4e8bd908a1ad0cccf7b75fd86da679300663e 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-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-targets-0.52.5.crate 6376 BLAKE2B 1d39fd86380ab086c536d88e67b60956410b345790ccea62a25e6a700757b2a9cfa6dfeb7b86934cf47b981ea2e5f42dddf49780ad9829a551dc507fcf108641 SHA512 d00d7bc7eec3c10272e803ee5c9ea0d9b07c43311124dae975b4f5aae7408c5f2ccb2fe6e68228ea3d4e70b6b658382cac6992ea177f43a9cba2ef95c4fda0ee +DIST windows_aarch64_gnullvm-0.52.5.crate 433266 BLAKE2B dee1b69cdf1fbd4143136909e4df3adaa7b80d7630a01ca9a42fc5ad0d5a4d9a9e2873b43c6d8e55de59f237d9199fad0768c4e1cda3b1e5354847bd70d4c79e SHA512 b4cf511025458fe30d5b11368af285610e1654a8986ea9f78fa81b8bb87d38a00c4869441c62692534df66d06baf14c8a4d17f8eb06468eb260b99e2fda6439d +DIST windows_aarch64_msvc-0.52.5.crate 827944 BLAKE2B 3bcb16d527be1dfdf18a9105ab259a064f00e949937ca423c8dcd1d2b90090d85aa7e42ca6ccc50c9baeee1aa144123d0a04643f9ff1147e62b2fce28b8a697b SHA512 c8974f81e37a43d92c4a8b142705e36b7acc58d9150d80ffa3997433da878044c467a2d9167ba792d37a183a0082d912500fea8c8fed743f395b63ca62a5758d +DIST windows_i686_gnu-0.52.5.crate 875699 BLAKE2B 528ea431d080c5326e4c6ed316d9ea3e38b40c2e1322a12a432506a2c11555a94537661a0941e90c20eff4a9ce42c12539876dae6e77a1df18b522529928b309 SHA512 cc3e0362fb62dd5e8a855bda3be0177708ec8629ee9685f1f9aaac3f71a8cb082387388bdf49b09d3f5ee24a636b0b4f933d2c8bb75db434ee0192c8ce0547d2 +DIST windows_i686_gnullvm-0.52.5.crate 473064 BLAKE2B abe41ee330c05ee1366b3a835d15c6db3964ffd7b340ee69d215056b0d4b65c67f2782b0c04a55db64001098de87c93e2d447e25ef2a27f2cfa6685b8cf20c88 SHA512 da45c882248070911bf55698f62c245cb081a23254cdcf578df053905adb9117454235e52dcf1dd97c0d2248f92ff1d2fd3e18844a7be8d93ba08590c1eca22b +DIST windows_i686_msvc-0.52.5.crate 895404 BLAKE2B 02555169f8c5b944231a877de8693fc871ea0d7d33f52f60e164bacb35cec13d463af07c57fec4667948047cc222d8bda7f6a0be01a07e7184b69e4adc2b4577 SHA512 08c96f8e9385ac121549bae8ed228741b32004be20b2955d163a98d4b62af464f1682cb813681fa22823d20646f19335cf0a66203a876b105e119e05a4db0634 +DIST windows_x86_64_gnu-0.52.5.crate 831539 BLAKE2B 54f84c19988addeb7cbbbddb940e430e7345944589419592b99addf9b83bf6d801b18f4e80399b85bbb0b0ccf4608e36d9a50b79d8b1d6ce2b93745856e06eba SHA512 d9bf91765d02d2727344e42081f4bcfa73be97991495126f7e633f27e56a261ada3a8b865a559cfe71f9bc9aed5b14504f89138796766937b3521009726dfab8 +DIST windows_x86_64_gnullvm-0.52.5.crate 433246 BLAKE2B f34328a6d100e092ecb34a6305daedf4fecd71840432f104e8707f049b60d784584ce4f02fabdd0281fdb8bc7ebed34b38fdacf3be9c8abd60084e9a4ee9fd56 SHA512 22a978c40df9705cd94e4c52f2b706e477e667b564c608d0adb144b38cb486c279c09d1eb1dd2d6c7bd3401b75a2dc5eafe0f7d642ffe6453f394d1f59483a08 +DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6 EBUILD pdns-recursor-5.0.4.ebuild 2777 BLAKE2B 017fb252ba64ad28b38a8542606949d9b9bca52d28cf9d06d765fb33cd2845ae501ff28b9e5f34492ca07da5e7deb3277c2f844bb41d87108a84a543a883360f SHA512 f0a094a4a0578e8481f3a0d1d49779fd3e21957567e6752dee9d99fcaed326783ef44546324625fab6cb3d0182ba77ca3b0f7ec8a9ff54806ef29a92ccdeed74 EBUILD pdns-recursor-5.0.5.ebuild 2779 BLAKE2B dc48f8dddf04df873e10df05409900851583bc024b421b1ef7cb98b11e8284c2600c9867084e9bdfc0fecd05de90b3b7e6a2d5b09789a8540375995a762f3a0f SHA512 53bfa5d94115aa5aa14117fe395f4e8c249225ce83f7dd800dc1bebfc47e25d020b4df977e1710d7eaf04906d77975e9e7e68ab19a552ef5c168a680de750e5a -EBUILD pdns-recursor-5.0.6.ebuild 2779 BLAKE2B dc48f8dddf04df873e10df05409900851583bc024b421b1ef7cb98b11e8284c2600c9867084e9bdfc0fecd05de90b3b7e6a2d5b09789a8540375995a762f3a0f SHA512 53bfa5d94115aa5aa14117fe395f4e8c249225ce83f7dd800dc1bebfc47e25d020b4df977e1710d7eaf04906d77975e9e7e68ab19a552ef5c168a680de750e5a +EBUILD pdns-recursor-5.0.6.ebuild 2777 BLAKE2B 017fb252ba64ad28b38a8542606949d9b9bca52d28cf9d06d765fb33cd2845ae501ff28b9e5f34492ca07da5e7deb3277c2f844bb41d87108a84a543a883360f SHA512 f0a094a4a0578e8481f3a0d1d49779fd3e21957567e6752dee9d99fcaed326783ef44546324625fab6cb3d0182ba77ca3b0f7ec8a9ff54806ef29a92ccdeed74 +EBUILD pdns-recursor-5.0.7.ebuild 2779 BLAKE2B dc48f8dddf04df873e10df05409900851583bc024b421b1ef7cb98b11e8284c2600c9867084e9bdfc0fecd05de90b3b7e6a2d5b09789a8540375995a762f3a0f SHA512 53bfa5d94115aa5aa14117fe395f4e8c249225ce83f7dd800dc1bebfc47e25d020b4df977e1710d7eaf04906d77975e9e7e68ab19a552ef5c168a680de750e5a +EBUILD pdns-recursor-5.0.8.ebuild 2779 BLAKE2B dc48f8dddf04df873e10df05409900851583bc024b421b1ef7cb98b11e8284c2600c9867084e9bdfc0fecd05de90b3b7e6a2d5b09789a8540375995a762f3a0f SHA512 53bfa5d94115aa5aa14117fe395f4e8c249225ce83f7dd800dc1bebfc47e25d020b4df977e1710d7eaf04906d77975e9e7e68ab19a552ef5c168a680de750e5a +EBUILD pdns-recursor-5.1.1.ebuild 3087 BLAKE2B 4a90881c2f08a252a59996b6bf8c467258bff0af8a6b2908cf56587438b79acfed5f5f3f1859b514f6ffc0d8937681278803022245fc6fd8addb079e6915e346 SHA512 fc454ecbd1d0196f94ee547f4cebdacb73d393bd45b4c0f2fead8f5a55d9e22a78252caecec66a1213feec8959eaf80e1ee25368cd1f7c7e4ad32aacf640526c MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/files/pdns-recursor-r3 b/net-dns/pdns-recursor/files/pdns-recursor-r3 new file mode 100644 index 000000000000..02f8408e275b --- /dev/null +++ b/net-dns/pdns-recursor/files/pdns-recursor-r3 @@ -0,0 +1,31 @@ +#!/sbin/openrc-run +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +PDNS_CONFIGDIR="${PDNS_CONFIGDIR:-/etc/powerdns}" +[ "${RC_SVCNAME}" != "pdns-recursor" ] && PDNS_INSTANCE="${RC_SVCNAME#pdns-recursor.}" || PDNS_INSTANCE="" + +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}${PDNS_INSTANCE:+ --config-name=${PDNS_INSTANCE}} --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" + +control_command="/usr/bin/rec_control" +control_command_args="${command_args}" + +depend() { + need net +} + +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.6.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.6.ebuild index 35970c3ed18e..e244974c1501 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.0.6.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.0.6.ebuild @@ -46,7 +46,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 )" diff --git a/net-dns/pdns-recursor/pdns-recursor-5.0.7.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.7.ebuild new file mode 100644 index 000000000000..35970c3ed18e --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-5.0.7.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2024 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:=[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 +} + +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.0.8.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.8.ebuild new file mode 100644 index 000000000000..35970c3ed18e --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-5.0.8.ebuild @@ -0,0 +1,132 @@ +# Copyright 1999-2024 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:=[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 +} + +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.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.1.1.ebuild new file mode 100644 index 000000000000..d03d27cc9b1d --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-5.1.1.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +LUA_COMPAT=( lua5-{1..4} luajit ) + +CRATES=" + base64@0.21.7 + cc@1.0.98 + codespan-reporting@0.11.1 + cxx-build@1.0.122 + cxx@1.0.122 + cxxbridge-flags@1.0.122 + cxxbridge-macro@1.0.122 + equivalent@1.0.1 + hashbrown@0.14.5 + indexmap@2.2.6 + ipnet@2.9.0 + itoa@1.0.11 + link-cplusplus@1.0.9 + once_cell@1.19.0 + proc-macro2@1.0.84 + quote@1.0.36 + ryu@1.0.18 + scratch@1.0.7 + serde@1.0.203 + serde_derive@1.0.203 + serde_yaml@0.9.34+deprecated + syn@2.0.66 + termcolor@1.4.1 + unicode-ident@1.0.12 + unicode-width@0.1.12 + unsafe-libyaml@0.2.11 + winapi-util@0.1.8 + windows-sys@0.52.0 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.52.5 +" + +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:=[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 +} + +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 + + # rename .yml file to .conf, to facilitate easy upgrade and switch to .yml + mv "${D}"/etc/powerdns/recursor.{yml-dist,conf} || die + + sed -i \ + -e 's/^# set\([ug]\)id: '\'\''$/ set\1id: '\''pdns'\''/' \ + -e 's/^# chroot: '\'\''$/ chroot: '\''\/var\/lib\/powerdns'\''/' \ + "${D}"/etc/powerdns/recursor.conf || die + + newinitd "${FILESDIR}"/pdns-recursor-r3 pdns-recursor + + keepdir /var/lib/powerdns +} + +src_test() { + default +} + +pkg_postinst() { + einfo "Starting with 5.1.x we default to using the new yaml configuration file format." + einfo "The old configuration file format is still supported for now, but please update" + einfo "your recursor.conf to yaml using 'rec_control show-yaml'." +} diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest index 26271533c1e6..897d49273d74 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -1,10 +1,6 @@ AUX dnsdomain2.schema 6640 BLAKE2B d3efc6bc16390f35979f1184632e7184cf403453422888e2cb44fa4fed7891241919a39c8c6f539a61de032654650a45ea548a6983777ea1bfe029e817f2c315 SHA512 ac16f8d528d6138d3c2cbf997fd8fbb467d388aa63eb6ed4e7780a3dad11ea885b91252ff0809b1d2cf7d5200814b8963aab890af84741ea86d35b2f5955a7ea AUX pdns-4.9.1-lua-records-optional.patch 762 BLAKE2B c12f02962e245e05dd9a236de98470ca97bba352aa4329f9263e403419ecf1540cf277d8636f4b981ea2cbbc4c79762086fc08dfbc5bf64e019a66fef5398d75 SHA512 124b78c9d49a42f43d33330d5ce742eacf5714e60604455d602d36f886e3c1f6e29090a6e0916412fa0a28404272f0785abe0b67f0e62582814c5afcc9332238 AUX pdns-r1 2815 BLAKE2B cd607cb30a94540eca9cfa2defb7c996f6e151875fcaad8ad3357261937868bc346962f1080ad45a0ef38c2dfc126eb11e41837ee0784f677d1e7c071589a057 SHA512 4c0442d8d92d95268d4971f80782d2772e2a22c43da00566a9328c79a834e4355b2610d133034351d7137ed6cd7fda300f3db8093b09d5852cea44d983de1e39 -DIST pdns-4.8.4.tar.bz2 1334756 BLAKE2B b92a35ee3e76806bd24bd030428e74afae19a46333d2a444e2bb822300049f3be5afa260cbdadd435f45ba1cf160481c8ccd0bd386eeb4d2679498d650fb7bf7 SHA512 1e8ec7e5ba0c8d87d273eab866890d0fa999825f2ca50127c4337a627fb1aabc6a957608fc9e60b53d5fde8b76530dc08bda4463e62e642d9b1f74f6e097c774 -DIST pdns-4.9.0.tar.bz2 1364768 BLAKE2B a018459b250f181686d2638e4487dfd18ef1173f20798039be1f8f6e7134399bada5a9bf2aab16004026630c175f363b22d7749fdbfb0b8601699b29db1b1ed2 SHA512 73dcad9a6cc80e5ca2bdd28f1c49b1acab463ec51cb181324536a566ab26ac3a236099bd4eb03fbe98748f798ad0e11270fb8e6d52a33ea106c8dd2d97013388 DIST pdns-4.9.1.tar.bz2 1396230 BLAKE2B 810f655823dc612026ac3548cd432ea6a044ac26018ce0a1b5c29743c5e9b1df775b172dba741a79c1a0537d0d17ed4c5d9f748ac1385803ec83438f250d3cd6 SHA512 8be784615a4b35dd04af7584d1faf3e2b25665b31f83d8f64057ca164a2c4f0604c92c768b88a7b778aa13148fb2d0cedc328551b8c467b7b21011cfc3b33b1a -EBUILD pdns-4.8.4.ebuild 4383 BLAKE2B 5f6d499b05232aef460d2429ed0745e085af8f167d72cb253567166dc63fbf57d279f85d69948e94c881df35cc44399d46a5b78a6d8fe5109e051b20e005df31 SHA512 a696bb57d1d73bd61740b7231873a89f9fc0c7230f59a374ffaccfde148084ebed26cf4b9d393afac5328cf0f270b39446ce9c5e3862568567e8a8bb632d8c37 -EBUILD pdns-4.9.0.ebuild 4385 BLAKE2B adb30b033491236fe0e1dba3bf4c33efe9b2249d47e7346db80feb8afd8bb41ed06c8cb764e1396dc0e77b40ac60d8ab68f2a250f0f9f6c27cfe0293a8dac53a SHA512 8ff5585d2484fc4bf00fa7683426503e88366a300406ae932fb6f1187cb31c94d7221dc3927c809def24a2589174d6ad6fda0fd737daa9d581581889e63b222b -EBUILD pdns-4.9.1.ebuild 4445 BLAKE2B 3cc0e576e6cc7814f292505ad3f8f2dbaa75017385d5cbcdc6c20f85b7600394271655aa3665eafd8766c39f76e45038a189f3e02fa288ea9827b488621711ad SHA512 54385eb7bd028326b6aa864671a8e769e145a688357bebd7bdf6abc8d9f994f400b19bfd9b68aa2cd927bd8d7346a1e935084960a4951c0ea0ce863fccae144f +EBUILD pdns-4.9.1.ebuild 4443 BLAKE2B 47e9678cae957f627ec0aa3cc82f27ba332c5e2402d598bf1c98c6afcf22e1d2f9940f4c8abf783f2225bb2f3fd8382fab182f0f74cc6f0d67a12478289738e7 SHA512 a4269735d1b6a18a35804c96d068e92cc222e35fdc3b33290752264b1011e1fdb1af388e3f23382d83e9b1d46ca0a0eaa1392db46359a66ed81da601c3929f2d MISC metadata.xml 951 BLAKE2B 37f168bd4a7db2c11c6da9d5a07abc506c5b7115f10512b0e500cb3c3ea64758cd44d4222b2d750be3a731e8a6d12dee922f829ee5beb11eb1bd5c01f0827af1 SHA512 70612d620009416b680dc442cc0cfe7ea903f87a27f9b2e76fe77ad14eb1428f5a0133eb9e393bd286f404a755246250feeb5f5da63772aa2be2c5db4bc11ee9 diff --git a/net-dns/pdns/pdns-4.8.4.ebuild b/net-dns/pdns/pdns-4.8.4.ebuild deleted file mode 100644 index d0fbd003fae9..000000000000 --- a/net-dns/pdns/pdns-4.8.4.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) -PYTHON_COMPAT=( python3_{10..12} ) - -inherit flag-o-matic lua-single python-any-r1 - -DESCRIPTION="The PowerDNS Daemon" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" - -IUSE="debug doc geoip ldap lmdb lua-records mysql odbc postgres remote sodium sqlite systemd tools tinydns test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -DEPEND="${LUA_DEPS} - dev-libs/openssl:= - dev-libs/boost:= - lmdb? ( >=dev-db/lmdb-0.9.29 ) - lua-records? ( >=net-misc/curl-7.21.3 ) - mysql? ( dev-db/mysql-connector-c:= ) - postgres? ( dev-db/postgresql:= ) - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 ) - odbc? ( dev-db/unixODBC ) - sqlite? ( dev-db/sqlite:3 ) - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip ) - sodium? ( dev-libs/libsodium:= ) - tinydns? ( >=dev-db/tinycdb-0.77 ) - elibc_glibc? ( x86? ( >=sys-libs/glibc-2.34 ) )" -RDEPEND="${DEPEND} - acct-user/pdns - acct-group/pdns" - -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig - doc? ( app-text/doxygen[dot] )" - -S="${WORKDIR}"/${P/_/-} - -pkg_setup() { - lua-single_pkg_setup - python-any-r1_pkg_setup - append-lfs-flags - append-cppflags -D_TIME_BITS=64 -} - -src_configure() { - local cnf_dynmodules="bind lua2 pipe" # the default backends, always enabled - - use geoip && cnf_dynmodules+=" geoip" - use ldap && cnf_dynmodules+=" ldap" - use lmdb && cnf_dynmodules+=" lmdb" - use mysql && cnf_dynmodules+=" gmysql" - use odbc && cnf_dynmodules+=" godbc" - use postgres && cnf_dynmodules+=" gpgsql" - use remote && cnf_dynmodules+=" remote" - use sqlite && cnf_dynmodules+=" gsqlite3" - use tinydns && cnf_dynmodules+=" tinydns" - - econf \ - --disable-static \ - --sysconfdir=/etc/powerdns \ - --libdir=/usr/$(get_libdir)/powerdns \ - --with-service-user=pdns \ - --with-service-group=pdns \ - --with-modules= \ - --with-dynmodules="${cnf_dynmodules}" \ - --with-mysql-lib=/usr/$(get_libdir) \ - --with-lua="${ELUA}" \ - $(use_enable debug verbose-logging) \ - $(use_enable lua-records) \ - $(use_enable test unit-tests) \ - $(use_enable tools) \ - $(use_enable systemd) \ - $(use_with sodium libsodium) \ - ${myconf} -} - -src_compile() { - default - use doc && emake -C codedocs codedocs -} - -src_install() { - default - - mv "${D}"/etc/powerdns/pdns.conf{-dist,} - - fperms 0700 /etc/powerdns - fperms 0600 /etc/powerdns/pdns.conf - - # set defaults: setuid=pdns, setgid=pdns - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ - "${D}"/etc/powerdns/pdns.conf - - newinitd "${FILESDIR}"/pdns-r1 pdns - - keepdir /var/empty - - if use doc; then - docinto html - dodoc -r codedocs/html/. - fi - - # Install development headers - insinto /usr/include/pdns - doins pdns/*.hh - insinto /usr/include/pdns/backends/gsql - doins pdns/backends/gsql/*.hh - - if use ldap ; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/dnsdomain2.schema - fi - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - elog "PowerDNS provides multiple instances support. You can create more instances" - elog "by symlinking the pdns init script to another name." - elog - 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 - - echo - ewarn "To fix a security bug (bug #458018) had the following" - ewarn "files/directories the world-readable bit removed (if set):" - ewarn " ${EPREFIX}/etc/powerdns" - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" - 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} - - 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 - fi -} diff --git a/net-dns/pdns/pdns-4.9.0.ebuild b/net-dns/pdns/pdns-4.9.0.ebuild deleted file mode 100644 index 278cba886e04..000000000000 --- a/net-dns/pdns/pdns-4.9.0.ebuild +++ /dev/null @@ -1,165 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1..4} luajit ) -PYTHON_COMPAT=( python3_{10..12} ) - -inherit flag-o-matic lua-single python-any-r1 - -DESCRIPTION="The PowerDNS Daemon" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="debug doc geoip ldap lmdb lua-records mysql odbc postgres remote sodium sqlite systemd tools tinydns test" -RESTRICT="!test? ( test )" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -DEPEND="${LUA_DEPS} - dev-libs/openssl:= - dev-libs/boost:= - lmdb? ( >=dev-db/lmdb-0.9.29 ) - lua-records? ( >=net-misc/curl-7.21.3 ) - mysql? ( dev-db/mysql-connector-c:= ) - postgres? ( dev-db/postgresql:= ) - ldap? ( >=net-nds/openldap-2.0.27-r4:= app-crypt/mit-krb5 ) - odbc? ( dev-db/unixODBC ) - sqlite? ( dev-db/sqlite:3 ) - geoip? ( >=dev-cpp/yaml-cpp-0.5.1:= dev-libs/geoip ) - sodium? ( dev-libs/libsodium:= ) - tinydns? ( >=dev-db/tinycdb-0.77 ) - elibc_glibc? ( x86? ( >=sys-libs/glibc-2.34 ) )" -RDEPEND="${DEPEND} - acct-user/pdns - acct-group/pdns" - -BDEPEND="${PYTHON_DEPS} - virtual/pkgconfig - doc? ( app-text/doxygen[dot] )" - -S="${WORKDIR}"/${P/_/-} - -pkg_setup() { - lua-single_pkg_setup - python-any-r1_pkg_setup - append-lfs-flags - append-cppflags -D_TIME_BITS=64 -} - -src_configure() { - local cnf_dynmodules="bind lua2 pipe" # the default backends, always enabled - - use geoip && cnf_dynmodules+=" geoip" - use ldap && cnf_dynmodules+=" ldap" - use lmdb && cnf_dynmodules+=" lmdb" - use mysql && cnf_dynmodules+=" gmysql" - use odbc && cnf_dynmodules+=" godbc" - use postgres && cnf_dynmodules+=" gpgsql" - use remote && cnf_dynmodules+=" remote" - use sqlite && cnf_dynmodules+=" gsqlite3" - use tinydns && cnf_dynmodules+=" tinydns" - - econf \ - --disable-static \ - --sysconfdir=/etc/powerdns \ - --libdir=/usr/$(get_libdir)/powerdns \ - --with-service-user=pdns \ - --with-service-group=pdns \ - --with-modules= \ - --with-dynmodules="${cnf_dynmodules}" \ - --with-mysql-lib=/usr/$(get_libdir) \ - --with-lua="${ELUA}" \ - $(use_enable debug verbose-logging) \ - $(use_enable lua-records) \ - $(use_enable test unit-tests) \ - $(use_enable tools) \ - $(use_enable systemd) \ - $(use_with sodium libsodium) \ - ${myconf} -} - -src_compile() { - default - use doc && emake -C codedocs codedocs -} - -src_install() { - default - - mv "${D}"/etc/powerdns/pdns.conf{-dist,} - - fperms 0700 /etc/powerdns - fperms 0600 /etc/powerdns/pdns.conf - - # set defaults: setuid=pdns, setgid=pdns - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ - "${D}"/etc/powerdns/pdns.conf - - newinitd "${FILESDIR}"/pdns-r1 pdns - - keepdir /var/empty - - if use doc; then - docinto html - dodoc -r codedocs/html/. - fi - - # Install development headers - insinto /usr/include/pdns - doins pdns/*.hh - insinto /usr/include/pdns/backends/gsql - doins pdns/backends/gsql/*.hh - - if use ldap ; then - insinto /etc/openldap/schema - doins "${FILESDIR}"/dnsdomain2.schema - fi - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - elog "PowerDNS provides multiple instances support. You can create more instances" - elog "by symlinking the pdns init script to another name." - elog - 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 - - echo - ewarn "To fix a security bug (bug #458018) had the following" - ewarn "files/directories the world-readable bit removed (if set):" - ewarn " ${EPREFIX}/etc/powerdns" - ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" - 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} - - 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 - fi -} diff --git a/net-dns/pdns/pdns-4.9.1.ebuild b/net-dns/pdns/pdns-4.9.1.ebuild index aea5effc117f..e69c1cd08d4b 100644 --- a/net-dns/pdns/pdns-4.9.1.ebuild +++ b/net-dns/pdns/pdns-4.9.1.ebuild @@ -18,7 +18,7 @@ PATCHES=( 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 )" |