From owner-svn-ports-all@FreeBSD.ORG Mon Apr 13 04:53:27 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 271B31E4; Mon, 13 Apr 2015 04:53:27 +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 EC3EAAF2; Mon, 13 Apr 2015 04:53:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t3D4rQQ9037345; Mon, 13 Apr 2015 04:53:26 GMT (envelope-from marcus@FreeBSD.org) Received: (from marcus@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t3D4rQmX037343; Mon, 13 Apr 2015 04:53:26 GMT (envelope-from marcus@FreeBSD.org) Message-Id: <201504130453.t3D4rQmX037343@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marcus set sender to marcus@FreeBSD.org using -f From: Joe Marcus Clarke Date: Mon, 13 Apr 2015 04:53:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r383894 - 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-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2015 04:53:27 -0000 Author: marcus Date: Mon Apr 13 04:53:25 2015 New Revision: 383894 URL: https://svnweb.freebsd.org/changeset/ports/383894 Log: Update to 2.16.3. * Check the patches to make sure they were generated using ``make patch'' [1] * Do not throw a bunch of Perl errors if the makefile is bad [2] PR: 197747 198887 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 Apr 13 04:11:02 2015 (r383893) +++ head/ports-mgmt/portlint/Makefile Mon Apr 13 04:53:25 2015 (r383894) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= portlint -PORTVERSION= 2.16.2 +PORTVERSION= 2.16.3 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none Modified: head/ports-mgmt/portlint/src/portlint.pl ============================================================================== --- head/ports-mgmt/portlint/src/portlint.pl Mon Apr 13 04:11:02 2015 (r383893) +++ head/ports-mgmt/portlint/src/portlint.pl Mon Apr 13 04:53:25 2015 (r383894) @@ -15,7 +15,7 @@ # was removed. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.350 2015/02/04 17:07:25 jclarke Exp $ +# $MCom: portlint/portlint.pl,v 1.354 2015/04/13 04:48:55 jclarke Exp $ # use strict; @@ -50,7 +50,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 16; -my $micro = 2; +my $micro = 3; # default setting - for FreeBSD my $portsdir = '/usr/ports'; @@ -923,6 +923,13 @@ sub checkpatch { $whole = ''; while () { $whole .= $_; + if (/^--- /) { + if ($_ !~ /UTC\s*$/) { + &perror("WARN", $file, -1, "patch was not generated using ". + "``make makepatch''. It is recommended to use ". + "``make makepatch'' to ensure proper patch format."); + } + } } if ($committer && $whole =~ /\wjavavm\w/) { @@ -3278,6 +3285,9 @@ sub get_makevar { chomp $result; $result =~ s/\n\n/\n\0\n/g; + if (${^CHILD_ERROR_NATIVE} != 0) { + die "\nFATAL ERROR: make(1) died with status ${^CHILD_ERROR_NATIVE} and returned '$result'"; + } return $result; } @@ -3290,6 +3300,9 @@ sub get_makevar_raw { chomp $result; $result =~ s/\n\n/\n\0\n/g; + if (${^CHILD_ERROR_NATIVE} != 0) { + die "\nFATAL ERROR: make(1) died with status ${^CHILD_ERROR_NATIVE} and returned '$result'"; + } return $result; }