diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-09 04:26:45 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-09 04:26:45 +0000 |
commit | 70b888182faea1598e1b5e231078af492793858a (patch) | |
tree | d86ad10825fbafef78cb134e0c112cb04b3fedc2 /net-dns | |
parent | 4f8c8df3b07b6ea3556ab2bc7b252213bbdab3f3 (diff) |
gentoo auto-resync : 09:11:2023 - 04:26:45
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/Manifest.gz | bin | 8196 -> 8196 bytes | |||
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 4 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-4.9.1.ebuild | 2 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-4.9.2.ebuild | 91 |
4 files changed, 95 insertions, 2 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex 923e4547504f..ea11749f93fa 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 bf6c104404b4..3b4c36bb739c 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -1,6 +1,8 @@ AUX pdns-recursor-r2 1426 BLAKE2B 4407525f88d6e4299acdaa015e13866b70b2f697493218953c515e00af1476df7b8dbc87f6a39c50743d78b7f8efd2d3446e1a387f98ac4191cea2c04e10c175 SHA512 2f4d8458f6224a42103d28937d69228092c74c9c8c958833b292acf8959df1e617eafc13b65b95cf6eb4e06fb4fa7f23906c28b583865b6885949daaac12799e DIST pdns-recursor-4.9.0.tar.bz2 1551436 BLAKE2B 6e0dbaa6c666599b1d4246c544d8933d9b476b55f946c8a9d67c5983e3f2745947e3a225bd198d11566dd97a45e47022bba56f53a1a1b9b70b71b80656118f04 SHA512 c9694fe7c852441d55c9e89e7d212e7d5a3a4e81742adc5240f673f9bc91205a36a6071e5992baec078806e8ae73f390dfc0b5ed795365a35040284372f8e6ad DIST pdns-recursor-4.9.1.tar.bz2 1566613 BLAKE2B c5c8cc577739411b0106bf2ca26e4bca708b70c9294ac5f57086d64290a3d106dd001d06e42365efb4d448f130ce50406e5fd47a83f79c8f18236c4dbf0eff4f SHA512 f342699fad0cee9dadc6d59edb5770d1f81bac5a4cb3cf7fef0e1f15ae65ff504e95f0e9de91c36cdef40f6ab2c6a27aebdb377e1f043c4f03b82da7cbd9051b +DIST pdns-recursor-4.9.2.tar.bz2 1562694 BLAKE2B 21d5fc0645c9cac65ec71c4e11d285b5d166d688e650911854417bf8f92bd7948a9b1f71767689ea2fe370e7bfd96ba0987e31fb28d528a09cb3711ef3aedf33 SHA512 ee2dac5d256c9f4a9155fe6885522c5413482f0fd179099e956db2abbf4510fc6696fc1ac93bb4af341ebb2f052350637524267aa21fe6a0e92194e9219d1d45 EBUILD pdns-recursor-4.9.0.ebuild 2119 BLAKE2B 46c69cc7063a48dab45062d30a95a4a03f676c06eeb271eb7e10b77252e26ed663cfb9bffa847f3d928dda0cfc2e5755c834376464f4219e38e85a0a9c8ea84d SHA512 79445afa5a3ecd6fc88000fc8689ee110216ab69001d9e9a3a5c7232df0ee8af1f4b63263bba19f87d83ede577590504f2493c647e64020b98386e4bd588f363 -EBUILD pdns-recursor-4.9.1.ebuild 2121 BLAKE2B 21576797552c158cbcdb9e2b0f0100428ffd89026e2261ce9136e3625080ef6d2c62081a3ae635e064d78f74723ce0925adbe4ff63305593b273c3b4d5ed3406 SHA512 c34023ea7eeb995e2aa03b8f6ba6a8d82a4290d4bf18f0c1cc26a445d2f0cf8440dddcf21544442a2cfc2be45aa066c034e06494a2a28f528c1977d80c629ee9 +EBUILD pdns-recursor-4.9.1.ebuild 2119 BLAKE2B 46c69cc7063a48dab45062d30a95a4a03f676c06eeb271eb7e10b77252e26ed663cfb9bffa847f3d928dda0cfc2e5755c834376464f4219e38e85a0a9c8ea84d SHA512 79445afa5a3ecd6fc88000fc8689ee110216ab69001d9e9a3a5c7232df0ee8af1f4b63263bba19f87d83ede577590504f2493c647e64020b98386e4bd588f363 +EBUILD pdns-recursor-4.9.2.ebuild 2121 BLAKE2B 21576797552c158cbcdb9e2b0f0100428ffd89026e2261ce9136e3625080ef6d2c62081a3ae635e064d78f74723ce0925adbe4ff63305593b273c3b4d5ed3406 SHA512 c34023ea7eeb995e2aa03b8f6ba6a8d82a4290d4bf18f0c1cc26a445d2f0cf8440dddcf21544442a2cfc2be45aa066c034e06494a2a28f528c1977d80c629ee9 MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.9.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.9.1.ebuild index 08de25898f64..402e2ea18aa7 100644 --- a/net-dns/pdns-recursor/pdns-recursor-4.9.1.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-4.9.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" 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-4.9.2.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.9.2.ebuild new file mode 100644 index 000000000000..08de25898f64 --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-4.9.2.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2023 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="The PowerDNS Recursor" +HOMEPAGE="https://www.powerdns.com/" +SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" + +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-util/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_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 +} + +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 +} |