From ef0f3b1bb4c6bfb876c0af6cb1bcddff39dcef3b Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Thu, 2 Dec 2021 09:30:33 -0800 Subject: dev-util/bpftrace: Fix build with libbpf-0.6.0 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Patrick McLean --- dev-util/bpftrace/bpftrace-0.14.0-r4.ebuild | 92 ++++++++++++++++++++++ .../bpftrace/files/bpftrace-0.14-libbpf-0.6.patch | 17 ++++ 2 files changed, 109 insertions(+) create mode 100644 dev-util/bpftrace/bpftrace-0.14.0-r4.ebuild create mode 100644 dev-util/bpftrace/files/bpftrace-0.14-libbpf-0.6.patch (limited to 'dev-util/bpftrace') diff --git a/dev-util/bpftrace/bpftrace-0.14.0-r4.ebuild b/dev-util/bpftrace/bpftrace-0.14.0-r4.ebuild new file mode 100644 index 000000000000..0aeeffbf10f6 --- /dev/null +++ b/dev-util/bpftrace/bpftrace-0.14.0-r4.ebuild @@ -0,0 +1,92 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LLVM_MAX_SLOT=13 + +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}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV:-${PV}}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="fuzzing test" +# lots of fixing needed +RESTRICT="test" + +RDEPEND=" + dev-libs/libbpf:= + >=dev-util/bcc-0.13.0:= + dev-util/systemtap +