pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Updated pkglint to 4.21.5.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2980618437e
branches:  trunk
changeset: 499824:e2980618437e
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Sep 27 18:58:56 2005 +0000

description:
Updated pkglint to 4.21.5.

Insist that PKGREVISION should be an integer or be undefined at all.

diffstat:

 doc/CHANGES                         |  3 ++-
 pkgtools/pkglint/Makefile           |  4 ++--
 pkgtools/pkglint/files/makevars.map |  3 ++-
 pkgtools/pkglint/files/pkglint.pl   |  7 ++++++-
 4 files changed, 12 insertions(+), 5 deletions(-)

diffs (68 lines):

diff -r ff325aaa1d99 -r e2980618437e doc/CHANGES
--- a/doc/CHANGES       Tue Sep 27 17:44:12 2005 +0000
+++ b/doc/CHANGES       Tue Sep 27 18:58:56 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.11229 2005/09/27 17:13:38 abs Exp $
+$NetBSD: CHANGES,v 1.11230 2005/09/27 18:59:33 rillig Exp $
 
 Changes to the packages collection and infrastructure in 2005:
 
@@ -4149,3 +4149,4 @@
        Updated editors/abiword-plugins to 2.2.10 [adam 2005-09-27]
        Updated devel/cpuflags to 0.94 [abs 2005-09-27]
        Updated pkgtools/pkg_chk to 1.62 [abs 2005-09-27]
+       Updated pkgtools/pkglint to 4.21.5 [rillig 2005-09-27]
diff -r ff325aaa1d99 -r e2980618437e pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Tue Sep 27 17:44:12 2005 +0000
+++ b/pkgtools/pkglint/Makefile Tue Sep 27 18:58:56 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.253 2005/09/23 13:08:23 rillig Exp $
+# $NetBSD: Makefile,v 1.254 2005/09/27 18:58:56 rillig Exp $
 #
 
-DISTNAME=      pkglint-4.21.4
+DISTNAME=      pkglint-4.21.5
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r ff325aaa1d99 -r e2980618437e pkgtools/pkglint/files/makevars.map
--- a/pkgtools/pkglint/files/makevars.map       Tue Sep 27 17:44:12 2005 +0000
+++ b/pkgtools/pkglint/files/makevars.map       Tue Sep 27 18:58:56 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makevars.map,v 1.12 2005/08/01 15:40:19 wiz Exp $
+# $NetBSD: makevars.map,v 1.13 2005/09/27 18:58:56 rillig Exp $
 #
 
 # This file tries to guess the type of some variables, according to their
@@ -40,6 +40,7 @@
 
 # some variables found in package Makefiles
 
+PKGREVISION            Integer
 GNU_CONFIGURE          Yes_Or_Undefined
 HOMEPAGE               URL
 MAINTAINER             Mail_Address
diff -r ff325aaa1d99 -r e2980618437e pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Sep 27 17:44:12 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Sep 27 18:58:56 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.287 2005/09/23 13:08:23 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.288 2005/09/27 18:58:56 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -1261,6 +1261,11 @@
                                        $line->log_warning("\"$value\" is not a valid URL.");
                                }
 
+                       } elsif ($type eq "Integer") {
+                               if ($value !~ qr"^\d+$") {
+                                       $line->log_warning("\"$value\" is not a valid Integer.");
+                               }
+
                        } else {
                                $line->log_error("[internal] Type $type unknown.");
                        }



Home | Main Index | Thread Index | Old Index