commit:     659bd85db80d1a68d6270e445f8a9b2ca4a39979
Author:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 04:22:35 2024 +0000
Commit:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 04:24:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659bd85d

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 <AT> gentoo.org>

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

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.

Reply via email to