summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-06 22:49:00 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-06 22:49:00 +0000
commit23712d8f45930102a2a2762df7160829c3ccb82c (patch)
tree60fab22fee9ff10ff54305b8471f2835b1da63e8 /sys-libs/cracklib
parentFixed encoding (diff)
downloadgentoo-2-23712d8f45930102a2a2762df7160829c3ccb82c.tar.gz
gentoo-2-23712d8f45930102a2a2762df7160829c3ccb82c.tar.bz2
gentoo-2-23712d8f45930102a2a2762df7160829c3ccb82c.zip
Version bump.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'sys-libs/cracklib')
-rw-r--r--sys-libs/cracklib/ChangeLog7
-rw-r--r--sys-libs/cracklib/cracklib-2.8.9.ebuild49
-rw-r--r--sys-libs/cracklib/files/digest-cracklib-2.8.93
3 files changed, 58 insertions, 1 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog
index a14f2176c3fa..3cc796a78488 100644
--- a/sys-libs/cracklib/ChangeLog
+++ b/sys-libs/cracklib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/cracklib
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.86 2006/02/25 05:35:29 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.87 2006/03/06 22:49:00 vapier Exp $
+
+*cracklib-2.8.9 (06 Mar 2006)
+
+ 06 Mar 2006; Mike Frysinger <vapier@gentoo.org> +cracklib-2.8.9.ebuild:
+ Version bump.
*cracklib-2.8.5-r1 (25 Feb 2006)
diff --git a/sys-libs/cracklib/cracklib-2.8.9.ebuild b/sys-libs/cracklib/cracklib-2.8.9.ebuild
new file mode 100644
index 000000000000..a3801c0d5875
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.8.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.9.ebuild,v 1.1 2006/03/06 22:49:00 vapier Exp $
+
+inherit eutils toolchain-funcs multilib
+
+MY_P=${P/_}
+DESCRIPTION="Password Checking Library"
+HOMEPAGE="http://sourceforge.net/projects/cracklib"
+SRC_URI="mirror://sourceforge/cracklib/${MY_P}.tar.gz"
+
+LICENSE="CRACKLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="nls python"
+
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ econf \
+ --with-default-dict='$(libdir)/cracklib_dict' \
+ $(use_enable nls) \
+ $(use_with python) \
+ || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ rm -r "${D}"/usr/share/cracklib
+
+ # move shared libs to /
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die "could not move shared"
+ gen_usr_ldscript libcrack.so
+
+ echo -n "Generating cracklib dicts ... "
+ insinto /usr/share/dict
+ doins dicts/cracklib-small || die "word dict"
+ tc-is-cross-compiler \
+ || export PATH=${D}/usr/sbin:${PATH} LD_LIBRARY_PATH=${D}/$(get_libdir)
+ cracklib-format dicts/cracklib-small \
+ | cracklib-packer "${D}"/usr/$(get_libdir)/cracklib_dict \
+ || die "couldnt create dict"
+
+ dodoc AUTHORS ChangeLog NEWS README*
+}
diff --git a/sys-libs/cracklib/files/digest-cracklib-2.8.9 b/sys-libs/cracklib/files/digest-cracklib-2.8.9
new file mode 100644
index 000000000000..40e87efdb8b3
--- /dev/null
+++ b/sys-libs/cracklib/files/digest-cracklib-2.8.9
@@ -0,0 +1,3 @@
+MD5 9a8c9eb26b48787c84024ac779f64bb2 cracklib-2.8.9.tar.gz 575494
+RMD160 97e36e1bc114ef74fae7feeb0701a7ef8ffe9a3e cracklib-2.8.9.tar.gz 575494
+SHA256 1b58c9b03733ca4f58e417ea8bba8e1a335d2d0bf0a99caa414d0f07a9f6b7e6 cracklib-2.8.9.tar.gz 575494