gentoo-ebuilds/net-dns/nsd/files/nsd-munin-gentoo-paths.patch
Joshua Kinard 8e0365b35f
net-dns/nsd: Add an ebuild for nsd-4.9.1 w/ many improvements
The ebuild for nsd-4.9.1 that includes a number of cleanups,
including adding in more USE flags to support additional switches
to nsd's configure script.  Other fixes include:
  - Significant input from @mjo to revamp the OpenRC initscript
    to be smarter about things
  - Added a /etc/conf.d/nsd file with sane defaults
  - Added the use of tmpfiles.d for nsd-control's socket in /run
  - Switching to use of the upstream-provided systemd service unit

In addition, the ebuilds for nsd-4.7.0 and nsd-4.8.0-r0 are dropped.

Closes: https://bugs.gentoo.org/927552
Signed-off-by: Joshua Kinard <kumba@gentoo.org>
2024-06-03 02:21:07 -04:00

17 lines
542 B
Diff

--- a/contrib/nsd_munin_
+++ b/contrib/nsd_munin_
@@ -87,10 +87,10 @@
=cut
-state=${statefile:-/usr/local/var/munin/plugin-state/nsd-state}
-conf=${nsd_conf:-/usr/local/etc/nsd.conf}
-ctrl=${nsd_control:-/usr/local/sbin/nsd-control}
-chkconf=${nsd_checkconf:-/usr/local/sbin/nsd-checkconf}
+state=${statefile:-$MUNIN_PLUGSTATE/nsd-state}
+conf=${nsd_conf:-/etc/nsd/nsd.conf}
+ctrl=${nsd_control:-/usr/sbin/nsd-control}
+chkconf=${nsd_checkconf:-/usr/sbin/nsd-checkconf}
lock=$state.lock
# number of seconds between polling attempts.