summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-18 00:11:20 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-18 00:11:20 +0000
commitffe21021ab1a9777b5bc742748f213d736d6572b (patch)
treee61bda675ead0ccbe5dbfa2f68bd0f7baf0b1dde /sys-libs
parentsecurity fix #85650 (diff)
downloadgentoo-2-ffe21021ab1a9777b5bc742748f213d736d6572b.tar.gz
gentoo-2-ffe21021ab1a9777b5bc742748f213d736d6572b.tar.bz2
gentoo-2-ffe21021ab1a9777b5bc742748f213d736d6572b.zip
Version bump to fix security bug #85650.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/ChangeLog7
-rw-r--r--sys-libs/cracklib/cracklib-2.8.2.ebuild53
-rw-r--r--sys-libs/cracklib/files/digest-cracklib-2.8.21
3 files changed, 60 insertions, 1 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog
index d68e08f7b22b..6767bfe2b6d6 100644
--- a/sys-libs/cracklib/ChangeLog
+++ b/sys-libs/cracklib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-libs/cracklib
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.65 2005/03/16 02:36:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.66 2005/03/18 00:11:20 vapier Exp $
+
+*cracklib-2.8.2 (18 Mar 2005)
+
+ 18 Mar 2005; Mike Frysinger <vapier@gentoo.org> +cracklib-2.8.2.ebuild:
+ Version bump to fix security bug #85650.
*cracklib-2.8.1 (16 Mar 2005)
diff --git a/sys-libs/cracklib/cracklib-2.8.2.ebuild b/sys-libs/cracklib/cracklib-2.8.2.ebuild
new file mode 100644
index 000000000000..1f0c713e5dae
--- /dev/null
+++ b/sys-libs/cracklib/cracklib-2.8.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.2.ebuild,v 1.1 2005/03/18 00:11:20 vapier Exp $
+
+inherit eutils 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="CRACKLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/cracklib-2.8_pre1-dictname.patch
+}
+
+src_compile() {
+ econf --disable-dependency-tracking || die
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ rm -r "${D}"/usr/share/cracklib
+
+ insinto /usr/include
+ doins lib/packer.h || die "doins packer.h"
+
+ # 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"
+ tc-is-cross-compiler \
+ || export PATH=${D}/usr/sbin:${PATH} LD_LIBRARY_PATH=${D}/lib
+ cracklib-format dicts/cracklib-small \
+ | cracklib-packer "${D}"/usr/$(get_libdir)/cracklib_dict \
+ || die "couldnt create dict"
+
+ dodoc AUTHORS ChangeLog NEWS README*
+}
diff --git a/sys-libs/cracklib/files/digest-cracklib-2.8.2 b/sys-libs/cracklib/files/digest-cracklib-2.8.2
new file mode 100644
index 000000000000..0133a67a6b6e
--- /dev/null
+++ b/sys-libs/cracklib/files/digest-cracklib-2.8.2
@@ -0,0 +1 @@
+MD5 6f95fe00d5dad3ec2883072a8bcea4e4 cracklib-2.8.2.tar.gz 480209