From 5ee7d39bbf84c877ba69031c2abec324dfcc3bde Mon Sep 17 00:00:00 2001 From: hubertf Date: Mon, 13 Sep 1999 02:44:46 +0000 Subject: Allow package versions to contain more than one consecutive characters. Pointed out by Simon Burge on tech-pkg@netbsd.org. Bumped version to 1.77. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/pkglint.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 694be31b048..54be9519ce3 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.16 1999/09/09 20:21:17 hubertf Exp $ +# $NetBSD: Makefile,v 1.17 1999/09/13 02:44:46 hubertf Exp $ # -DISTNAME= pkglint-1.76 +DISTNAME= pkglint-1.77 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 596927ddeba..e2970df2fc5 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.11 1999/09/09 20:21:18 hubertf Exp $ +# $NetBSD: pkglint.pl,v 1.12 1999/09/13 02:44:47 hubertf Exp $ # # This version contains some changes necessary for NetBSD packages # done by Hubert Feyrer and @@ -797,7 +797,7 @@ EOF (($pkgname eq '') ? "DISTNAME." : "PKGNAME.")); } if ($k =~ /^pl[0-9]*$/ - || $k =~ /^[0-9]*[A-Za-z]?[0-9]*(\.[0-9]*[A-Za-z]?[0-9]*)*$/) { + || $k =~ /^[0-9]*[A-Za-z]*[0-9]*(\.[0-9]*[A-Za-z]*[0-9]*)*$/) { print "OK: trailing part of PKGNAME\"-$k\" ". "looks fine.\n" if ($verbose); } else { -- cgit v1.2.3