pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Add - and . to characters allowed in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8560381e1014
branches:  trunk
changeset: 482464:8560381e1014
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Oct 28 13:03:10 2004 +0000

description:
Add - and . to characters allowed in patch names. Welcome to 3.94.

diffstat:

 pkgtools/pkglint/Makefile         |  4 ++--
 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r a240a508c7ea -r 8560381e1014 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Thu Oct 28 13:02:26 2004 +0000
+++ b/pkgtools/pkglint/Makefile Thu Oct 28 13:03:10 2004 +0000
@@ -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 -r a240a508c7ea -r 8560381e1014 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Thu Oct 28 13:02:26 2004 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Thu Oct 28 13:03:10 2004 +0000
@@ -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@localhost>,
@@ -725,7 +725,7 @@
                        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//;



Home | Main Index | Thread Index | Old Index