xbps-src: * ALWAYS use the static bins, to avoid breakage in the chroot. * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's useful to download all distfiles in xbps-base-system. * Use busybox in the chroot and create links in /usr/local/bin at creation time. This helps to remove many packages that had problems with host/target libs (acl, attr, libarchive, etc). build templates: * Add explicit gettext and texinfo build dependencies in all packages that need them, because they aren't built anymore by xbps-base-chroot. * Fixed some packages using build_style=gnu_makefile, that were broken because pre/post_configure() is not executed for a while, they should use pre/post_build() instead. --HG-- extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
30 lines
1 KiB
Text
30 lines
1 KiB
Text
# Template file for 'cracklib'
|
|
pkgname=cracklib
|
|
version=2.8.13
|
|
distfiles="${SOURCEFORGE_SITE}/cracklib/$pkgname-$version.tar.gz"
|
|
build_style=gnu_configure
|
|
configure_args="--without-python"
|
|
short_desc="Password Checking Library"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
checksum=0a06caff3626c397d023f0c19efedfea295180c2c5ba2def57016a17e158041a
|
|
long_desc="
|
|
cracklib is a password checking library. It can check a given password
|
|
against a dictionary file to find weak passwords (vulnerable to
|
|
dictionary attacks)."
|
|
|
|
Add_dependency build gettext
|
|
Add_dependency full glibc
|
|
Add_dependency full zlib
|
|
|
|
post_install()
|
|
{
|
|
# Create default small wordlist.
|
|
cd $wrksrc || exit 1
|
|
install -v -D dicts/cracklib-small \
|
|
${DESTDIR}/usr/share/dict/cracklib-small
|
|
sh ./util/cracklib-format dicts/cracklib-small \
|
|
| sh ./util/cracklib-packer ${DESTDIR}/usr/share/cracklib/pw_dict
|
|
install -d ${DESTDIR}/lib/cracklib
|
|
install ${DESTDIR}/usr/share/cracklib/pw_dict* ${DESTDIR}/lib/cracklib
|
|
gzip -9 ${DESTDIR}/lib/cracklib/pw_dict.pwd
|
|
}
|