pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/munin-node Add a message hinting with a sampl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0055e139d3ad
branches:  trunk
changeset: 514245:0055e139d3ad
user:      he <he%pkgsrc.org@localhost>
date:      Fri Jun 09 13:22:44 2006 +0000

description:
Add a message hinting with a sample newsyslog.conf entry.
Package contents the same, so revision not bumped.

diffstat:

 sysutils/munin-node/MESSAGE  |  9 ++++++++-
 sysutils/munin-node/Makefile |  4 +++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r dbb449e11a54 -r 0055e139d3ad sysutils/munin-node/MESSAGE
--- a/sysutils/munin-node/MESSAGE       Fri Jun 09 11:15:32 2006 +0000
+++ b/sysutils/munin-node/MESSAGE       Fri Jun 09 13:22:44 2006 +0000
@@ -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 -r dbb449e11a54 -r 0055e139d3ad sysutils/munin-node/Makefile
--- a/sysutils/munin-node/Makefile      Fri Jun 09 11:15:32 2006 +0000
+++ b/sysutils/munin-node/Makefile      Fri Jun 09 13:22:44 2006 +0000
@@ -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+=  PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
 FILES_SUBST+=  STATEDIR=${STATEDIR}
 
+MESSAGE_SUBST+=        VARBASE=${VARBASE:Q}
+
 RCD_SCRIPTS+=  munin-node
 
 EGDIR=         ${PREFIX}/share/examples/munin



Home | Main Index | Thread Index | Old Index