From owner-svn-ports-head@FreeBSD.ORG Mon Jul 28 13:21:07 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3FBFFC16; Mon, 28 Jul 2014 13:21:07 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CFD52890; Mon, 28 Jul 2014 13:21:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s6SDL7ft054259; Mon, 28 Jul 2014 13:21:07 GMT (envelope-from marcus@svn.freebsd.org) Received: (from marcus@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s6SDL6sQ054257; Mon, 28 Jul 2014 13:21:06 GMT (envelope-from marcus@svn.freebsd.org) Message-Id: <201407281321.s6SDL6sQ054257@svn.freebsd.org> From: Joe Marcus Clarke Date: Mon, 28 Jul 2014 13:21:06 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 13:21:07 -0000 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."); }