diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-18 12:11:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-18 12:11:36 +0100 |
commit | bcd00c826070701606b0ccebf46234dfc792d3e9 (patch) | |
tree | 3aeb69c5dd0a179ff8214b99f8db0aea63953d22 /sys-apps/bfs | |
parent | 7be9edf526114e427a3a44ff8b418fed3ce570aa (diff) |
gentoo auto-resync : 18:09:2024 - 12:11:36
Diffstat (limited to 'sys-apps/bfs')
-rw-r--r-- | sys-apps/bfs/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/bfs/bfs-4.0.2.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest index 06b1f9cf08f3..90523df51ba1 100644 --- a/sys-apps/bfs/Manifest +++ b/sys-apps/bfs/Manifest @@ -1,5 +1,7 @@ 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 EBUILD bfs-3.3.1.ebuild 1313 BLAKE2B 1645d1461f3ade2cbd5def9b0bb61842cf63895f293e867149ddfea57baea41a8d0585f81d1a836a10316b5f1af61f8e8f3eccec731779051f7df1c9193804ea SHA512 89600118bebfe6cb7fed9725e88b037bcd010d4557e94f8b87b382617132dab85cabd7a0760bdc19a8195921fbcb75a3dd15644fad3850e097df8f041aa81fe2 EBUILD bfs-4.0.1.ebuild 1313 BLAKE2B 1645d1461f3ade2cbd5def9b0bb61842cf63895f293e867149ddfea57baea41a8d0585f81d1a836a10316b5f1af61f8e8f3eccec731779051f7df1c9193804ea SHA512 89600118bebfe6cb7fed9725e88b037bcd010d4557e94f8b87b382617132dab85cabd7a0760bdc19a8195921fbcb75a3dd15644fad3850e097df8f041aa81fe2 +EBUILD bfs-4.0.2.ebuild 1380 BLAKE2B 00945b6243cb7aeed1fda3992dd9026981da0a3e9e9edf48e7154ca8823811d823114705c95d387603bda39964ee89d54db81608f2e3bd6375068d96d587f8de SHA512 98be087a63ef2f7c2aa7e72ef6c731128bffa0fb59e24e7d706a8c0f8a622ad72df6c55fdc256fa5092187a451c1b4fde19656f1e53330036f2fb90a224edb83 MISC metadata.xml 419 BLAKE2B eadf85369714b56ec89d384a8603c78c282e197db94c324fa9e627d70fa8c0c7c557c21c9c25ff292c93312d9752f36b4dd06a9a9c758c5375621694fb55e50d SHA512 192ae0599d4f36d43d8d2d94fa1e16fc5798b75abf0befecfa4a768a2b57e17387cb98a0663678b0c672c65c50d74cc3d1668cf222e0a9a4084be9078eb09445 diff --git a/sys-apps/bfs/bfs-4.0.2.ebuild b/sys-apps/bfs/bfs-4.0.2.ebuild new file mode 100644 index 000000000000..f98d49a5b7c4 --- /dev/null +++ b/sys-apps/bfs/bfs-4.0.2.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 +} |