public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bfs/
Date: Wed, 18 Sep 2024 01:34:46 +0000 (UTC)	[thread overview]
Message-ID: <1726621561.7823cd485e6125460d635c0c67158ee9a870b2c5.sam@gentoo> (raw)

commit:     7823cd485e6125460d635c0c67158ee9a870b2c5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 01:06:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 01:06:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7823cd48

sys-apps/bfs: add 4.0.2

wrt tcgetwinsize: it seems to be in POSIX 2024 but not yet in ncurses?

Closes: https://bugs.gentoo.org/937375
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/bfs/Manifest         |  1 +
 sys-apps/bfs/bfs-4.0.2.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest
index e9167cc4a2bf..aaed2b1da131 100644
--- a/sys-apps/bfs/Manifest
+++ b/sys-apps/bfs/Manifest
@@ -1,2 +1,3 @@
 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

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
+}


             reply	other threads:[~2024-09-18  1:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-18  1:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 14:46 [gentoo-commits] repo/gentoo:master commit in: sys-apps/bfs/ Sam James
2025-01-18 23:39 Sam James
2025-01-18 23:39 Sam James
2024-10-29  2:45 Sam James
2024-08-27  1:35 Sam James
2024-08-27  1:35 Sam James
2024-06-12  4:59 Sam James
2024-06-01  3:07 Sam James
2024-05-03  8:57 Sam James
2024-05-03  8:57 Sam James
2024-03-07 18:17 Sam James
2024-03-07 17:20 Sam James
2024-03-07 17:20 Sam James
2024-03-02  3:15 Sam James
2024-03-02  3:15 Sam James
2024-02-22 20:33 Arthur Zamarin
2024-02-22 20:33 Arthur Zamarin
2024-02-22 20:33 Arthur Zamarin
2024-02-17  0:09 Sam James
2024-02-08  6:41 Sam James
2024-02-08  6:41 Sam James
2024-02-08  6:29 Sam James
2024-02-07  3:07 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1726621561.7823cd485e6125460d635c0c67158ee9a870b2c5.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox