103-magic-remove-bzip.dpatch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 103-magic-remove-bzip.dpatch by Michael Piefel <piefel@debian.org>
  3. ##
  4. ## DP: Disabled bzip detection (closes: #277648).
  5. @DPATCH@
  6. diff -Naur file-4.20.orig/magic/Magdir/compress file-4.20/magic/Magdir/compress
  7. --- file-4.20.orig/magic/Magdir/compress 2006-03-02 22:10:26.000000000 +0000
  8. +++ file-4.20/magic/Magdir/compress 2007-04-03 12:26:56.000000000 +0000
  9. @@ -102,17 +102,17 @@
  10. # bzip a block-sorting file compressor
  11. # by Julian Seward <sewardj@cs.man.ac.uk> and others
  12. #
  13. -0 string BZ bzip compressed data
  14. ->2 byte x \b, version: %c
  15. ->3 string =1 \b, compression block size 100k
  16. ->3 string =2 \b, compression block size 200k
  17. ->3 string =3 \b, compression block size 300k
  18. ->3 string =4 \b, compression block size 400k
  19. ->3 string =5 \b, compression block size 500k
  20. ->3 string =6 \b, compression block size 600k
  21. ->3 string =7 \b, compression block size 700k
  22. ->3 string =8 \b, compression block size 800k
  23. ->3 string =9 \b, compression block size 900k
  24. +#0 string BZ bzip compressed data
  25. +#>2 byte x \b, version: %c
  26. +#>3 string =1 \b, compression block size 100k
  27. +#>3 string =2 \b, compression block size 200k
  28. +#>3 string =3 \b, compression block size 300k
  29. +#>3 string =4 \b, compression block size 400k
  30. +#>3 string =5 \b, compression block size 500k
  31. +#>3 string =6 \b, compression block size 600k
  32. +#>3 string =7 \b, compression block size 700k
  33. +#>3 string =8 \b, compression block size 800k
  34. +#>3 string =9 \b, compression block size 900k
  35. # lzop from <markus.oberhumer@jk.uni-linz.ac.at>
  36. 0 string \x89\x4c\x5a\x4f\x00\x0d\x0a\x1a\x0a lzop compressed data