102-magic-remove-bzip.dpatch 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 12-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-03-27 12:23:14.000000000 +0000
  9. @@ -101,18 +101,18 @@
  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. +# Disabled because it is too weak (MPi)
  25. +#0 string BZ bzip compressed data
  26. +#>2 byte x \b, version: %c
  27. +#>3 string =1 \b, compression block size 100k
  28. +#>3 string =2 \b, compression block size 200k
  29. +#>3 string =3 \b, compression block size 300k
  30. +#>3 string =4 \b, compression block size 400k
  31. +#>3 string =5 \b, compression block size 500k
  32. +#>3 string =6 \b, compression block size 600k
  33. +#>3 string =7 \b, compression block size 700k
  34. +#>3 string =8 \b, compression block size 800k
  35. +#>3 string =9 \b, compression block size 900k
  36. # lzop from <markus.oberhumer@jk.uni-linz.ac.at>
  37. 0 string \x89\x4c\x5a\x4f\x00\x0d\x0a\x1a\x0a lzop compressed data