diff options
author | Maarten Thibaut <murphy@gentoo.org> | 2002-04-19 23:02:50 +0000 |
---|---|---|
committer | Maarten Thibaut <murphy@gentoo.org> | 2002-04-19 23:02:50 +0000 |
commit | 218d3ed22c44c335741dbc495e71e50304e84378 (patch) | |
tree | fb674201f648356393f82285fdc8ae8f2f703c1e /sys-libs | |
parent | Renamed files (diff) | |
download | gentoo-2-218d3ed22c44c335741dbc495e71e50304e84378.tar.gz gentoo-2-218d3ed22c44c335741dbc495e71e50304e84378.tar.bz2 gentoo-2-218d3ed22c44c335741dbc495e71e50304e84378.zip |
Fixing sparc support
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/cracklib/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/cracklib/cracklib-2.7-r4.ebuild | 50 | ||||
-rw-r--r-- | sys-libs/cracklib/files/digest-cracklib-2.7-r4 | 1 |
3 files changed, 57 insertions, 1 deletions
diff --git a/sys-libs/cracklib/ChangeLog b/sys-libs/cracklib/ChangeLog index 75fc2c247d86..b583978c6b26 100644 --- a/sys-libs/cracklib/ChangeLog +++ b/sys-libs/cracklib/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for sys-libs/cracklib # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.2 2002/03/17 22:55:24 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/ChangeLog,v 1.3 2002/04/19 23:02:50 murphy Exp $ +*cracklib-2.7-r4 (20 Apr 2002) + + 20 Apr 2002; M.Thibaut <murphy@gentoo.org> : + + Add /usr/lib/cracklib_dict.* for sparc platforms. *cracklib-2.7-r3 (18 Mar 2002) diff --git a/sys-libs/cracklib/cracklib-2.7-r4.ebuild b/sys-libs/cracklib/cracklib-2.7-r4.ebuild new file mode 100644 index 000000000000..249a78eca73e --- /dev/null +++ b/sys-libs/cracklib/cracklib-2.7-r4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.7-r4.ebuild,v 1.1 2002/04/19 23:02:50 murphy Exp $ + +S=${WORKDIR}/cracklib,${PV} +DESCRIPTION="Cracklib" +SRC_URI="ftp://ftp.debian.org/debian/dists/potato/main/source/utils/cracklib2_${PV}.orig.tar.gz" + +DEPEND="virtual/glibc" + +src_unpack() { + + unpack ${A} + + cd ${S} + patch -p1 <${FILESDIR}/${P}-redhat.patch || die + patch -p1 <${FILESDIR}/${P}-gentoo.diff || die +} + +src_compile() { + + # Parallel make does not work for 2.7 + make all +} + +src_install() { + + case $ARCH in + sparc*) + DICTS=dict-sparc + ;; + *) + DICTS=dict + ;; + esac + + dodir /usr/{lib,sbin,include} /usr/share/cracklib + + make DESTDIR=${D} install || die + + mv ${D}/usr/lib ${D} + preplib / + + insinto /usr/lib + doins ${FILESDIR}/${DICTS}/cracklib_dict.* + + dodoc HISTORY LICENCE MANIFEST POSTER README +} + diff --git a/sys-libs/cracklib/files/digest-cracklib-2.7-r4 b/sys-libs/cracklib/files/digest-cracklib-2.7-r4 new file mode 100644 index 000000000000..a7b3902bc30f --- /dev/null +++ b/sys-libs/cracklib/files/digest-cracklib-2.7-r4 @@ -0,0 +1 @@ +MD5 7f810e310c7f2df33d1eaa2b41ab2435 cracklib2_2.7.orig.tar.gz 20901 |