Your message dated Sat, 18 Sep 2010 13:32:15 +0000
with message-id <[email protected]>
and subject line Bug#596873: fixed in file 5.04-6
has caused the Debian Bug report #596873,
regarding Add support for EPUB ebooks (and fix some false negatives for ZIPs.)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
596873: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596873
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libmagic1
Version: 5.04-5
Tags: patch
Severity: normal
As described in the Open Container Format spec, ebooks in OEBPS ("EPUB")
format are ZIP files, restricted so that they can be identified by the
first file in the archive, named 'mimetype', with prescribed contents.
http://www.idpf.org/ocf/ocf1.0/download/ocf10.htm#_Toc17456204
Certain other ZIP files have a file named 'mimetype' as their first
entry, such as KOffice and OpenOffice documents. However, the magic file
is structured such that if 'mimetype' appears, but they *don't* match
any known mimetype, they'll simply return 'data', even if they're valid
ZIP files. (All valid EPUB documents do so without this patch.)
It should be possible to fix all false negatives (not just this one) by
moving the mimetype-containing checks above the plain ZIP checks. That
would be a significantly larger patch, and it would likely make the ZIP
section of the archive tests more difficult to read. I'm not aware of
any other file formats that use this method ('mimetype' at offset 30),
so this may be a bit of a non-issue now, but that would be a more
general solution.
Let me know if you'd like a larger patch to fix the general case. I'll
make it on top of this one.
I'm still marking this one 'normal' because it deals with some false
negatives.
Adam Buchbinder
--- End Message ---
--- Begin Message ---
Source: file
Source-Version: 5.04-6
We believe that the bug you reported is fixed in the latest version of
file, which is due to be installed in the Debian FTP archive:
file_5.04-6.diff.gz
to main/f/file/file_5.04-6.diff.gz
file_5.04-6.dsc
to main/f/file/file_5.04-6.dsc
file_5.04-6_i386.deb
to main/f/file/file_5.04-6_i386.deb
libmagic-dev_5.04-6_i386.deb
to main/f/file/libmagic-dev_5.04-6_i386.deb
libmagic1_5.04-6_i386.deb
to main/f/file/libmagic1_5.04-6_i386.deb
python-magic-dbg_5.04-6_i386.deb
to main/f/file/python-magic-dbg_5.04-6_i386.deb
python-magic_5.04-6_i386.deb
to main/f/file/python-magic_5.04-6_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Baumann <[email protected]> (supplier of updated file package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 18 Sep 2010 11:44:13 +0200
Source: file
Binary: file libmagic1 libmagic-dev python-magic python-magic-dbg
Architecture: source i386
Version: 5.04-6
Distribution: experimental
Urgency: low
Maintainer: Daniel Baumann <[email protected]>
Changed-By: Daniel Baumann <[email protected]>
Description:
file - Determines file type using "magic" numbers
libmagic-dev - File type determination library using "magic" numbers
(developmen
libmagic1 - File type determination library using "magic" numbers
python-magic - File type determination library using "magic" numbers (Python
bin
python-magic-dbg - File type determination library using "magic" numbers
(Python bin
Closes: 524648 593488 596873
Changes:
file (5.04-6) experimental; urgency=low
.
[ Judit Foglszinger ]
* Fixing incorrect argument in manpage (Closes: #524648).
* Fixing typo in output for x-icon (Closes: #593488).
.
[ Daniel Baumann ]
* Adding patch from Adam Buchbinder <[email protected]> to add
new magic for EPUB (Closes: #596873).
* Rediffing doc-manpages1.patch and renaming to doc-manpages-typo3 for
consistency.
* Rediffing magic-update-icon.patch.
Checksums-Sha1:
abfbad1d60040b1ff30d3575ec456100ebbab4c6 1372 file_5.04-6.dsc
ee0eb5b961eeabf0db8c7a56a7f0cd6e878b3b05 51171 file_5.04-6.diff.gz
95415ad4a584e6fd1791830b0a4fe53496603b70 49326 file_5.04-6_i386.deb
e125f6af901359acdd4e778115015acdba89b7ed 233878 libmagic1_5.04-6_i386.deb
7d338ce6bdf9debae1ff2d87b3ecab1e0a0350b3 101188 libmagic-dev_5.04-6_i386.deb
37425d9e0bcfe344a8f1ce0b4f3442e2585eef0a 37780 python-magic_5.04-6_i386.deb
18995550fd022df7ea37f32200e6fc06968dfea4 23672 python-magic-dbg_5.04-6_i386.deb
Checksums-Sha256:
60e58e2b057a96fda12794fbaab69bcf52f561842d2b6419d81e74a3e9d391f2 1372
file_5.04-6.dsc
7a7db642f96a0836900b4fd10190237f7803611bb020b553319396ff2d154a85 51171
file_5.04-6.diff.gz
64795787453b4ced8503bf00df29e56f6bfa67b22fd5e5335cbf9dc3b38e1d35 49326
file_5.04-6_i386.deb
c10ad23a2ec9df5bf85949f918ab45778751c46bcc91c45fe75fcd889a2aed62 233878
libmagic1_5.04-6_i386.deb
3e95b56fceb31a51f8b11a186336f136b998a86393487d74f0dc59c497a98650 101188
libmagic-dev_5.04-6_i386.deb
978dc28ed7841739cae9ac3972c1c30686c0dd681e6cc989add5f2903ee37334 37780
python-magic_5.04-6_i386.deb
b9ff6ab0b5c9a18eea350717a5781a39f200d285d2b49851ce3eadacac6566d3 23672
python-magic-dbg_5.04-6_i386.deb
Files:
a135020e0dda04d1936c6a0460e9da44 1372 utils standard file_5.04-6.dsc
e303f7aeba896de4d19feec82b12b479 51171 utils standard file_5.04-6.diff.gz
26e9b22f34f9f781d177b24d405500ce 49326 utils standard file_5.04-6_i386.deb
f2934e025fffd1add25814319450583d 233878 libs standard libmagic1_5.04-6_i386.deb
28774372e7d17afaa4b12bb59770c513 101188 libdevel optional
libmagic-dev_5.04-6_i386.deb
730cb5988386876b5d6b3446cbba7111 37780 python extra
python-magic_5.04-6_i386.deb
bfe3617fd3a01330b3bc627797267a40 23672 debug extra
python-magic-dbg_5.04-6_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkyUiwEACgkQ+C5cwEsrK569ggCglwoTIrsSfCkAPSZVGQLIKHUd
7goAoLznmmNuPVO3s5qnJp+0a9qW8FS+
=x9ac
-----END PGP SIGNATURE-----
--- End Message ---