summaryrefslogtreecommitdiff
path: root/sysutils/munin-common/files/patch-node_sbin_munin-node-configure
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2014-12-10 15:52:14 +0000
committerMathieu Arnold <mat@FreeBSD.org>2014-12-10 15:52:14 +0000
commit2ff6de7ee9df7257463fcccb9cc62815f7971552 (patch)
treee2208a6fea71c2f18a82ec66c6b61c7803a64617 /sysutils/munin-common/files/patch-node_sbin_munin-node-configure
parentRemove the USE_LDCONFIG -- the shared library installed by this port is (diff)
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
Notes
Notes: svn path=/head/; revision=374474
Diffstat (limited to 'sysutils/munin-common/files/patch-node_sbin_munin-node-configure')
-rw-r--r--sysutils/munin-common/files/patch-node_sbin_munin-node-configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/munin-common/files/patch-node_sbin_munin-node-configure b/sysutils/munin-common/files/patch-node_sbin_munin-node-configure
new file mode 100644
index 000000000000..b83164780a53
--- /dev/null
+++ b/sysutils/munin-common/files/patch-node_sbin_munin-node-configure
@@ -0,0 +1,13 @@
+--- 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;