Date: Mon, 28 Jul 2014 13:21:06 +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: r363150 - in head/ports-mgmt/portlint: . src Message-ID: <201407281321.s6SDL6sQ054257@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcus Date: Mon Jul 28 13:21:06 2014 New Revision: 363150 URL: http://svnweb.freebsd.org/changeset/ports/363150 QAT: https://qat.redports.org/buildarchive/r363150/ Log: Update to 2.15.4. Use File::Basename so that only the patch filename is checked for the 100 character limit. PR: 192161 Modified: head/ports-mgmt/portlint/Makefile head/ports-mgmt/portlint/src/portlint.pl Modified: head/ports-mgmt/portlint/Makefile ============================================================================== --- head/ports-mgmt/portlint/Makefile Mon Jul 28 13:20:35 2014 (r363149) +++ head/ports-mgmt/portlint/Makefile Mon Jul 28 13:21:06 2014 (r363150) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= portlint -PORTVERSION= 2.15.3 +PORTVERSION= 2.15.4 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none Modified: head/ports-mgmt/portlint/src/portlint.pl ============================================================================== --- head/ports-mgmt/portlint/src/portlint.pl Mon Jul 28 13:20:35 2014 (r363149) +++ head/ports-mgmt/portlint/src/portlint.pl Mon Jul 28 13:21:06 2014 (r363150) @@ -15,7 +15,7 @@ # was removed. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.325 2014/07/12 14:39:55 marcus Exp $ +# $MCom: portlint/portlint.pl,v 1.327 2014/07/28 13:15:56 marcus Exp $ # use strict; @@ -24,6 +24,7 @@ use warnings; use Getopt::Std; use File::Find; use IPC::Open2; +use File::Basename; use POSIX qw(strftime); sub perror($$$$); @@ -50,7 +51,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 15; -my $micro = 3; +my $micro = 4; sub l { '[{(]'; } sub r { '[)}]'; } @@ -1046,7 +1047,9 @@ sub checkpatch { return; } - if (length $file > 100) { + my $bfile = basename($file); + + if (length $bfile > 100) { &perror("FATAL", $file, -1, "make sure patch file names contain no ". "more than 100 characters."); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407281321.s6SDL6sQ054257>