cracklib: move dictionaries to /usr/share.
This commit is contained in:
parent
a5263d8453
commit
79610bbf89
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue