Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/mlocate/
Date: Fri, 14 May 2021 22:14:11
Message-Id: 1621030381.1b391ace053868f1b1c9e27c4ac2d7fad38ed54e.soap@gentoo
1 commit: 1b391ace053868f1b1c9e27c4ac2d7fad38ed54e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 14 22:13:01 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri May 14 22:13:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b391ace
7
8 sys-apps/mlocate: drop 0.26-r2
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sys-apps/mlocate/mlocate-0.26-r2.ebuild | 62 ---------------------------------
13 1 file changed, 62 deletions(-)
14
15 diff --git a/sys-apps/mlocate/mlocate-0.26-r2.ebuild b/sys-apps/mlocate/mlocate-0.26-r2.ebuild
16 deleted file mode 100644
17 index adfc2fe43ab..00000000000
18 --- a/sys-apps/mlocate/mlocate-0.26-r2.ebuild
19 +++ /dev/null
20 @@ -1,62 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -inherit user toolchain-funcs
26 -
27 -DESCRIPTION="Merging locate is an utility to index and quickly search for files"
28 -HOMEPAGE="https://pagure.io/mlocate"
29 -SRC_URI="http://releases.pagure.org/mlocate/${P}.tar.xz"
30 -
31 -LICENSE="GPL-2"
32 -SLOT="0"
33 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86"
34 -IUSE="nls selinux"
35 -
36 -RDEPEND="!sys-apps/slocate
37 - !sys-apps/rlocate
38 - selinux? ( sec-policy/selinux-slocate )"
39 -DEPEND="app-arch/xz-utils
40 - nls? ( sys-devel/gettext )
41 -"
42 -
43 -pkg_setup() {
44 - enewgroup locate
45 -}
46 -
47 -src_configure() {
48 - econf $(use_enable nls)
49 -}
50 -
51 -src_compile() {
52 - emake groupname=locate AR="$(tc-getAR)"
53 -}
54 -
55 -src_install() {
56 - emake groupname=locate DESTDIR="${D}" install
57 - dodoc AUTHORS ChangeLog README NEWS
58 -
59 - insinto /etc
60 - doins "${FILESDIR}"/updatedb.conf
61 - doins "${FILESDIR}"/mlocate-cron.conf
62 - fperms 0644 /etc/{updatedb,mlocate-cron}.conf
63 -
64 - insinto /etc/cron.daily
65 - newins "${FILESDIR}"/mlocate.cron-r3 mlocate
66 - fperms 0755 /etc/cron.daily/mlocate
67 -
68 - fowners 0:locate /usr/bin/locate
69 - fperms go-r,g+s /usr/bin/locate
70 -
71 - keepdir /var/lib/mlocate
72 - chown -R 0:locate "${ED}"/var/lib/mlocate
73 - fperms 0750 /var/lib/mlocate
74 -}
75 -
76 -pkg_postinst() {
77 - elog "The database for the locate command is generated daily by a cron job,"
78 - elog "if you install for the first time you can run the updatedb command manually now."
79 - elog
80 - elog "Note that the /etc/updatedb.conf file is generic,"
81 - elog "please customize it to your system requirements."
82 -}