aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/munin-node
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2012-10-07 06:10:55 +0800
committerflo <flo@FreeBSD.org>2012-10-07 06:10:55 +0800
commitc542a5ab7ced5f977bd65b0129cfe910dda6fe22 (patch)
tree4a696af0ba369ac74c619d61175741bc44a1d0fd /sysutils/munin-node
parentff87e77a727420c73673572ac41b6852c2da92be (diff)
downloadfreebsd-ports-gnome-c542a5ab7ced5f977bd65b0129cfe910dda6fe22.tar.gz
freebsd-ports-gnome-c542a5ab7ced5f977bd65b0129cfe910dda6fe22.tar.zst
freebsd-ports-gnome-c542a5ab7ced5f977bd65b0129cfe910dda6fe22.zip
- update to 2.0.7
- move USERS and GROUPS from munin-common/Makefile to munin.mk, otherwise they cannot be used in the Makefiles of munin-master and munin-node where they are required. This fixes permissions on certain directories. [1] - VERSION.node file should be updated after the pkg-install script runs, because it requires the version of the previously installed version not the currently installed one. [2] PR: ports/172260 [1] Reported by: Haruo Shiba <shiba@logic-design.co.jp> [1] tdb [2]
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r--sysutils/munin-node/Makefile8
-rw-r--r--sysutils/munin-node/pkg-plist1
2 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index 7e22f46086a6..cf3106b10fc2 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: munin-node
-# Date created: 25 Januar 2004
-# Whom: Lupe Christoph <lupe@lupe-christoph.de>
-#
+# Created by: Lupe Christoph <lupe@lupe-christoph.de>
# $FreeBSD$
-#
PORTNAME= munin
PORTVERSION= ${MUNIN_VERSION}
@@ -111,9 +107,9 @@ post-install:
@(cd ${WRKSRC}/build/doc && for man in ${MAN8}; do \
${INSTALL_MAN} -C $$man ${PREFIX}/man/man8; \
done)
- @${ECHO} ${PORTVERSION} > ${PREFIX}/etc/munin/VERSION.node
@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+ @${ECHO} ${PORTVERSION} > ${PREFIX}/etc/munin/VERSION.node
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/sysutils/munin-node/pkg-plist b/sysutils/munin-node/pkg-plist
index 08dacd8eb634..af5d767d31f0 100644
--- a/sysutils/munin-node/pkg-plist
+++ b/sysutils/munin-node/pkg-plist
@@ -1,6 +1,5 @@
@stopdaemon munin-node
bin/munindoc
-%%ETCDIR%%/VERSION.node
@unexec if cmp -s %D/%%ETCDIR%%/munin-node.conf.sample %D/%%ETCDIR%%/munin-node.conf ; then rm -f %D/%%ETCDIR%%/munin-node.conf ; fi
%%ETCDIR%%/munin-node.conf.sample
@exec if [ ! -f %D/%%ETCDIR%%/munin-node.conf ] ; then cp -p %D/%%ETCDIR%%/munin-node.conf.sample %D/%%ETCDIR%%/munin-node.conf ; fi