ports/126852: [PATCH] Fix build of net-mgmt/nfsen with rrdtool 1.3
Vincent Hoffman
vince at unsane.co.uk
Tue Aug 26 11:40:01 UTC 2008
>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:
More information about the freebsd-ports-bugs
mailing list