public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bfs/
Date: Wed,  7 Feb 2024 03:07:50 +0000 (UTC)	[thread overview]
Message-ID: <1707275252.9ebf30331f8fe2fef39b05fdb2b78c059187399c.sam@gentoo> (raw)

commit:     9ebf30331f8fe2fef39b05fdb2b78c059187399c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  7 03:05:21 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  7 03:07:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebf3033

sys-apps/bfs: new package, add 3.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/bfs/Manifest       |  1 +
 sys-apps/bfs/bfs-3.1.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
 sys-apps/bfs/metadata.xml   | 14 ++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest
new file mode 100644
index 000000000000..e73be02918bd
--- /dev/null
+++ b/sys-apps/bfs/Manifest
@@ -0,0 +1 @@
+DIST bfs-3.1.tar.gz 234153 BLAKE2B a5b501016b1513dc9a3964ed4167db37c9a810e49a565059275919d234becf4f66300bdade48f3cde69a952ed0a6c68ee7f4adaf0e500e433f8cf75cc76f3db2 SHA512 d2be9d931d2a53fb292431551cc881103584a75d444f91d4e7d92dffe781aa9cdeda7281ab0c7598e8bfdd944b1392e345eff4bd2e60ea5ae65491f8860d862d

diff --git a/sys-apps/bfs/bfs-3.1.ebuild b/sys-apps/bfs/bfs-3.1.ebuild
new file mode 100644
index 000000000000..773585e25921
--- /dev/null
+++ b/sys-apps/bfs/bfs-3.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Breadth-first version of the UNIX find command"
+HOMEPAGE="https://tavianator.com/projects/bfs.html"
+SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="0BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="acl caps debug io-uring unicode xattr"
+
+DEPEND="
+	acl? ( virtual/acl )
+	caps? ( sys-libs/libcap )
+	io-uring? ( sys-libs/liburing:= )
+	unicode? ( dev-libs/oniguruma:= )
+	xattr? ( sys-apps/attr )
+"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+	tc-export CC
+	use debug || append-cppflags -DNDEBUG
+
+	emake \
+		USE_ACL=$(usev acl '1') \
+		USE_ATTR=$(usev xattr '1') \
+		USE_LIBCAP=$(usev caps '1') \
+		USE_LIBURING=$(usev io-uring '1') \
+		USE_ONIGURUMA=$(usev unicode '1')
+}
+
+src_test() {
+	# -n check gets confused so need manual src_test definition?
+	emake check
+}

diff --git a/sys-apps/bfs/metadata.xml b/sys-apps/bfs/metadata.xml
new file mode 100644
index 000000000000..c734443efb54
--- /dev/null
+++ b/sys-apps/bfs/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>sam@gentoo.org</email>
+		<name>Sam James</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">tavianator/bfs</remote-id>
+	</upstream>
+	<use>
+		<flag name="io-uring">Use <pkg>sys-libs/liburing</pkg> for faster async I/O</flag>
+	</use>
+</pkgmetadata>


             reply	other threads:[~2024-02-07  3:07 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07  3:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-08  6:29 [gentoo-commits] repo/gentoo:master commit in: sys-apps/bfs/ Sam James
2024-02-08  6:41 Sam James
2024-02-08  6:41 Sam James
2024-02-17  0:09 Sam James
2024-02-22 20:33 Arthur Zamarin
2024-02-22 20:33 Arthur Zamarin
2024-02-22 20:33 Arthur Zamarin
2024-03-02  3:15 Sam James
2024-03-02  3:15 Sam James
2024-03-07 17:20 Sam James
2024-03-07 17:20 Sam James
2024-03-07 18:17 Sam James
2024-05-03  8:57 Sam James
2024-05-03  8:57 Sam James
2024-06-01  3:07 Sam James
2024-06-12  4:59 Sam James
2024-08-27  1:35 Sam James
2024-08-27  1:35 Sam James
2024-09-18  1:34 Sam James
2024-10-29  2:45 Sam James
2025-01-18 23:39 Sam James
2025-01-18 23:39 Sam James
2025-02-27 14:46 Sam James
2025-03-14  6:39 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1707275252.9ebf30331f8fe2fef39b05fdb2b78c059187399c.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox