From owner-svn-ports-head@FreeBSD.ORG Tue Sep 9 15:42:11 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A538E3A; Tue, 9 Sep 2014 15:42:11 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 843D5D5F; Tue, 9 Sep 2014 15:42:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s89FgBCW034397; Tue, 9 Sep 2014 15:42:11 GMT (envelope-from crees@FreeBSD.org) Received: (from crees@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s89FgBX5034395; Tue, 9 Sep 2014 15:42:11 GMT (envelope-from crees@FreeBSD.org) Message-Id: <201409091542.s89FgBX5034395@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: crees set sender to crees@FreeBSD.org using -f From: Chris Rees Date: Tue, 9 Sep 2014 15:42:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367743 - in head/sysutils/monitorix: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 15:42:11 -0000 Author: crees Date: Tue Sep 9 15:42:10 2014 New Revision: 367743 URL: http://svnweb.freebsd.org/changeset/ports/367743 QAT: https://qat.redports.org/buildarchive/r367743/ Log: Fix detection of FreeBSD version Submitted by: Jordi Sanfeliu (upstream) Added: head/sysutils/monitorix/files/patch-lib__net.pm (contents, props changed) Modified: head/sysutils/monitorix/Makefile Modified: head/sysutils/monitorix/Makefile ============================================================================== --- head/sysutils/monitorix/Makefile Tue Sep 9 15:27:04 2014 (r367742) +++ head/sysutils/monitorix/Makefile Tue Sep 9 15:42:10 2014 (r367743) @@ -2,6 +2,7 @@ PORTNAME= monitorix PORTVERSION= 3.5.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.monitorix.org/ \ http://www.monitorix.org/old_versions/ \ Added: head/sysutils/monitorix/files/patch-lib__net.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/monitorix/files/patch-lib__net.pm Tue Sep 9 15:42:10 2014 (r367743) @@ -0,0 +1,11 @@ +--- lib/net.pm.orig 2014-09-09 15:40:43 UTC ++++ lib/net.pm +@@ -203,7 +203,7 @@ + while() { + if(/Link/ && /$nl[$n]/) { + # Idrop column added in 8.0 +- if($config->{kernel} gt "7.2") { ++ if($config->{kernel} > "7.2") { + (undef, undef, undef, undef, $net_packs_in[$n], $net_error_in[$n], undef, $net_bytes_in[$n], $net_packs_out[$n], $net_error_out[$n], $net_bytes_out[$n]) = split(' ', $_); + } else { + (undef, undef, undef, undef, $net_packs_in[$n], $net_error_in[$n], $net_bytes_in[$n], $net_packs_out[$n], $net_error_out[$n], $net_bytes_out[$n]) = split(' ', $_);