diff options
author | hubertf <hubertf@pkgsrc.org> | 1999-09-13 02:44:46 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1999-09-13 02:44:46 +0000 |
commit | 5ee7d39bbf84c877ba69031c2abec324dfcc3bde (patch) | |
tree | 44fd77b97adeb9ba85b91f62745227749bdef925 /pkgtools | |
parent | c3750a7661ab08e12abe2d9616534850b45e8c49 (diff) | |
download | pkgsrc-5ee7d39bbf84c877ba69031c2abec324dfcc3bde.tar.gz |
Allow package versions to contain more than one consecutive characters.
Pointed out by Simon Burge <simonb@netbsd.org> on tech-pkg@netbsd.org.
Bumped version to 1.77.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
2 files changed, 4 insertions, 4 deletions
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 <hubertf@netbsd.org> 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 { |