From: | "Christian Faulhammer (opfer)" <opfer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/mlocate: ChangeLog mlocate-0.20.ebuild |
Date: | Fri, 25 Apr 2008 10:00:19 |
Message-Id: | E1JpKj3-0008GV-14@stork.gentoo.org |
1 | opfer 08/04/25 10:00:17 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mlocate-0.20.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.14 sys-apps/mlocate/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.14&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/ChangeLog?rev=1.14&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/ChangeLog?r1=1.13&r2=1.14 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v |
19 | retrieving revision 1.13 |
20 | retrieving revision 1.14 |
21 | diff -u -r1.13 -r1.14 |
22 | --- ChangeLog 5 Apr 2008 21:20:42 -0000 1.13 |
23 | +++ ChangeLog 25 Apr 2008 10:00:16 -0000 1.14 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for sys-apps/mlocate |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.13 2008/04/05 21:20:42 josejx Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/mlocate/ChangeLog,v 1.14 2008/04/25 10:00:16 opfer Exp $ |
29 | + |
30 | +*mlocate-0.20 (25 Apr 2008) |
31 | + |
32 | + 25 Apr 2008; Christian Faulhammer <opfer@g.o> +mlocate-0.20.ebuild: |
33 | + version bump |
34 | |
35 | 05 Apr 2008; Joseph Jezak <josejx@g.o> mlocate-0.19.ebuild: |
36 | Marked ppc stable for bug #215795. |
37 | |
38 | |
39 | |
40 | 1.1 sys-apps/mlocate/mlocate-0.20.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/mlocate-0.20.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mlocate/mlocate-0.20.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: mlocate-0.20.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/mlocate/mlocate-0.20.ebuild,v 1.1 2008/04/25 10:00:16 opfer Exp $ |
50 | |
51 | inherit eutils |
52 | |
53 | DESCRIPTION="Merging locate is an utility to index and quickly search for files" |
54 | HOMEPAGE="https://fedorahosted.org/mlocate/" |
55 | SRC_URI="https://fedorahosted.org/mlocate/attachment/wiki/MlocateDownloads/${P}.tar.bz2?format=raw" |
56 | |
57 | LICENSE="GPL-2" |
58 | SLOT="0" |
59 | KEYWORDS="~amd64 ~ppc ~x86" |
60 | IUSE="" |
61 | |
62 | RDEPEND="!sys-apps/slocate |
63 | !sys-apps/rlocate" |
64 | |
65 | pkg_setup() { |
66 | enewgroup locate |
67 | } |
68 | |
69 | src_unpack() { |
70 | mv "${DISTDIR}/${P}.tar.bz2?format=raw" "${DISTDIR}/${P}.tar.bz2" |
71 | unpack "${P}.tar.bz2" |
72 | } |
73 | |
74 | src_compile() { |
75 | econf || die "econf failed" |
76 | emake groupname=locate || die "emake failed" |
77 | } |
78 | |
79 | src_install() { |
80 | emake groupname=locate DESTDIR="${D}" install || die "emake install failed" |
81 | dodoc AUTHORS ChangeLog README NEWS |
82 | |
83 | insinto /etc |
84 | doins "${FILESDIR}/updatedb.conf" |
85 | fperms 0644 /etc/updatedb.conf |
86 | |
87 | insinto /etc/cron.daily |
88 | newins "${FILESDIR}/mlocate.cron" mlocate |
89 | fperms 0755 /etc/cron.daily/mlocate |
90 | |
91 | fowners 0:locate /usr/bin/locate |
92 | fperms go-r,g+s /usr/bin/locate |
93 | |
94 | chown -R 0:locate "${D}/var/lib/mlocate" |
95 | fperms 0750 /var/lib/mlocate |
96 | keepdir /var/lib/mlocate |
97 | } |
98 | |
99 | src_test() { |
100 | if has userpriv ${FEATURES} && ! has usersandbox ${FEATURES}; then |
101 | make check-local || die "test suite failed" |
102 | else |
103 | ewarn "Activate FEATURES=userpriv and deactivate FEATURES=usersandbox to run testsuite." |
104 | fi |
105 | } |
106 | |
107 | pkg_postinst() { |
108 | elog "Note that the /etc/updatedb.conf file is generic" |
109 | elog "Please customize it to your system requirements" |
110 | } |
111 | |
112 | |
113 | |
114 | -- |
115 | gentoo-commits@l.g.o mailing list |