summaryrefslogtreecommitdiff
path: root/sys-apps/bfs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-02 00:07:23 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-02 00:07:23 +0100
commit6657c680376cedf378fcf328e5fa03ed3b41d580 (patch)
tree44ea8d174f647daca562b9bdcbcb527a85a77d0a /sys-apps/bfs
parent1551fe56fd6ba43a94509cffc61b6bf854b7ac9f (diff)
gentoo auto-resync : 02:06:2024 - 00:07:23
Diffstat (limited to 'sys-apps/bfs')
-rw-r--r--sys-apps/bfs/Manifest2
-rw-r--r--sys-apps/bfs/bfs-3.3.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest
index a3cbf1d0d247..b8cf533f222b 100644
--- a/sys-apps/bfs/Manifest
+++ b/sys-apps/bfs/Manifest
@@ -1,5 +1,7 @@
DIST bfs-3.1.3.tar.gz 237696 BLAKE2B ca76ef02cd8ea65ab7d866a9c677063367c16c89b5f521da842ca0465e0485a90077009d9b5f324c7df09c1ab53036eb0f2965f372fd56762556dfbed43deb2c SHA512 4511c809666241f1b14ef3a01b80f0dc369510b67f45c1ce3e2d4445bcec9a4b86fb01333067b8dd713e992e57be7b99328b47a21b27864e6575981287de8e36
DIST bfs-3.2.tar.gz 252756 BLAKE2B 444d23c8df92c6c0bcbd38889cec29012c40d742a23e1755390259a325fab9d082a23ef444bf76462b21fcdeb41fa749593f5ec7d640f7270252ed4268ccc3fe SHA512 2881a37b65d8015853a658a4f759a5213ea433a726ee9952b82bd2d6c682f92e7d014eaa7ec8f1d127b3c25b5d3b04e3b24ae61ec2549212a7a4f9335f91bf8b
+DIST bfs-3.3.tar.gz 262590 BLAKE2B f418a9b2f8749eb28dbe702e9303a4b4d2ec8119a712544a24d0a01cf9e4a5794d8882103bff799920ffbc7d3855656b034ec960b2b3bed64b183bb8b60cf348 SHA512 ed4396e81eaeb54a8d196e2cd0300c1a33f600e7e69d9e8fddf39916e3ade0db422fbae74f1fb1ae76ece1352a3fdf20976fbbf521c5f1ce0bb3c073133004fb
EBUILD bfs-3.1.3-r1.ebuild 1083 BLAKE2B f9f6e08ef6dcb587adfcc84f02c5ddefaed54d6a52758c385034f4972f1d1eaa1d8fc7217a0f3b3b18ea4990219ea8943aa023a9a181c053d84617849b8ef15d SHA512 46a8104d9461043785c9ac145e05dcf92a1c59a6a1bae53ffef1873aec527627f55d2d1b240115a134ed544e3301de9d04e7372d600a8234e1b1bff6e440b08f
EBUILD bfs-3.2.ebuild 1285 BLAKE2B 245293b20193df0394feac532852ae023cdc777888e6711f8591a9147490467d16ea526f0768a6f35b7aff708021821a7428199a9bb37efeda9752b532562ab2 SHA512 55c4d27724353a87e91c8ec7da543497e173b4f2d7c4f95338feeb4be77739b32aeafdb42f56e7eddab7f15cd4540b97184061405604489f4fcd6b41c0d64e83
+EBUILD bfs-3.3.ebuild 1313 BLAKE2B 1645d1461f3ade2cbd5def9b0bb61842cf63895f293e867149ddfea57baea41a8d0585f81d1a836a10316b5f1af61f8e8f3eccec731779051f7df1c9193804ea SHA512 89600118bebfe6cb7fed9725e88b037bcd010d4557e94f8b87b382617132dab85cabd7a0760bdc19a8195921fbcb75a3dd15644fad3850e097df8f041aa81fe2
MISC metadata.xml 419 BLAKE2B eadf85369714b56ec89d384a8603c78c282e197db94c324fa9e627d70fa8c0c7c557c21c9c25ff292c93312d9752f36b4dd06a9a9c758c5375621694fb55e50d SHA512 192ae0599d4f36d43d8d2d94fa1e16fc5798b75abf0befecfa4a768a2b57e17387cb98a0663678b0c672c65c50d74cc3d1668cf222e0a9a4084be9078eb09445
diff --git a/sys-apps/bfs/bfs-3.3.ebuild b/sys-apps/bfs/bfs-3.3.ebuild
new file mode 100644
index 000000000000..265ded51c383
--- /dev/null
+++ b/sys-apps/bfs/bfs-3.3.ebuild
@@ -0,0 +1,57 @@
+# 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
+)
+
+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
+}