aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-node
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2008-02-06 21:34:23 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2008-02-06 21:34:23 +0000
commit34d0df05c364ac67ddb38ca9946f9d4cbdfa63d8 (patch)
treef72c0a20dafe8f06b3437bd1fc35d6bea40ca168 /sysutils/munin-node
parentb5596f502d6674e0bf31e8cc51ed7947c0dbe06f (diff)
downloadports-34d0df05c364ac67ddb38ca9946f9d4cbdfa63d8.tar.gz
ports-34d0df05c364ac67ddb38ca9946f9d4cbdfa63d8.zip
Notes
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r--sysutils/munin-node/Makefile2
-rw-r--r--sysutils/munin-node/files/patch-if_.in22
-rw-r--r--sysutils/munin-node/files/plugins.conf5
3 files changed, 27 insertions, 2 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index 838ecc27e3dd..b8f33e9dded8 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -7,7 +7,7 @@
PORTNAME= munin
PORTVERSION= 1.2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= munin
diff --git a/sysutils/munin-node/files/patch-if_.in b/sysutils/munin-node/files/patch-if_.in
new file mode 100644
index 000000000000..b968fe2ad8c8
--- /dev/null
+++ b/sysutils/munin-node/files/patch-if_.in
@@ -0,0 +1,22 @@
+--- node/node.d.freebsd/if_.in.orig 2006-10-17 14:27:35.000000000 +0200
++++ node/node.d.freebsd/if_.in 2007-10-26 10:52:46.000000000 +0200
+@@ -63,7 +63,7 @@
+
+ if [ "$1" = "suggest" ]; then
+ if [ -x /usr/bin/netstat ]; then
+- netstat -i -b | sed -n -e '/^faith/d' -e '/^lo0/d' -e '/<Link#[0-9]*>/s/\** .*//p'
++ netstat -i -b | sed -n -e '/^faith/d' -e '/^lo[0-9]/d' -e '/^pflog/d' -e '/<Link#[0-9]*>/s/\** .*//p'
+ exit 0
+ else
+ exit 1
+--- node/node.d.freebsd/if_errcoll_.in.orig 2006-10-17 14:27:35.000000000 +0200
++++ node/node.d.freebsd/if_errcoll_.in 2007-10-26 10:53:08.000000000 +0200
+@@ -57,7 +57,7 @@
+
+ if [ "$1" = "suggest" ]; then
+ if [ -x /usr/bin/netstat ]; then
+- netstat -i -b | sed -n -e '/^faith/d' -e '/^lo0/d' -e '/<Link#[0-9]*>/s/\** .*//p'
++ netstat -i -b | sed -n -e '/^faith/d' -e '/^lo[0-9]/d' -e '/^pflog/d' -e '/<Link#[0-9]*>/s/\** .*//p'
+ exit 0
+ else
+ exit 1
diff --git a/sysutils/munin-node/files/plugins.conf b/sysutils/munin-node/files/plugins.conf
index b4f2fb6bae2c..846ed94d7e32 100644
--- a/sysutils/munin-node/files/plugins.conf
+++ b/sysutils/munin-node/files/plugins.conf
@@ -37,7 +37,10 @@ env.exim /usr/local/sbin/exim
[hddtemp_smartctl]
group operator
-env.smartctl = /usr/local/sbin/smartctl
+env.smartctl /usr/local/sbin/smartctl
+
+[mbmon*]
+env.mbmon /usr/local/bin/mbmon
[mysql*]
env.mysqladmin /usr/local/bin/mysqladmin