mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
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
13 lines
415 B
Text
13 lines
415 B
Text
--- 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();
|