1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-12 06:49:18 -04:00
ports/sysutils/munin-common/files/patch-node_sbin_munin-node-configure
Mathieu Arnold 2ff6de7ee9 Fix the bind9_rndc plugin wrt Perl 5.18+ hash randomzation.
While there, group all patches for the three ports in munin-common, and remove
an obsolete patch.

PR:		195689
Submitted by:	Vlad "Blackflow" K.
Sponsored by:	Absolight
2014-12-10 15:52:14 +00:00

13 lines
451 B
Text

--- node/sbin/munin-node-configure.orig 2014-11-24 21:46:24 UTC
+++ node/sbin/munin-node-configure
@@ -23,6 +23,10 @@ use warnings;
use Getopt::Long;
+# plugins run in taint mode because the uid is changed, so the path
+# must not contain writable directories.
+$ENV{PATH}='/bin:/sbin:/usr/bin:/usr/sbin:%%PREFIX%%/bin:%%PREFIX%%/sbin';
+
use Munin::Common::Defaults;
use Munin::Node::Configure::PluginList;
use Munin::Node::Configure::Debug;