net-mgmt/rancid3: Update patch to filter out both vtp_debug.log and vtp_debug_old.log

This commit is contained in:
Mark Felder 2017-04-25 20:19:30 +00:00
parent 4a61e434bd
commit 04d8781395
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439418
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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));