04-magic-add-lrf.patch 636 B

12345678910111213141516
  1. Author: Adam Buchbinder <adam.buchbinder@gmail.com>
  2. Description:
  3. Add support for BBeB ebooks. (Closes: #624585).
  4. diff -Naurp file.orig/magic/Magdir/archive file/magic/Magdir/archive
  5. --- file.orig/magic/Magdir/archive 2011-04-29 16:19:02.498227463 -0400
  6. +++ file/magic/Magdir/archive 2011-04-29 16:24:11.062821428 -0400
  7. @@ -890,3 +890,8 @@
  8. # ZPAQ: http://mattmahoney.net/dc/zpaq.html
  9. 0 string zPQ ZPAQ stream
  10. >3 byte x \b, level %d
  11. +
  12. +# BBeB ebook, unencrypted (LRF format)
  13. +# URL: http://www.sven.de/librie/Librie/LrfFormat
  14. +# From: Adam Buchbinder <adam.buchbinder@gmail.com>
  15. +0 string L\0R\0F\0\0\0 BBeB ebook data, unencrypted