318-magic-add-par2.dpatch 634 B

123456789101112131415161718
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 318-magic-add-par2.dpatch by Daniel van Eeden <daniel_e@dds.nl>
  3. ##
  4. ## DP: New magic for PAR2 archive files (Closes: #294070).
  5. @DPATCH@
  6. diff -Naur file-4.20.orig/magic/Magdir/archive file-4.20/magic/Magdir/archive
  7. --- file-4.20.orig/magic/Magdir/archive 2007-01-19 19:30:53.000000000 +0000
  8. +++ file-4.20/magic/Magdir/archive 2007-04-03 16:03:14.000000000 +0000
  9. @@ -723,3 +723,7 @@
  10. >14 byte 0x54 end slice
  11. >14 beshort 0x4e4e multi-part
  12. >14 beshort 0x4e53 multi-part, with -S
  13. +
  14. +# Type: Parity Archive
  15. +# From: Daniel van Eeden <daniel_e@dds.nl>
  16. +0 string PAR2 Parity Archive Volume Set