diff options
author | wiz <wiz@pkgsrc.org> | 2004-10-28 13:03:10 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2004-10-28 13:03:10 +0000 |
commit | f354c73351f860d8c84a99dd14ec6edb33dc8ab8 (patch) | |
tree | 0997c70487ce3d8ec1fc14fd447ed6af0d90c9f9 /pkgtools | |
parent | 784e8b353705e5e57e0d1a7f669db7f81b1b9fc6 (diff) | |
download | pkgsrc-f354c73351f860d8c84a99dd14ec6edb33dc8ab8.tar.gz |
Add - and . to characters allowed in patch names. Welcome to 3.94.
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 68d313bf16c..6c0d9c6e905 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.207 2004/10/16 15:04:26 wiz Exp $ +# $NetBSD: Makefile,v 1.208 2004/10/28 13:03:10 wiz Exp $ # -DISTNAME= pkglint-3.93 +DISTNAME= pkglint-3.94 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 49c8bb06d65..fdc1e7853e5 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.121 2004/10/16 15:04:26 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.122 2004/10/28 13:03:10 wiz Exp $ # # This version contains lots of changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org>, @@ -725,7 +725,7 @@ sub checkfile_distinfo($) { log_warning($line->file, $line->lineno, "possible backup file \"$patch\"?"); } - if ($patch =~ /^patch-[A-Za-z0-9_]+$/) { + if ($patch =~ /^patch-[-A-Za-z0-9_.]+$/) { if (-f "$opt_packagedir/$patchdir/$patch") { my $chksum = `sed -e '/\$NetBSD.*/d' $opt_packagedir/$patchdir/$patch | digest $alg`; $chksum =~ s/\r*\n*\z//; |