summaryrefslogtreecommitdiff
path: root/sysutils/munin-common/files/patch-node_sbin_munin-node
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
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')
-rw-r--r--sysutils/munin-common/files/patch-node_sbin_munin-node13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/munin-common/files/patch-node_sbin_munin-node b/sysutils/munin-common/files/patch-node_sbin_munin-node
new file mode 100644
index 000000000000..b0acdec0560a
--- /dev/null
+++ b/sysutils/munin-common/files/patch-node_sbin_munin-node
@@ -0,0 +1,13 @@
+--- node/sbin/munin-node.orig 2014-11-24 21:46:24 UTC
++++ node/sbin/munin-node
+@@ -54,6 +54,10 @@ sub main
+ $ENV{$key} = $1;
+ }
+
++ # 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';
++
+ parse_args();
+
+ my $config = Munin::Node::Config->instance();