commit: 85b68751c9a30d1538668d38668f5212060944ce Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Jun 30 12:42:33 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Jun 30 19:18:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85b68751
sys-apps/bfs: add 4.0.8 Switch to using dist tarballs too, didn't realise upstream had started producing these. Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/bfs/Manifest | 1 + sys-apps/bfs/bfs-4.0.8.ebuild | 61 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest index 77085c36c7a5..7fd665768330 100644 --- a/sys-apps/bfs/Manifest +++ b/sys-apps/bfs/Manifest @@ -1,2 +1,3 @@ DIST bfs-4.0.6.tar.gz 288676 BLAKE2B 9454e03562bd222bed70c7d060be632556388cc9c603bed0c6df2d9d9eab8950c8ad22629539cf07cd9f939564fd3efe5ff5a45e21f1262ce70297585afd2480 SHA512 60552e6890d178e7627bfb63b3c17d0b109bba742a10463a06bc603e0fa6069abad573c7fc1b8485539f0c13566e677fa888906dc6f0d42cf7a04252f6e01d0e DIST bfs-4.0.7.tar.gz 296696 BLAKE2B 0157a41dd8f2d1e398eb17e50d53b976f875887fa271cf23495cc35c25e05a4077293da3dbaf222b03f67e008fd6732f9f961342c916848fb0a9bfe947819beb SHA512 e9f5ba7f8d3e69cbd97fab81a86889ffb8c15b8d2e8465fe006df82f3ccf3841ea2b18a45722088f0f82929f49b2aedb8385fc6f8cc2c9333483765bd5c2fd29 +DIST bfs-4.0.8.tar.gz 296325 BLAKE2B 01c2a2b8160e588cfc32531ecb16164a6c7dc5107622a7bad08e3d602b5988cb4b6823a9751fb6cb255c1e3186fcf30642a2886f42ba41b4a9c7c729b4a8574e SHA512 08f429b575fe88cacd958473059348f50f01611fc0862f47e029d3009335be5d6b1c125b03da7f5b6f335a1a36b608b95d54c54a7a54749dd2b5314f19e4c33b diff --git a/sys-apps/bfs/bfs-4.0.8.ebuild b/sys-apps/bfs/bfs-4.0.8.ebuild new file mode 100644 index 000000000000..f937bf72211c --- /dev/null +++ b/sys-apps/bfs/bfs-4.0.8.ebuild @@ -0,0 +1,61 @@ +# 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/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 +}
