From d5cc05cd5ad4e15709ffef938e18cc0d646086b7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 5 Dec 2009 03:06:46 +0100 Subject: [PATCH] cracklib: update to 2.8.14, convert to subpkgs. --HG-- extra : convert_revision : a12d09c5a539df5185d0a1f2c4439300a6d69a5d --- srcpkgs/cracklib-devel | 1 + srcpkgs/cracklib-python | 1 + srcpkgs/cracklib/cracklib-devel.template | 17 +++++++++++++++++ srcpkgs/cracklib/cracklib-python.template | 15 +++++++++++++++ srcpkgs/cracklib/template | 7 ++++--- 5 files changed, 38 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/cracklib-devel create mode 120000 srcpkgs/cracklib-python create mode 100644 srcpkgs/cracklib/cracklib-devel.template create mode 100644 srcpkgs/cracklib/cracklib-python.template diff --git a/srcpkgs/cracklib-devel b/srcpkgs/cracklib-devel new file mode 120000 index 0000000000..741275aec9 --- /dev/null +++ b/srcpkgs/cracklib-devel @@ -0,0 +1 @@ +cracklib \ No newline at end of file diff --git a/srcpkgs/cracklib-python b/srcpkgs/cracklib-python new file mode 120000 index 0000000000..741275aec9 --- /dev/null +++ b/srcpkgs/cracklib-python @@ -0,0 +1 @@ +cracklib \ No newline at end of file diff --git a/srcpkgs/cracklib/cracklib-devel.template b/srcpkgs/cracklib/cracklib-devel.template new file mode 100644 index 0000000000..d784904906 --- /dev/null +++ b/srcpkgs/cracklib/cracklib-devel.template @@ -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 +} diff --git a/srcpkgs/cracklib/cracklib-python.template b/srcpkgs/cracklib/cracklib-python.template new file mode 100644 index 0000000000..ee689013c8 --- /dev/null +++ b/srcpkgs/cracklib/cracklib-python.template @@ -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 +} diff --git a/srcpkgs/cracklib/template b/srcpkgs/cracklib/template index 2b7bc31bc6..b66bc32987 100644 --- a/srcpkgs/cracklib/template +++ b/srcpkgs/cracklib/template @@ -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 " -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