aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-04-05 15:22:12 +0800
committersem <sem@FreeBSD.org>2005-04-05 15:22:12 +0800
commit830f060c4c60e0a240a29d9ddcb9dc0aa9be9ca3 (patch)
treee800f8b6b8557ff91f47f2f0d24387c7bd932af9 /sysutils
parent33dea618fc8221eb133fed19f3272e79767cc4d1 (diff)
downloadfreebsd-ports-gnome-830f060c4c60e0a240a29d9ddcb9dc0aa9be9ca3.tar.gz
freebsd-ports-gnome-830f060c4c60e0a240a29d9ddcb9dc0aa9be9ca3.tar.zst
freebsd-ports-gnome-830f060c4c60e0a240a29d9ddcb9dc0aa9be9ca3.zip
- Update to 1.2.2
- Remove some extra dirs - Be sure rc_subr is installed on 4.x PR: ports/79127 Submitted by: maintainer
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"