aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/rancid3
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2017-04-25 20:19:30 +0000
committerMark Felder <feld@FreeBSD.org>2017-04-25 20:19:30 +0000
commit04d8781395e3e770d7f23b020ad8018ff20da98f (patch)
tree7ed377018cc323ab8aed16436b2dc71a88767c38 /net-mgmt/rancid3
parent4a61e434bdc28d2221461ff495fda212ee8f28b1 (diff)
downloadports-04d8781395e3e770d7f23b020ad8018ff20da98f.tar.gz
ports-04d8781395e3e770d7f23b020ad8018ff20da98f.zip
net-mgmt/rancid3: Update patch to filter out both vtp_debug.log and vtp_debug_old.log
Notes
Notes: svn path=/head/; revision=439418
Diffstat (limited to 'net-mgmt/rancid3')
-rw-r--r--net-mgmt/rancid3/Makefile2
-rw-r--r--net-mgmt/rancid3/files/patch-lib_ios.pm.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-mgmt/rancid3/Makefile b/net-mgmt/rancid3/Makefile
index 9857e3c8a673..1c180620d1f9 100644
--- a/net-mgmt/rancid3/Makefile
+++ b/net-mgmt/rancid3/Makefile
@@ -3,7 +3,7 @@
PORTNAME= rancid
PORTVERSION= 3.6.2
-PORTREVISION= 2
+PORTREVISION= 3
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
index 6da8d341118b..b343913993f7 100644
--- a/net-mgmt/rancid3/files/patch-lib_ios.pm.in
+++ b/net-mgmt/rancid3/files/patch-lib_ios.pm.in
@@ -5,7 +5,7 @@
# vlan.dat
# vlan.dat
- if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|syslog)\s*$/) {
-+ if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|snooping|syslog|vtp_debug)\s*$/) {
++ if (/(dhcp_[^. ]*\.txt|vlan\.dat|sflog|snooping|syslog|vtp_debug.*log)\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));