From f2147da56df8444853a43e09585f833022c37e8c Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Tue, 22 Jun 2004 19:41:32 +0000 Subject: Added pam & uclibc to IUSE. Removed executable bit from libcrack.a, if pam is in not in USE we remove libcrack.a all together. Fixed long what appears to be long standing bug with libcrack that nobody noticed (it was looking for the words file at /usr/dict/words vs /usr/share/dict/words) If uclibc is set in IUSE we use the compressed dict provided by miscfiles. --- sys-libs/cracklib/files/cracklib-2.7-gzip.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sys-libs/cracklib/files/cracklib-2.7-gzip.patch (limited to 'sys-libs/cracklib/files') diff --git a/sys-libs/cracklib/files/cracklib-2.7-gzip.patch b/sys-libs/cracklib/files/cracklib-2.7-gzip.patch new file mode 100644 index 000000000000..1caf7dca4258 --- /dev/null +++ b/sys-libs/cracklib/files/cracklib-2.7-gzip.patch @@ -0,0 +1,19 @@ +diff -ur orig/cracklib26_small/util/mkdict cracklib26_small/util/mkdict +--- orig/cracklib26_small/util/mkdict Fri Jul 9 22:23:03 1993 ++++ cracklib26_small/util/mkdict Sat Apr 4 22:31:45 1998 +@@ -14,7 +14,14 @@ + SORT="sort" + ###SORT="sort -T /tmp" + +-cat $* | ++### Use zcat to read compressed (as well as uncompressed) dictionaries. ++### Compressed dictionaries can save quite a lot of disk space. ++ ++CAT="gzip -cdf" ++###CAT="zcat" ++###CAT="cat" ++ ++$CAT $* | + tr '[A-Z]' '[a-z]' | + tr -cd '\012[a-z][0-9]' | + $SORT | -- cgit v1.2.3-65-gdbad