204-magic-update-cracklib.dpatch 730 B

1234567891011121314151617
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 204-magic-update-cracklib.dpatch by Michael Piefel <piefel@debian.org>
  3. ##
  4. ## DP: Improved over-confident 64bit-cracklib rule (closes: #343504).
  5. @DPATCH@
  6. diff -Naur file-4.20.orig/magic/Magdir/cracklib file-4.20/magic/Magdir/cracklib
  7. --- file-4.20.orig/magic/Magdir/cracklib 2006-03-02 22:10:26.000000000 +0000
  8. +++ file-4.20/magic/Magdir/cracklib 2007-03-27 12:23:14.000000000 +0000
  9. @@ -9,5 +9,5 @@
  10. 0 belong 0x70775631 Cracklib password index, big endian
  11. >4 belong >-1 (%i words)
  12. # really bellong 0x0000000070775631
  13. -4 belong 0x70775631 Cracklib password index, big endian ("64-bit")
  14. +0 search/1 \0\0\0\0pwV1 Cracklib password index, big endian ("64-bit")
  15. >12 belong >0 (%i words)