Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/mlocate: ChangeLog mlocate-0.22.4.ebuild mlocate-0.22.3.ebuild
Date: Tue, 30 Mar 2010 22:57:31
Message-Id: E1NwkNE-0000O2-0f@stork.gentoo.org
1 fauli 10/03/30 22:57:28
2
3 Modified: ChangeLog
4 Added: mlocate-0.22.4.ebuild
5 Removed: mlocate-0.22.3.ebuild
6 Log:
7 version bump
8 (Portage version: 2.1.7.17/cvs/Linux i686)
9
10 Revision Changes Path
11 1.57 sys-apps/mlocate/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.57&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.57&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/ChangeLog?r1=1.56&r2=1.57
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v
20 retrieving revision 1.56
21 retrieving revision 1.57
22 diff -u -r1.56 -r1.57
23 --- ChangeLog 8 Mar 2010 07:29:00 -0000 1.56
24 +++ ChangeLog 30 Mar 2010 22:57:27 -0000 1.57
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/mlocate
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.56 2010/03/08 07:29:00 fauli Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.57 2010/03/30 22:57:27 fauli Exp $
30 +
31 +*mlocate-0.22.4 (30 Mar 2010)
32 +
33 + 30 Mar 2010; Christian Faulhammer <fauli@g.o>
34 + -mlocate-0.22.3.ebuild, +mlocate-0.22.4.ebuild:
35 + version bump
36
37 *mlocate-0.22.3 (08 Mar 2010)
38
39
40
41
42 1.1 sys-apps/mlocate/mlocate-0.22.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/mlocate-0.22.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/mlocate-0.22.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mlocate-0.22.4.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/mlocate/mlocate-0.22.4.ebuild,v 1.1 2010/03/30 22:57:27 fauli Exp $
52
53 EAPI=3
54
55 inherit eutils
56
57 DESCRIPTION="Merging locate is an utility to index and quickly search for files"
58 HOMEPAGE="https://fedorahosted.org/mlocate/"
59 SRC_URI="https://fedorahosted.org/releases/m/l/mlocate/${P}.tar.xz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE=""
65
66 RDEPEND="!sys-apps/slocate
67 !sys-apps/rlocate"
68
69 pkg_setup() {
70 enewgroup locate
71 }
72
73 src_compile() {
74 emake groupname=locate || die
75 }
76
77 src_install() {
78 emake groupname=locate DESTDIR="${D}" install || die
79 dodoc AUTHORS ChangeLog README NEWS
80
81 insinto /etc
82 doins "${FILESDIR}/updatedb.conf"
83 fperms 0644 /etc/updatedb.conf
84
85 insinto /etc
86 doins "${FILESDIR}/mlocate-cron.conf"
87 fperms 0644 /etc/mlocate-cron.conf
88
89 insinto /etc/cron.daily
90 newins "${FILESDIR}/mlocate.cron-r2" mlocate
91 fperms 0755 /etc/cron.daily/mlocate
92
93 fowners 0:locate /usr/bin/locate
94 fperms go-r,g+s /usr/bin/locate
95
96 chown -R 0:locate "${D}/var/lib/mlocate"
97 fperms 0750 /var/lib/mlocate
98 keepdir /var/lib/mlocate
99 }
100
101 pkg_postinst() {
102 elog "Note that the /etc/updatedb.conf file is generic"
103 elog "Please customize it to your system requirements"
104 }