diff options
author | Joshua Brindle <method@gentoo.org> | 2003-03-20 05:28:12 +0000 |
---|---|---|
committer | Joshua Brindle <method@gentoo.org> | 2003-03-20 05:28:12 +0000 |
commit | 4580dbf5d7d3fe2630e00ec7e6f5358c7bf8c5d6 (patch) | |
tree | 538424cd94aae45b35c3c6026de522a89ceaa2e8 /sys-apps/findutils | |
parent | added kadu to portage (diff) | |
download | gentoo-2-4580dbf5d7d3fe2630e00ec7e6f5358c7bf8c5d6.tar.gz gentoo-2-4580dbf5d7d3fe2630e00ec7e6f5358c7bf8c5d6.tar.bz2 gentoo-2-4580dbf5d7d3fe2630e00ec7e6f5358c7bf8c5d6.zip |
added selinux use var
Diffstat (limited to 'sys-apps/findutils')
-rw-r--r-- | sys-apps/findutils/ChangeLog | 11 | ||||
-rw-r--r-- | sys-apps/findutils/files/digest-findutils-4.1.7-r3 | 2 | ||||
-rw-r--r-- | sys-apps/findutils/findutils-4.1.7-r3.ebuild | 70 |
3 files changed, 80 insertions, 3 deletions
diff --git a/sys-apps/findutils/ChangeLog b/sys-apps/findutils/ChangeLog index 6dffcca8ab53..2d804c0f79e4 100644 --- a/sys-apps/findutils/ChangeLog +++ b/sys-apps/findutils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/findutils # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.10 2003/02/21 02:34:19 zwelch Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.11 2003/03/20 05:28:12 method Exp $ + +*findutils-4.1.7-r3 (19 Mar 2003) + + 19 Mar 2003; Joshu Brindle <method@gentoo.org> findutils-4.1.7-r3.ebuild: + Added selinux use flag + +*findutils-4.1.7-r2 (29 Nov 2002) 20 Feb 2003; Zach Welch <zwelch@gentoo.org> findutils-4.1.7-r2.ebuild: Added arm to keywords. @@ -9,8 +16,6 @@ Added hppa to keywords. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords - -*findutils-4.1.7-r2 (29 Nov 2002) 29 Nov 2002; Brad Cowan <bcowan@gentoo.org> findutils-4.1.7-r2.ebuild, files/digest-findutils-4.1.7-r2: diff --git a/sys-apps/findutils/files/digest-findutils-4.1.7-r3 b/sys-apps/findutils/files/digest-findutils-4.1.7-r3 new file mode 100644 index 000000000000..fb0618a8ce07 --- /dev/null +++ b/sys-apps/findutils/files/digest-findutils-4.1.7-r3 @@ -0,0 +1,2 @@ +MD5 582d9b35006065f81f71d681c165fa1e findutils-4.1.7.tar.gz 634058 +MD5 274793898f0a6a85aed472aa1e6eef12 findutils-4.1.7-2003011510.patch.gz 4059 diff --git a/sys-apps/findutils/findutils-4.1.7-r3.ebuild b/sys-apps/findutils/findutils-4.1.7-r3.ebuild new file mode 100644 index 000000000000..c20e9cb8e65f --- /dev/null +++ b/sys-apps/findutils/findutils-4.1.7-r3.ebuild @@ -0,0 +1,70 @@ +# 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-r3.ebuild,v 1.1 2003/03/20 05:28:12 method Exp $ + +IUSE="nls build afs selinux" + +inherit eutils + +S=${WORKDIR}/${P} + +DESCRIPTION="GNU utilities to find files" +SRC_URI="ftp://alpha.gnu.org/gnu/${P}.tar.gz" +#use selinux && SRC_URI="${SRC_URI} http://www.nsa.gov/selinux/patches/findutils-4.1.7-2003011510.patch.gz" + +HOMEPAGE="http://www.gnu.org/software/findutils/findutils.html" + +KEYWORDS="~x86 ~hppa arm" +SLOT="0" +LICENSE="GPL-2" + +DEPEND="virtual/glibc + nls? ( sys-devel/gettext ) + afs? ( net-fs/openafs )" +RDEPEND="virtual/glibc" + +src_compile() { + + use selinux && epatch ${FILESDIR}/findutils-4.1.7-2003011510-gentoo.patch + 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 \ + --localstatedir=/var/spool/locate \ + ${myconf} || die + + emake libexecdir=/usr/lib/find || die +} + +src_install() { + #do not change 'localstatedir=/var/spool/locate' to + #'localstatedir=${D}/var/spool/locate', as it will then be hardcoded + #into locate and updatedb + make prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + infodir=${D}/usr/share/info \ + localstatedir=/var/spool/locate \ + libexecdir=${D}/usr/lib/find \ + install || die + + dosed "s:TMPDIR=/usr/tmp:TMPDIR=/tmp:" usr/bin/updatedb + rm -rf ${D}/usr/var + if [ -z "`use build`" ] + then + dodoc COPYING NEWS README TODO ChangeLog + else + rm -rf ${D}/usr/share + fi + dodir /var/spool/locate + touch ${D}/var/spool/locate/.keep +} + |