diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-16 02:01:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-16 02:01:58 +0000 |
commit | e07c6f9648d478943b5ecd6f1c42cc91cae0f547 (patch) | |
tree | 2c56c6944fb4016ee510ee97a1a158baf49edfe4 /net-dns | |
parent | 16a4365c3b854e62b50726456ddb29bb78fd5038 (diff) |
gentoo auto-resync : 16:12:2024 - 02:01:58
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/Manifest.gz | bin | 7876 -> 7873 bytes | |||
-rw-r--r-- | net-dns/c-ares/Manifest | 3 | ||||
-rw-r--r-- | net-dns/c-ares/c-ares-1.34.4.ebuild | 109 | ||||
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 2 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-5.1.2-r1.ebuild | 135 | ||||
-rw-r--r-- | net-dns/pdns/Manifest | 3 | ||||
-rw-r--r-- | net-dns/pdns/files/pdns-4.9.1-lua-records-optional.patch | 18 | ||||
-rw-r--r-- | net-dns/pdns/pdns-4.9.1.ebuild | 169 |
8 files changed, 112 insertions, 327 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex 5647ea17aab6..74b81e9f4e0b 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 88c670500ddf..92bc924f7cfc 100644 --- a/net-dns/c-ares/Manifest +++ b/net-dns/c-ares/Manifest @@ -2,6 +2,9 @@ DIST c-ares-1.33.1.tar.gz 1044943 BLAKE2B d8084db84da252ced8cc91b4ed523a5309dbc7 DIST c-ares-1.33.1.tar.gz.asc 228 BLAKE2B 4908cc70133d75f926387873b0bf7b274c8ab162391b73da2a9f25658bda52763f41ffb1aa4236cdc14efa7bcbbba32d3b0be8bd95161654901c304a4f14f6f8 SHA512 f9c8c8965046176104487939b04a38f3f6e68693ff1ef239ce988cf4c56dfacf2766482857d480a4022d6101c2591c013d8687d4bbf009e40863c1d7a95c2fad DIST c-ares-1.34.3.tar.gz 997244 BLAKE2B fb66f4c8ae4c2e03e8f75ee72259dbe83d7bed5e72a7936f785121c3d02267375f67c734bae7213ec48bac9277d48e3bed4225fd03ba69dacd120b97dcc3e421 SHA512 f122d27cc76c20b41f9659b8bc662a8d82b857f8c066b1216b0349228d996224e42a7a0535bcdd6a3928b437c67d18726bfcb51c93f3a9801eebda6574e39c78 DIST c-ares-1.34.3.tar.gz.asc 228 BLAKE2B 40e76fbc23a8aece1749a66499e469299e9df8174923ceeac788dd0ef0a8f029e79c550db1e8850e472b0d584215b52e3cedb5b7c4d3eb1daad8fc96864ad536 SHA512 f6ffcd6ef2571f51899f138d0f13003243e3031a2e4a1f96878c4fdd114c8682ee24c2826f9cfaa2022750058a2e11cb188972e9f369b87974b5abc351a5bc7b +DIST c-ares-1.34.4.tar.gz 1001209 BLAKE2B 31b0f6820079105b44714dbd6074bbc31f0552a1387437dc43b8ec80dce9cdd6678a89734d32fcdf3fdd9358197d4b866b7b67286f2efc26463c178f049cdc54 SHA512 3285e14d94bc736d6caddfe7ad7e3c6a6e69d49b079c989bb3e8aba4da62c022e38229d1e691aaa030b7d3bcd89e458d203f260806149a71ad9adb31606eae02 +DIST c-ares-1.34.4.tar.gz.asc 228 BLAKE2B 9ceb0735dfdc200f34cfbf6b9b6af4ef3f8d8897478c695b179a76edfb126532420a42d3379006c1bb601660a703aa2775c4a585db90b51b2bfc2b0b89c4d1f8 SHA512 595f1980f61c10c01666b6c596a70b5312474b7a4432b045e0e57004d66c147c6f73643b258e04a0fdd81ff804bf9c36f51b1c95edb2c52e09829a6fcca5b468 EBUILD c-ares-1.33.1.ebuild 3037 BLAKE2B 7a08dd800ff17d153fd103cae3ec1fde2cf62029ca786f7b64455d7d5f0d27ba89f3d61ef44b1d5dd0c6ac77280fb685ca25d9ba59583b02f205ba773db0d716 SHA512 2d1614448f888e31b4f1d92c6b57ad209f486027bbcca7d1cae8ab5171c288fac4745e8ba20a081c077c716c38706034b02b2a70981ec358163caa1770426258 EBUILD c-ares-1.34.3.ebuild 3039 BLAKE2B 9cb42351046a48289dcb25d1f7c4cbf1abf8c7f315113de4ed802247cd11084d4df1ae7ee3a74b0b8d5e85d3ba8333b3b2d61398b537239d2fc5584a6b86f1a0 SHA512 46fbba93956383c8c6763e2ed8f03369916093f16d380a27f5ef9b94005f371f47a98e35e79acbf4e37466510d5c8cc3086042e0198c688cf08f761cbebba8f5 +EBUILD c-ares-1.34.4.ebuild 3049 BLAKE2B f235849e16758cd6da365f8514ced768b8bbd56ff038d5f920f3ff0f1773751686ac3bf5e9310710102885477051fb87c8d2c02f8220fb306d2d925152a3b664 SHA512 f6c3e017be9ecf244e52961bde2d275e32b468873554229586a33e4fbd7b43bb41f74449a11088bd7fa3a6ce143fc8b3a1f0372b3d22cba23bf74a01df2ebfd5 MISC metadata.xml 402 BLAKE2B ab03bca92ec4073f5a877993558552136f0ae673f98619aa1f30eb94b6d8f2103b1cf77d23a9f2b3d56ee33af23d626ee230e480a3e3e0bc174df879082466bd SHA512 e02d13db5d10b1aaaae5680247a6b47610dda28a13b7754d2b97f08a760ce732957c96fb6e88ce7fd2076bfec275e72bfbb3dec802940f0159122364ab21acda diff --git a/net-dns/c-ares/c-ares-1.34.4.ebuild b/net-dns/c-ares/c-ares-1.34.4.ebuild new file mode 100644 index 000000000000..756f84c586f6 --- /dev/null +++ b/net-dns/c-ares/c-ares-1.34.4.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 ~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 ares_cv_user_namespace=no + export ares_cv_uts_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/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index b5d1e8831415..069ae902c4cb 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -25,7 +25,6 @@ DIST link-cplusplus-1.0.9.crate 7484 BLAKE2B 4f73807068243aa0dc4b6773c5446fc9881 DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST pdns-recursor-5.0.9.tar.bz2 1679197 BLAKE2B 1f69f0aa800b8265a580eb9ac2101e19fc383c5a0d8ead98420d399f97fda748cff4e6d7b090259197be2d822e71f65d3c62ddf7710c56cc1e6ca7b600d972d0 SHA512 4fcb417e63383111bbb784b440c5b9bf9351a4d8dfae404aa468515cd74a4789fb969b8f3bcee1a08792dcb01a2d8129bbb671db1959f523e557bf69a4bc0fca -DIST pdns-recursor-5.1.2.tar.bz2 1723288 BLAKE2B 2698d56e55ccf9538ac83b8a652616c90ab6b3fb3081975991ffb6580b31e268ca3b4a126cf5a92fb6f42d282a748b32b899c2711a2705899d6f82a25a9c6465 SHA512 c7d6f188d27c6f11b128945b7615f2f18caf1777b5122f5d4a85ef341b3117b3c26d91af3ecd32fc5cf76ccdb63598e874914f6c7f3e295857cca1a1eb89b61f DIST pdns-recursor-5.1.3.tar.bz2 1718665 BLAKE2B 1030d7ee0b4fc06a4e20f23249167d21ac6439218652a5853ea5f3aaaa476c5bd659cf0e79df27cf42ab6efdd9f5ade856ddde8716aacd1914fe8f8f8792549f SHA512 6ff144efb60125c5fa66232852f267270a24f4b656d039f167be007b6aefb65fb68e53007a868493fca11f7e33916565fb3e4de87dd9bd0899f2d975271a72ec DIST proc-macro2-1.0.69.crate 44271 BLAKE2B 9d1531a0b123e6238363d574bee03ad050454b65710b9800c12597f3a9ae2f9bf50c617da0472b7ac0b549afaca19c546ccd6519e648598500efda9c0db2ef6d SHA512 d197cbe9b6100c3193a01fd7dd6b4e49d440290012ababb5d9f139409f0afe816f213d67a03abeb1f3227228e0a1f2446d1dc0a2775363a15d1237c38b45d6a1 DIST proc-macro2-1.0.84.crate 48922 BLAKE2B 51f73a6bbc3cc42aa5bb5c3f4bf404a0c7803f7219673771d375ab288c638113f496e932b98981ef56dac755d9387f888a4147864d8f9364cef47644ea179161 SHA512 0d0bd0cc1f457b6d5feb9fd6da670f2a0662d15d88e5d20d4d308103c689a103861b3838eb25e5144cf24fb87abffdebb3175989285a03f08730ce3daa55e35e @@ -65,6 +64,5 @@ DIST windows_x86_64_gnu-0.52.5.crate 831539 BLAKE2B 54f84c19988addeb7cbbbddb940e 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.9-r1.ebuild 2793 BLAKE2B 656633daf1a276eeac5fb5f1d9010e48bc9fd21d8afff0a3540d9ff7e52acc563a5e64c3ef882067370bdb175c0c0413a07b2c986f2b405113e78778012f85b2 SHA512 bb1f53aade4b46d486cdca36656cabb14b1e8b07efad2741de3fe8f2c2f22863f7c0893d74841cd55a46d0a1b366c8b8bc0c414b458faa3834239ac5593a5730 -EBUILD pdns-recursor-5.1.2-r1.ebuild 3100 BLAKE2B 93a13ad5049b7db9ee69e1052426176e7a902bb5db802a703715957754c5cb91ad5c2e41626f2003697e92bbe838eb0e927c61e8bba20744e4b12ba521e1dbc7 SHA512 fed2af90aaa88bbc65208ecdb669748c6f80b27b2fa26bc37b4e80cd2ae10a78d2090f0ff032b9af784ae4550e3a17da8eaaf47f369fea3f638982368250167b EBUILD pdns-recursor-5.1.3-r1.ebuild 3100 BLAKE2B 93a13ad5049b7db9ee69e1052426176e7a902bb5db802a703715957754c5cb91ad5c2e41626f2003697e92bbe838eb0e927c61e8bba20744e4b12ba521e1dbc7 SHA512 fed2af90aaa88bbc65208ecdb669748c6f80b27b2fa26bc37b4e80cd2ae10a78d2090f0ff032b9af784ae4550e3a17da8eaaf47f369fea3f638982368250167b MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/pdns-recursor-5.1.2-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.1.2-r1.ebuild deleted file mode 100644 index e02040bf9ecb..000000000000 --- a/net-dns/pdns-recursor/pdns-recursor-5.1.2-r1.ebuild +++ /dev/null @@ -1,135 +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 ) - -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 - rust_pkg_setup -} - -src_configure() { - econf \ - --sysconfdir=/etc/powerdns \ - --with-nod-cache-dir=/var/lib/powerdns \ - --with-service-user=pdns \ - --with-service-group=pdns \ - --with-lua="${ELUA}" \ - $(use_enable debug verbose-logging) \ - $(use_enable systemd) \ - $(use_enable dnstap dnstap) \ - $(use_enable test unit-tests) \ - $(use_enable valgrind) \ - $(use_with sodium libsodium) \ - $(use_with snmp net-snmp) -} - -src_compile() { - default -} - -src_install() { - default - - # 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 bb97ae340a17..86d9a6d14a2b 100644 --- a/net-dns/pdns/Manifest +++ b/net-dns/pdns/Manifest @@ -1,8 +1,5 @@ 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.9.1.tar.bz2 1396230 BLAKE2B 810f655823dc612026ac3548cd432ea6a044ac26018ce0a1b5c29743c5e9b1df775b172dba741a79c1a0537d0d17ed4c5d9f748ac1385803ec83438f250d3cd6 SHA512 8be784615a4b35dd04af7584d1faf3e2b25665b31f83d8f64057ca164a2c4f0604c92c768b88a7b778aa13148fb2d0cedc328551b8c467b7b21011cfc3b33b1a DIST pdns-4.9.2.tar.bz2 1378434 BLAKE2B 96a5ae874b3df27f00891d8e6e399fb529371bb70dffa4cb7167887da5ef231809faac1cddfc3ec84a0ccb286487d8c5c9ba5f5b8ed12398260cc5c4f369407f SHA512 42292d5dadadf39077a5be2bb0f973292375e2d0695738bfee73d91681f9e7b0e313343dafa042ce3c7141e3132ee5756cb42eabab2188c02adb44fa07866235 -EBUILD pdns-4.9.1.ebuild 4443 BLAKE2B 47e9678cae957f627ec0aa3cc82f27ba332c5e2402d598bf1c98c6afcf22e1d2f9940f4c8abf783f2225bb2f3fd8382fab182f0f74cc6f0d67a12478289738e7 SHA512 a4269735d1b6a18a35804c96d068e92cc222e35fdc3b33290752264b1011e1fdb1af388e3f23382d83e9b1d46ca0a0eaa1392db46359a66ed81da601c3929f2d EBUILD pdns-4.9.2.ebuild 4383 BLAKE2B b7b4b79fe965a5d133426a74f9963267788ee285c4ad2ff50177ca6a3cb7538883bee3bf3bdf3a9a084e4810be4f02a6df86eb06f4d218e56a7843c1a163c9ff SHA512 f930d20162fa7d6e010268fa9c35de71860c3b44143a0b931a898c4b1aeee2087480e8a41454f04bfd222e49dc45332cdfdc744c8fdd1cf359695dc19e8d6613 MISC metadata.xml 951 BLAKE2B 37f168bd4a7db2c11c6da9d5a07abc506c5b7115f10512b0e500cb3c3ea64758cd44d4222b2d750be3a731e8a6d12dee922f829ee5beb11eb1bd5c01f0827af1 SHA512 70612d620009416b680dc442cc0cfe7ea903f87a27f9b2e76fe77ad14eb1428f5a0133eb9e393bd286f404a755246250feeb5f5da63772aa2be2c5db4bc11ee9 diff --git a/net-dns/pdns/files/pdns-4.9.1-lua-records-optional.patch b/net-dns/pdns/files/pdns-4.9.1-lua-records-optional.patch deleted file mode 100644 index 6a90e0d14cd4..000000000000 --- a/net-dns/pdns/files/pdns-4.9.1-lua-records-optional.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/pdns/pdnsutil.cc -+++ b/pdns/pdnsutil.cc -@@ -378,6 +378,7 @@ static int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, con - if(rr.qtype.getCode() == QType::A || rr.qtype.getCode() == QType::AAAA) { - addresses.insert(rr.qname); - } -+#ifdef HAVE_LUA_RECORDS - if(rr.qtype.getCode() == QType::LUA) { - shared_ptr<DNSRecordContent> drc(DNSRecordContent::make(rr.qtype.getCode(), QClass::IN, rr.content)); - auto luarec = std::dynamic_pointer_cast<LUARecordContent>(drc); -@@ -386,6 +387,7 @@ static int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, con - addresses.insert(rr.qname); - } - } -+#endif - if(rr.qtype.getCode() == QType::A) { - arecords.insert(rr.qname); - } diff --git a/net-dns/pdns/pdns-4.9.1.ebuild b/net-dns/pdns/pdns-4.9.1.ebuild deleted file mode 100644 index e69c1cd08d4b..000000000000 --- a/net-dns/pdns/pdns-4.9.1.ebuild +++ /dev/null @@ -1,169 +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" - -PATCHES=( - "${FILESDIR}"/${P}-lua-records-optional.patch -) - -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 -} |