aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-04-05 07:22:12 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-04-05 07:22:12 +0000
commit4910d3702513513056285c1c626ea5b6c7d8722d (patch)
tree460f44282d3ace020aa6e9952e86264fa4a8abb9 /sysutils
parent401a291481d82c5d1a7287cd54820b286c9fc9c8 (diff)
downloadports-4910d3702513513056285c1c626ea5b6c7d8722d.tar.gz
ports-4910d3702513513056285c1c626ea5b6c7d8722d.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/munin-node/Makefile6
-rw-r--r--sysutils/munin-node/distinfo4
-rw-r--r--sysutils/munin-node/pkg-plist11
3 files changed, 16 insertions, 5 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index 3e404d1eb57e..15057da4f72a 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= munin
-PORTVERSION= 1.2.0
+PORTVERSION= 1.2.2
CATEGORIES= sysutils perl5
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= munin
@@ -21,6 +21,10 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 500000
+RUN_DEPENDS= ${LOCALBASE}/etc/rc.subr:${PORTSDIR}/sysutils/rc_subr
+.endif
+
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net
.endif
diff --git a/sysutils/munin-node/distinfo b/sysutils/munin-node/distinfo
index e486eb6b0c23..adf9dc7da3f2 100644
--- a/sysutils/munin-node/distinfo
+++ b/sysutils/munin-node/distinfo
@@ -1,2 +1,2 @@
-MD5 (munin_1.2.0.tar.gz) = bbab7bf91ac837e4c72889aaef7cf2e8
-SIZE (munin_1.2.0.tar.gz) = 318364
+MD5 (munin_1.2.2.tar.gz) = e55ff3cc8d506558f32598f639952cca
+SIZE (munin_1.2.2.tar.gz) = 325356
diff --git a/sysutils/munin-node/pkg-plist b/sysutils/munin-node/pkg-plist
index 7a12a8c6b838..b02ef7a2437d 100644
--- a/sysutils/munin-node/pkg-plist
+++ b/sysutils/munin-node/pkg-plist
@@ -48,6 +48,7 @@ sbin/munin-run
%%DATADIR%%/plugins/loggrep
%%DATADIR%%/plugins/mailman
%%DATADIR%%/plugins/mailscanner
+%%DATADIR%%/plugins/mbmon_
%%DATADIR%%/plugins/memory
%%DATADIR%%/plugins/mhttping
%%DATADIR%%/plugins/multips
@@ -113,12 +114,18 @@ sbin/munin-run
@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true
@unexec rmdir %D/etc/munin/plugin-conf.d 2>/dev/null || true
@unexec rmdir %D/etc/munin 2>/dev/null || true
+@unexec rmdir %%LOCALBASE%%/%%SITE_PERL%%/Munin/Plugin 2>/dev/null || true
+@unexec rmdir %%LOCALBASE%%/%%SITE_PERL%%/Munin 2>/dev/null || true
@unexec echo
@unexec echo '********************************************************************'
@unexec echo "If you want to *completely* remove munin-node, you have to"
@unexec echo
-@unexec echo " rm -rf %D/var/munin/plugin-state %D/etc/munin/VERSION.node \\"
-@unexec echo " %D/etc/munin/munin-node.conf %D/etc/munin/plugins \\"
+@unexec echo " rm -rf %D/etc/munin/VERSION.node %D/etc/munin/plugins \\"
+@unexec if [ -d %D/var/munin/plugin-state ]; then echo " %D/var/munin/plugin-state \\"; fi
+@unexec if [ -f %D/etc/munin/munin-node.conf ]; then echo " %D/etc/munin/munin-node.conf \\"; fi
+@unexec if [ -d %D/var/munin/plugin-state ]; then echo " %D/var/munin/plugin-state \\"; fi
+@unexec if [ -d %%LOCALBASE%%/%%SITE_PERL%%/Munin/Plugin ]; then echo " %%LOCALBASE%%/%%SITE_PERL%%/Munin/Plugin \\"; fi
+@unexec if [ -d %%LOCALBASE%%/%%SITE_PERL%%/Munin ]; then echo " %%LOCALBASE%%/%%SITE_PERL%%/Munin/Plugin \\"; fi
@unexec echo " /var/log/munin-node.log*"
@unexec echo
@unexec echo "If you have already deinstalled munin-main, you can also"