diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-30 22:08:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-30 22:08:36 +0000 |
commit | fb72726ea2a6450c0c6bef0bca06f2fbafb60ee1 (patch) | |
tree | b835ba2f9b2da5b4e9b14ec6a1b14c6d6ea99b7b /sys-apps/findutils | |
parent | arm/s390/sh stable (diff) | |
download | historical-fb72726ea2a6450c0c6bef0bca06f2fbafb60ee1.tar.gz historical-fb72726ea2a6450c0c6bef0bca06f2fbafb60ee1.tar.bz2 historical-fb72726ea2a6450c0c6bef0bca06f2fbafb60ee1.zip |
Version bump.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'sys-apps/findutils')
-rw-r--r-- | sys-apps/findutils/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/findutils/files/digest-findutils-4.3.8 | 3 | ||||
-rw-r--r-- | sys-apps/findutils/findutils-4.3.8.ebuild | 57 |
3 files changed, 66 insertions, 1 deletions
diff --git a/sys-apps/findutils/ChangeLog b/sys-apps/findutils/ChangeLog index 04b3aa764ed7..777b4cfe5c75 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.129 2007/06/28 00:50:04 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.130 2007/06/30 22:08:36 vapier Exp $ + +*findutils-4.3.8 (30 Jun 2007) + + 30 Jun 2007; Mike Frysinger <vapier@gentoo.org> +findutils-4.3.8.ebuild: + Version bump. 28 Jun 2007; Joshua Kinard <kumba@gentoo.org> findutils-4.3.7.ebuild: Stable on mips, per #180617. diff --git a/sys-apps/findutils/files/digest-findutils-4.3.8 b/sys-apps/findutils/files/digest-findutils-4.3.8 new file mode 100644 index 000000000000..e4568313a443 --- /dev/null +++ b/sys-apps/findutils/files/digest-findutils-4.3.8 @@ -0,0 +1,3 @@ +MD5 b5e4f88b7b5502460c62c04f94df613d findutils-4.3.8.tar.gz 1808049 +RMD160 b02144ad9ffff5fe2d02f6a2451f2787e2824d0a findutils-4.3.8.tar.gz 1808049 +SHA256 ec933354569f90afaa8112609f8ffe8069294e303fee8669ed3b6b7426ac631d findutils-4.3.8.tar.gz 1808049 diff --git a/sys-apps/findutils/findutils-4.3.8.ebuild b/sys-apps/findutils/findutils-4.3.8.ebuild new file mode 100644 index 000000000000..a95ac81a4694 --- /dev/null +++ b/sys-apps/findutils/findutils-4.3.8.ebuild @@ -0,0 +1,57 @@ +# 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.8.ebuild,v 1.1 2007/06/30 22:08:36 vapier Exp $ + +inherit eutils flag-o-matic toolchain-funcs multilib + +SELINUX_PATCH="findutils-4.3.7-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}" + + # 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 +} |