[xml/sgml-pkgs] Bug#773366: fixed in epubcheck 4.1.0-1

Paul Wise pabs at debian.org
Wed Nov 28 01:36:45 GMT 2018


Control: found -1 4.1.0-1

On Tue, 2018-11-27 at 12:50 +0000, Eugene Zhukov wrote:

>  epubcheck (4.1.0-1) unstable; urgency=medium
..
>    * Check files with extensions other than .epub (Closes: #773366)

This version of epubcheck did not fix the issue:

$ cp /usr/share/doc/debian-policy/policy.epub .
$ cp policy.epub policy
$ file foo*
foo*: cannot open `foo*' (No such file or directory)
$ file po*
policy       policy.epub  
$ file policy*
policy:      Zip archive data, at least v2.0 to extract
policy.epub: Zip archive data, at least v2.0 to extract
$ file --mime po
policy       policy.epub  
$ file --mime policy*
policy:      application/zip; charset=binary
policy.epub: application/zip; charset=binary
$ epubcheck po
policy       policy.epub  
$ epubcheck policy.epub
ERROR(PKG-006): policy.epub(-1,-1): Mimetype file entry is missing or is not the first file in the archive.
Validating using EPUB version 3.0.1 rules.
INFO(HTM_053): policy.epub/ch-opersys.xhtml(94,30): Found an external file link (file://) in file: 'reference external" href="file:///usr/sh'.

Check finished with errors
Messages: 0 fatal / 1 errors / 0 warnings / 1 info

epubcheck completed
$ epubcheck policy
Mode required for non-epub files. Default version is 3.0.
epubcheck completed
$ epubcheck --version
EPUBCheck v4.1.0
No file specified in the arguments. Exiting.
epubcheck completed

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-xml-sgml-pkgs/attachments/20181128/7de354df/attachment.sig>


More information about the debian-xml-sgml-pkgs mailing list