Date: Thu, 7 Dec 2017 11:26:19 +0000 (UTC) From: Joe Marcus Clarke <marcus@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455703 - in head/ports-mgmt/portlint: . src Message-ID: <201712071126.vB7BQJl5074227@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 = '';
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712071126.vB7BQJl5074227>