# 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
MD5 38ba66144a1a72859dfd05324306297e files/cracklib-2.8.9-findpw.patch 969
RMD160 976a2d2c76c122db261f09e67c44ff92ec2b5dca files/cracklib-2.8.9-findpw.patch 969
SHA256 2533b2701949b45f0819524b30dba495285f1beaf83f26e49d65c27730970b2a files/cracklib-2.8.9-findpw.patch 969
+DIST cracklib-2.8.10.tar.gz 577598 RMD160 9b01f2320b540f32df16c0308145ee84d6d6ab3b SHA1 e2c5bf7863d9da2cd0fdaeff8b78b5450aece8e0 SHA256 d5e0ad4bbe1128c04f58f2fa042a3ca7f30ec8c0db662110d92000c19a7700b8
DIST cracklib-2.8.9.tar.gz 575494 RMD160 97e36e1bc114ef74fae7feeb0701a7ef8ffe9a3e SHA1 22cc3c5ba5251771b3ba037d5dc8e87d17295f72 SHA256 1b58c9b03733ca4f58e417ea8bba8e1a335d2d0bf0a99caa414d0f07a9f6b7e6
+EBUILD cracklib-2.8.10.ebuild 1319 RMD160 b67f64d897ada45ea567d5ffc193daa026694a40 SHA1 3b45036cadbae36376f6cef1faa492ff0f0a0774 SHA256 d4bc05d4b77679c7f4c72a4e928d37abe24db8d675c321dc1be22260c5a057ca
+MD5 a1f22f243f784405b476efa5f677fd1d cracklib-2.8.10.ebuild 1319
+RMD160 b67f64d897ada45ea567d5ffc193daa026694a40 cracklib-2.8.10.ebuild 1319
+SHA256 d4bc05d4b77679c7f4c72a4e928d37abe24db8d675c321dc1be22260c5a057ca cracklib-2.8.10.ebuild 1319
EBUILD cracklib-2.8.9-r1.ebuild 1406 RMD160 dc2fe1a1b808dbf18a3436226146d4db352ff9ab SHA1 4de796b9bc14d6a108e6dd917728304cd498638b SHA256 f833a801028a9f8ebbb4bb8cb5e287b21b2561cb5e5adbcd67687d534029b863
MD5 48fcc272dee7232dda13e151029edceb cracklib-2.8.9-r1.ebuild 1406
RMD160 dc2fe1a1b808dbf18a3436226146d4db352ff9ab cracklib-2.8.9-r1.ebuild 1406
SHA256 f833a801028a9f8ebbb4bb8cb5e287b21b2561cb5e5adbcd67687d534029b863 cracklib-2.8.9-r1.ebuild 1406
-MISC ChangeLog 13522 RMD160 4624e620186107a5a02e1382ed67cd4832eb0f3b SHA1 1d75c1d15ce7c099930e725beb922c9f3efe59ad SHA256 7b9da83377598ca7e5950e7c6863d450cc44455796d2240996d086a3780ded29
-MD5 6619cc827c11934a1599ed1a95135b04 ChangeLog 13522
-RMD160 4624e620186107a5a02e1382ed67cd4832eb0f3b ChangeLog 13522
-SHA256 7b9da83377598ca7e5950e7c6863d450cc44455796d2240996d086a3780ded29 ChangeLog 13522
+MISC ChangeLog 13646 RMD160 b1f1c0898c0ee3c25fb414a6a5f4e40d09442fd9 SHA1 2beb4939dd29f31980765b8cb176f482d40f5ff9 SHA256 9cebb57b921edd33375dd3955afc7c5d55ef6bf051ef7e6afa61fc1ba7671471
+MD5 b0c66f899e401054980ce9ae3f60cb18 ChangeLog 13646
+RMD160 b1f1c0898c0ee3c25fb414a6a5f4e40d09442fd9 ChangeLog 13646
+SHA256 9cebb57b921edd33375dd3955afc7c5d55ef6bf051ef7e6afa61fc1ba7671471 ChangeLog 13646
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
+MD5 cf6ad0183837bb50e96f811b906185d5 files/digest-cracklib-2.8.10 247
+RMD160 8fea01e6416dd722a0d1de1cba0e49be6b7e6953 files/digest-cracklib-2.8.10 247
+SHA256 1bc6e243af898444e85c01742dfe7e9e2c5c38d949654b1d2f83b38fcdeadd79 files/digest-cracklib-2.8.10 247
MD5 7508abc5789eb1e5519880407f2fd3fe files/digest-cracklib-2.8.9-r1 244
RMD160 1735e84c3c298cc10e4efe81fbe4f3a9d0f34355 files/digest-cracklib-2.8.9-r1 244
SHA256 c514d2cc36d140f57a271318c8d6ef7d0aa729052fc83e4c56a17a062cdfc4ec files/digest-cracklib-2.8.9-r1 244
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFlc1x8bi6rjpTunYRAtrzAJ4s2PHoIJ9hofy39tHFUuHNpf/9rACgn5zc
-iCQoa8NESW4rH76zZ28N3VI=
-=jfvL
+iD8DBQFFutSk8bi6rjpTunYRAhOPAJ96FBDAbWE+zvuabJfhsojgd1kM2gCeMvpR
+U2xUsc1jbVbOQKoF8Ap8DwU=
+=Yo6m
-----END PGP SIGNATURE-----
--- /dev/null
+# 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
+}