Date: Mon, 27 Oct 2014 16:02:02 +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: r371592 - in head/ports-mgmt/portlint: . src Message-ID: <201410271602.s9RG22Nt045877@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcus Date: Mon Oct 27 16:02:01 2014 New Revision: 371592 URL: https://svnweb.freebsd.org/changeset/ports/371592 QAT: https://qat.redports.org/buildarchive/r371592/ Log: Update to 2.16.1. Add an additional check for EXTRACT_SUFX. Submitted by: ak 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 Oct 27 15:54:19 2014 (r371591) +++ head/ports-mgmt/portlint/Makefile Mon Oct 27 16:02:01 2014 (r371592) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= portlint -PORTVERSION= 2.16.0 +PORTVERSION= 2.16.1 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none Modified: head/ports-mgmt/portlint/src/portlint.pl ============================================================================== --- head/ports-mgmt/portlint/src/portlint.pl Mon Oct 27 15:54:19 2014 (r371591) +++ head/ports-mgmt/portlint/src/portlint.pl Mon Oct 27 16:02:01 2014 (r371592) @@ -15,7 +15,7 @@ # was removed. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.342 2014/10/26 18:08:18 marcus Exp $ +# $MCom: portlint/portlint.pl,v 1.344 2014/10/27 16:00:59 marcus Exp $ # use strict; @@ -50,7 +50,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 16; -my $micro = 0; +my $micro = 1; # default setting - for FreeBSD my $portsdir = '/usr/ports'; @@ -2466,6 +2466,10 @@ DIST_SUBDIR EXTRACT_ONLY &perror("WARN", $file, -1, "no need to define EXTRACT_SUFX if ". "DISTFILES is defined."); } + if ($extractsufx eq '.tar.gz') { + &perror("WARN", $file, -1, "EXTRACT_SUFX is \".tar.gz.\" ". + "by default. you don't need to specify it."); + } if ($extractsufx =~ /^\.tar\.(bz2|lzma|xz|Z)$/) { my $ext = $1; $ext = 'bzip2' if ($ext eq 'bz2'); @@ -2476,10 +2480,6 @@ DIST_SUBDIR EXTRACT_ONLY &perror("WARN", $file, -1, "EXTRACT_SUFX is \".$1\". ". "Please use USES=tar:$1 instead."); } - if ($extractsufx eq '.tar.bz2') { - &perror("WARN", $file, -1, "EXTRACT_SUFX is \".tar.bz2.\" ". - "You should use USE_BZIP2 instead."); - } if ($extractsufx eq '.zip') { &perror("WARN", $file, -1, "EXTRACT_SUFX is \".zip\" ". "You should use USES[+]=zip instead.");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410271602.s9RG22Nt045877>