# ChangeLog for sys-apps/findutils
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.46 2005/08/30 18:59:56 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.47 2005/09/22 18:30:33 ciaranm Exp $
+
+*findutils-4.2.24 (22 Sep 2005)
+
+ 22 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org>
+ +findutils-4.2.24.ebuild:
+ Version bump
30 Aug 2005; Ciaran McCreesh <ciaranm@gentoo.org> findutils-4.2.23.ebuild:
Remove AFS support, bug #104132. Remove from package.mask.
MD5 e63b61d5721b385b5ebde50fa9a285d3 findutils-4.2.18.ebuild 2087
MD5 77afdd0a4bd1f36df4bfe6a006595d7f findutils-4.2.20.ebuild 1891
MD5 1f7197b778d47c773d19430261c84f49 metadata.xml 261
-MD5 afaf5a5b656371a9561e3e9a7ea79ebc ChangeLog 7065
+MD5 aa032401302eede8b2752d6f68793758 ChangeLog 7194
+MD5 657cdfc199b887957aacfbfdfaee58d6 findutils-4.2.24.ebuild 1710
MD5 62f86a597482354916befe2e1f084b8d files/findutils-4.2.18-selinux.diff 15327
MD5 6d52de5b305608054e88b17c5b282048 files/findutils-4.2.20-man.patch 331
+MD5 2b5e0b42a11ea009340805d461a6ecc5 files/digest-findutils-4.2.24 69
MD5 ed25af7dabe43ac10d2383db9bf30ba5 files/findutils-4.2.20-selinux.diff 14398
MD5 f983b276be2d73937687b61be2bc917d files/digest-findutils-4.2.18 68
MD5 df65fc9a616feac9570c654f02b2edcc files/findutils-4.2.18-gcc295.patch 457
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFDFK0ELLFUmVNQ7rkRAl4aAKCxBRW6bSJ4v53Dol0xuDFDkStMagCg0E65
-45ufvy2AKkEeLh8KVZrsraA=
-=UCHz
+iD8DBQFDMviFLLFUmVNQ7rkRArOQAJ42dwEkOICx8jy8JZ0PbrwjHOWDqwCfQ5ZJ
+diJt15IyF4Imdx5ybF7wDSA=
+=4uZE
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 f551df975740eb01ba315e33be836454 findutils-4.2.24.tar.gz 1007589
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.2.24.ebuild,v 1.1 2005/09/22 18:30:33 ciaranm Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+# SELINUX_PATCH="findutils-4.2.23-selinux.patch"
+
+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 build selinux static"
+
+RDEPEND="selinux? ( sys-libs/libselinux )"
+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() {
+ export CPPFLAGS="${CXXFLAGS}"
+ use static && append-ldflags -static
+
+ local myconf=""
+ [[ "${USERLAND}" != "GNU" ]] && myconf="--program-prefix=g"
+
+ econf $(use_enable nls) ${myconf} || die "configure failed"
+ emake libexecdir=/usr/lib/find AR="$(tc-getAR)" || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" libexecdir="${D}/usr/lib/find" install || die
+ prepallman
+
+ rm -rf ${D}/usr/var
+ use build \
+ && rm -rf ${D}/usr/share \
+ || dodoc NEWS README TODO ChangeLog
+}
+
+pkg_postinst() {
+ ewarn "Please note that the locate and updatedb binaries"
+ ewarn "are now provided by slocate, not findutils."
+}