Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2008 11:30:26 GMT
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/126852: [PATCH] Fix build of net-mgmt/nfsen with rrdtool 1.3 
Message-ID:  <200808261130.m7QBUQwL048429@www.freebsd.org>
Resent-Message-ID: <200808261140.m7QBe1VJ001763@freefall.freebsd.org>

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

>Number:         126852
>Category:       ports
>Synopsis:       [PATCH] Fix build of net-mgmt/nfsen with rrdtool 1.3
>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:   Tue Aug 26 11:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Vincent Hoffman
>Release:        7-STABLE
>Organization:
>Environment:
>Description:
Currently the net-mgmt/nfsen port will complain and refuse to install if rrdtool > 1.2 is installed. ths simple one line fix will repair this.
I have tested this for a few weeks now and have had no problems.

I have sent this to the maintainer a couple of weeks ago with no response and also mentioned it to the developer, rrdtool 1.3 will be supported in the next release, but I dont think he'll be fixing this one.


>How-To-Repeat:
install the port net-mgmt/nfsen with rrdtool > 1.2 
>Fix:
add the attached patch to the port in the files directory. 

Patch attached with submission follows:

--- NfSenRRD.pm.orig	2008-08-05 10:49:34.000000000 +0100
+++ NfSenRRD.pm	2008-08-05 10:50:13.000000000 +0100
@@ -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.3 ) {
+	if ( $rrd_version >= 1.2 && $rrd_version <= 1.3 ) {
 		$RRDoffset = 67;
 	}
 


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



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