diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-04 04:27:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-04 04:27:18 +0100 |
commit | fa275aeb316ed5e68498ca0057b27a1e9c887e26 (patch) | |
tree | 1a167f06787ef709edff61d90f369164a0683705 /net-dns | |
parent | 9b22dab88308071d43d47cd078b37903900f47d3 (diff) |
gentoo auto-resync : 04:10:2024 - 04:27:17
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/Manifest.gz | bin | 7866 -> 7871 bytes | |||
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 6 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild | 132 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-5.1.2.ebuild (renamed from net-dns/pdns-recursor/pdns-recursor-5.1.1.ebuild) | 0 |
4 files changed, 136 insertions, 2 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex f56271b0532c..d65315ce2c20 100644 --- a/net-dns/Manifest.gz +++ b/net-dns/Manifest.gz diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index eaf3efaaff47..bca1051fb631 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -25,7 +25,8 @@ 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.8.tar.bz2 1675936 BLAKE2B 21bebcf135c310dc8b82223dd1dece8621b79bb34d2dd5f30970c577c300bf75728c45f138c36198ddacde004ac7e57f3a2083441577a355168c81730df6d125 SHA512 90d990cf6e8ce89252d0fc428265b93b70c974c9b86627fdf61534c5a5ecc85c2b3c51eb12d37a9bf6fcddf9e576dbc3c883e9f599687e7b2741a49194957c38 -DIST pdns-recursor-5.1.1.tar.bz2 1709091 BLAKE2B dd09852d14520dcb623a617e9af8342e63b731d5df818e25fcb4a5ed91782c90fa728a7dc808d8e22a66770d0113bfff34fda0f95da0695de26b2a48bebf5e48 SHA512 59129312e79bb48ce5af4de0c90f36765084708fd7b728655b07ca0cf68ba618a4bf517a9e695caaecc57e5edef4f6fa373719aa0b3e82e25d17a077883784d0 +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 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 @@ -64,5 +65,6 @@ 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.8.ebuild 2777 BLAKE2B 017fb252ba64ad28b38a8542606949d9b9bca52d28cf9d06d765fb33cd2845ae501ff28b9e5f34492ca07da5e7deb3277c2f844bb41d87108a84a543a883360f SHA512 f0a094a4a0578e8481f3a0d1d49779fd3e21957567e6752dee9d99fcaed326783ef44546324625fab6cb3d0182ba77ca3b0f7ec8a9ff54806ef29a92ccdeed74 -EBUILD pdns-recursor-5.1.1.ebuild 3084 BLAKE2B 672cf8d397b80736bf86278702b569625cbb123b9c2974ae004c061dffb48e3b1934366b2bce9d6651df20db0fd383f83dcc96ec8cc4d7c294cd536d1bedee49 SHA512 3412b16620d2d44d4de47683d7d2905037a68f52c297c6ecb6e6ecef3c6bd00473d6bb94aeff19a0063c545847303613bb0e18068a31d93fa918eb202d7f4957 +EBUILD pdns-recursor-5.0.9.ebuild 2779 BLAKE2B dc48f8dddf04df873e10df05409900851583bc024b421b1ef7cb98b11e8284c2600c9867084e9bdfc0fecd05de90b3b7e6a2d5b09789a8540375995a762f3a0f SHA512 53bfa5d94115aa5aa14117fe395f4e8c249225ce83f7dd800dc1bebfc47e25d020b4df977e1710d7eaf04906d77975e9e7e68ab19a552ef5c168a680de750e5a +EBUILD pdns-recursor-5.1.2.ebuild 3084 BLAKE2B 672cf8d397b80736bf86278702b569625cbb123b9c2974ae004c061dffb48e3b1934366b2bce9d6651df20db0fd383f83dcc96ec8cc4d7c294cd536d1bedee49 SHA512 3412b16620d2d44d4de47683d7d2905037a68f52c297c6ecb6e6ecef3c6bd00473d6bb94aeff19a0063c545847303613bb0e18068a31d93fa918eb202d7f4957 MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild new file mode 100644 index 000000000000..35970c3ed18e --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-5.0.9.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.2.ebuild index b6e990955b2c..b6e990955b2c 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.1.1.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.1.2.ebuild |