Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/mlocate: ChangeLog mlocate-0.26-r1.ebuild mlocate-0.26.ebuild
Date: Mon, 05 May 2014 06:42:06
Message-Id: 20140505064203.D69EF2004C@flycatcher.gentoo.org
1 polynomial-c 14/05/05 06:42:03
2
3 Modified: ChangeLog
4 Added: mlocate-0.26-r1.ebuild
5 Removed: mlocate-0.26.ebuild
6 Log:
7 Fixed some filesystem entries in updatedb.conf file (bug #509084). Committed straight to stable
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x981CA6FC)
10
11 Revision Changes Path
12 1.119 sys-apps/mlocate/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.119&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.119&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?r1=1.118&r2=1.119
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v
21 retrieving revision 1.118
22 retrieving revision 1.119
23 diff -u -r1.118 -r1.119
24 --- ChangeLog 8 Jan 2014 22:45:47 -0000 1.118
25 +++ ChangeLog 5 May 2014 06:42:03 -0000 1.119
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sys-apps/mlocate
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.118 2014/01/08 22:45:47 fauli Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.119 2014/05/05 06:42:03 polynomial-c Exp $
31 +
32 +*mlocate-0.26-r1 (05 May 2014)
33 +
34 + 05 May 2014; Lars Wendler <polynomial-c@g.o> -mlocate-0.26.ebuild,
35 + +mlocate-0.26-r1.ebuild, files/updatedb.conf:
36 + Fixed some filesystem entries in updatedb.conf file. Thanks to Toralf
37 + Förster who reported this in bug #509084. Committed straight to stable.
38
39 08 Jan 2014; Christian Faulhammer <fauli@g.o> -mlocate-0.25.ebuild:
40 clean up
41
42
43
44 1.1 sys-apps/mlocate/mlocate-0.26-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/mlocate-0.26-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/mlocate-0.26-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mlocate-0.26-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/mlocate-0.26-r1.ebuild,v 1.1 2014/05/05 06:42:03 polynomial-c Exp $
54
55 EAPI=4
56 inherit eutils user toolchain-funcs
57
58 DESCRIPTION="Merging locate is an utility to index and quickly search for files"
59 HOMEPAGE="https://fedorahosted.org/mlocate/"
60 SRC_URI="https://fedorahosted.org/releases/m/l/mlocate/${P}.tar.xz"
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"
66
67 RDEPEND="!sys-apps/slocate
68 !sys-apps/rlocate
69 selinux? ( sec-policy/selinux-slocate )"
70 DEPEND="app-arch/xz-utils
71 nls? ( sys-devel/gettext )
72 selinux? ( sec-policy/selinux-slocate )"
73
74 pkg_setup() {
75 enewgroup locate
76 }
77
78 src_configure() {
79 econf $(use_enable nls)
80 }
81
82 src_compile() {
83 emake groupname=locate AR="$(tc-getAR)"
84 }
85
86 src_install() {
87 emake groupname=locate DESTDIR="${D}" install
88 dodoc AUTHORS ChangeLog README NEWS
89
90 insinto /etc
91 doins "${FILESDIR}"/updatedb.conf
92 doins "${FILESDIR}"/mlocate-cron.conf
93 fperms 0644 /etc/{updatedb,mlocate-cron}.conf
94
95 insinto /etc/cron.daily
96 newins "${FILESDIR}"/mlocate.cron-r2 mlocate
97 fperms 0755 /etc/cron.daily/mlocate
98
99 fowners 0:locate /usr/bin/locate
100 fperms go-r,g+s /usr/bin/locate
101
102 keepdir /var/lib/mlocate
103 chown -R 0:locate "${ED}"/var/lib/mlocate
104 fperms 0750 /var/lib/mlocate
105 }
106
107 pkg_postinst() {
108 elog "The database for the locate command is generated daily by a cron job,"
109 elog "if you install for the first time you can run the updatedb command manually now."
110 elog
111 elog "Note that the /etc/updatedb.conf file is generic,"
112 elog "please customize it to your system requirements."
113 }