pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Update to 3.66: warn if MAINTAINER co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb96331e6e85
branches:  trunk
changeset: 465219:cb96331e6e85
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Wed Dec 24 09:54:39 2003 +0000

description:
Update to 3.66: warn if MAINTAINER contains @netbsd.org instead of @NetBSD.org.

diffstat:

 pkgtools/pkglint/Makefile         |  4 ++--
 pkgtools/pkglint/files/pkglint.pl |  6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5064b4dc9164 -r cb96331e6e85 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Wed Dec 24 09:53:47 2003 +0000
+++ b/pkgtools/pkglint/Makefile Wed Dec 24 09:54:39 2003 +0000
@@ -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 -r 5064b4dc9164 -r cb96331e6e85 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed Dec 24 09:53:47 2003 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed Dec 24 09:54:39 2003 +0000
@@ -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@localhost>,
@@ -1227,7 +1227,9 @@
 
        &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.");



Home | Main Index | Thread Index | Old Index