diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-01-27 04:26:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-01-27 04:26:28 +0000 |
commit | 0e5d17142a7a3dbf13f629bf5aaea7d64a5372ff (patch) | |
tree | 83970bdb3215eb1a39785c3538ec8bf2ec879c7d /sys-libs/cracklib | |
parent | Marked ~hppa (bug #160781). (diff) | |
download | gentoo-2-0e5d17142a7a3dbf13f629bf5aaea7d64a5372ff.tar.gz gentoo-2-0e5d17142a7a3dbf13f629bf5aaea7d64a5372ff.tar.bz2 gentoo-2-0e5d17142a7a3dbf13f629bf5aaea7d64a5372ff.zip |
Version bump.
(Portage version: 2.1.2-r4)
Diffstat (limited to 'sys-libs/cracklib')
-rw-r--r-- | sys-libs/cracklib/ChangeLog | 9 | ||||
-rw-r--r-- | sys-libs/cracklib/cracklib-2.8.10.ebuild | 51 | ||||
-rw-r--r-- | sys-libs/cracklib/files/digest-cracklib-2.8.10 | 3 |
3 files changed, 61 insertions, 2 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog index 02c3c2cb1c0c..afbe60e78eeb 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.105 2006/12/30 02:21:38 vapier Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.106 2007/01/27 04:26:28 vapier Exp $ + +*cracklib-2.8.10 (27 Jan 2007) + + 27 Jan 2007; Mike Frysinger <vapier@gentoo.org> +cracklib-2.8.10.ebuild: + Version bump. 30 Dec 2006; Mike Frysinger <vapier@gentoo.org> cracklib-2.8.9-r1.ebuild: Regenerate the cracklib dictionary in pkg_postinst from all dict files diff --git a/sys-libs/cracklib/cracklib-2.8.10.ebuild b/sys-libs/cracklib/cracklib-2.8.10.ebuild new file mode 100644 index 000000000000..238428febde2 --- /dev/null +++ b/sys-libs/cracklib/cracklib-2.8.10.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.10.ebuild,v 1.1 2007/01/27 04:26:28 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.10 b/sys-libs/cracklib/files/digest-cracklib-2.8.10 new file mode 100644 index 000000000000..b6f2a2ca2450 --- /dev/null +++ b/sys-libs/cracklib/files/digest-cracklib-2.8.10 @@ -0,0 +1,3 @@ +MD5 555f7832b63ebc7fb70b0373500c2358 cracklib-2.8.10.tar.gz 577598 +RMD160 9b01f2320b540f32df16c0308145ee84d6d6ab3b cracklib-2.8.10.tar.gz 577598 +SHA256 d5e0ad4bbe1128c04f58f2fa042a3ca7f30ec8c0db662110d92000c19a7700b8 cracklib-2.8.10.tar.gz 577598 |