pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Files called "manual-*" in the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8cea1c4c4580
branches:  trunk
changeset: 511595:8cea1c4c4580
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Apr 18 00:35:18 2006 +0000

description:
Files called "manual-*" in the patches directory are not checked at all.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 772655b5d94b -r 8cea1c4c4580 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Tue Apr 18 00:25:04 2006 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Tue Apr 18 00:35:18 2006 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.559 2006/04/18 00:01:48 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.560 2006/04/18 00:35:18 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -4790,9 +4790,12 @@
        } elsif ($basename =~ qr"^MESSAGE") {
                $opt_check_MESSAGE and checkfile_MESSAGE($fname);
 
-       } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$" || $fname =~ qr"(?:^|/)patches/manual-[^/]*$") {
+       } elsif ($basename =~ qr"^patch-[A-Za-z0-9]*$") {
                $opt_check_patches and checkfile_patch($fname);
 
+       } elsif ($fname =~ qr"(?:^|/)patches/manual-[^/]*$") {
+               $opt_debug and log_info($fname, NO_LINE_NUMBER, "Not checked.");
+
        } elsif ($fname =~ qr"(?:^|/)patches/[^/]*$") {
                log_warning($fname, NO_LINE_NUMBER, "Patch files should be named \"patch-\", followed by letters and digits only.");
 



Home | Main Index | Thread Index | Old Index