diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-10-02 06:46:01 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-10-02 06:46:01 +0000 |
commit | fa781b2449cb348d929f17d5642500d066e9c664 (patch) | |
tree | 6411f36bfdef0d69fe22f547cc2018896dcda923 /sys-libs/cracklib | |
parent | Fix quoting (diff) | |
download | gentoo-2-fa781b2449cb348d929f17d5642500d066e9c664.tar.gz gentoo-2-fa781b2449cb348d929f17d5642500d066e9c664.tar.bz2 gentoo-2-fa781b2449cb348d929f17d5642500d066e9c664.zip |
Version bump.
(Portage version: 2.1.3.11)
Diffstat (limited to 'sys-libs/cracklib')
-rw-r--r-- | sys-libs/cracklib/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/cracklib/cracklib-2.8.12.ebuild | 51 | ||||
-rw-r--r-- | sys-libs/cracklib/files/digest-cracklib-2.8.12 | 3 |
3 files changed, 60 insertions, 1 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog index 869fb8a087ab..646675a90f27 100644 --- a/sys-libs/cracklib/ChangeLog +++ b/sys-libs/cracklib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/cracklib # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.107 2007/10/02 05:29:14 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.108 2007/10/02 06:46:00 vapier Exp $ + +*cracklib-2.8.12 (02 Oct 2007) + + 02 Oct 2007; Mike Frysinger <vapier@gentoo.org> +cracklib-2.8.12.ebuild: + Version bump. 02 Oct 2007; Jeroen Roovers <jer@gentoo.org> cracklib-2.8.10.ebuild: Stable for HPPA (bug #194466). diff --git a/sys-libs/cracklib/cracklib-2.8.12.ebuild b/sys-libs/cracklib/cracklib-2.8.12.ebuild new file mode 100644 index 000000000000..9b8718a379be --- /dev/null +++ b/sys-libs/cracklib/cracklib-2.8.12.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.12.ebuild,v 1.1 2007/10/02 06:46:00 vapier Exp $ + +inherit 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 ~x86-fbsd" +IUSE="nls python" + +DEPEND="python? ( dev-lang/python )" + +S=${WORKDIR}/${MY_P} + +src_compile() { + econf \ + --with-default-dict='$(libdir)/cracklib_dict' \ + $(use_enable nls) \ + $(use_with python) \ + || die + emake || die +} + +src_install() { + emake 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 + + insinto /usr/share/dict + doins dicts/cracklib-small || die "word dict" + + dodoc AUTHORS ChangeLog NEWS README* +} + +pkg_postinst() { + if [[ ${ROOT} == "/" ]] ; then + ebegin "Regenerating cracklib dictionary" + create-cracklib-dict /usr/share/dict/* > /dev/null + eend $? + fi +} diff --git a/sys-libs/cracklib/files/digest-cracklib-2.8.12 b/sys-libs/cracklib/files/digest-cracklib-2.8.12 new file mode 100644 index 000000000000..8cdc29364efc --- /dev/null +++ b/sys-libs/cracklib/files/digest-cracklib-2.8.12 @@ -0,0 +1,3 @@ +MD5 580346fa1012f9d9769192f49d3801fa cracklib-2.8.12.tar.gz 585981 +RMD160 91649e66c3ce491b2ebea6135eaa6ba4705ffb58 cracklib-2.8.12.tar.gz 585981 +SHA256 50d55cc6e541324533f67d2668fd87a84d29805ddf379286de7302044f563351 cracklib-2.8.12.tar.gz 585981 |