aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/rancid3/Makefile2
-rw-r--r--net-mgmt/rancid3/files/patch-lib_ios.pm.in11
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));