summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-29 22:35:57 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-29 22:35:57 +0000
commit5b0eb8737f96b5298350d9a445f324a3677c8533 (patch)
treeff723d857b3e5dcc527dbc379f81cc9cc064b771 /sys-libs
parentMarking abstract-1.0.0 ~ppc64 for bug 326353 (diff)
downloadhistorical-5b0eb8737f96b5298350d9a445f324a3677c8533.tar.gz
historical-5b0eb8737f96b5298350d9a445f324a3677c8533.tar.bz2
historical-5b0eb8737f96b5298350d9a445f324a3677c8533.zip
Version bump.
Package-Manager: portage-2.2_rc86/cvs/Linux x86_64
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/ChangeLog7
-rw-r--r--sys-libs/cracklib/Manifest14
-rw-r--r--sys-libs/cracklib/cracklib-2.8.18.ebuild90
3 files changed, 102 insertions, 9 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog
index 8bfe9600ade3..14bec4e07e0c 100644
--- a/sys-libs/cracklib/ChangeLog
+++ b/sys-libs/cracklib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/cracklib
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.156 2010/09/28 15:35:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.157 2010/09/29 22:35:57 vapier Exp $
+
+*cracklib-2.8.18 (29 Sep 2010)
+
+ 29 Sep 2010; Mike Frysinger <vapier@gentoo.org> +cracklib-2.8.18.ebuild:
+ Version bump.
28 Sep 2010; Mike Frysinger <vapier@gentoo.org> cracklib-2.8.16.ebuild,
+files/cracklib-2.8.16-no-nls.patch:
diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 45e1ac373b2a..638752ec36b2 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,20 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX cracklib-2.8.13-python-linkage.patch 508 RMD160 fc6123093212c60c0d6de98a0b7390b52274ed28 SHA1 3514a018563e0848cdd9aa2625b7e003e875af8e SHA256 0958a6ce7ff7b89bb374281b0bd416af275d9f052d83d4fac493bee22aaa51f0
-AUX cracklib-2.8.15-no-nls.patch 304 RMD160 741e4972d38f8a59f0e73da9f4f202e1b1a19b36 SHA1 83496378109bc31f6581bf6fb3532e31f4f07d86 SHA256 140c4d76278c84b031a875a7e545e630c3ec2a086e73f84d424e8fb9a84ad1e2
AUX cracklib-2.8.16-no-nls.patch 743 RMD160 1d15a0ae6b15c6d7912a956137738fab2d80c9f8 SHA1 28a8a7bb35a4347e26a271f872542fa93aad0ce0 SHA256 51b8188ed3a580712aba36817ba1b288108273dab4965901798c787e0fce00be
AUX cracklib-2.8.16-python.patch 303 RMD160 077bc8949315dbc6df0d26cc0bd247db9f5d5471 SHA1 7ea11d0da3312980f9ac2bc65f18691dd4d864ab SHA256 553eda1706718dec30e954222ffbabba6681a06308f52c2e8e2a81e78c1e6080
-DIST cracklib-2.8.15.tar.gz 615849 RMD160 835425d5266ec0eb909430e755cbcb11a6074e9c SHA1 2535a49da92bfece48639d23ada6964d122cc9ac SHA256 8249accbe09c51397f2d9ebbf2ccaccb07ac35803ca37096b01f25a9291899e5
DIST cracklib-2.8.16.tar.gz 618120 RMD160 b2032ebe4c476fe273a1daab13764f62520c14c0 SHA1 21c181ed22ab7ab1e178c09fa251c9615f9f336c SHA256 fc3aa492c2879e304bae30955ab8b37d6865d26f79d0493b8c36a9bc1b6475bc
-EBUILD cracklib-2.8.15.ebuild 1766 RMD160 7f05f14723c2d1f38c1561cdab987f9c72c8a549 SHA1 e598cd2836923f35cbb47a9d1e14932785e4c477 SHA256 b77c02b91b3e60c3f4b4da12f09bed8a731e3a3ac27d12534ec9825034ca8f44
+DIST cracklib-2.8.18.tar.gz 587311 RMD160 2bfa3e8175413756079d811116a647957fa9b9e5 SHA1 3c4df51b13047fd7a85ae470f568abf8a8d6f92b SHA256 2b072f67f7267358459424c3ed70f7f5b70919118e6504a90d3bce37a67c1454
EBUILD cracklib-2.8.16.ebuild 2123 RMD160 2d5ea3d98d41c07997df231fa59217e1dcfd88c2 SHA1 1a3874eb6e0d18e6764794ed1dc34c9f72aa0568 SHA256 0af290af97f7358f7a187549a357cc49f7ddd125f1fb6dd5c7c648706d8c61ce
-MISC ChangeLog 19981 RMD160 7ee30a6921ee705c2a2bf2d4e15e4f6e0bfb4b54 SHA1 14f825017bb34b9f26ec6029d893f157832c19da SHA256 65245866869458cda1f9fb1c5fa23b6484ea1a82bcdf18f8f42256c8fed0a6ab
+EBUILD cracklib-2.8.18.ebuild 2046 RMD160 ccd177b04c1cc3527d2230ab7300aca5034a6ecb SHA1 5b62c99fa0555e0d305f3f25e8f91c3877cda260 SHA256 047c292ac2a72f1842f34564028628750ae7b769472035b8dcf9a57451237b92
+MISC ChangeLog 20105 RMD160 9b8354d120b81af51a628ffe8cabdd9793bd06cc SHA1 ae33fce903a80621d89ae516fd605f4d97b223a5 SHA256 d14f432f7382ccd7083c578810ee2c782dfdfe041e07b232a9ebea0e84704a60
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
-iF4EAREIAAYFAkyiCzsACgkQTwhj9JtAlp4mNAEAmziVDlAekBUixx4ePmr/hluQ
-J33glZFEToZ5jIBjz+MBAJxSbYyiTTS375pKm6jDoMdBP8A0kpCcoj0l9NU3qu27
-=2mqW
+iF4EAREIAAYFAkyjvzYACgkQTwhj9JtAlp5vfQD/Q3uV/hA6AEllsqjNDD1oMeFD
+4WtEbtgInjo2hR2/4q4A/17Z8TvA8WNwXLvcqmt0Hrm2D9BTO1n4wXAiYg+VWVHD
+=NC7q
-----END PGP SIGNATURE-----
diff --git a/sys-libs/cracklib/cracklib-2.8.18.ebuild b/sys-libs/cracklib/cracklib-2.8.18.ebuild
new file mode 100644
index 000000000000..74ce2a6e029e
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.8.18.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.18.ebuild,v 1.1 2010/09/29 22:35:57 vapier Exp $
+
+EAPI="3"
+PYTHON_DEPEND="python? 2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit eutils distutils libtool toolchain-funcs
+
+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"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}
+ python? ( dev-python/setuptools )"
+
+S=${WORKDIR}/${MY_P}
+
+PYTHON_MODNAME="cracklib.py"
+do_python() {
+ pushd python > /dev/null || die
+ distutils_src_${EBUILD_PHASE}
+ popd > /dev/null
+}
+
+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
+
+ use python && python_pkg_setup
+}
+
+src_prepare() {
+ elibtoolize #269003
+ use python && do_python
+}
+
+src_configure() {
+ econf \
+ --with-default-dict='$(libdir)/cracklib_dict' \
+ --without-python \
+ $(use_enable nls)
+}
+
+src_compile() {
+ default
+ use python && do_python
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ rm -r "${ED}"/usr/share/cracklib
+
+ use python && do_python
+
+ # 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
+
+ use python && distutils_pkg_postinst
+}
+
+pkg_postrm() {
+ use python && distutils_pkg_postrm
+}