summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-06-22 19:41:32 +0000
committerNed Ludd <solar@gentoo.org>2004-06-22 19:41:32 +0000
commitf2147da56df8444853a43e09585f833022c37e8c (patch)
treec94eb9cf12c56380fb4ad4803fd52dcda80a3918 /sys-libs/cracklib/files
parentAdded wmpower-0.3.1.ebuild, minor tweaks on older ebuilds... (Manifest recommit) (diff)
downloadgentoo-2-f2147da56df8444853a43e09585f833022c37e8c.tar.gz
gentoo-2-f2147da56df8444853a43e09585f833022c37e8c.tar.bz2
gentoo-2-f2147da56df8444853a43e09585f833022c37e8c.zip
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.
Diffstat (limited to 'sys-libs/cracklib/files')
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-gzip.patch19
1 files changed, 19 insertions, 0 deletions
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 |