From 659bd85db80d1a68d6270e445f8a9b2ca4a39979 Mon Sep 17 00:00:00 2001 From: Joshua Kinard Date: Wed, 5 Jun 2024 00:22:35 -0400 Subject: net-dns/nsd: Fix several minor issues w/ 4.9.1's ebuild Corrects an issue found in a local USE flag description, add 'mmap' as a local USE flag so we can annotate that it's experimental, and fix a misquoted variable in the USE munin case. Closes: https://bugs.gentoo.org/933508 Closes: https://bugs.gentoo.org/933509 Closes: https://bugs.gentoo.org/933534 Signed-off-by: Joshua Kinard --- net-dns/nsd/metadata.xml | 3 ++- net-dns/nsd/nsd-4.9.1.ebuild | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/net-dns/nsd/metadata.xml b/net-dns/nsd/metadata.xml index b674d51d0880..1afdcd842cc0 100644 --- a/net-dns/nsd/metadata.xml +++ b/net-dns/nsd/metadata.xml @@ -12,12 +12,13 @@ Enable IPv6 support Enables support for large files Use libevent or libev, useful when zone count is high + Use mmap(2) instead of malloc(3); currently experimental Cleanup memory (at exit) for eg. valgrind, memcheck If minimal responses are disabled, responses are more likely to get truncated, resulting in TCP fallback Install a plugin for net-analyzer/munin to graph statistical data from nsd Enable NSEC3 support Enable packed structure alignment; uses less memory but has unaligned reads - Use a red-black tree for main lookups; uses less memory at the expense of more CPU + Use a radix tree for main lookups instead of a red-black tree Enables ratelimiting, based on query name, type and source Enable recvmmsg and sendmmsg compilation, faster but some kernel versions may have implementation problems for IPv6 Configure NSD as a root server (OBSOLETE: removed in >=4.9.x) diff --git a/net-dns/nsd/nsd-4.9.1.ebuild b/net-dns/nsd/nsd-4.9.1.ebuild index eb62a90576fc..53cbc4f1d5f1 100644 --- a/net-dns/nsd/nsd-4.9.1.ebuild +++ b/net-dns/nsd/nsd-4.9.1.ebuild @@ -122,7 +122,7 @@ src_install() { exeinto "/usr/libexec/munin/plugins" doexe contrib/nsd_munin_ insinto "/etc/munin/plugin-conf.d" - newins "${FILESDIR}/nsd.munin-conf nsd_munin" + newins "${FILESDIR}/nsd.munin-conf" nsd_munin fi # Use the upstream-provided systemd service file. -- cgit v1.2.3-65-gdbad