pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Updated pkglint to 4.21.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3209c9e7d738
branches:  trunk
changeset: 499468:3209c9e7d738
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Sep 23 13:08:23 2005 +0000

description:
Updated pkglint to 4.21.4.

The last change introduced some false positive diagnostics. If a
distinfo file contains the checksum for a patch that does not exist,
this is not considered to be an error, but only a warning, as the
additional checksums do not influence the package.

diffstat:

 pkgtools/pkglint/Makefile         |  4 ++--
 pkgtools/pkglint/files/pkglint.pl |  6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r ceda44723e68 -r 3209c9e7d738 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Fri Sep 23 12:18:34 2005 +0000
+++ b/pkgtools/pkglint/Makefile Fri Sep 23 13:08:23 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.252 2005/09/22 15:54:23 rillig Exp $
+# $NetBSD: Makefile,v 1.253 2005/09/23 13:08:23 rillig Exp $
 #
 
-DISTNAME=      pkglint-4.21.3
+DISTNAME=      pkglint-4.21.4
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r ceda44723e68 -r 3209c9e7d738 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Fri Sep 23 12:18:34 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Fri Sep 23 13:08:23 2005 +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.286 2005/09/22 15:54:23 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.287 2005/09/23 13:08:23 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -840,7 +840,7 @@
                                        $line->log_error("Checksum of $patch differs. Rerun '$conf_make makepatchsum'.");
                                }
                        } else {
-                               $line->log_error("$patch does not exist.");
+                               $line->log_warning("$patch does not exist.");
                        }
                }
                $in_distinfo{$patch} = true;
@@ -1549,10 +1549,12 @@
 
        # HACK
        if ($whole !~ qr"\nUSE_PHP_EXT_PATCHES") {
+               log_info($fname, NO_LINE_NUMBER, "[hack] USE_PHP_EXT_PATCHES");
                $whole =~ s,\nPATCHDIR=.*PHPPKGSRCDIR.*,,;
        }
        # HACK
        if ($whole =~ qr"\nPECL_VERSION") {
+               log_info($fname, NO_LINE_NUMBER, "[hack] PECL_VERSION");
                $whole =~ s,\nDISTINFO_FILE=.*PHPPKGSRCDIR.*,,;
        }
 



Home | Main Index | Thread Index | Old Index