diff options
author | rillig <rillig@pkgsrc.org> | 2005-09-23 13:08:23 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-09-23 13:08:23 +0000 |
commit | 2dcd34b2ecb6c770fbd42ce9cb68fd3017004410 (patch) | |
tree | 6bfc837108e099b83e647b9793342c72e09d1b43 /pkgtools | |
parent | fd65a760ef1ab68c10254468c31ee60d16248a99 (diff) | |
download | pkgsrc-2dcd34b2ecb6c770fbd42ce9cb68fd3017004410.tar.gz |
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 (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index 913ef0f10a2..cf6adb67d6b 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -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 --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 01db76ab3b6..316f7e79441 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.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 @@ sub checkfile_distinfo($$) { $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 @@ sub load_package_Makefile($$$$$) { # 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.*,,; } |