Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2017 20:58:23 +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: r438916 - in head/net-mgmt/rancid3: . files
Message-ID:  <201704192058.v3JKwNSx099616@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Wed Apr 19 20:58:23 2017
New Revision: 438916
URL: https://svnweb.freebsd.org/changeset/ports/438916

Log:
  net-mgmt/rancid3: Add patch for IOS to filter out more frequently changing
  files: snooping and vtp_debug

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

Modified: head/net-mgmt/rancid3/Makefile
==============================================================================
--- head/net-mgmt/rancid3/Makefile	Wed Apr 19 20:56:12 2017	(r438915)
+++ head/net-mgmt/rancid3/Makefile	Wed Apr 19 20:58:23 2017	(r438916)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rancid
 PORTVERSION=	3.6.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	ftp://ftp.shrubbery.net/pub/rancid/
 PKGNAMESUFFIX=	3

Added: head/net-mgmt/rancid3/files/patch-lib_ios.pm.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-mgmt/rancid3/files/patch-lib_ios.pm.in	Wed Apr 19 20:58:23 2017	(r438916)
@@ -0,0 +1,11 @@
+--- lib/ios.pm.in.orig	2017-04-19 20:53: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)\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));



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