diff options
author | Mark Felder <feld@FreeBSD.org> | 2017-04-19 20:58:23 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2017-04-19 20:58:23 +0000 |
commit | baed11118cd245fc71dfb4f2449ff979f31b47ab (patch) | |
tree | 26279359d94c93a437662091ce114030400a7af5 /net-mgmt | |
parent | 3e2d34b1a18785a9a080fb17d5fa8c404f64ee3f (diff) | |
download | ports-baed11118cd245fc71dfb4f2449ff979f31b47ab.tar.gz ports-baed11118cd245fc71dfb4f2449ff979f31b47ab.zip |
net-mgmt/rancid3: Add patch for IOS to filter out more frequently changing
files: snooping and vtp_debug
Notes
Notes:
svn path=/head/; revision=438916
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/rancid3/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/rancid3/files/patch-lib_ios.pm.in | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/rancid3/Makefile b/net-mgmt/rancid3/Makefile index dd47385c66d0..9857e3c8a673 100644 --- a/net-mgmt/rancid3/Makefile +++ b/net-mgmt/rancid3/Makefile @@ -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 diff --git a/net-mgmt/rancid3/files/patch-lib_ios.pm.in b/net-mgmt/rancid3/files/patch-lib_ios.pm.in new file mode 100644 index 000000000000..6da8d341118b --- /dev/null +++ b/net-mgmt/rancid3/files/patch-lib_ios.pm.in @@ -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)); |