From 435f6021f38918d58bf55cdb780ad69fbb069bc0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 19 Nov 2009 04:17:31 +0000 Subject: Version bump to include license fix. (Portage version: 2.2_rc49/cvs/Linux x86_64) --- sys-libs/cracklib/ChangeLog | 8 +++- sys-libs/cracklib/cracklib-2.8.14.ebuild | 65 -------------------------------- sys-libs/cracklib/cracklib-2.8.15.ebuild | 65 ++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 66 deletions(-) delete mode 100644 sys-libs/cracklib/cracklib-2.8.14.ebuild create mode 100644 sys-libs/cracklib/cracklib-2.8.15.ebuild (limited to 'sys-libs') diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog index 1c0a76f060f0..f311255117ef 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.135 2009/11/18 23:50:18 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.136 2009/11/19 04:17:31 vapier Exp $ + +*cracklib-2.8.15 (19 Nov 2009) + + 19 Nov 2009; Mike Frysinger -cracklib-2.8.14.ebuild, + +cracklib-2.8.15.ebuild: + Version bump to include license fix. *cracklib-2.8.14 (18 Nov 2009) diff --git a/sys-libs/cracklib/cracklib-2.8.14.ebuild b/sys-libs/cracklib/cracklib-2.8.14.ebuild deleted file mode 100644 index 2e70019355b3..000000000000 --- a/sys-libs/cracklib/cracklib-2.8.14.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# 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.14.ebuild,v 1.1 2009/11/18 23:50:18 vapier 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}"/${PN}-2.8.13-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 -} diff --git a/sys-libs/cracklib/cracklib-2.8.15.ebuild b/sys-libs/cracklib/cracklib-2.8.15.ebuild new file mode 100644 index 000000000000..18ffe16e814a --- /dev/null +++ b/sys-libs/cracklib/cracklib-2.8.15.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.15.ebuild,v 1.1 2009/11/19 04:17:31 vapier 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="LGPL-2.1" +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}"/${PN}-2.8.13-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 +} -- cgit v1.2.3-65-gdbad