Fixes wrong path to rrdtool and rrdcgi in some templates
Fixes problem with RRD:TIME:NOW Fixes wrong color definition for RRD Bump PORTREVISION PR: 72168 Submitted by: Michael Ranner <mranner@inode.at>
This commit is contained in:
parent
4be8cb03ee
commit
ed864c37c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120880
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= nrg
|
||||
PORTVERSION= 0.99.22
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt sysutils
|
||||
MASTER_SITES= ftp://nrg.hep.wisc.edu/pub/src/nrg/ \
|
||||
http://www.ranner.jawa.at/stuff/
|
||||
@ -63,6 +64,11 @@ post-patch:
|
||||
${WRKSRC}/roverpingd/write_stats.c
|
||||
@${REINPLACE_CMD} -e "s,-D__FreeBSD__,,g" \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e "s,@bindir@/rrdtool,${PREFIX}/bin/rrdtool,g" \
|
||||
${WRKSRC}/etc/run-star-head.pl.in
|
||||
@${REINPLACE_CMD} -e "s,@prefix@,${PREFIX},g" \
|
||||
-e "s,NOW \"%a %b %d %H:%M %Z %Y\",NOW '%a %b %d %H:%M %Z %Y',g" \
|
||||
${WRKSRC}/templates/*.in
|
||||
|
||||
pre-install:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' <${.CURDIR}/pkg-message >${PKGMESSAGE}
|
||||
|
@ -11,3 +11,16 @@
|
||||
MCONF_FILES = NRG.mconf Site.mconf
|
||||
NRG_WEB_DIR = nrg
|
||||
|
||||
--- examples/Default.conf.in.orig Tue Sep 28 23:28:31 2004
|
||||
+++ examples/Default.conf.in Tue Sep 28 23:28:44 2004
|
||||
@@ -224,8 +224,8 @@
|
||||
|
||||
Graph[.*-snmpd-mem$][total_mem_m]: black LINE2
|
||||
Graph[.*-snmpd-mem$][used_mem_m]: green AREA
|
||||
-Graph[.*-snmpd-mem$][cache_mem_m]: d0ffff STACK
|
||||
-Graph[.*-snmpd-mem$][buff_mem_m]: ffd0ff STACK
|
||||
+Graph[.*-snmpd-mem$][cache_mem_m]: cyan STACK
|
||||
+Graph[.*-snmpd-mem$][buff_mem_m]: blue STACK
|
||||
|
||||
Label[.*-snmpd-swap$][used_swp_m]: "used swap "
|
||||
Label[.*-snmpd-swap$][total_swp_m]: "total swap"
|
||||
|
Loading…
Reference in New Issue
Block a user