From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
Date: Fri, 03 Oct 2025 21:20:11 +0000 (UTC) [thread overview]
Message-ID: <1759526363.7dbb4a83088fe6762b9deca43ca9412f8d7c5e5d.sam@gentoo> (raw)
commit: 7dbb4a83088fe6762b9deca43ca9412f8d7c5e5d
Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Fri Oct 3 16:32:36 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 3 21:19:23 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dbb4a83
dev-debug/bpftrace: clean up 0.24.0
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Part-of: https://github.com/gentoo/gentoo/pull/44024#issue-comment-box
Closes: https://github.com/gentoo/gentoo/pull/44024#issue-comment-box
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/bpftrace/Manifest | 2 -
dev-debug/bpftrace/bpftrace-0.24.0.ebuild | 135 ------------------------------
2 files changed, 137 deletions(-)
diff --git a/dev-debug/bpftrace/Manifest b/dev-debug/bpftrace/Manifest
index 32a85a6f8011..ca84831519ac 100644
--- a/dev-debug/bpftrace/Manifest
+++ b/dev-debug/bpftrace/Manifest
@@ -6,7 +6,5 @@ DIST bpftrace-0.23.4-man.tar.xz 76016 BLAKE2B 7684ebb1ad2fb65ef46cf333076c8f0661
DIST bpftrace-0.23.4.tar.gz 1172545 BLAKE2B a46ecd32da226b8b74f80703e5fb813d3dff67a48bc623e7cddab41e0147856e238e4976970acb27836285a633e636cdb0ac8137bd4360d2d3ffceb89b08ea27 SHA512 a3450319d6b03338a5663c0ca676b2cb00fa126ad8d8d5e3c8ee12e92b34659a715cf1b4e631310a375aa6645ca38770adc5fb15e48f9ebca877024d3dc1eb46
DIST bpftrace-0.23.5-man.tar.xz 76020 BLAKE2B aa6023a1c9f3e2b3f42b8d7ac78f3bc891dad3f2db00ad53ec03068a37236b43d418b0bc02f6e0ad777ec57349db940689494f0addf63efefad5c35dfeb60b79 SHA512 48d02cc1163daaa428cb11e24e94292a5a7d9b3bd07d838baf8fdc978d14c4b10487765a48cabcb24a1e0db4e76b6105998d9744a4379729599b41062ef82363
DIST bpftrace-0.23.5.tar.gz 1172407 BLAKE2B b5e9cff1dee01cc33f150cccf28ee4b1d671cf16b92854a7debac97e0378cef28f31e5093f840978667a1da6f5686e7ca10feb1e152b053155b68ec44c3d58c3 SHA512 1e040bce7636da4e2ebeffc1c8fc3944feb26ef2c371ff287b323123ef89b839fbaa492a61e8164efedc7579e73aebc489f168ecad903f3cac6144d8bbc4b6f1
-DIST bpftrace-0.24.0-man.tar.xz 43780 BLAKE2B a0c3119c2c2887dc3444d9645d17c84cd260790e42a2e975ac6083b9520348150a5edb927f1ecc04fcb84dc1d326d565bdb06ddbda4fe43b892b1e3fdb43e170 SHA512 9dd4c3077463a22fe986862f27d3ddcfc5b49d21d69d8e0f85f31b308bcf0355935fc4d858f2a76b5ffe88729439008f1b98f999cea176c5b6213913dafbddbc
-DIST bpftrace-0.24.0.tar.gz 1521939 BLAKE2B f263db078e46cb107aca123522da4b615e529c4eabdaee593b790d1990805bf27fbd08151dae9da61ebf3fbf5357867b41113be6b97c62e674ef6d351c43ab3c SHA512 67490f73e402282ebf5810604649a7dd14cc9b1fa0df06c28053bd9600cfc0a69bec8ff17ad5e6e096fc013e05af11fc26d611999e6c7126ca2dbe1ba9de96c0
DIST bpftrace-0.24.1-man.tar.xz 43808 BLAKE2B f5d49b29e300e37444d134b8e9530c17294dfd47aaf7810bfaaf411cc9795a57450a64de6e8d4803e71d236523b81dff285868aa3b63b30d883507a12c1ec93c SHA512 a9618aa2cb3013448cb0af20a807238dc3e0cd0e6fa3f867bc7156ecb274782b81d87c14315430d939c9eac8ec65f8d6a3f9671cd49bf52b37c576cd56c11064
DIST bpftrace-0.24.1.tar.gz 1522448 BLAKE2B 840220497bb4312391231e5471c1f8fa36151a4b5993e6cd67287967054c0b03f882e8da1e64e628f58f04d795c1f70b4877ef5cb1ff12819253303ffb2459b9 SHA512 97ce3d909c6d6fe021afc6db4ea67dd70fa85502358ee89314d8cf58cb8727ce091bbbdf23f73d9eaadae59d8244d76530dda89993b499deebe7f90edd21cda7
diff --git a/dev-debug/bpftrace/bpftrace-0.24.0.ebuild b/dev-debug/bpftrace/bpftrace-0.24.0.ebuild
deleted file mode 100644
index 4f7f52d59dac..000000000000
--- a/dev-debug/bpftrace/bpftrace-0.24.0.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 2019-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_COMPAT=( {17..21} )
-RUST_MIN_VER=1.85.1
-RUST_OPTIONAL=1
-
-inherit cmake flag-o-matic linux-info llvm-r1 rust
-
-DESCRIPTION="High-level tracing language for eBPF"
-HOMEPAGE="https://github.com/bpftrace/bpftrace"
-MY_PV="${PV//_/}"
-# the man page version may trail the release
-#MAN_V="0.24.0"
-
-if [[ ${PV} == *9999* ]] ; then
- EGIT_REPO_URI="https://github.com/bpftrace/bpftrace"
- EGIT_BRANCH="release/0.24.x"
- inherit git-r3
-else
- SRC_URI="https://github.com/bpftrace/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64"
-fi
-
-SRC_URI+=" https://github.com/bpftrace/${PN}/releases/download/v${MAN_V:-${PV}}/man.tar.xz -> ${PN}-${MAN_V:-${PV}}-man.tar.xz"
-
-S="${WORKDIR}/${PN}-${MY_PV:-${PV}}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-
-IUSE="pcap test systemd"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- >=dev-libs/blazesym_c-0.1.1
- >=dev-libs/libbpf-1.5:=
- >=dev-util/bcc-0.25.0:=
- $(llvm_gen_dep '
- llvm-core/clang:${LLVM_SLOT}=
- llvm-core/llvm:${LLVM_SLOT}=[llvm_targets_BPF(+)]
- ')
- sys-process/procps
- sys-libs/binutils-libs:=
- virtual/libelf:=
- systemd? ( sys-apps/systemd:= )
- pcap? ( net-libs/libpcap:= )
-"
-DEPEND="
- ${RDEPEND}
- dev-libs/cereal:=
- test? ( dev-cpp/gtest )
-"
-BDEPEND="
- app-arch/xz-utils
- app-alternatives/lex
- app-alternatives/yacc
- app-editors/vim-core
- dev-libs/cereal
- dev-util/bpftool
- test? (
- ${RUST_DEPEND}
- dev-lang/go
- dev-util/pahole
- )
- virtual/pkgconfig
-"
-
-PATCHES=(
- "${FILESDIR}/bpftrace-0.11.4-old-kernels.patch"
- "${FILESDIR}/bpftrace-0.21.0-dont-compress-man.patch"
- "${FILESDIR}/bpftrace-0.24.0-gcc16.patch"
-)
-
-pkg_pretend() {
- local CONFIG_CHECK="
- ~BPF
- ~BPF_EVENTS
- ~BPF_JIT
- ~BPF_SYSCALL
- ~FTRACE_SYSCALLS
- ~HAVE_EBPF_JIT
- "
-
- check_extra_config
-}
-
-pkg_setup() {
- llvm-r1_pkg_setup
- use test && rust_pkg_setup
-}
-
-src_prepare() {
- # create a usable version from git
- if [[ ${PV} == *9999* ]] ; then
- local rev=$(git branch --show-current | sed -e 's/* //g' -e 's/release\///g')-$(git rev-parse --short HEAD)
- sed -i "/configure_file/i set (BPFTRACE_VERSION \"v${rev}\")" cmake/Version.cmake || die
- fi
-
- # unpack prepackaged man tarball for bpftrace.8
- pushd "${WORKDIR}" && unpack ${PN}-${MAN_V:-${PV}}-man.tar.xz && popd
-
- cmake_src_prepare
-}
-
-src_configure() {
- # suppress one remaining and benign ODR violation warning due to
- # a generated libbpf header used by the tests, see:
- # https://github.com/bpftrace/bpftrace/issues/4591
- use test && append-flags -Wno-odr
-
- local mycmakeargs=(
- # DO NOT build the internal libs as shared
- -DBUILD_SHARED_LIBS=OFF
- # DO dynamically link the bpftrace executable
- -DSTATIC_LINKING:BOOL=OFF
- -DBUILD_TESTING:BOOL=$(usex test)
- # we use the pregenerated man page
- -DENABLE_MAN:BOOL=OFF
- -DENABLE_SYSTEMD:BOOL=$(usex systemd)
- -DENABLE_SKB_OUTPUT:BOOL=$(usex pcap)
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- doman man/man8/*.?
- gunzip "${WORKDIR}/man/man8/bpftrace.8.gz" || die
- doman "${WORKDIR}/man/man8/bpftrace.8"
-}
next reply other threads:[~2025-10-03 21:20 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 21:20 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-15 7:00 [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/ Sam James
2025-09-17 19:47 Sam James
2025-09-17 19:47 Sam James
2025-09-10 1:37 Yixun Lan
2025-06-22 15:06 Sam James
2025-06-02 17:56 Patrick McLean
2025-05-23 0:33 Patrick McLean
2025-05-23 0:33 Patrick McLean
2025-05-18 14:38 Sam James
2025-04-15 20:34 Sam James
2025-04-15 20:34 Sam James
2025-03-27 11:49 Sam James
2025-01-17 18:22 Patrick McLean
2025-01-08 18:33 Patrick McLean
2025-01-06 18:50 Arthur Zamarin
2024-12-17 14:35 Sam James
2024-09-16 23:55 Jakov Smolić
2024-09-16 11:30 Yixun Lan
2024-08-16 3:00 Yixun Lan
2024-07-19 16:20 Patrick McLean
2024-07-13 15:52 Arthur Zamarin
2024-06-28 7:53 Yixun Lan
2024-06-28 7:53 Yixun Lan
2024-06-28 7:53 Yixun Lan
2024-05-21 17:37 Patrick McLean
2024-05-21 15:22 Patrick McLean
2024-03-26 18:19 Patrick McLean
2024-03-17 6:27 Ionen Wolkens
2024-03-16 18:37 Patrick McLean
2024-03-16 18:16 Patrick McLean
2024-03-16 17:04 Patrick McLean
2024-03-02 3:15 Sam James
2024-02-04 13:37 Jakov Smolić
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=1759526363.7dbb4a83088fe6762b9deca43ca9412f8d7c5e5d.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