From fd3ea7cfa42c26c7228ad8b346405ef987efa431 Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 13 Feb 2011 21:10:33 +0000 Subject: Update to 2.13.4. * Check for duplicate MANx macros [1] * Add a warning if the wrong CPAN URL is used for the WWW URL [2] * Remove an obsolete CPAN warning [3] PR: 154069 [1] 154149 [2] 154724 [3] Submitted by: skreuzer [2] milki@rescomp.berkeley.edu [3] --- ports-mgmt/portlint/Makefile | 2 +- ports-mgmt/portlint/src/portlint.pl | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) (limited to 'ports-mgmt') diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 898b393dbd0d..faf9415f691e 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -8,7 +8,7 @@ # PORTNAME= portlint -PORTVERSION= 2.13.3 +PORTVERSION= 2.13.4 CATEGORIES= ports-mgmt MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index 6cc821277aa0..a551e6ee40d9 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -17,7 +17,7 @@ # OpenBSD and NetBSD will be accepted. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.207 2011/01/10 04:42:45 marcus Exp $ +# $MCom: portlint/portlint.pl,v 1.211 2011/02/13 21:09:18 marcus Exp $ # use strict; @@ -52,7 +52,7 @@ $portdir = '.'; # version variables my $major = 2; my $minor = 13; -my $micro = 3; +my $micro = 4; sub l { '[{(]'; } sub r { '[)}]'; } @@ -636,6 +636,10 @@ sub checkdescr { &perror("WARN", $file, -1, "WWW URL, $wwwurl should begin ". "with \"http://\" or \"https://\"."); } + if ($wwwurl =~ m|^http://search.cpan.org/~|) { + &perror("WARN", $file, -1, "consider changing WWW URL to ". + "http://search.cpan.org/dist/$makevar{PORTNAME}"); + } } $linecnt++; $longlines++ if ($maxchars{$file} < length); @@ -2523,14 +2527,6 @@ DIST_SUBDIR EXTRACT_ONLY } - if ($makevar{MASTER_SITE_SUBDIR}) { - print "OK: Checking MASTER_SITE_SUBDIR.\n" if ($verbose); - if ($makevar{MASTER_SITE_SUBDIR} =~ m|\.\./*authors|) { - &perror("WARN", $file, -1, "MASTER_SITE_SUBDIR uses ../authors ". - "SUBDIR. Use one of the MASTER_SITE*CPAN macros instead."); - } - } - $pkg_version = $makevar{PKG_VERSION}; if ($makevar{CONFLICTS}) { @@ -2890,6 +2886,13 @@ FETCH_DEPENDS DEPENDS_TARGET } foreach my $i (split(//, $manchapters)) { next if ($i eq ''); + print "XXX: Checking MAN $i\n"; + my @mansecs = grep(/MAN\U$i\E=\s*(.*)/, split(/\n/, $tmp)); + if (scalar @mansecs > 1) { + &perror("FATAL", $file, -1, "duplicate MAN$i macro. ". + "Only the last MAN$i macro will be processed. Use ". + "MAN$i+=... instead to append man pages."); + } if ($tmp =~ /MAN\U$i\E=\s*([^\n]*)\n/) { @mman = grep($_ !~ /^\s*$/, split(/\s+/, $1)); @pman = grep($_ !~ /^\s*$/, -- cgit /electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/jailutils
Commit message (Expand)AuthorAgeFilesLines
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* Update to 1.6skv2009-09-022-4/+4
* Update to 1.5skv2009-07-052-4/+4
* Update to 1.4skv2009-03-272-4/+4
* Update to 1.3skv2008-09-042-4/+4
* - Update to 1.2skv2008-05-132-13/+5
* SHA256ifyedwin2006-01-241-0/+1
* Update to 1.0skv2004-12-233-9/+11
* Updated to 0.6skv2004-07-234-12/+29
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* Updated to 0.5.4skv2003-08-092-9/+3
* Clear moonlight beckons.ade2003-03-072-1/+1
* Updated to 0.5.2skv2002-10-152-3/+9
* Add jailutils 0.5.1, several utilies for managing jails.skv2002-06-27