ports/144876: nfsen wont work with rrdtool 1.4.2 (current in ports) [WITH PATCH]

Vincent Hoffman vince at unsane.co.uk
Fri Mar 19 15:50:02 UTC 2010


>Number:         144876
>Category:       ports
>Synopsis:       nfsen wont work with rrdtool 1.4.2 (current in ports) [WITH PATCH]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 19 15:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Vincent Hoffman
>Release:        8.0-RELEASE-8.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD seaurchin.the.namesco.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
nfsen checks for rrdtool version to set the offset, this check fails for 
$rrd_version < 1.4
as the author hasnt tested with higher versions at this time. However I've been running nfsen with rrdtool 1.4.2 for approx a week now with no issues seen.
>How-To-Repeat:
upgrade to latest rrdtool and restart nfsen
>Fix:
Patch attached. follows
----------------cut-----------------
--- libexec/NfSenRRD.pm.orig	2009-06-10 08:54:48.000000000 +0100
+++ libexec/NfSenRRD.pm	2010-03-11 10:36:14.000000000 +0000
@@ -73,7 +73,7 @@
 	if ( $rrd_version < 1.1 ) { # it's RRD 1.0.x
 		$RRDoffset = 77;
 	}
-	if ( $rrd_version >= 1.2 && $rrd_version < 1.4 ) {
+	if ( $rrd_version >= 1.2 && $rrd_version < 1.5 ) {
 		$RRDoffset = 67;
 	}
------------------cut-------------------------------

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



More information about the freebsd-ports-bugs mailing list