aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-11-05 14:20:40 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-11-05 14:20:40 +0000
commited864c37c96bf3855657020fbcb437e088a5d8df (patch)
tree822be52168f4d214cc5a0671722daa982c96480d /net-mgmt
parent4be8cb03ee3a425da5bdc4ec37ec2d6d6e3a9aba (diff)
downloadports-ed864c37c96bf3855657020fbcb437e088a5d8df.tar.gz
ports-ed864c37c96bf3855657020fbcb437e088a5d8df.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nrg/Makefile6
-rw-r--r--net-mgmt/nrg/files/patch-examples13
2 files changed, 19 insertions, 0 deletions
diff --git a/net-mgmt/nrg/Makefile b/net-mgmt/nrg/Makefile
index 1adccf05a47c..350d6247b083 100644
--- a/net-mgmt/nrg/Makefile
+++ b/net-mgmt/nrg/Makefile
@@ -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}
diff --git a/net-mgmt/nrg/files/patch-examples b/net-mgmt/nrg/files/patch-examples
index f5ddb0c11844..957a9461e803 100644
--- a/net-mgmt/nrg/files/patch-examples
+++ b/net-mgmt/nrg/files/patch-examples
@@ -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"