21 lines
703 B
Text
21 lines
703 B
Text
# Template file for 'cracklib'
|
|
pkgname=cracklib
|
|
version=2.8.22
|
|
revision=1
|
|
subpackages="${pkgname}-devel ${pkgname}-python"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
makedepends="python-devel zlib-devel"
|
|
short_desc="Password Checking Library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="LGPL-2.1"
|
|
homepage="http://cracklib.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/cracklib/$pkgname-$version.tar.gz"
|
|
checksum=feaff49bfb513ec10b2618c00d2f7f60776ba93fcc5fa22dd3479dd9cad9f770
|
|
|
|
post_install() {
|
|
# Create default small wordlist.
|
|
vmkdir usr/share/cracklib
|
|
sh ./util/cracklib-format dicts/cracklib-small \
|
|
| sh ./util/cracklib-packer ${DESTDIR}/usr/share/cracklib/pw_dict
|
|
}
|