* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/plocate/
@ 2021-03-03 20:15 Arsen Arsenovic
0 siblings, 0 replies; 3+ messages in thread
From: Arsen Arsenovic @ 2021-03-03 20:15 UTC (permalink / raw
To: gentoo-commits
commit: bc1fb652f17804d50f8ec974cf6854b63e513ac3
Author: Arsen Arsenović <arsen <AT> aarsen <DOT> me>
AuthorDate: Wed Mar 3 19:51:37 2021 +0000
Commit: Arsen Arsenovic <arsen <AT> aarsen <DOT> me>
CommitDate: Wed Mar 3 19:51:37 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc1fb652
sys-apps/plocate: add plocate to package tree
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me>
sys-apps/plocate/Manifest | 1 +
sys-apps/plocate/metadata.xml | 14 ++++++++++++++
sys-apps/plocate/plocate-1.1.5.ebuild | 36 +++++++++++++++++++++++++++++++++++
3 files changed, 51 insertions(+)
diff --git a/sys-apps/plocate/Manifest b/sys-apps/plocate/Manifest
new file mode 100644
index 00000000..17237dc8
--- /dev/null
+++ b/sys-apps/plocate/Manifest
@@ -0,0 +1 @@
+DIST plocate-1.1.5.tar.gz 69090 BLAKE2B 70b398eb1a5d7b36294188966ef5f46843d9db9f41021a294d88795944412b4ef3819771082955a74a9945296fa14c59461a4ab4af197691f7085a40eeb7f0ef SHA512 6169ea7b3587e12e555a42e0c70e149626810f5e6f9f1f03ca1b069d7892d45bc52cabf072324eaa6f14055943dd680a71642914c0218a770e2b00a22c75efbc
diff --git a/sys-apps/plocate/metadata.xml b/sys-apps/plocate/metadata.xml
new file mode 100644
index 00000000..c65c22b7
--- /dev/null
+++ b/sys-apps/plocate/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arsen@aarsen.me</email>
+ <name>Arsen Arsenović</name>
+ </maintainer>
+ <longdescription lang="en">
+ plocate is a locate(1) based on posting lists, completely replacing mlocate with a much faster (and smaller) index. It is suitable as a default locate on your system.
+ </longdescription>
+ <use>
+ <flag name="io-uring">Enable efficient I/O via sys-libs/liburing.</flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-apps/plocate/plocate-1.1.5.ebuild b/sys-apps/plocate/plocate-1.1.5.ebuild
new file mode 100644
index 00000000..6d3fdab7
--- /dev/null
+++ b/sys-apps/plocate/plocate-1.1.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+if [[ "${PV}" == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URL="https://git.sesse.net/plocate"
+else
+ SRC_URI="https://plocate.sesse.net/download/plocate-${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+DESCRIPTION="a much faster locate"
+HOMEPAGE="https://plocate.sesse.net/"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="io-uring"
+
+DEPEND="
+ acct-group/locate
+ !sys-apps/mlocate
+ io-uring? ( sys-libs/liburing:= )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dinstall_cron=true
+ -Dinstall_systemd=true
+ -Dlocategroup=locate
+ )
+
+ meson_src_configure
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/plocate/
@ 2021-03-03 22:01 Arsen Arsenovic
0 siblings, 0 replies; 3+ messages in thread
From: Arsen Arsenovic @ 2021-03-03 22:01 UTC (permalink / raw
To: gentoo-commits
commit: 20581aec69b08bbf817ec552f18b2f8e52a60ebd
Author: Arsen Arsenović <arsen <AT> aarsen <DOT> me>
AuthorDate: Wed Mar 3 21:54:56 2021 +0000
Commit: Arsen Arsenovic <arsen <AT> aarsen <DOT> me>
CommitDate: Wed Mar 3 21:54:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20581aec
sys-apps/plocate: add post install updatedb notice
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me>
sys-apps/plocate/plocate-1.1.5.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sys-apps/plocate/plocate-1.1.5.ebuild b/sys-apps/plocate/plocate-1.1.5.ebuild
index 3c9b1fa0..60d17495 100644
--- a/sys-apps/plocate/plocate-1.1.5.ebuild
+++ b/sys-apps/plocate/plocate-1.1.5.ebuild
@@ -42,3 +42,11 @@ src_install() {
newexe "${FILESDIR}"/updatedb.cron plocate
systemd_dounit "${FILESDIR}"/updatedb.{service,timer}
}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ # The same notice as mlocate, minus the configuration file
+ elog "The database for the plocate command is generated daily by a cron job,"
+ elog "if you install for the first time you can run the updatedb command manually now."
+ fi
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/plocate/
@ 2021-03-04 12:45 Arsen Arsenovic
0 siblings, 0 replies; 3+ messages in thread
From: Arsen Arsenovic @ 2021-03-04 12:45 UTC (permalink / raw
To: gentoo-commits
commit: af39c67c3073e3f4743b70dfc8a9c422a5f6f4d9
Author: Arsen Arsenović <arsen <AT> aarsen <DOT> me>
AuthorDate: Thu Mar 4 12:38:45 2021 +0000
Commit: Arsen Arsenovic <arsen <AT> aarsen <DOT> me>
CommitDate: Thu Mar 4 12:45:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af39c67c
sys-apps/plocate: remove ~amd64 from -9999 builds
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me>
sys-apps/plocate/plocate-1.1.5.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-apps/plocate/plocate-1.1.5.ebuild b/sys-apps/plocate/plocate-1.1.5.ebuild
index 60d17495..6d2ab0ba 100644
--- a/sys-apps/plocate/plocate-1.1.5.ebuild
+++ b/sys-apps/plocate/plocate-1.1.5.ebuild
@@ -10,13 +10,13 @@ if [[ "${PV}" == "9999" ]]; then
EGIT_REPO_URL="https://git.sesse.net/plocate"
else
SRC_URI="https://plocate.sesse.net/download/plocate-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
fi
DESCRIPTION="a much faster locate"
HOMEPAGE="https://plocate.sesse.net/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64"
IUSE="io-uring"
DEPEND="
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-04 12:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-04 12:45 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/plocate/ Arsen Arsenovic
-- strict thread matches above, loose matches on Subject: below --
2021-03-03 22:01 Arsen Arsenovic
2021-03-03 20:15 Arsen Arsenovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox