summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2006-06-09 13:22:44 +0000
committerhe <he@pkgsrc.org>2006-06-09 13:22:44 +0000
commit8ef8e7cdb0ab31040880727399fa3559deaa8547 (patch)
treead0561bf05ff1b55538e96c38789109c92b8e3c2
parentdbe9b150b33ee8fb2ac2e59d5e30c1eba32e0bbb (diff)
downloadpkgsrc-8ef8e7cdb0ab31040880727399fa3559deaa8547.tar.gz
Add a message hinting with a sample newsyslog.conf entry.
Package contents the same, so revision not bumped.
-rw-r--r--sysutils/munin-node/MESSAGE9
-rw-r--r--sysutils/munin-node/Makefile4
2 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/munin-node/MESSAGE b/sysutils/munin-node/MESSAGE
index 8cab8ad9907..f6e21a5ce49 100644
--- a/sysutils/munin-node/MESSAGE
+++ b/sysutils/munin-node/MESSAGE
@@ -1,6 +1,13 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2006/06/04 20:53:57 he Exp $
+$NetBSD: MESSAGE,v 1.2 2006/06/09 13:22:44 he Exp $
Plugins can be auto-configured with "munin-node-configure --shell | sh"
+
+You may also want to add an entry such as
+
+${VARBASE}/log/munin/munin-node.log munin:munin 644 7 * 24 Z
+
+to /etc/newsyslog.conf to have the node log rotated.
+
===========================================================================
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index 2afbea1f2d2..6ec2b76ff24 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/06/08 19:19:05 he Exp $
+# $NetBSD: Makefile,v 1.4 2006/06/09 13:22:44 he Exp $
#
DISTNAME= munin_${VER}
@@ -58,6 +58,8 @@ FILES_SUBST+= PERL=${PERL5:Q}
FILES_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
FILES_SUBST+= STATEDIR=${STATEDIR}
+MESSAGE_SUBST+= VARBASE=${VARBASE:Q}
+
RCD_SCRIPTS+= munin-node
EGDIR= ${PREFIX}/share/examples/munin