From 0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Jun 2024 00:08:04 +0100 Subject: gentoo auto-resync : 10:06:2024 - 00:08:04 --- net-dns/Manifest.gz | Bin 7699 -> 7710 bytes net-dns/pdns-recursor/Manifest | 2 + net-dns/pdns-recursor/pdns-recursor-5.0.6.ebuild | 132 ++++++++++++++++ net-dns/pdns/Manifest | 3 + .../files/pdns-4.9.1-lua-records-optional.patch | 18 +++ net-dns/pdns/pdns-4.9.1.ebuild | 169 +++++++++++++++++++++ net-dns/s6-dns/Manifest | 2 +- net-dns/s6-dns/s6-dns-2.3.7.1.ebuild | 4 +- 8 files changed, 327 insertions(+), 3 deletions(-) create mode 100644 net-dns/pdns-recursor/pdns-recursor-5.0.6.ebuild create mode 100644 net-dns/pdns/files/pdns-4.9.1-lua-records-optional.patch create mode 100644 net-dns/pdns/pdns-4.9.1.ebuild (limited to 'net-dns') diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz index 98c0d9483894..ff7ffe7a9178 100644 Binary files a/net-dns/Manifest.gz and b/net-dns/Manifest.gz differ diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index 6c3539c7ede3..def1813da42b 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -15,6 +15,7 @@ DIST link-cplusplus-1.0.9.crate 7484 BLAKE2B 4f73807068243aa0dc4b6773c5446fc9881 DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 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 proc-macro2-1.0.69.crate 44271 BLAKE2B 9d1531a0b123e6238363d574bee03ad050454b65710b9800c12597f3a9ae2f9bf50c617da0472b7ac0b549afaca19c546ccd6519e648598500efda9c0db2ef6d SHA512 d197cbe9b6100c3193a01fd7dd6b4e49d440290012ababb5d9f139409f0afe816f213d67a03abeb1f3227228e0a1f2446d1dc0a2775363a15d1237c38b45d6a1 DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c DIST ryu-1.0.15.crate 46906 BLAKE2B 6d6949e43aaa27fba0ec6002fa11ba859af8d867f87c90d88413267186abbf6302b817985bca3d577ab3fab2e319e11756f144473a16330dfd8fc7b604cdc4b3 SHA512 4655b5647f919082a9b84b889539ae7fb23a1201057cf280efe79c58cb5f040864efb7812cda5021bf6d34838a15d173ac8bdb0fb9fa2dba85173d3efa5a826b @@ -33,4 +34,5 @@ DIST winapi-util-0.1.6.crate 12234 BLAKE2B b8db8ec9d7ada5532a22a2d070320174c32ec DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513 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 MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/pdns-recursor-5.0.6.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.6.ebuild new file mode 100644 index 000000000000..35970c3ed18e --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-5.0.6.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} + ! drc(DNSRecordContent::make(rr.qtype.getCode(), QClass::IN, rr.content)); + auto luarec = std::dynamic_pointer_cast(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 new file mode 100644 index 000000000000..aea5effc117f --- /dev/null +++ b/net-dns/pdns/pdns-4.9.1.ebuild @@ -0,0 +1,169 @@ +# 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. and PowerDNS will use the" + elog "/etc/powerdns/pdns-.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/s6-dns/Manifest b/net-dns/s6-dns/Manifest index 230d77652843..f83f13fa6184 100644 --- a/net-dns/s6-dns/Manifest +++ b/net-dns/s6-dns/Manifest @@ -1,3 +1,3 @@ DIST s6-dns-2.3.7.1.tar.gz 92354 BLAKE2B 52f3535cf508054044da74b8fdf03246d8dce11ffaa22f427c18ea27a8a61a46e7bb43bc50962f5c6f04a0b73e8d960a3e9f9acf9ea7c8a66f9706f4c3b8dd69 SHA512 9dabee86d9a27fb0e4a3c10563694bb5734c08c4d730a69daec17dad140274aa104bd6edbd501261c7a7c7bcee505f79134b7119457d5fbedcbb2be6b352ebb0 -EBUILD s6-dns-2.3.7.1.ebuild 1039 BLAKE2B 1ae9dd159285691acd57aae5f875b838bbbf9b26f4cccb94dbce1a257abd7d79d30937630c0138c57811caa8afd40cd31dab91376e0bb485e24a8150de923819 SHA512 e186b1b1e9950a812a204ee125314162cee7697f243a9c18eb641b6b8db67f72868288879627a6978e937f92b31656691245526fe7cb615713fa5f4f24d6ea48 +EBUILD s6-dns-2.3.7.1.ebuild 1051 BLAKE2B 79fde51a5fd1ea789b0a42d10f08cb6610d1106924aff27910073ba73cf0532c37a692575c3731836afe866617c4fd36a3e13fd6bffc0efb836f3ada8fb61d25 SHA512 9da03b74ef69063f7b0f1cd465dd1d2eaafc371dfaba9f2ab9690797c970cceab2812b90dcf6f2fe948f1b6b0c45b68e4a02b598c060625e65683a6535a728e3 MISC metadata.xml 541 BLAKE2B fe1fecc98d264ec186e4f38c511d49f7b5c76f51bc8cfeab926a9274760a13b9e4f1c68d7fdd717c7d2f2aac300f12be9be03ccac0cc97fb87df09bd8d3c1aaf SHA512 137168973505bcb11b9801337a2f6d46096b169f9be1a97c435e5f683ce90d9b2ec01269057c6cba87166cb593d74e823717e831122b78d835a980c0da5b4bdc diff --git a/net-dns/s6-dns/s6-dns-2.3.7.1.ebuild b/net-dns/s6-dns/s6-dns-2.3.7.1.ebuild index cc862d7aeb48..e566ec1b44b9 100644 --- a/net-dns/s6-dns/s6-dns-2.3.7.1.ebuild +++ b/net-dns/s6-dns/s6-dns-2.3.7.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" LICENSE="ISC" SLOT="0/$(ver_cut 1-2).7.1" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" RDEPEND=">=dev-libs/skalibs-2.14.0.0:=" DEPEND="${RDEPEND}" -- cgit v1.2.3