pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Don't warn about the misnamed v...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8907610f8ea7
branches: trunk
changeset: 511208:8907610f8ea7
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Apr 11 17:44:29 2006 +0000
description:
Don't warn about the misnamed variables *_TEMPLATE, which are actually
lists of files. Don't warn about files named "manual-*" in the patches
directory.
diffstat:
pkgtools/pkglint/files/pkglint.pl | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 4b6c7765352e -r 8907610f8ea7 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Apr 11 17:41:47 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Apr 11 17:44:29 2006 +0000
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.549 2006/03/12 16:55:51 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.550 2006/04/11 17:44:29 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -1484,7 +1484,9 @@
);
my @plurals_reluctantly_accepted = qw(
CRYPTO
+ DEINSTALL_TEMPLATE
FIX_RPATH
+ INSTALL_TEMPLATE
PYTHON_VERSIONS_INCOMPATIBLE
REPLACE_INTERPRETER
REPLACE_PERL
@@ -4781,7 +4783,7 @@
} elsif ($basename =~ qr"^MESSAGE") {
$opt_check_MESSAGE and checkfile_MESSAGE($fname);
- } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$") {
+ } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$" || $fname =~ qr"(?:^|/)patches/manual-[^/]*$") {
$opt_check_patches and checkfile_patch($fname);
} elsif ($fname =~ qr"(?:^|/)patches/[^/]*$") {
Home |
Main Index |
Thread Index |
Old Index