pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Don't complain if no MAINTAINER...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f8c1bbafbf5
branches:  trunk
changeset: 503389:7f8c1bbafbf5
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Nov 19 17:54:37 2005 +0000

description:
Don't complain if no MAINTAINER is given.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diffs (31 lines):

diff -r 6554956481a7 -r 7f8c1bbafbf5 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sat Nov 19 17:31:40 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sat Nov 19 17:54:37 2005 +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.363 2005/11/19 17:22:21 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.364 2005/11/19 17:54:37 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -2555,18 +2555,6 @@
                $opt_warn_vague && log_error(NO_FILE, NO_LINE_NUMBER, "Please add a short COMMENT describing the package.");
        }
 
-       $tmp = "\n" . $tmp;
-       if ($tmp =~ /\nMAINTAINER=[^@]+\@netbsd.org/) {
-               $opt_warn_vague && log_warning(NO_FILE, NO_LINE_NUMBER, "\@netbsd.org should be \@NetBSD.org in MAINTAINER.");
-
-       } elsif ($tmp =~ /\nMAINTAINER=[^\n]+/) {
-               $tmp =~ s/\nMAINTAINER=[^\n]+//;
-
-       } else {
-               $opt_warn_vague && log_error($fname, NO_LINE_NUMBER, "No MAINTAINER found.");
-       }
-       $tmp =~ s/\n\n+/\n/g;
-
        #
        # section 5: *_DEPENDS (may not be there)
        #



Home | Main Index | Thread Index | Old Index