summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl11
2 files changed, 8 insertions, 7 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index 7676f185764..4a4038d93af 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.98 2001/05/31 17:37:25 abs Exp $
+# $NetBSD: Makefile,v 1.99 2001/06/09 12:30:53 wiz Exp $
#
-DISTNAME= pkglint-2.56
+DISTNAME= pkglint-2.57
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 530dd8345b0..973101da751 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -12,7 +12,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.50 2001/05/12 15:19:15 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.51 2001/06/09 12:30:53 wiz Exp $
#
# This version contains some changes necessary for NetBSD packages
# done by Hubert Feyrer <hubertf@netbsd.org>,
@@ -752,10 +752,11 @@ sub checkmakefile {
&perror("FATAL: LIBTOOL_OVERRIDE is deprecated, ".
"try to use LTCONFIG_OVERRIDE instead.");
}
- print "OK: checking MD5_FILE.\n" if ($verbose);
- if ($whole =~ /\nMD5_FILE/) {
- &perror("FATAL: MD5_FILE is deprecated, ".
- "use DIGEST_FILE instead.");
+ print "OK: checking MD5_FILE, DIGEST_FILE and PATCH_SUM_FILE.\n" if ($verbose);
+ if ($whole =~ /\n(MD5_FILE)/ or $whole =~ /\n(DIGEST_FILE)/ or
+ $whole =~ /\n(PATCH_SUM_FILE)/) {
+ &perror("FATAL: $1 is deprecated, ".
+ "use DISTINFO_FILE instead.");
}
print "OK: checking MIRROR_DISTFILE.\n" if ($verbose);
if ($whole =~ /\nMIRROR_DISTFILE/) {