From: Frank Lichtenheld Date: Sun, 17 Jun 2007 16:49:49 +0000 (+0200) Subject: parse-packages: Fix MD5 sum computation for descriptions X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=addbb9e9b01cfb3df8d605e44fe56b821997f418;p=deb%2Fpackages.git parse-packages: Fix MD5 sum computation for descriptions They were missing the final newline, therefor all generated MD5 sums were bogus. --- diff --git a/bin/parse-packages b/bin/parse-packages index d28083a..79fb6d9 100755 --- a/bin/parse-packages +++ b/bin/parse-packages @@ -120,7 +120,7 @@ for my $suite (@SUITES) { $descriptions[$did] = $descr; $descriptions{$descr} = $did; } - $data{'description-md5'} = Digest::MD5::md5_hex($data{'description'}); + $data{'description-md5'} = Digest::MD5::md5_hex($data{'description'}, "\n"); $data{'description'} = $did; $packages_descriptions{"$data{'package'} $data{'version'} $data{'architecture'}"} = $did; $descriptions_packages{$did} .=