diff --git a/srcpkgs/cracklib/template b/srcpkgs/cracklib/template index 01229327da..7f83ff7efa 100644 --- a/srcpkgs/cracklib/template +++ b/srcpkgs/cracklib/template @@ -1,7 +1,7 @@ # Template file for 'cracklib' pkgname=cracklib version=2.8.18 -revision=5 +revision=6 homepage="http://cracklib.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/cracklib/$pkgname-$version.tar.gz" build_style=gnu-configure @@ -20,10 +20,7 @@ Add_dependency build zlib-devel post_install() { # Create default small wordlist. - vmkdir lib/cracklib + vmkdir usr/share/cracklib sh ./util/cracklib-format dicts/cracklib-small \ - | sh ./util/cracklib-packer ${DESTDIR}/lib/cracklib/pw_dict - gzip -9 ${DESTDIR}/lib/cracklib/pw_dict.pwd - # remove unused file. - rm -f ${DESTDIR}/usr/share/cracklib/cracklib-small + | sh ./util/cracklib-packer ${DESTDIR}/usr/share/cracklib/pw_dict }