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