Hello Release Team, There's been an ungly bug that was missed out with MD5 checksumming in apt- offline. I have fixed it (debdiff attached) and request an exception to see this part of Squeeze. Ritesh -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
diff -Nru apt-offline-0.9.9squeeze2/apt_offline_core/AptOfflineLib.py apt-offline-0.9.9squeeze3/apt_offline_core/AptOfflineLib.py --- apt-offline-0.9.9squeeze2/apt_offline_core/AptOfflineLib.py 2010-09-03 22:35:27.000000000 +0530 +++ apt-offline-0.9.9squeeze3/apt_offline_core/AptOfflineLib.py 2010-10-19 19:25:38.000000000 +0530 @@ -66,7 +66,7 @@ data = open( file, 'rb' ) if HashType == "sha256": Hash = self.sha256( data ) - elif HashType == "md5": + elif HashType == "md5" or HashType == "md5sum": Hash = self.md5( data ) else: Hash = None data.close() @@ -81,7 +81,7 @@ return hash.hexdigest() def md5( self, data ): - hash = hashlib.md5.new() + hash = hashlib.md5() hash.update( data.read() ) return hash.hexdigest() @@ -579,4 +579,4 @@ exit_status = self.responseQueue.get() else: self.WorkerFunction( item, thread_name ) - \ No newline at end of file + diff -Nru apt-offline-0.9.9squeeze2/debian/changelog apt-offline-0.9.9squeeze3/debian/changelog --- apt-offline-0.9.9squeeze2/debian/changelog 2010-09-03 22:49:01.000000000 +0530 +++ apt-offline-0.9.9squeeze3/debian/changelog 2010-10-19 19:25:38.000000000 +0530 @@ -1,3 +1,9 @@ +apt-offline (0.9.9squeeze3) unstable; urgency=low + + * Fix checksum error for MD5 checksums + + -- Ritesh Raj Sarraf <rrs@debian.org> Tue, 19 Oct 2010 19:16:13 +0530 + apt-offline (0.9.9squeeze2) unstable; urgency=low * Clean up the cruft that got carried into the source file
--- Begin Message ---
- To: Ritesh Raj Sarraf <rrs@debian.org>
- Subject: apt-offline_0.9.9squeeze3_amd64.changes ACCEPTED into unstable
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Tue, 19 Oct 2010 15:17:21 +0000
- Message-id: <E1P8DwH-0001Ne-79@franck.debian.org>
Accepted: apt-offline_0.9.9squeeze3.dsc to main/a/apt-offline/apt-offline_0.9.9squeeze3.dsc apt-offline_0.9.9squeeze3.tar.gz to main/a/apt-offline/apt-offline_0.9.9squeeze3.tar.gz apt-offline_0.9.9squeeze3_all.deb to main/a/apt-offline/apt-offline_0.9.9squeeze3_all.deb Override entries for your package: apt-offline_0.9.9squeeze3.dsc - source admin apt-offline_0.9.9squeeze3_all.deb - optional admin Announcing to debian-devel-changes@lists.debian.org Thank you for your contribution to Debian.
--- End Message ---
Attachment:
signature.asc
Description: This is a digitally signed message part.