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.31.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6cf37851bc4
branches:  trunk
changeset: 501869:e6cf37851bc4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 30 23:09:40 2005 +0000

description:
Updated pkglint to 4.31.2.

Added the expected and actual checksums to the diagnostics if they
differ for patches.

diffstat:

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

diffs (34 lines):

diff -r 1c950dc9e03e -r e6cf37851bc4 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sun Oct 30 23:03:41 2005 +0000
+++ b/pkgtools/pkglint/Makefile Sun Oct 30 23:09:40 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.271 2005/10/30 22:11:38 rillig Exp $
+# $NetBSD: Makefile,v 1.272 2005/10/30 23:09:40 rillig Exp $
 #
 
-DISTNAME=      pkglint-4.31.1
+DISTNAME=      pkglint-4.31.2
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 1c950dc9e03e -r e6cf37851bc4 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun Oct 30 23:03:41 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun Oct 30 23:09:40 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.310 2005/10/30 23:03:41 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.311 2005/10/30 23:09:40 rillig Exp $
 #
 # This version contains lots of changes necessary for NetBSD packages
 # done by:
@@ -916,7 +916,7 @@
                                my $chksum = `sed -e '/\$NetBSD.*/d' $dir/$patchdir/$file | digest $alg`;
                                $chksum =~ s/\r*\n*\z//;
                                if ($sum ne $chksum) {
-                                       $line->log_error("Checksum of $file differs. Rerun '$conf_make makepatchsum'.");
+                                       $line->log_error("${alg} checksum of $file differs (expected ${sum}, got ${chksum}). Rerun '$conf_make makepatchsum'.");
                                }
                        } else {
                                $line->log_warning("$file does not exist.");



Home | Main Index | Thread Index | Old Index