summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-12-24 09:54:39 +0000
committerjmmv <jmmv>2003-12-24 09:54:39 +0000
commitb8f5b734dd3d3196fca3bbb3382165ef3c9df7d7 (patch)
tree14cd99862c13942f9ee8196dfcb46b85d1c30087 /pkgtools
parent1befd37a42f292de61d5f24b84d247d3bff5604e (diff)
downloadpkgsrc-b8f5b734dd3d3196fca3bbb3382165ef3c9df7d7.tar.gz
Update to 3.66: warn if MAINTAINER contains @netbsd.org instead of @NetBSD.org.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 84cc5526458..9bc4af20575 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.172 2003/10/11 08:03:40 wiz Exp $
+# $NetBSD: Makefile,v 1.173 2003/12/24 09:54:39 jmmv Exp $
#
-DISTNAME= pkglint-3.65
+DISTNAME= pkglint-3.66
WRKSRC= ${WRKDIR}
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 02e46a869ed..bd882986384 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.92 2003/08/02 19:51:45 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.93 2003/12/24 09:54:39 jmmv Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org>,
@@ -1227,7 +1227,9 @@ EOF
&checkearlier($tmp, @varnames);
$tmp = "\n" . $tmp;
- if ($tmp =~ /\nMAINTAINER=[^\n]+/) {
+ if ($tmp =~ /\nMAINTAINER=[^@]+\@netbsd.org/) {
+ &perror("WARN: \@netbsd.org should be \@NetBSD.org in MAINTAINER.");
+ } elsif ($tmp =~ /\nMAINTAINER=[^\n]+/) {
$tmp =~ s/\nMAINTAINER=[^\n]+//;
} else {
&perror("FATAL: no MAINTAINER listed in $file.");