summaryrefslogtreecommitdiff
path: root/net-dns
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/Manifest.gzbin7881 -> 7884 bytes
-rw-r--r--net-dns/pdns-recursor/Manifest2
-rw-r--r--net-dns/pdns-recursor/pdns-recursor-5.1.3.ebuild134
3 files changed, 136 insertions, 0 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz
index e09fe3e18363..ceb1165ddafd 100644
--- a/net-dns/Manifest.gz
+++ b/net-dns/Manifest.gz
Binary files differ
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest
index 149e98c970df..c9fea2a1d315 100644
--- a/net-dns/pdns-recursor/Manifest
+++ b/net-dns/pdns-recursor/Manifest
@@ -26,6 +26,7 @@ DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574
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
DIST quote-1.0.33.crate 28090 BLAKE2B 77c4b166f1200e1ee2ab94a5014acd334c1fe4b7d72851d73768d491c56c6779a0882a304c1f30c88732a6168351f0f786b10516ae537cff993892a749175848 SHA512 c1e76c3c017e8554eebe309f8167fd56fce931981c06798aa85a0cc6d64a9cba6ab103f5a1324e69c6f9ca5dc47a8e31ff2e847850542748697afcd265b5939c
@@ -65,4 +66,5 @@ DIST windows_x86_64_gnullvm-0.52.5.crate 433246 BLAKE2B f34328a6d100e092ecb34a63
DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6
EBUILD pdns-recursor-5.0.9.ebuild 2777 BLAKE2B 017fb252ba64ad28b38a8542606949d9b9bca52d28cf9d06d765fb33cd2845ae501ff28b9e5f34492ca07da5e7deb3277c2f844bb41d87108a84a543a883360f SHA512 f0a094a4a0578e8481f3a0d1d49779fd3e21957567e6752dee9d99fcaed326783ef44546324625fab6cb3d0182ba77ca3b0f7ec8a9ff54806ef29a92ccdeed74
EBUILD pdns-recursor-5.1.2.ebuild 3084 BLAKE2B 672cf8d397b80736bf86278702b569625cbb123b9c2974ae004c061dffb48e3b1934366b2bce9d6651df20db0fd383f83dcc96ec8cc4d7c294cd536d1bedee49 SHA512 3412b16620d2d44d4de47683d7d2905037a68f52c297c6ecb6e6ecef3c6bd00473d6bb94aeff19a0063c545847303613bb0e18068a31d93fa918eb202d7f4957
+EBUILD pdns-recursor-5.1.3.ebuild 3084 BLAKE2B 672cf8d397b80736bf86278702b569625cbb123b9c2974ae004c061dffb48e3b1934366b2bce9d6651df20db0fd383f83dcc96ec8cc4d7c294cd536d1bedee49 SHA512 3412b16620d2d44d4de47683d7d2905037a68f52c297c6ecb6e6ecef3c6bd00473d6bb94aeff19a0063c545847303613bb0e18068a31d93fa918eb202d7f4957
MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1
diff --git a/net-dns/pdns-recursor/pdns-recursor-5.1.3.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.1.3.ebuild
new file mode 100644
index 000000000000..b6e990955b2c
--- /dev/null
+++ b/net-dns/pdns-recursor/pdns-recursor-5.1.3.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'."
+}