summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/CHANGES3
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/makevars.map3
-rw-r--r--pkgtools/pkglint/files/pkglint.pl7
4 files changed, 12 insertions, 5 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 2d37bafc94f..5124216943d 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -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 @@ Changes to the packages collection and infrastructure in 2005:
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 --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index cf6adb67d6b..a6f51a4af2b 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -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 --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map
index d21759d3fe0..329fe171d8e 100644
--- a/pkgtools/pkglint/files/makevars.map
+++ b/pkgtools/pkglint/files/makevars.map
@@ -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 @@ USE_XFACE Boolean
# some variables found in package Makefiles
+PKGREVISION Integer
GNU_CONFIGURE Yes_Or_Undefined
HOMEPAGE URL
MAINTAINER Mail_Address
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 316f7e79441..ff4bf0ab9d8 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.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 @@ sub checkline_Makefile_vartype($$) {
$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.");
}