summaryrefslogtreecommitdiff
path: root/sys-apps/bfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/bfs')
-rw-r--r--sys-apps/bfs/Manifest4
-rw-r--r--sys-apps/bfs/bfs-3.2.ebuild (renamed from sys-apps/bfs/bfs-3.1.2.ebuild)43
2 files changed, 29 insertions, 18 deletions
diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest
index e196e30cd900..a3cbf1d0d247 100644
--- a/sys-apps/bfs/Manifest
+++ b/sys-apps/bfs/Manifest
@@ -1,5 +1,5 @@
-DIST bfs-3.1.2.tar.gz 237571 BLAKE2B 48051f50bcc11a06c542f21e33a858903c80d6950651c022d2a909e5da3f8813659f08937b202b11753ea132388899f3ebc66d28751682f0bfbfa9cf13e3938f SHA512 324a32067b2ae4ed50f166c783c28f16048ac33c8457eda5acc4ea86f25b3c0268c96c3d7c3230e1dde75fee72d41e7d4d53371d5fb6a95b2a9c812d079d1ad5
DIST bfs-3.1.3.tar.gz 237696 BLAKE2B ca76ef02cd8ea65ab7d866a9c677063367c16c89b5f521da842ca0465e0485a90077009d9b5f324c7df09c1ab53036eb0f2965f372fd56762556dfbed43deb2c SHA512 4511c809666241f1b14ef3a01b80f0dc369510b67f45c1ce3e2d4445bcec9a4b86fb01333067b8dd713e992e57be7b99328b47a21b27864e6575981287de8e36
-EBUILD bfs-3.1.2.ebuild 1018 BLAKE2B 0fd542926fa7d6469a439f399a0e5cbda3e5e51549257f2e9370bc43efe2646e4475cf5071dedd421bb8d2c4ab41107e4c59a212c2e03127d7fa9bdc49aefca4 SHA512 a93c320d5e64b28082050644d8a205367cb1ba59b9d56ff8dba15b60e5ca20e630cf02bc80b893fb30aa96290ac0197d888ed2f2c4f86749b1ff932dd69392dd
+DIST bfs-3.2.tar.gz 252756 BLAKE2B 444d23c8df92c6c0bcbd38889cec29012c40d742a23e1755390259a325fab9d082a23ef444bf76462b21fcdeb41fa749593f5ec7d640f7270252ed4268ccc3fe SHA512 2881a37b65d8015853a658a4f759a5213ea433a726ee9952b82bd2d6c682f92e7d014eaa7ec8f1d127b3c25b5d3b04e3b24ae61ec2549212a7a4f9335f91bf8b
EBUILD bfs-3.1.3-r1.ebuild 1083 BLAKE2B f9f6e08ef6dcb587adfcc84f02c5ddefaed54d6a52758c385034f4972f1d1eaa1d8fc7217a0f3b3b18ea4990219ea8943aa023a9a181c053d84617849b8ef15d SHA512 46a8104d9461043785c9ac145e05dcf92a1c59a6a1bae53ffef1873aec527627f55d2d1b240115a134ed544e3301de9d04e7372d600a8234e1b1bff6e440b08f
+EBUILD bfs-3.2.ebuild 1285 BLAKE2B 245293b20193df0394feac532852ae023cdc777888e6711f8591a9147490467d16ea526f0768a6f35b7aff708021821a7428199a9bb37efeda9752b532562ab2 SHA512 55c4d27724353a87e91c8ec7da543497e173b4f2d7c4f95338feeb4be77739b32aeafdb42f56e7eddab7f15cd4540b97184061405604489f4fcd6b41c0d64e83
MISC metadata.xml 419 BLAKE2B eadf85369714b56ec89d384a8603c78c282e197db94c324fa9e627d70fa8c0c7c557c21c9c25ff292c93312d9752f36b4dd06a9a9c758c5375621694fb55e50d SHA512 192ae0599d4f36d43d8d2d94fa1e16fc5798b75abf0befecfa4a768a2b57e17387cb98a0663678b0c672c65c50d74cc3d1668cf222e0a9a4084be9078eb09445
diff --git a/sys-apps/bfs/bfs-3.1.2.ebuild b/sys-apps/bfs/bfs-3.2.ebuild
index ba8cd9bde472..c99fcb8e9ad7 100644
--- a/sys-apps/bfs/bfs-3.1.2.ebuild
+++ b/sys-apps/bfs/bfs-3.2.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit flag-o-matic toolchain-funcs
+inherit edo flag-o-matic toolchain-funcs
DESCRIPTION="Breadth-first version of the UNIX find command"
HOMEPAGE="https://tavianator.com/projects/bfs.html"
@@ -12,35 +12,46 @@ SRC_URI="https://github.com/tavianator/bfs/archive/refs/tags/${PV}.tar.gz -> ${P
LICENSE="0BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc"
-IUSE="acl caps debug io-uring unicode xattr"
+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:= )
- xattr? ( sys-apps/attr )
"
RDEPEND="${DEPEND}"
-bfsmake() {
- emake \
- USE_ACL=$(usev acl '1') \
- USE_ATTR=$(usev xattr '1') \
- USE_LIBCAP=$(usev caps '1') \
- USE_LIBURING=$(usev io-uring '1') \
- USE_ONIGURUMA=$(usev unicode '1') \
- "$@"
-}
+QA_CONFIG_IMPL_DECL_SKIP=(
+ # Not available on Linux
+ acl_is_trivial_np acl_trivial fdclosedir getdents getprogname
+ posix_spawn_file_actions_addfchdir
+)
-src_compile() {
- tc-export CC
+src_configure() {
+ tc-export CC PKG_CONFIG
use debug || append-cppflags -DNDEBUG
- bfsmake
+ edo ./configure \
+ $(use_enable acl libacl) \
+ $(use_enable caps libcap) \
+ $(use_enable selinux libselinux) \
+ $(use_enable io-uring liburing) \
+ $(use_enable unicode oniguruma) \
+ V=1
+}
+
+src_compile() {
+ emake V=1
}
src_test() {
# -n check gets confused so need manual src_test definition?
- bfsmake check
+ emake V=1 check
+}
+
+src_install() {
+ emake V=1 DESTDIR="${D}" install
+ einstalldocs
}