diff options
author | Paul de Vrieze <pauldv@gentoo.org> | 2003-10-23 20:00:21 +0000 |
---|---|---|
committer | Paul de Vrieze <pauldv@gentoo.org> | 2003-10-23 20:00:21 +0000 |
commit | 4512c28e9212388035c6d75dc7dd585f73a437eb (patch) | |
tree | 79a0eea7b927be658ee41d2463014e674bf7ca2d /sys-apps/findutils | |
parent | Have a bigger environment size in xargs (diff) | |
download | historical-4512c28e9212388035c6d75dc7dd585f73a437eb.tar.gz historical-4512c28e9212388035c6d75dc7dd585f73a437eb.tar.bz2 historical-4512c28e9212388035c6d75dc7dd585f73a437eb.zip |
Have a bigger environment size in xargs
Diffstat (limited to 'sys-apps/findutils')
-rw-r--r-- | sys-apps/findutils/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/findutils/files/digest-findutils-4.1.7-r5 | 2 | ||||
-rw-r--r-- | sys-apps/findutils/findutils-4.1.7-r5.ebuild | 79 |
3 files changed, 83 insertions, 2 deletions
diff --git a/sys-apps/findutils/Manifest b/sys-apps/findutils/Manifest index b283f58a82e3..ac7d4b56762b 100644 --- a/sys-apps/findutils/Manifest +++ b/sys-apps/findutils/Manifest @@ -1,11 +1,11 @@ -MD5 ba7bc63f7ea44879720ae0a54b269e96 ChangeLog 3570 +MD5 bb77a313043bf852abde778b33873a13 ChangeLog 3743 MD5 b92f7c59f607a94b3422d6ec5b4f64c1 findutils-4.1.7-r1.ebuild 1392 MD5 4d717bd3a8b1379d34f1a479fc500ca5 findutils-4.1.7-r2.ebuild 1540 MD5 e8d15cea8b64b0944e5b0dbd814591cf findutils-4.1.7-r3.ebuild 1649 MD5 8fc76e43de3e427dd3a438072cd3bb54 findutils-4.1.7-r4.ebuild 1882 MD5 1881e21684c89ee5c0298fbd815287a6 findutils-4.1.20.ebuild 1931 MD5 2cd340ee43809b5b54676bc6f0677342 findutils-4.1.20-r1.ebuild 2037 -MD5 b051ba1ae3ddaed6497cd36f476e618c findutils-4.1.7-r5.ebuild 1999 +MD5 26760f50b3501714617ed7775456497a findutils-4.1.7-r5.ebuild 1985 MD5 d6a2c5cf6a7fd16e1470d1818b08e0ca files/digest-findutils-4.1.7-r1 67 MD5 d6a2c5cf6a7fd16e1470d1818b08e0ca files/digest-findutils-4.1.7-r2 67 MD5 b46d51a8d2953ef314c033171c836c3d files/digest-findutils-4.1.7-r3 161 diff --git a/sys-apps/findutils/files/digest-findutils-4.1.7-r5 b/sys-apps/findutils/files/digest-findutils-4.1.7-r5 new file mode 100644 index 000000000000..b2cddade2458 --- /dev/null +++ b/sys-apps/findutils/files/digest-findutils-4.1.7-r5 @@ -0,0 +1,2 @@ +MD5 582d9b35006065f81f71d681c165fa1e findutils-4.1.7.tar.gz 634058 +MD5 b6849c4f026a8c9b3015c2ca5b10f509 findutils-4.1.7-2003011510-selinux-gentoo.patch.bz2 4165 diff --git a/sys-apps/findutils/findutils-4.1.7-r5.ebuild b/sys-apps/findutils/findutils-4.1.7-r5.ebuild new file mode 100644 index 000000000000..dc72582f491a --- /dev/null +++ b/sys-apps/findutils/findutils-4.1.7-r5.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.1.7-r5.ebuild,v 1.1 2003/10/23 20:00:16 pauldv Exp $ + +IUSE="nls build afs selinux" + +inherit eutils + +DESCRIPTION="GNU utilities to find files" +HOMEPAGE="http://www.gnu.org/software/findutils/findutils.html" + +# Note this doesn't point to gnu.org because alpha.gnu.org has quit +# supplying the development versions. If it comes back in the future +# then we might want to redirect the link. See bug 18729 +SRC_URI="mirror://gentoo/${P}.tar.gz + selinux? mirror://gentoo/${P}-2003011510-selinux-gentoo.patch.bz2" + +KEYWORDS="x86 amd64 ppc sparc hppa ~arm alpha ia64" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc + >=sys-apps/sed-4 + nls? ( sys-devel/gettext ) + afs? ( net-fs/openafs ) + selinux? ( sys-apps/selinux-small )" +RDEPEND="virtual/glibc" + +src_unpack() { + unpack ${A} + cd ${S} + + # Don't build or install locate because it conflicts with slocate, + # which is a secure version of locate. See bug 18729 + sed -i '/^SUBDIRS/s/locate//' Makefile.in + + #get a bigger environment as ebuild.sh is growing large + epatch ${FILESDIR}/findutils-env-size.patch + + use selinux && epatch ${DISTDIR}/${P}-2003011510-selinux-gentoo.patch.bz2 +} + +src_compile() { + local myconf + + use nls || myconf="${myconf} --disable-nls" + + if use afs; then + export CPPFLAGS=-I/usr/afsws/include + export LDFLAGS=-lpam + export LIBS=/usr/afsws/lib/pam_afs.so.1 + fi + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + ${myconf} || die + + emake libexecdir=/usr/lib/find || die +} + +src_install() { + einstall libexecdir=${D}/usr/lib/find || die + + prepallman + + rm -rf ${D}/usr/var + if ! use build; then + dodoc COPYING NEWS README TODO ChangeLog + else + rm -rf ${D}/usr/share + fi +} + +pkg_postinst() { + ewarn "Please note that the locate and updatedb binaries" + ewarn "are not longer provided by findutils." + ewarn "Please emerge slocate" +} |