312-magic-add-luks.dpatch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 313-magic-add-luks.dpatch by Anthon van der Neut <anthon@mnt.org>
  3. ##
  4. ## DP: New magic for the Linux Unified Key Setup (Closes: #394246).
  5. @DPATCH@
  6. diff -Naur file-4.20.orig/magic/Magdir/luks file-4.20/magic/Magdir/luks
  7. --- file-4.20.orig/magic/Magdir/luks 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.20/magic/Magdir/luks 2007-05-17 16:22:35.000000000 +0000
  9. @@ -0,0 +1,10 @@
  10. +# Type: Linux Unified Key Setup
  11. +# URL: http://luks.endorphin.org/spec
  12. +# From: Anthon van der Neut <anthon@mnt.org>
  13. +
  14. +0 string LUKS\xba\xbe LUKS encrypted file,
  15. +>6 beshort x ver %d
  16. +>8 string x [%s,
  17. +>40 string x %s,
  18. +>72 string x %s]
  19. +>168 string x UUID: %s
  20. diff -Naur file-4.20.orig/magic/Makefile.am file-4.20/magic/Makefile.am
  21. --- file-4.20.orig/magic/Makefile.am 2007-05-17 16:20:03.000000000 +0000
  22. +++ file-4.20/magic/Makefile.am 2007-05-17 16:22:54.000000000 +0000
  23. @@ -119,6 +119,7 @@
  24. Magdir/lisp \
  25. Magdir/llvm \
  26. Magdir/lua \
  27. +Magdir/luks \
  28. Magdir/mach \
  29. Magdir/macintosh \
  30. Magdir/magic \
  31. diff -Naur file-4.20.orig/magic/Makefile.in file-4.20/magic/Makefile.in
  32. --- file-4.20.orig/magic/Makefile.in 2007-05-17 16:20:03.000000000 +0000
  33. +++ file-4.20/magic/Makefile.in 2007-05-17 16:22:48.000000000 +0000
  34. @@ -259,6 +259,7 @@
  35. Magdir/lisp \
  36. Magdir/llvm \
  37. Magdir/lua \
  38. +Magdir/luks \
  39. Magdir/mach \
  40. Magdir/macintosh \
  41. Magdir/magic \