cracklib: fix install path for the words dict, revbump.
This commit is contained in:
parent
876cd546eb
commit
93a469629b
1 changed files with 4 additions and 3 deletions
|
@ -3,7 +3,7 @@ pkgname=cracklib
|
|||
version=2.8.18
|
||||
distfiles="${SOURCEFORGE_SITE}/cracklib/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
revision=3
|
||||
revision=4
|
||||
short_desc="Password Checking Library"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=2b072f67f7267358459424c3ed70f7f5b70919118e6504a90d3bce37a67c1454
|
||||
|
@ -19,9 +19,10 @@ Add_dependency build zlib-devel
|
|||
|
||||
post_install() {
|
||||
# Create default small wordlist.
|
||||
vmkdir lib/cracklib
|
||||
sh ./util/cracklib-format dicts/cracklib-small \
|
||||
| sh ./util/cracklib-packer ${DESTDIR}/usr/share/cracklib/pw_dict
|
||||
gzip -9 ${DESTDIR}/usr/share/cracklib/pw_dict.pwd
|
||||
| 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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue