diff options
author | wiz <wiz@pkgsrc.org> | 2000-01-05 21:13:00 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-01-05 21:13:00 +0000 |
commit | 0f4725328822ff33372bb16f77b83e08d2894e0f (patch) | |
tree | d11b3900a021b6668a6165dd87905846adb0a008 /pkgtools | |
parent | b90923a71403f7f519de487f4eb8e5e6bd43df95 (diff) | |
download | pkgsrc-0f4725328822ff33372bb16f77b83e08d2894e0f.tar.gz |
check for known RCS tags only, instead of all strings between a '$' and
a '$' or a ':', bumped version number
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 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 <hubertf@netbsd.org> 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) |