pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Improve pattern matching for possible...
details: https://anonhg.NetBSD.org/pkgsrc/rev/69be6278c4f3
branches: trunk
changeset: 469434:69be6278c4f3
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Feb 23 12:33:29 2004 +0000
description:
Improve pattern matching for possible RCS Ids
to always check for a terminating dollar sign. Welcome to 3.68.
diffstat:
pkgtools/pkglint/Makefile | 4 ++--
pkgtools/pkglint/files/pkglint.pl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r d44e14e66fb1 -r 69be6278c4f3 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Mon Feb 23 10:57:28 2004 +0000
+++ b/pkgtools/pkglint/Makefile Mon Feb 23 12:33:29 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.178 2004/02/19 21:22:02 markd Exp $
+# $NetBSD: Makefile,v 1.179 2004/02/23 12:33:29 wiz Exp $
#
-DISTNAME= pkglint-3.67
+DISTNAME= pkglint-3.68
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff -r d44e14e66fb1 -r 69be6278c4f3 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Mon Feb 23 10:57:28 2004 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Mon Feb 23 12:33:29 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.97 2004/01/22 08:09:11 grant Exp $
+# $NetBSD: pkglint.pl,v 1.98 2004/02/23 12:33:29 wiz Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf%netbsd.org@localhost>,
@@ -548,7 +548,7 @@
$rcsidseen++ if /\$$rcsidstr[:\$]/;
$whole .= $_;
}
- if ($committer && $whole =~ /.\$(Author|Date|Header|Id|Locker|Log|Name|RCSfile|Revision|Source|State|NetBSD)[:\$]/) { # 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)
Home |
Main Index |
Thread Index |
Old Index