305-magic-add-clarion.dpatch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 306-magic-add-clarion.dpatch by Julien Blache <jblache@debian.org>
  3. ##
  4. ## DP: New magic for the Clarion files (Closes: #282680).
  5. @DPATCH@
  6. diff -Naurp file-4.23.orig/magic/Magdir/clarion file-4.23/magic/Magdir/clarion
  7. --- file-4.23.orig/magic/Magdir/clarion 1970-01-01 00:00:00.000000000 +0000
  8. +++ file-4.23/magic/Magdir/clarion 2008-01-12 16:51:53.000000000 +0000
  9. @@ -0,0 +1,23 @@
  10. +# Type: Clarion Personal/Professional Developer (v2 and above)
  11. +# From: Julien Blache <jb@jblache.org>
  12. +
  13. +# Database files
  14. +# signature
  15. +0 leshort 0x3343 Clarion Personal/Professional Developer (v2 and above) data file
  16. +# attributes
  17. +>2 leshort &0x0001 \b, locked
  18. +>2 leshort &0x0004 \b, encrypted
  19. +>2 leshort &0x0008 \b, memo file exists
  20. +>2 leshort &0x0010 \b, compressed
  21. +>2 leshort &0x0040 \b, read only
  22. +# number of records
  23. +>5 lelong x \b, %ld records
  24. +
  25. +# Memo files
  26. +0 leshort 0x334d Clarion Personal/Professional Developer (v2 and above) memo data
  27. +
  28. +# Key/Index files
  29. +# No magic? :(
  30. +
  31. +# Help files
  32. +0 leshort 0x49e0 Clarion Personal/Professional Developer (v2 and above) help data
  33. diff -Naurp file-4.23.orig/magic/Makefile.am file-4.23/magic/Makefile.am
  34. --- file-4.23.orig/magic/Makefile.am 2007-11-07 22:09:58.000000000 +0000
  35. +++ file-4.23/magic/Makefile.am 2008-01-12 16:51:53.000000000 +0000
  36. @@ -60,6 +60,7 @@ Magdir/chord \
  37. Magdir/cisco \
  38. Magdir/citrus \
  39. Magdir/claris \
  40. +Magdir/clarion \
  41. Magdir/clipper \
  42. Magdir/cracklib \
  43. Magdir/spec \
  44. diff -Naurp file-4.23.orig/magic/Makefile.in file-4.23/magic/Makefile.in
  45. --- file-4.23.orig/magic/Makefile.in 2007-12-28 20:35:02.000000000 +0000
  46. +++ file-4.23/magic/Makefile.in 2008-01-12 16:51:53.000000000 +0000
  47. @@ -199,6 +199,7 @@ Magdir/chord \
  48. Magdir/cisco \
  49. Magdir/citrus \
  50. Magdir/claris \
  51. +Magdir/clarion \
  52. Magdir/clipper \
  53. Magdir/cracklib \
  54. Magdir/spec \