diff options
author | Sam James <sam@gentoo.org> | 2024-10-29 02:33:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-10-29 02:33:24 +0000 |
commit | f3d2f0d05704d26c3642faa3d11fe2318298b3bb (patch) | |
tree | ca192c20493d68ada4ba0bb7b9fdd3166900d177 /sys-apps | |
parent | app-admin/sudo: add 1.9.16 (diff) | |
download | gentoo-f3d2f0d05704d26c3642faa3d11fe2318298b3bb.tar.gz gentoo-f3d2f0d05704d26c3642faa3d11fe2318298b3bb.tar.bz2 gentoo-f3d2f0d05704d26c3642faa3d11fe2318298b3bb.zip |
sys-apps/bfs: add 4.0.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/bfs/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/bfs/bfs-4.0.3.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest index aaed2b1da131..9d3340598ed0 100644 --- a/sys-apps/bfs/Manifest +++ b/sys-apps/bfs/Manifest @@ -1,3 +1,4 @@ DIST bfs-3.3.1.tar.gz 262841 BLAKE2B bc848f4daa98172531e6c13100dcd1f3b722f4282acc5fd3677b2c4a83effa49e681d0cac3fa2c104fd1db03543c4f0a6ca9bc494ee3737d0c927f0170171eac SHA512 e31153ef244483e4337bd2bb64fc4ddf55d56048b5af54003a917287868114c81befb771b6cfc7473e384d3157b24cbec7ca27336362a438c7803eb7fc85d8d3 DIST bfs-4.0.1.tar.gz 272678 BLAKE2B c25165b469ea52ef2e0b73ae0cbcef485a739d25cd3c49d25cd0543ab97009b256637d0dab5cb1ce01c3da7ab77519ac6a5b9cff36634c81415ec309d46c7d1d SHA512 0697aab71e2101638fbb5923ec57b9439d6fdd212dccd2f1b90cd4a1bc9c72acca5dca92e9aa6efef06696b324cb6754784602064f35b529ff97d1933672d73c DIST bfs-4.0.2.tar.gz 274986 BLAKE2B d87dd646a0c6bced3881426f8a82501e9a8ab19b0d4a249fd44d774cac9fd37a7a0cb01551a2af343b4f0c64f7b9e926cee8db67f5217bd39dd469a85b0b434e SHA512 a3ce3ccee27576a4a0ffb2bd46635aaabc5718cbe53eef5da52bc510dcf629a613802d0b2f95da47d009873e6ab1b87eb84087b30c227b27676bb14cac9f6e97 +DIST bfs-4.0.3.tar.gz 277809 BLAKE2B c275e65ed6265dab81a10c70fd4012c0140aca0083a903535bb5a1ec7d9bcfb0637addf051430b7e370109d4ac843d7f6d3d4976cd469033d903ade3b5713c30 SHA512 444fa5a012f3b3222794f295f818358897f38c081714b593daeccddf2bb821884df8f9a6eaf3b0426ed7fe83483e31417abc9d97c34019b2e28e948654a5c304 diff --git a/sys-apps/bfs/bfs-4.0.3.ebuild b/sys-apps/bfs/bfs-4.0.3.ebuild new file mode 100644 index 000000000000..f98d49a5b7c4 --- /dev/null +++ b/sys-apps/bfs/bfs-4.0.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 2024 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 +) + +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 +} |