commit:     84460ae7119920fbfbb5b81197182825e53c12b9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 19 07:14:38 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 07:14:38 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84460ae7

sys-apps/bfs: add 4.1

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

 sys-apps/bfs/Manifest       |  1 +
 sys-apps/bfs/bfs-4.1.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest
index b040255f9f5d..8bf014fe41f4 100644
--- a/sys-apps/bfs/Manifest
+++ b/sys-apps/bfs/Manifest
@@ -1 +1,2 @@
 DIST bfs-4.0.8.tar.gz 296325 BLAKE2B 
01c2a2b8160e588cfc32531ecb16164a6c7dc5107622a7bad08e3d602b5988cb4b6823a9751fb6cb255c1e3186fcf30642a2886f42ba41b4a9c7c729b4a8574e
 SHA512 
08f429b575fe88cacd958473059348f50f01611fc0862f47e029d3009335be5d6b1c125b03da7f5b6f335a1a36b608b95d54c54a7a54749dd2b5314f19e4c33b
+DIST bfs-4.1.tar.gz 297442 BLAKE2B 
96dabc309db0f23608fc5dea96689ff036503445cc4917415c81c6b449e3d6bb5d4d4ec64e7b2230b69c3ee3bdfa33dd74ae97ff10150e7881dc89e9ed8b6e27
 SHA512 
6d443416a1e2344c3d390995d03a359fd6bd82f1e1dfa2d8763c3994e8d2b90b88cddbeca092ddd5f1716cf57218878b6889c8e607a4f9bf819f2ce3f5128218

diff --git a/sys-apps/bfs/bfs-4.1.ebuild b/sys-apps/bfs/bfs-4.1.ebuild
new file mode 100644
index 000000000000..7eb071b33ae6
--- /dev/null
+++ b/sys-apps/bfs/bfs-4.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo 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/releases/download/${PV}/${P}.tar.gz";
+S="${WORKDIR}"
+
+LICENSE="0BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc"
+IUSE="acl caps debug io-uring selinux unicode"
+
+DEPEND="
+       acl? ( virtual/acl )
+       caps? ( sys-libs/libcap )
+       io-uring? ( sys-libs/liburing:= )
+       selinux? ( sys-libs/libselinux )
+       unicode? ( dev-libs/oniguruma:= )
+"
+RDEPEND="${DEPEND}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+       # Not available on Linux
+       acl_is_trivial_np acl_trivial fdclosedir getdents getprogname
+       posix_spawn_file_actions_addfchdir getmntinfo posix_getdents strtofflags
+       # Seems to be in POSIX 2024 but not yet in ncurses?
+       tcgetwinsize
+       tcsetwinsize
+)
+
+src_configure() {
+       tc-export CC PKG_CONFIG
+       use debug || append-cppflags -DNDEBUG
+
+       edo ./configure \
+               $(use_with acl libacl) \
+               $(use_with caps libcap) \
+               $(use_with selinux libselinux) \
+               $(use_with io-uring liburing) \
+               $(use_with unicode oniguruma) \
+               V=1
+}
+
+src_compile() {
+       emake V=1
+}
+
+src_test() {
+       # -n check gets confused so need manual src_test definition?
+       emake V=1 check
+}
+
+src_install() {
+       emake V=1 DESTDIR="${D}" install
+       einstalldocs
+}

Reply via email to