238-magic-add-dact.patch 627 B

123456789101112131415161718
  1. Author: n/a
  2. Description: Adding new magics for DACT (Closes: #582945).
  3. diff -Naurp file.orig/magic/Magdir/compress file/magic/Magdir/compress
  4. --- file.orig/magic/Magdir/compress 2010-06-21 00:50:12.608254012 +0200
  5. +++ file/magic/Magdir/compress 2010-06-21 00:53:13.743273541 +0200
  6. @@ -219,3 +219,11 @@
  7. # URL: http://tukaani.org/xz/
  8. 0 string \xfd\x37\x7a\x58\x5a\x00 XZ compressed data
  9. !:mime application/x-xz
  10. +
  11. +# Type: DACT compressed files
  12. +0 long 0x444354C3 DACT compressed data
  13. +>4 byte >-1 (version %i.
  14. +>5 byte >-1 %i.
  15. +>6 byte >-1 %i)
  16. +>7 long >0 , original size: %i bytes
  17. +>15 long >30 , block size: %i bytes