Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2014 21:45:01 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
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
Message-ID:  <201411172145.sAHLj1is094399@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_<interface> to this file. E.g.
++# interface, link if_packets_<interface> 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



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