From owner-svn-ports-head@FreeBSD.ORG Mon Nov 17 21:45:01 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A401818D; Mon, 17 Nov 2014 21:45:01 +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 76102B13; Mon, 17 Nov 2014 21:45:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAHLj10D094406; Mon, 17 Nov 2014 21:45:01 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAHLj1is094399; Mon, 17 Nov 2014 21:45:01 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201411172145.sAHLj1is094399@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 17 Nov 2014 21:45:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r372693 - in head/sysutils/munin-node: . 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: Mon, 17 Nov 2014 21:45:01 -0000 Author: mat Date: Mon Nov 17 21:45:00 2014 New Revision: 372693 URL: https://svnweb.freebsd.org/changeset/ports/372693 QAT: https://qat.redports.org/buildarchive/r372693/ Log: Actually make if_packets_ work. PR: 194733 Submitted by: Claudius Herder Sponsored by: Absolight Modified: head/sysutils/munin-node/Makefile head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_packets_.in Modified: head/sysutils/munin-node/Makefile ============================================================================== --- head/sysutils/munin-node/Makefile Mon Nov 17 21:43:18 2014 (r372692) +++ head/sysutils/munin-node/Makefile Mon Nov 17 21:45:00 2014 (r372693) @@ -3,7 +3,7 @@ PORTNAME= munin PORTVERSION= ${MUNIN_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils perl5 MASTER_SITES= ${MUNIN_SITES} PKGNAMESUFFIX= -node Modified: head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_packets_.in ============================================================================== --- head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_packets_.in Mon Nov 17 21:43:18 2014 (r372692) +++ head/sysutils/munin-node/files/patch-plugins__node.d.freebsd__if_packets_.in Mon Nov 17 21:45:00 2014 (r372693) @@ -5,14 +5,14 @@ +# -*- sh -*- +# +# Wildcard-plugin to monitor network interfaces. To monitor an -+# interface, link if_ to this file. E.g. ++# interface, link if_packets_ to this file. E.g. +# -+# ln -s /usr/share/munin/node/plugins-auto/if_ /etc/munin/node.d/if_eth0 ++# ln -s /usr/share/munin/node/plugins-auto/if_packets_ /etc/munin/node.d/if_packets_eth0 +# +# ...will monitor eth0. +# +# To aggregate all network interfaces on the system (except lo0), -+# link if_aggregated to this file. ++# link if_packets_aggregated to this file. +# +# Any device found in /usr/bin/netstat can be monitored. +# @@ -22,7 +22,7 @@ +#%# family=auto +#%# capabilities=autoconf suggest + -+INTERFACE=${0##*if_} ++INTERFACE=${0##*if_packets_} + +if [ "$1" = "autoconf" ]; then + if [ -x /sbin/ifconfig -o -x /usr/bin/netstat ]; then