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 <kumba@gentoo.org>
This commit is contained in:
Joshua Kinard
2024-06-05 00:22:35 -04:00
parent 0f870f9bdf
commit 659bd85db8
2 changed files with 3 additions and 2 deletions

View File

@@ -12,12 +12,13 @@
<flag name="ipv6">Enable IPv6 support</flag>
<flag name="largefile">Enables support for large files</flag>
<flag name="libevent">Use libevent or libev, useful when zone count is high</flag>
<flag name="mmap">Use mmap(2) instead of malloc(3); currently experimental</flag>
<flag name="memclean">Cleanup memory (at exit) for eg. valgrind, memcheck</flag>
<flag name="minimal-responses">If minimal responses are disabled, responses are more likely to get truncated, resulting in TCP fallback</flag>
<flag name="munin">Install a plugin for <pkg>net-analyzer/munin</pkg> to graph statistical data from nsd</flag>
<flag name="nsec3">Enable NSEC3 support</flag>
<flag name="packed">Enable packed structure alignment; uses less memory but has unaligned reads</flag>
<flag name="radix-tree">Use a red-black tree for main lookups; uses less memory at the expense of more CPU</flag>
<flag name="radix-tree">Use a radix tree for main lookups instead of a red-black tree</flag>
<flag name="ratelimit">Enables ratelimiting, based on query name, type and source</flag>
<flag name="recvmmsg">Enable recvmmsg and sendmmsg compilation, faster but some kernel versions may have implementation problems for IPv6</flag>
<flag name="root-server">Configure NSD as a root server (OBSOLETE: removed in >=4.9.x)</flag>

View File

@@ -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.