From 3dce6e8b7e2301fa22e4b1f388d325c26571c4c3 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 9 Jun 2001 12:30:53 +0000 Subject: Warn about deprecated DIGEST_FILE and PATCH_SUM_FILE. Bump to 2.57. --- pkgtools/pkglint/Makefile | 4 ++-- pkgtools/pkglint/files/pkglint.pl | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'pkgtools/pkglint') 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 , @@ -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/) { -- cgit v1.2.3