diff options
author | feld <feld@FreeBSD.org> | 2017-04-20 04:58:23 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2017-04-20 04:58:23 +0800 |
commit | 13b5eeaf52a1d0e2ceff64d4a8150c8c9901b1ee (patch) | |
tree | 26279359d94c93a437662091ce114030400a7af5 /net-mgmt | |
parent | b694d4750c487d30289b4930154de6d1eaebb09a (diff) | |
download | freebsd-ports-gnome-13b5eeaf52a1d0e2ceff64d4a8150c8c9901b1ee.tar.gz freebsd-ports-gnome-13b5eeaf52a1d0e2ceff64d4a8150c8c9901b1ee.tar.zst freebsd-ports-gnome-13b5eeaf52a1d0e2ceff64d4a8150c8c9901b1ee.zip |
net-mgmt/rancid3: Add patch for IOS to filter out more frequently changing
files: snooping and vtp_debug
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)); |