diff options
author | rillig <rillig> | 2005-10-30 23:09:40 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-10-30 23:09:40 +0000 |
commit | 7942f228af64f9ed21283c7ae687d81458899a6b (patch) | |
tree | baae10e401e3b16db769f74ada4d67f27d53e933 /pkgtools | |
parent | f6515c4ea9695a3eb09ac00ac5abc1fc93b4395f (diff) | |
download | pkgsrc-7942f228af64f9ed21283c7ae687d81458899a6b.tar.gz |
Updated pkglint to 4.31.2.
Added the expected and actual checksums to the diagnostics if they
differ for patches.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 57549b661df..720c80ec34e 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -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 --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 619666dcc98..c1bcd3e2822 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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 @@ sub checkfile_distinfo($$) { 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."); |