Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 00:03:20 +0200 (CEST)
From:      Michael Ranner <mranner@inode.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72168: [MAINTAINER] net-mgmt/nrg: [Fixes some issues]
Message-ID:  <200409282203.i8SM3KZ5009668@dwarf.jawa.at>
Resent-Message-ID: <200409291410.i8TEABWv065610@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72168
>Category:       ports
>Synopsis:       [MAINTAINER] net-mgmt/nrg: [Fixes some issues]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 29 14:10:11 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Ranner
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD dwarf.jawa.at 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Fri Jun 25 23:02:44 CEST 2004
>Description:
Fixes wrong path to rrdtool and rrdcgi in some templates
Fixes problem with RRD:TIME:NOW
Fixes wrong color definition for RRD

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- nrg-0.99.22_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-mgmt/nrg/Makefile /usr/ports/net-mgmt/nrg.update/Makefile
--- /usr/ports/net-mgmt/nrg/Makefile	Mon Aug  2 10:33:10 2004
+++ /usr/ports/net-mgmt/nrg.update/Makefile	Tue Sep 28 23:27:27 2004
@@ -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 @@
 		${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 -ruN --exclude=CVS /usr/ports/net-mgmt/nrg/files/patch-examples /usr/ports/net-mgmt/nrg.update/files/patch-examples
--- /usr/ports/net-mgmt/nrg/files/patch-examples	Fri Mar  5 18:10:31 2004
+++ /usr/ports/net-mgmt/nrg.update/files/patch-examples	Tue Sep 28 23:29:19 2004
@@ -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"
--- nrg-0.99.22_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409282203.i8SM3KZ5009668>