summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-12-18 14:25:40 +0000
committerrillig <rillig@pkgsrc.org>2005-12-18 14:25:40 +0000
commit00386432e6bf7087c40d7d32db56933c2c4ac4c6 (patch)
tree3ffc1d76bba50fde39f553a5ff3a9125116a2519 /pkgtools
parentc5ac040e744dc348955b5b343474d9c0c9fd3b8e (diff)
downloadpkgsrc-00386432e6bf7087c40d7d32db56933c2c4ac4c6.tar.gz
Synchronized the way the checksum of patch files is computed with the one
that is used in the rest of pkgsrc. This avoids false positive errors.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 852055267d7..7be0632dc9a 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.437 2005/12/13 12:03:47 wiz Exp $
+# $NetBSD: pkglint.pl,v 1.438 2005/12/18 14:25:40 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -2632,7 +2632,7 @@ sub checkfile_distinfo($) {
if (open(PATCH, "< ${current_dir}/${patchdir}/${file}")) {
my $data = "";
foreach my $patchline (<PATCH>) {
- $data .= $patchline unless $patchline =~ qr"\$NetBSD.*\$";
+ $data .= $patchline unless $patchline =~ qr"\$NetBSD";
}
close(PATCH);
my $chksum = Digest::SHA1::sha1_hex($data);