diff options
author | rillig <rillig@pkgsrc.org> | 2005-12-18 14:25:40 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-12-18 14:25:40 +0000 |
commit | b776d7dde2dbd82e6437e145d8f063d324945a1b (patch) | |
tree | 3ffc1d76bba50fde39f553a5ff3a9125116a2519 /pkgtools | |
parent | 10f9b774dede794d5e04d144bd8f70d640be0672 (diff) | |
download | pkgsrc-b776d7dde2dbd82e6437e145d8f063d324945a1b.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.pl | 4 |
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); |