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