pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Removed the (vague) check for "...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b42978dd153
branches:  trunk
changeset: 503172:0b42978dd153
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Nov 15 13:37:55 2005 +0000

description:
Removed the (vague) check for "nb\d+" in DISTNAME.

diffstat:

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

diffs (24 lines):

diff -r d6323b756b8c -r 0b42978dd153 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Nov 15 12:55:14 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Nov 15 13:37:55 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.359 2005/11/15 03:10:21 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.360 2005/11/15 13:37:55 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -2472,11 +2472,6 @@
                log_warning(NO_FILE, NO_LINE_NUMBER, "As DISTNAME ist not a valid package name, please define the PKGNAME explicitly.");
        }
 
-       if (defined($distname) && $distname =~ qr"(nb\d+)") {
-                       $opt_warn_vague && log_warning(NO_FILE, NO_LINE_NUMBER, "Is '$1' really ok on DISTNAME, ".
-                               "or is it intended for PKGNAME?");
-       }
-
        if (!defined($pkgname)) {
                $pkgname = $distname;
        }



Home | Main Index | Thread Index | Old Index