From 0f4725328822ff33372bb16f77b83e08d2894e0f Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 5 Jan 2000 21:13:00 +0000 Subject: check for known RCS tags only, instead of all strings between a '$' and a '$' or a ':', bumped version number --- 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 c5fbbc87cbd..b42b621734f 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.34 2000/01/05 12:54:31 abs Exp $ +# $NetBSD: Makefile,v 1.35 2000/01/05 21:13:00 wiz Exp $ # -DISTNAME= pkglint-1.93 +DISTNAME= pkglint-1.94 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 080b5f17981..1e2fc5a706c 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,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.22 2000/01/05 12:54:32 abs Exp $ +# $NetBSD: pkglint.pl,v 1.23 2000/01/05 21:13:01 wiz Exp $ # # This version contains some changes necessary for NetBSD packages # done by Hubert Feyrer and @@ -537,7 +537,7 @@ sub checkpatch { $rcsidseen++ if /\$$rcsidstr[:\$]/; $whole .= $_; } - if ($committer && $whole =~ /.\$([A-Za-z0-9]+)[:\$]/) { # XXX + if ($committer && $whole =~ /.\$(Author|Date|Header|Id|Locker|Log|Name|RCSfile|Revision|Source|State|NetBSD)[:\$]/) { # XXX # RCS ID in very first line is ok, to identify version # of patch (-> only warn if there's something before the # actual $RCS_ID$, not on BOF - '.' won't match there) -- cgit v1.2.3