diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-09-24 04:23:52 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-09-24 04:23:52 +0000 |
commit | a277b356f22f33fcce9f5fd153b4eb94c27b5218 (patch) | |
tree | 86a00cdd3519a657050e3e81a19012436a260df6 /sys-libs/cracklib | |
parent | Version bump per security bug #238534. (diff) | |
download | historical-a277b356f22f33fcce9f5fd153b4eb94c27b5218.tar.gz historical-a277b356f22f33fcce9f5fd153b4eb94c27b5218.tar.bz2 historical-a277b356f22f33fcce9f5fd153b4eb94c27b5218.zip |
old
Diffstat (limited to 'sys-libs/cracklib')
-rw-r--r-- | sys-libs/cracklib/cracklib-2.8.10.ebuild | 51 | ||||
-rw-r--r-- | sys-libs/cracklib/cracklib-2.8.9-r1.ebuild | 57 | ||||
-rw-r--r-- | sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch | 28 |
3 files changed, 0 insertions, 136 deletions
diff --git a/sys-libs/cracklib/cracklib-2.8.10.ebuild b/sys-libs/cracklib/cracklib-2.8.10.ebuild deleted file mode 100644 index 806973dd2d29..000000000000 --- a/sys-libs/cracklib/cracklib-2.8.10.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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.9 2007/12/11 23:59:14 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 -} diff --git a/sys-libs/cracklib/cracklib-2.8.9-r1.ebuild b/sys-libs/cracklib/cracklib-2.8.9-r1.ebuild deleted file mode 100644 index dfd163456951..000000000000 --- a/sys-libs/cracklib/cracklib-2.8.9-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.9-r1.ebuild,v 1.12 2006/12/30 02:21:38 vapier Exp $ - -inherit eutils 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_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-findpw.patch #142765 -} - -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 -} diff --git a/sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch b/sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch deleted file mode 100644 index db110340102d..000000000000 --- a/sys-libs/cracklib/files/cracklib-2.8.9-findpw.patch +++ /dev/null @@ -1,28 +0,0 @@ -http://bugs.gentoo.org/142765 - -Index: trunk/cracklib/lib/packlib.c -=================================================================== ---- trunk/cracklib/lib/packlib.c (revision 89) -+++ trunk/cracklib/lib/packlib.c (revision 90) -@@ -450,7 +450,7 @@ GetPW(pwp, number) - return (data[number % NUMWORDS]); - } - --uint32_t -+unsigned int - FindPW(pwp, string) - PWDICT *pwp; - char *string; -Index: trunk/cracklib/lib/packer.h -=================================================================== ---- trunk/cracklib/lib/packer.h (revision 89) -+++ trunk/cracklib/lib/packer.h (revision 90) -@@ -88,7 +88,7 @@ typedef struct { - - extern PWDICT *PWOpen(const char *prefix, char *mode); - extern int PWClose(PWDICT *pwp); --extern uint32_t FindPW(PWDICT *pwp, char *string); -+extern unsigned int FindPW(PWDICT *pwp, char *string); - extern int PutPW(PWDICT *pwp, char *string); - extern int PMatch(char *control, char *string); - extern char *Mangle(char *input, char *control); |