diff options
author | Fabian Groffen <grobian@gentoo.org> | 2009-06-30 13:57:21 +0000 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2009-06-30 13:57:21 +0000 |
commit | 9d05c2db1733f904b7f1b5d927c60727b197c369 (patch) | |
tree | b820cf5524b1ad2d2d681e510e78cb7d2abbfd31 /sys-libs/cracklib | |
parent | arm/ia64/s390/sh/sparc stable (diff) | |
download | historical-9d05c2db1733f904b7f1b5d927c60727b197c369.tar.gz historical-9d05c2db1733f904b7f1b5d927c60727b197c369.tar.bz2 historical-9d05c2db1733f904b7f1b5d927c60727b197c369.zip |
Switch to using gen_usr_ldscript -a, bug #256234
Package-Manager: portage-2.2.00.13734-prefix/cvs/Darwin powerpc
Diffstat (limited to 'sys-libs/cracklib')
-rw-r--r-- | sys-libs/cracklib/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/cracklib/Manifest | 13 | ||||
-rw-r--r-- | sys-libs/cracklib/cracklib-2.8.13-r1.ebuild | 65 |
3 files changed, 74 insertions, 12 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog index 61d0190d3339..4f6f8ab01c8f 100644 --- a/sys-libs/cracklib/ChangeLog +++ b/sys-libs/cracklib/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/cracklib # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.132 2009/05/09 18:13:56 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.133 2009/06/30 13:57:21 grobian Exp $ + +*cracklib-2.8.13-r1 (30 Jun 2009) + + 30 Jun 2009; Fabian Groffen <grobian@gentoo.org> + +cracklib-2.8.13-r1.ebuild: + Switch to using gen_usr_ldscript -a, bug #256234 09 May 2009; Mike Frysinger <vapier@gentoo.org> cracklib-2.8.13.ebuild: Call elibtoolize #269003 by Sven Rebhan. diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest index 3b9e09bc1861..1d7820d351c7 100644 --- a/sys-libs/cracklib/Manifest +++ b/sys-libs/cracklib/Manifest @@ -1,15 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX cracklib-2.8.13-python-linkage.patch 508 RMD160 fc6123093212c60c0d6de98a0b7390b52274ed28 SHA1 3514a018563e0848cdd9aa2625b7e003e875af8e SHA256 0958a6ce7ff7b89bb374281b0bd416af275d9f052d83d4fac493bee22aaa51f0 DIST cracklib-2.8.13.tar.gz 593050 RMD160 948b02e6a74dfc94192f6f6ce9e3fc733d7a92f4 SHA1 e107d0a14c09aea9c63c18840db8b94b972b5315 SHA256 0a06caff3626c397d023f0c19efedfea295180c2c5ba2def57016a17e158041a +EBUILD cracklib-2.8.13-r1.ebuild 1664 RMD160 8c1d59ef2e976b4ff498ee60d72e668824b4f38c SHA1 68e33dd29e208a3c7b330f725a612140b5b54d60 SHA256 0b36e065fca24abaf8c880a24e4fad94972d80e958ad73c1babedff2984a7f28 EBUILD cracklib-2.8.13.ebuild 1762 RMD160 afdbefaa56a7cb69008133722520eb884891ff23 SHA1 c1c8bb29cc2175f46546a5007d948d78080bee14 SHA256 38d18ca09c5a18c99a94b85748686c626f1b35f2550ff1e9a20cc8232d6faf14 -MISC ChangeLog 16612 RMD160 e8f9cb988acf3db15b768b267fc95b4fc7d98f85 SHA1 32a87a9656a38aec1d6d3df0361723373f7ceba1 SHA256 21b74fb62f822447673d1e73697e4e2da43dea596d5e477744657206b0b6842a +MISC ChangeLog 16781 RMD160 b40dc20fe81d4d3cd14d6281c190b13e89762d74 SHA1 918a6edb8b035dd32125e4e5b1a0f230e1e03c77 SHA256 4750423b3c403eff155c9201b4a2a24d45ba5dc038f03e129908ece712708efa MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkoFx+oACgkQn/5bYzqsSmGoBACdFKn9Ku06Gr8DDQ9dzcujpjQM -7QYAnj1tdQdjK7NtB9Yvz1PMp3dO+bGC -=piGE ------END PGP SIGNATURE----- diff --git a/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild b/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild new file mode 100644 index 000000000000..ab5cf5cf51bb --- /dev/null +++ b/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.13-r1.ebuild,v 1.1 2009/06/30 13:57:21 grobian Exp $ + +inherit eutils toolchain-funcs multilib libtool + +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} + +pkg_setup() { + # workaround #195017 + if has unmerge-orphans ${FEATURES} && has_version "<${CATEGORY}/${PN}-2.8.10" ; then + eerror "Upgrade path is broken with FEATURES=unmerge-orphans" + eerror "Please run: FEATURES=-unmerge-orphans emerge cracklib" + die "Please run: FEATURES=-unmerge-orphans emerge cracklib" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-python-linkage.patch #246747 + elibtoolize #269003 +} + +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 / + gen_usr_ldscript -a crack + + 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 +} |