svn commit: r439418 - in head/net-mgmt/rancid3: . files

Mark Felder feld at FreeBSD.org
Tue Apr 25 20:19:31 UTC 2017


Author: feld
Date: Tue Apr 25 20:19:30 2017
New Revision: 439418
URL: https://svnweb.freebsd.org/changeset/ports/439418

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

Modified:
  head/net-mgmt/rancid3/Makefile
  head/net-mgmt/rancid3/files/patch-lib_ios.pm.in

Modified: head/net-mgmt/rancid3/Makefile
==============================================================================
--- head/net-mgmt/rancid3/Makefile	Tue Apr 25 19:44:09 2017	(r439417)
+++ head/net-mgmt/rancid3/Makefile	Tue Apr 25 20:19:30 2017	(r439418)
@@ -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

Modified: head/net-mgmt/rancid3/files/patch-lib_ios.pm.in
==============================================================================
--- head/net-mgmt/rancid3/files/patch-lib_ios.pm.in	Tue Apr 25 19:44:09 2017	(r439417)
+++ head/net-mgmt/rancid3/files/patch-lib_ios.pm.in	Tue Apr 25 20:19:30 2017	(r439418)
@@ -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));


More information about the svn-ports-all mailing list