diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-11 05:43:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-11 05:43:57 +0000 |
commit | f442e0dd0ccb4dec46f2796ae7cfe81d30557b06 (patch) | |
tree | b5bbf69faeeb1bef317fb78c557b64acc2213f6d | |
parent | old (diff) | |
download | gentoo-2-f442e0dd0ccb4dec46f2796ae7cfe81d30557b06.tar.gz gentoo-2-f442e0dd0ccb4dec46f2796ae7cfe81d30557b06.tar.bz2 gentoo-2-f442e0dd0ccb4dec46f2796ae7cfe81d30557b06.zip |
Version bump.
(Portage version: 2.1.2.9)
-rw-r--r-- | sys-apps/findutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/findutils/files/digest-findutils-4.3.7 | 3 | ||||
-rw-r--r-- | sys-apps/findutils/findutils-4.3.7.ebuild | 58 |
3 files changed, 67 insertions, 1 deletions
diff --git a/sys-apps/findutils/ChangeLog b/sys-apps/findutils/ChangeLog index 66aedbe2405c..961a88f99173 100644 --- a/sys-apps/findutils/ChangeLog +++ b/sys-apps/findutils/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/findutils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.118 2007/06/11 05:35:31 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.119 2007/06/11 05:43:57 vapier Exp $ + +*findutils-4.3.7 (11 Jun 2007) + + 11 Jun 2007; Mike Frysinger <vapier@gentoo.org> +findutils-4.3.7.ebuild: + Version bump. 11 Jun 2007; Mike Frysinger <vapier@gentoo.org> +files/findutils-4.3.6-fprint-unwritable.patch, findutils-4.3.6-r1.ebuild: diff --git a/sys-apps/findutils/files/digest-findutils-4.3.7 b/sys-apps/findutils/files/digest-findutils-4.3.7 new file mode 100644 index 000000000000..a76fda51ffe0 --- /dev/null +++ b/sys-apps/findutils/files/digest-findutils-4.3.7 @@ -0,0 +1,3 @@ +MD5 4f30c3af6848e31ca767490cc628613e findutils-4.3.7.tar.gz 1807397 +RMD160 83492bd517e39d5fe5d4c6d3739dcb7074dc5ef4 findutils-4.3.7.tar.gz 1807397 +SHA256 60a5fbc06e0c92972c133e6498da88f431f09d483f94a00dd71638ba7f55048a findutils-4.3.7.tar.gz 1807397 diff --git a/sys-apps/findutils/findutils-4.3.7.ebuild b/sys-apps/findutils/findutils-4.3.7.ebuild new file mode 100644 index 000000000000..21056db1a99d --- /dev/null +++ b/sys-apps/findutils/findutils-4.3.7.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.3.7.ebuild,v 1.1 2007/06/11 05:43:57 vapier Exp $ + +inherit eutils flag-o-matic toolchain-funcs multilib + +SELINUX_PATCH="findutils-4.3.6-selinux.diff" + +DESCRIPTION="GNU utilities for finding files" +HOMEPAGE="http://www.gnu.org/software/findutils/findutils.html" +# SRC_URI="mirror://gnu/${PN}/${P}.tar.gz mirror://gentoo/${P}.tar.gz" +SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="nls selinux static" + +RDEPEND="selinux? ( sys-libs/libselinux ) + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-4.3.6-fprint-unwritable.patch #180412 + + # 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 + + # Patches for selinux + use selinux && epatch "${FILESDIR}/${SELINUX_PATCH}" +} + +src_compile() { + use static && append-ldflags -static + + local myconf + use userland_GNU || myconf=" --program-prefix=g" + + if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then + myconf="${myconf} --without-included-regex" + fi + + econf \ + $(use_enable nls) \ + --libexecdir=/usr/$(get_libdir)/find \ + ${myconf} \ + || die "configure failed" + emake AR="$(tc-getAR)" || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc NEWS README TODO ChangeLog +} |