1 |
fauli 11/05/06 22:36:14 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mlocate-0.24.ebuild |
5 |
Log: |
6 |
version bump for bug 366237 |
7 |
|
8 |
(Portage version: 2.1.9.42/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.87 sys-apps/mlocate/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.87&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.87&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/ChangeLog?r1=1.86&r2=1.87 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v |
20 |
retrieving revision 1.86 |
21 |
retrieving revision 1.87 |
22 |
diff -u -r1.86 -r1.87 |
23 |
--- ChangeLog 9 Mar 2011 20:36:35 -0000 1.86 |
24 |
+++ ChangeLog 6 May 2011 22:36:14 -0000 1.87 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/mlocate |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.86 2011/03/09 20:36:35 fauli Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.87 2011/05/06 22:36:14 fauli Exp $ |
30 |
+ |
31 |
+*mlocate-0.24 (06 May 2011) |
32 |
+ |
33 |
+ 06 May 2011; Christian Faulhammer <fauli@g.o> +mlocate-0.24.ebuild: |
34 |
+ version bump for bug 366237 |
35 |
|
36 |
09 Mar 2011; Christian Faulhammer <fauli@g.o> |
37 |
mlocate-0.23.1-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/mlocate/mlocate-0.24.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/mlocate-0.24.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/mlocate/mlocate-0.24.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mlocate-0.24.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/mlocate-0.24.ebuild,v 1.1 2011/05/06 22:36:14 fauli Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
DESCRIPTION="Merging locate is an utility to index and quickly search for files" |
57 |
HOMEPAGE="https://fedorahosted.org/mlocate/" |
58 |
SRC_URI="https://fedorahosted.org/releases/m/l/mlocate/${P}.tar.xz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
63 |
IUSE="nls" |
64 |
|
65 |
RDEPEND="!sys-apps/slocate |
66 |
!sys-apps/rlocate" |
67 |
DEPEND="app-arch/xz-utils |
68 |
nls? ( sys-devel/gettext )" |
69 |
|
70 |
pkg_setup() { |
71 |
enewgroup locate |
72 |
} |
73 |
|
74 |
src_configure() { |
75 |
econf $(use_enable nls) || die |
76 |
} |
77 |
|
78 |
src_compile() { |
79 |
emake groupname=locate || die |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
emake groupname=locate DESTDIR="${D}" install || die |
84 |
dodoc AUTHORS ChangeLog README NEWS |
85 |
|
86 |
insinto /etc |
87 |
doins "${FILESDIR}"/updatedb.conf || die |
88 |
doins "${FILESDIR}"/mlocate-cron.conf || die |
89 |
fperms 0644 /etc/{updatedb,mlocate-cron}.conf |
90 |
|
91 |
insinto /etc/cron.daily |
92 |
newins "${FILESDIR}/mlocate.cron-r2" mlocate |
93 |
fperms 0755 /etc/cron.daily/mlocate |
94 |
|
95 |
fowners 0:locate /usr/bin/locate |
96 |
fperms go-r,g+s /usr/bin/locate |
97 |
|
98 |
keepdir /var/lib/mlocate |
99 |
chown -R 0:locate "${D}"/var/lib/mlocate |
100 |
fperms 0750 /var/lib/mlocate |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
elog "The database for the locate command is generated daily by a cron job," |
105 |
elog "if you install for the first time you can run the updatedb command manually now." |
106 |
elog |
107 |
elog "Note that the /etc/updatedb.conf file is generic," |
108 |
elog "please customize it to your system requirements." |
109 |
} |