Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/findutils: ChangeLog findutils-4.5.8.ebuild
Date: Fri, 09 Apr 2010 06:15:03
Message-Id: 20100409061459.526042C04A@corvid.gentoo.org
1 vapier 10/04/09 06:14:59
2
3 Modified: ChangeLog
4 Added: findutils-4.5.8.ebuild
5 Log:
6 Version bump #313797 by Sebastian Pipping. Should finally fix #253570 by Barbu Eros Iulian.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.182 sys-apps/findutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/findutils/ChangeLog?rev=1.182&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/findutils/ChangeLog?rev=1.182&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/findutils/ChangeLog?r1=1.181&r2=1.182
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v
19 retrieving revision 1.181
20 retrieving revision 1.182
21 diff -u -r1.181 -r1.182
22 --- ChangeLog 11 Dec 2009 20:38:57 -0000 1.181
23 +++ ChangeLog 9 Apr 2010 06:14:59 -0000 1.182
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/findutils
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.181 2009/12/11 20:38:57 vapier Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/ChangeLog,v 1.182 2010/04/09 06:14:59 vapier Exp $
30 +
31 +*findutils-4.5.8 (09 Apr 2010)
32 +
33 + 09 Apr 2010; Mike Frysinger <vapier@g.o> +findutils-4.5.8.ebuild:
34 + Version bump #313797 by Sebastian Pipping. Should finally fix #253570 by
35 + Barbu Eros Iulian.
36
37 *findutils-4.4.2 (11 Dec 2009)
38
39
40
41
42 1.1 sys-apps/findutils/findutils-4.5.8.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/findutils/findutils-4.5.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/findutils/findutils-4.5.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: findutils-4.5.8.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/findutils/findutils-4.5.8.ebuild,v 1.1 2010/04/09 06:14:59 vapier Exp $
52
53 inherit eutils flag-o-matic toolchain-funcs multilib
54
55 SELINUX_PATCH="findutils-4.5.4-selinux.diff"
56
57 DESCRIPTION="GNU utilities for finding files"
58 HOMEPAGE="http://www.gnu.org/software/findutils/"
59 SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz"
60 # mirror://gnu/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
65 IUSE="nls selinux static"
66
67 RDEPEND="selinux? ( sys-libs/libselinux )
68 nls? ( virtual/libintl )"
69 DEPEND="${RDEPEND}
70 nls? ( sys-devel/gettext )"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75
76 # Don't build or install locate because it conflicts with slocate,
77 # which is a secure version of locate. See bug 18729
78 sed -i '/^SUBDIRS/s/locate//' Makefile.in
79
80 use selinux && epatch "${FILESDIR}/${SELINUX_PATCH}"
81 }
82
83 src_compile() {
84 use static && append-ldflags -static
85
86 local myconf
87 use userland_GNU || myconf=" --program-prefix=g"
88
89 if echo "#include <regex.h>" | $(tc-getCPP) > /dev/null ; then
90 myconf="${myconf} --without-included-regex"
91 fi
92
93 econf \
94 $(use_enable nls) \
95 --libexecdir=/usr/$(get_libdir)/find \
96 ${myconf} \
97 || die "configure failed"
98 emake AR="$(tc-getAR)" || die "make failed"
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die
103 dodoc NEWS README TODO ChangeLog
104 }