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