From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 DB09A15ACFB for ; Wed, 12 Apr 2023 23:31:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B86AE07D3; Wed, 12 Apr 2023 23:31:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 00F9AE07D3 for ; Wed, 12 Apr 2023 23:31:44 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 183FC33BEFE for ; Wed, 12 Apr 2023 23:31:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 563747B for ; Wed, 12 Apr 2023 23:31:42 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1681342295.d2993133f11e0b2aaad9d74a15a337ef27a8538d.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bpftrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bpftrace/bpftrace-0.17.0-r4.ebuild X-VCS-Directories: dev-util/bpftrace/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: d2993133f11e0b2aaad9d74a15a337ef27a8538d X-VCS-Branch: master Date: Wed, 12 Apr 2023 23:31:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3e4a5b22-d42d-46e0-8b8b-64d09cea69bc X-Archives-Hash: 5d20594e7314f2751688ba49b0434cee commit: d2993133f11e0b2aaad9d74a15a337ef27a8538d Author: Patrick McLean gentoo org> AuthorDate: Wed Apr 12 23:31:02 2023 +0000 Commit: Patrick McLean gentoo org> CommitDate: Wed Apr 12 23:31:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2993133 dev-util/bpftrace: Fix invalid LLVM dep (bug #902161) Closes: https://bugs.gentoo.org/902161 Signed-off-by: Patrick McLean gentoo.org> dev-util/bpftrace/bpftrace-0.17.0-r4.ebuild | 97 +++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/dev-util/bpftrace/bpftrace-0.17.0-r4.ebuild b/dev-util/bpftrace/bpftrace-0.17.0-r4.ebuild new file mode 100644 index 000000000000..21b7e21bf0fd --- /dev/null +++ b/dev-util/bpftrace/bpftrace-0.17.0-r4.ebuild @@ -0,0 +1,97 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_MAX_SLOT=16 + +inherit llvm linux-info cmake + +DESCRIPTION="High-level tracing language for eBPF" +HOMEPAGE="https://github.com/iovisor/bpftrace" +MY_PV="${PV//_/}" +SRC_URI="https://github.com/iovisor/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV:-${PV}}" + +LICENSE="Apache-2.0" +SLOT="0" + +# remove keywords until build works: +# https://github.com/iovisor/bpftrace/issues/2349 +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="fuzzing test" + +# lots of fixing needed +RESTRICT="test" + +RDEPEND=" + >=dev-libs/libbpf-1.1:= + >=dev-util/bcc-0.25.0:= + >=sys-devel/llvm-10[llvm_targets_BPF(+)] + >=sys-devel/clang-10 +