Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2017 20:55:35 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r439419 - in head/net-mgmt/rancid3: . files
Message-ID:  <201704252055.v3PKtZ3C076432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue Apr 25 20:55:35 2017
New Revision: 439419
URL: https://svnweb.freebsd.org/changeset/ports/439419

Log:
  net-mgmt/rancid3: Update filtering of vtp_debug.log to only affect Nexus devices

Added:
  head/net-mgmt/rancid3/files/patch-lib_nxos.pm.in   (contents, props changed)
Modified:
  head/net-mgmt/rancid3/Makefile
  head/net-mgmt/rancid3/files/patch-lib_ios.pm.in

Modified: head/net-mgmt/rancid3/Makefile
==============================================================================
--- head/net-mgmt/rancid3/Makefile	Tue Apr 25 20:19:30 2017	(r439418)
+++ head/net-mgmt/rancid3/Makefile	Tue Apr 25 20:55:35 2017	(r439419)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rancid
 PORTVERSION=	3.6.2
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net-mgmt
 MASTER_SITES=	ftp://ftp.shrubbery.net/pub/rancid/
 PKGNAMESUFFIX=	3

Modified: head/net-mgmt/rancid3/files/patch-lib_ios.pm.in
==============================================================================
--- head/net-mgmt/rancid3/files/patch-lib_ios.pm.in	Tue Apr 25 20:19:30 2017	(r439418)
+++ head/net-mgmt/rancid3/files/patch-lib_ios.pm.in	Tue Apr 25 20:55:35 2017	(r439419)
@@ -1,11 +1,11 @@
---- lib/ios.pm.in.orig	2017-04-19 20:53:52 UTC
+--- lib/ios.pm.in.orig	2017-01-10 20:59:52 UTC
 +++ lib/ios.pm.in
 @@ -942,7 +942,7 @@ sub ShowFlash {
  	# to:
  	#                                     vlan.dat
  	#                                            vlan.dat
 -	if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|syslog)\s*$/) {
-+	if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|snooping|syslog|vtp_debug.*log)\s*$/) {
++	if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|snooping|syslog)\s*$/) {
  	    if (/(\s*\d+)(\s+[-rwx]+\s+)(\d+)(\s+)(\w+ \d+\s+\d+ \d+:\d+:\d+ .\d+:\d+)/) {
  		my($fn, $a, $sz, $c, $dt, $rem) = ($1, $2, $3, $4, $5, $');
  		my($fnl, $szl, $dtl) = (length($fn), length($sz), length($dt));

Added: head/net-mgmt/rancid3/files/patch-lib_nxos.pm.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/rancid3/files/patch-lib_nxos.pm.in	Tue Apr 25 20:55:35 2017	(r439419)
@@ -0,0 +1,12 @@
+--- lib/nxos.pm.in.orig	2017-04-25 20:52:25 UTC
++++ lib/nxos.pm.in
+@@ -490,6 +490,9 @@ sub DirSlotN {
+ 	# Drop accounting.log
+ 	/\s+accounting\.log$/ && next;
+ 
++	# Drop vtp_debug.log and vtp_debug_old.log CDETS bug CSCuy87611
++	/\s+vtp_debug(_old|)\.log$/ && next;
++
+ 	next if (/BufferMonitor-1HourData/);
+ 	if (/ log\/$/) {
+ 	    # change



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