svn commit: r455703 - in head/ports-mgmt/portlint: . src

Joe Marcus Clarke marcus at FreeBSD.org
Thu Dec 7 11:26:20 UTC 2017


Author: marcus
Date: Thu Dec  7 11:26:19 2017
New Revision: 455703
URL: https://svnweb.freebsd.org/changeset/ports/455703

Log:
  Emergency update to 2.17.14.
  
  Escape a variable in an RE to prevent corruption.
  
  Submitted by:	gahr

Modified:
  head/ports-mgmt/portlint/Makefile
  head/ports-mgmt/portlint/src/portlint.pl

Modified: head/ports-mgmt/portlint/Makefile
==============================================================================
--- head/ports-mgmt/portlint/Makefile	Thu Dec  7 09:46:41 2017	(r455702)
+++ head/ports-mgmt/portlint/Makefile	Thu Dec  7 11:26:19 2017	(r455703)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	portlint
-PORTVERSION=	2.17.13
+PORTVERSION=	2.17.14
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/ports-mgmt/portlint/src/portlint.pl
==============================================================================
--- head/ports-mgmt/portlint/src/portlint.pl	Thu Dec  7 09:46:41 2017	(r455702)
+++ head/ports-mgmt/portlint/src/portlint.pl	Thu Dec  7 11:26:19 2017	(r455703)
@@ -15,7 +15,7 @@
 # was removed.
 #
 # $FreeBSD$
-# $MCom: portlint/portlint.pl,v 1.430 2017/10/08 17:56:03 jclarke Exp $
+# $MCom: portlint/portlint.pl,v 1.432 2017/12/07 03:23:53 jclarke Exp $
 #
 
 use strict;
@@ -50,7 +50,7 @@ $portdir = '.';
 # version variables
 my $major = 2;
 my $minor = 17;
-my $micro = 13;
+my $micro = 14;
 
 # default setting - for FreeBSD
 my $portsdir = '/usr/ports';
@@ -3440,7 +3440,7 @@ sub abspathname {
 				# MASTER_SITE_SUBDIR lines are ok.
 				$i = '';
 			}
-			if ($s =~ /\$\{[^}]*?$i/) {
+			if ($s =~ /\$\{[^}]*?\Q$i\E/) {
 				# If we're inside a make variable, we probably do not have
 				# an absolute path.
 				$i = '';


More information about the svn-ports-head mailing list