diff options
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/Manifest.gz | bin | 8207 -> 8203 bytes | |||
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 2 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-4.8.3.ebuild | 88 |
3 files changed, 90 insertions, 0 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex cc468fc92d61..47b4c0124eeb 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 105c0b2d7c8a..f494c4d8a475 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -2,6 +2,8 @@ AUX pdns-recursor-4.7.4-gcc-13.patch 424 BLAKE2B 240bc2fa4604beb43fef9d6b87155c2 AUX pdns-recursor-r2 1426 BLAKE2B 4407525f88d6e4299acdaa015e13866b70b2f697493218953c515e00af1476df7b8dbc87f6a39c50743d78b7f8efd2d3446e1a387f98ac4191cea2c04e10c175 SHA512 2f4d8458f6224a42103d28937d69228092c74c9c8c958833b292acf8959df1e617eafc13b65b95cf6eb4e06fb4fa7f23906c28b583865b6885949daaac12799e DIST pdns-recursor-4.7.4.tar.bz2 1609031 BLAKE2B b051a77f1c734546b26c3bb0030c0e57ee4621b14f0e92d7d294fb80fde599aa813f56a64750e1a00587fee8f05aa9ae1def94f3c3709b103223ed48124b66a7 SHA512 51ecccb557a5a9f3aa28144b60ab75b0fe5534bb2534b0a44662b474a01a0fae61f08b8ca787fc27f22b2a89b721ae66e1a954c4ceb829e66f89f286d5e174a8 DIST pdns-recursor-4.8.2.tar.bz2 1532488 BLAKE2B 697b1981f0ae9ef8823f8f8cd09f31083d5924fda9ce153eda25ffe0abf67bd92d972946e58d3f2ffc8cf822693cdd759915fdd148a457dc0659424c346455bd SHA512 024d3e2bc784dc29208be6640bd0c74d296f72d0753a2f9bb0b8befc7abe08e8c1852fc707ddf17562c8b333329646c3a9e6e059c46188b2acf3b6b4e28a246f +DIST pdns-recursor-4.8.3.tar.bz2 1525607 BLAKE2B 3051f272602ac80e38ce1166f28cb57d6e57213121f52f7a0b00dc564fe07fd2e9d26e3d3401560e9249e06f6b28c29859d1a86693d4f4864c16b9ad304f29d2 SHA512 ed38315cae26237ebab8932710d3d9badaea51367a1e68842daef213f28c0ba2e12e7c141234055e585f08195c42b466320af8bad527245e2aaf57ec1bd35f2d EBUILD pdns-recursor-4.7.4.ebuild 2075 BLAKE2B 80e268c699a6fa75d99cef95699d0c1b3eb0e64c8dc85d7bb3df22f3fce5bbc6ed22ca5e4cf838ad84727e8d21a1fe718c6ba54120a0f13620080bfe7d5353df SHA512 5f12e65f5b7b5f80ec8fa6c26ca162a739aeae3908580611ed07f07ccf68df745fbe95885c3ed5dd3ba6f750a4616b470a3b977dcbf4de7928f0c36614a4a2cc EBUILD pdns-recursor-4.8.2.ebuild 2031 BLAKE2B 659945f86f7874b96b02ccfcf910538916bbbe35a1b1d31915256a1a2fbd3b72e4eb7d5b9f150a5c14fe87430352eea15f083aa51284493b3ee7a86860561af3 SHA512 cc895c1678e2a9ec34b87491d78d793c3ae9a539cdd39cf5b1eb942730f21dd83dd00cf40975fcbbd3e362e6222385f65f26f34f595c0f276c6d8c3d2c4ecc38 +EBUILD pdns-recursor-4.8.3.ebuild 2033 BLAKE2B ca77098a5359fb83f72ef7c2dda7cb4409b0a82b36dd9fc266f182d7780a06b98ddeb1fcbd4a0ac7474c5904266aa2a3ff1f3b74057ac0ebb6c8eb96594ee846 SHA512 7d80cd1f575928e3beafd8575cc8fad2bf6fb175fd41df85fb0cc8563e0346060d0ef710e94999fe53e462eeb4e1db12ff69e3dbbdd02c67631986acbdd71c5b MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.8.3.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.8.3.ebuild new file mode 100644 index 000000000000..6789d8a0e920 --- /dev/null +++ b/net-dns/pdns-recursor/pdns-recursor-4.8.3.ebuild @@ -0,0 +1,88 @@ +# 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" +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" +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_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 +} |