commit:     bef738f724025332eaf21eecc65d4b635fa1d2c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 06:36:56 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 06:37:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef738f7

sys-apps/bfs: add 4.0.7

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

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

diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest
index efde2f9aa173..77085c36c7a5 100644
--- a/sys-apps/bfs/Manifest
+++ b/sys-apps/bfs/Manifest
@@ -1 +1,2 @@
 DIST bfs-4.0.6.tar.gz 288676 BLAKE2B 
9454e03562bd222bed70c7d060be632556388cc9c603bed0c6df2d9d9eab8950c8ad22629539cf07cd9f939564fd3efe5ff5a45e21f1262ce70297585afd2480
 SHA512 
60552e6890d178e7627bfb63b3c17d0b109bba742a10463a06bc603e0fa6069abad573c7fc1b8485539f0c13566e677fa888906dc6f0d42cf7a04252f6e01d0e
+DIST bfs-4.0.7.tar.gz 296696 BLAKE2B 
0157a41dd8f2d1e398eb17e50d53b976f875887fa271cf23495cc35c25e05a4077293da3dbaf222b03f67e008fd6732f9f961342c916848fb0a9bfe947819beb
 SHA512 
e9f5ba7f8d3e69cbd97fab81a86889ffb8c15b8d2e8465fe006df82f3ccf3841ea2b18a45722088f0f82929f49b2aedb8385fc6f8cc2c9333483765bd5c2fd29

diff --git a/sys-apps/bfs/bfs-4.0.7.ebuild b/sys-apps/bfs/bfs-4.0.7.ebuild
new file mode 100644
index 000000000000..edc0673826f1
--- /dev/null
+++ b/sys-apps/bfs/bfs-4.0.7.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2024-2025 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/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+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