From f3be4883244aa3790599025ac355159f2d05986e Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 28 Oct 2004 13:03:10 +0000 Subject: Add - and . to characters allowed in patch names. Welcome to 3.94. --- 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 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 , @@ -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//; -- cgit v1.2.3