From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1598141-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F220D15815E for <garchives@archives.gentoo.org>; Wed, 7 Feb 2024 03:07:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 38F74E29D9; Wed, 7 Feb 2024 03:07:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FF7CE29D9 for <gentoo-commits@lists.gentoo.org>; Wed, 7 Feb 2024 03:07:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 050A33430DB for <gentoo-commits@lists.gentoo.org>; Wed, 7 Feb 2024 03:07:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 958A314AB for <gentoo-commits@lists.gentoo.org>; Wed, 7 Feb 2024 03:07:50 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1707275252.9ebf30331f8fe2fef39b05fdb2b78c059187399c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/bfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/bfs/Manifest sys-apps/bfs/bfs-3.1.ebuild sys-apps/bfs/metadata.xml X-VCS-Directories: sys-apps/bfs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9ebf30331f8fe2fef39b05fdb2b78c059187399c X-VCS-Branch: master Date: Wed, 7 Feb 2024 03:07:50 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4ac7c0f9-5f06-4f01-9c36-3c2bf53ff7e9 X-Archives-Hash: bc03aed65577f8fc18f01b4fed32ea38 commit: 9ebf30331f8fe2fef39b05fdb2b78c059187399c Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Feb 7 03:05:21 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Feb 7 03:07:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebf3033 sys-apps/bfs: new package, add 3.1 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-apps/bfs/Manifest | 1 + sys-apps/bfs/bfs-3.1.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++ sys-apps/bfs/metadata.xml | 14 ++++++++++++++ 3 files changed, 56 insertions(+) diff --git a/sys-apps/bfs/Manifest b/sys-apps/bfs/Manifest new file mode 100644 index 000000000000..e73be02918bd --- /dev/null +++ b/sys-apps/bfs/Manifest @@ -0,0 +1 @@ +DIST bfs-3.1.tar.gz 234153 BLAKE2B a5b501016b1513dc9a3964ed4167db37c9a810e49a565059275919d234becf4f66300bdade48f3cde69a952ed0a6c68ee7f4adaf0e500e433f8cf75cc76f3db2 SHA512 d2be9d931d2a53fb292431551cc881103584a75d444f91d4e7d92dffe781aa9cdeda7281ab0c7598e8bfdd944b1392e345eff4bd2e60ea5ae65491f8860d862d diff --git a/sys-apps/bfs/bfs-3.1.ebuild b/sys-apps/bfs/bfs-3.1.ebuild new file mode 100644 index 000000000000..773585e25921 --- /dev/null +++ b/sys-apps/bfs/bfs-3.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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" +IUSE="acl caps debug io-uring unicode xattr" + +DEPEND=" + acl? ( virtual/acl ) + caps? ( sys-libs/libcap ) + io-uring? ( sys-libs/liburing:= ) + unicode? ( dev-libs/oniguruma:= ) + xattr? ( sys-apps/attr ) +" +RDEPEND="${DEPEND}" + +src_compile() { + tc-export CC + use debug || append-cppflags -DNDEBUG + + 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') +} + +src_test() { + # -n check gets confused so need manual src_test definition? + emake check +} diff --git a/sys-apps/bfs/metadata.xml b/sys-apps/bfs/metadata.xml new file mode 100644 index 000000000000..c734443efb54 --- /dev/null +++ b/sys-apps/bfs/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + <upstream> + <remote-id type="github">tavianator/bfs</remote-id> + </upstream> + <use> + <flag name="io-uring">Use <pkg>sys-libs/liburing</pkg> for faster async I/O</flag> + </use> +</pkgmetadata>