cracklib: update to 2.8.14, convert to subpkgs.

--HG--
extra : convert_revision : a12d09c5a539df5185d0a1f2c4439300a6d69a5d
This commit is contained in:
Juan RP 2009-12-05 03:06:46 +01:00
parent 7ed5bdb3b7
commit d5cc05cd5a
5 changed files with 38 additions and 3 deletions

1
srcpkgs/cracklib-devel Symbolic link
View file

@ -0,0 +1 @@
cracklib

1
srcpkgs/cracklib-python Symbolic link
View file

@ -0,0 +1 @@
cracklib

View file

@ -0,0 +1,17 @@
# Template file for 'cracklib-devel'.
#
short_desc="${sourcepkg} development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run cracklib
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,15 @@
# Template file for 'cracklib-python'.
#
short_desc="${sourcepkg} python bindings"
long_desc="${long_desc}
This package contains python bindings for cracklib."
Add_dependency run python
Add_dependency run cracklib
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
}

View file

@ -1,18 +1,19 @@
# Template file for 'cracklib'
pkgname=cracklib
version=2.8.13
version=2.8.14
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
checksum=a2674be95b23c3fcd049f17527472cb83dbe39b60a95fb6bdfd5b797ea0e9a33
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)."
subpackages="$pkgname-devel $pkgname-python"
Add_dependency build gettext
Add_dependency build python
Add_dependency full glibc
Add_dependency full zlib