summaryrefslogtreecommitdiff
path: root/sysutils/munin-node/files/patch-node__sbin__munin-node
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-09-13 22:00:33 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-09-13 22:00:33 +0000
commit8b61b2876cc5407f25f6d9cd5d8bebe397a60668 (patch)
treefafd474ebc08428c29c584a1087331befe40abec /sysutils/munin-node/files/patch-node__sbin__munin-node
parent- update japanese/eb to 4.4.3 (diff)
- Update to 2.0.6 based on [1]
- Add support for ada disk devices to hddtemp_smartctl [2] - Add a patch for upstream bug 1251 to prevent huge munin-graph.log files PR: ports/171116 [1] PR: ports/169287 [2] Submitted by: mm [1], TAKEMON Takashi <takemon@bamboogate.co.jp> [2]
Notes
Notes: svn path=/head/; revision=304233
Diffstat (limited to 'sysutils/munin-node/files/patch-node__sbin__munin-node')
-rw-r--r--sysutils/munin-node/files/patch-node__sbin__munin-node11
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/munin-node/files/patch-node__sbin__munin-node b/sysutils/munin-node/files/patch-node__sbin__munin-node
index 75a1cb707116..792c9a645408 100644
--- a/sysutils/munin-node/files/patch-node__sbin__munin-node
+++ b/sysutils/munin-node/files/patch-node__sbin__munin-node
@@ -1,6 +1,6 @@
---- node/sbin/munin-node.orig Wed Oct 20 14:51:29 2010
-+++ node/sbin/munin-node Wed Oct 20 14:52:34 2010
-@@ -56,6 +56,9 @@ sub main {
+--- node/sbin/munin-node.orig 2012-07-24 12:45:57.000000000 +0200
++++ node/sbin/munin-node 2012-07-30 11:30:49.735734436 +0200
+@@ -53,8 +53,11 @@
$ENV{$key} =~ /^(.*)$/;
$ENV{$key} = $1;
}
@@ -8,5 +8,8 @@
+ # must not contain writable directories.
+ $ENV{PATH}='/bin:/sbin:/usr/bin:/usr/sbin:%%PREFIX%%/bin:%%PREFIX%%/sbin';
- $0 =~ /^(.*)$/;
+- $0 =~ /([^\/]*)$/;
++ $0 =~ /^(.*)$/;
$0 = $1;
+
+ parse_args();