public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-02-04 13:37 Jakov Smolić
  0 siblings, 0 replies; 17+ messages in thread
From: Jakov Smolić @ 2024-02-04 13:37 UTC (permalink / raw
  To: gentoo-commits

commit:     0d534f5bf74abb5e2e973d006909c1d38c71c09b
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  4 13:31:47 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Feb  4 13:37:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d534f5b

dev-debug/bpftrace: drop myself as a maintainer

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-debug/bpftrace/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dev-debug/bpftrace/metadata.xml b/dev-debug/bpftrace/metadata.xml
index 3b275bd1ca56..3e240d7784b1 100644
--- a/dev-debug/bpftrace/metadata.xml
+++ b/dev-debug/bpftrace/metadata.xml
@@ -4,10 +4,6 @@
   <maintainer type="person">
     <email>chutzpah@gentoo.org</email>
   </maintainer>
-  <maintainer type="person">
-    <email>jsmolic@gentoo.org</email>
-    <name>Jakov Smolić</name>
-  </maintainer>
   <use>
     <flag name="fuzzing">Build bpftrace for fuzzing</flag>
   </use>


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-03-02  3:15 Sam James
  0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2024-03-02  3:15 UTC (permalink / raw
  To: gentoo-commits

commit:     d10f2528c0914d502b8b8a502ba349e713a98605
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 03:08:37 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 03:08:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d10f2528

dev-debug/bpftrace: add 0.20.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/bpftrace/Manifest               |  1 +
 dev-debug/bpftrace/bpftrace-0.20.1.ebuild | 94 +++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-debug/bpftrace/Manifest b/dev-debug/bpftrace/Manifest
index b16b9efa97c3..85353504b492 100644
--- a/dev-debug/bpftrace/Manifest
+++ b/dev-debug/bpftrace/Manifest
@@ -1,2 +1,3 @@
 DIST bpftrace-0.19.1.gh.tar.gz 1157777 BLAKE2B 9db6285c7a82110106bd05759a09f16d85c82f2516f0b6ea34044e7389b2d38ed418d0fe5da44c2c9f9e67f72404f104f419ce3316c07ea54e65d4f039188039 SHA512 2f56b8fb7abfa58631ebc93c7a98cc066446808cbc0116902e43ebefa5f9625232da5ee3ede1d14a236296660a2f4c0907fa1ef24d383b4e32c70dcc3988c765
 DIST bpftrace-0.20.0.gh.tar.gz 1233420 BLAKE2B f69a65f33a7c1bd518bccf06e7bb975086deef6b43304285f1ac9e6dc54d92c6d887b194f63f46351d5506a1d40eb3d8a70e79e3f3f00b4bbdd692789caee149 SHA512 4554ba3099af086c7a149b809f4855d913361153b5f0b9552dbfabd360300d4ef841fe743734950d10b93c497e062476766cd0f6569ba2ff01951a4cc3a6cdb8
+DIST bpftrace-0.20.1.gh.tar.gz 1233431 BLAKE2B fe9221a94d58b43e0311f8c841df8421c3fe226a3fe61f2ec5cce5de309acdb69a68834e92a2e622a1750975869cbdaa95a90f9afb83989aa61b56b551fa96e3 SHA512 fdcc2b0d091d4ab428207877626b0fb37f3e0778730e6a6db26be869a086264e1f24186857c47597813aacde98621a66301bcf6c8004f77bdf9ebf180f198ba0

diff --git a/dev-debug/bpftrace/bpftrace-0.20.1.ebuild b/dev-debug/bpftrace/bpftrace-0.20.1.ebuild
new file mode 100644
index 000000000000..92cd7b068b6c
--- /dev/null
+++ b/dev-debug/bpftrace/bpftrace-0.20.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=17
+
+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
+	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
+	<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)]
+	sys-libs/binutils-libs:=
+	virtual/libelf:=
+"
+DEPEND="
+	${COMMON_DEPEND}
+	dev-libs/cereal:=
+	test? ( dev-cpp/gtest )
+"
+BDEPEND="
+	app-arch/xz-utils
+	app-alternatives/lex
+	app-alternatives/yacc
+	virtual/pkgconfig
+"
+
+QA_DT_NEEDED="
+	/usr/lib.*/libbpftraceresources.so
+	/usr/lib.*/libcxxdemangler_llvm.so
+"
+
+PATCHES=(
+	"${FILESDIR}/bpftrace-0.20.0-install-libs.patch"
+	"${FILESDIR}/bpftrace-0.15.0-dont-compress-man.patch"
+	"${FILESDIR}/bpftrace-0.11.4-old-kernels.patch"
+)
+
+pkg_pretend() {
+	local CONFIG_CHECK="
+		~BPF
+		~BPF_EVENTS
+		~BPF_JIT
+		~BPF_SYSCALL
+		~FTRACE_SYSCALLS
+		~HAVE_EBPF_JIT
+	"
+
+	check_extra_config
+}
+
+pkg_setup() {
+	llvm_pkg_setup
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSTATIC_LINKING:BOOL=OFF
+		# bug 809362, 754648
+		-DBUILD_TESTING:BOOL=$(usex test)
+		-DBUILD_FUZZ:BOOL=$(usex fuzzing)
+		-DENABLE_MAN:BOOL=OFF
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	# bug 809362
+	dostrip -x /usr/bin/bpftrace
+	doman man/man8/*.?
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-03-16 17:04 Patrick McLean
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick McLean @ 2024-03-16 17:04 UTC (permalink / raw
  To: gentoo-commits

commit:     b3580dab9d223beaa2ea1a41f313ce10cfa4a212
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 17:03:49 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 17:04:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3580dab

dev-debug/bpftrace: Add missing BDEPENDs (bug #927141)

Closes: https://bugs.gentoo.org/927141
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 .../bpftrace/{bpftrace-0.20.1-r1.ebuild => bpftrace-0.20.1-r2.ebuild}  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-debug/bpftrace/bpftrace-0.20.1-r1.ebuild b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
similarity index 96%
rename from dev-debug/bpftrace/bpftrace-0.20.1-r1.ebuild
rename to dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
index d4856d58d474..3d446e62662b 100644
--- a/dev-debug/bpftrace/bpftrace-0.20.1-r1.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
@@ -31,6 +31,7 @@ RDEPEND="
 	>=sys-devel/clang-10
 	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
 	<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)]
+	sys-process/procps
 	sys-libs/binutils-libs:=
 	virtual/libelf:=
 "
@@ -43,6 +44,8 @@ BDEPEND="
 	app-arch/xz-utils
 	app-alternatives/lex
 	app-alternatives/yacc
+	app-editors/vim-core
+	dev-util/pahole
 	virtual/pkgconfig
 "
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-03-16 18:16 Patrick McLean
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick McLean @ 2024-03-16 18:16 UTC (permalink / raw
  To: gentoo-commits

commit:     f066d0c268fb20328959aed8a54a749f1ca636cd
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 18:15:50 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 18:16:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f066d0c2

dev-debug/bpftrace: Change vim-core and pahole to tests

The ebuild is RESTRICT=test anyway, so no one should be hitting this issue.

Bug: https://bugs.gentoo.org/927141
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
index 3d446e62662b..d5ba361f5a2d 100644
--- a/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
@@ -44,8 +44,10 @@ BDEPEND="
 	app-arch/xz-utils
 	app-alternatives/lex
 	app-alternatives/yacc
-	app-editors/vim-core
-	dev-util/pahole
+	test? (
+i		app-editors/vim-core
+		dev-util/pahole
+	)
 	virtual/pkgconfig
 "
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-03-16 18:37 Patrick McLean
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick McLean @ 2024-03-16 18:37 UTC (permalink / raw
  To: gentoo-commits

commit:     d970c344c9ba3610a9e46e040e3b5ffcce4a8e95
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 18:36:45 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 18:36:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d970c344

dev-debug/bpftrace: Fix typo

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
index d5ba361f5a2d..53f8faa529a0 100644
--- a/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
@@ -45,7 +45,7 @@ BDEPEND="
 	app-alternatives/lex
 	app-alternatives/yacc
 	test? (
-i		app-editors/vim-core
+		app-editors/vim-core
 		dev-util/pahole
 	)
 	virtual/pkgconfig


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-03-17  6:27 Ionen Wolkens
  0 siblings, 0 replies; 17+ messages in thread
From: Ionen Wolkens @ 2024-03-17  6:27 UTC (permalink / raw
  To: gentoo-commits

commit:     b5ea36896663b59a67e416fbef9ba9678d3991e9
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Sun Mar 17 06:15:03 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 06:17:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ea3689

dev-debug/bpftrace: Stabilize 0.20.1-r2 amd64, #925951

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
index 53f8faa529a0..48d825dcb4b3 100644
--- a/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.20.1-r2.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
 
 # remove keywords until build works:
 # https://github.com/iovisor/bpftrace/issues/2349
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="fuzzing test"
 
 # lots of fixing needed


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-03-26 18:19 Patrick McLean
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick McLean @ 2024-03-26 18:19 UTC (permalink / raw
  To: gentoo-commits

commit:     3b6d34210ab971b29cfd6e14c2c8d65e83bbca3e
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 17:22:29 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 18:18:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6d3421

dev-debug/bpftrace: add 0.20.3

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-debug/bpftrace/Manifest               |   1 +
 dev-debug/bpftrace/bpftrace-0.20.3.ebuild | 100 ++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/dev-debug/bpftrace/Manifest b/dev-debug/bpftrace/Manifest
index 85353504b492..05ac7d1f5a02 100644
--- a/dev-debug/bpftrace/Manifest
+++ b/dev-debug/bpftrace/Manifest
@@ -1,3 +1,4 @@
 DIST bpftrace-0.19.1.gh.tar.gz 1157777 BLAKE2B 9db6285c7a82110106bd05759a09f16d85c82f2516f0b6ea34044e7389b2d38ed418d0fe5da44c2c9f9e67f72404f104f419ce3316c07ea54e65d4f039188039 SHA512 2f56b8fb7abfa58631ebc93c7a98cc066446808cbc0116902e43ebefa5f9625232da5ee3ede1d14a236296660a2f4c0907fa1ef24d383b4e32c70dcc3988c765
 DIST bpftrace-0.20.0.gh.tar.gz 1233420 BLAKE2B f69a65f33a7c1bd518bccf06e7bb975086deef6b43304285f1ac9e6dc54d92c6d887b194f63f46351d5506a1d40eb3d8a70e79e3f3f00b4bbdd692789caee149 SHA512 4554ba3099af086c7a149b809f4855d913361153b5f0b9552dbfabd360300d4ef841fe743734950d10b93c497e062476766cd0f6569ba2ff01951a4cc3a6cdb8
 DIST bpftrace-0.20.1.gh.tar.gz 1233431 BLAKE2B fe9221a94d58b43e0311f8c841df8421c3fe226a3fe61f2ec5cce5de309acdb69a68834e92a2e622a1750975869cbdaa95a90f9afb83989aa61b56b551fa96e3 SHA512 fdcc2b0d091d4ab428207877626b0fb37f3e0778730e6a6db26be869a086264e1f24186857c47597813aacde98621a66301bcf6c8004f77bdf9ebf180f198ba0
+DIST bpftrace-0.20.3.gh.tar.gz 1233923 BLAKE2B c8a280441237d068029bd561a0fa70fd54676625c5bdd7d82a0a219d361cd71a460435ff05c865647d3e5c27d769ec296a47e5e7a3546fc8571af6a16d898300 SHA512 218a1bfac7e1a2b7eef5b0ed3e7403eed4bc932f2aa03c5f4c8924246c09088f5074ab3d54031e582cb4f8e7d0c7df1bb30007c2421c44d2c2506364f0ba5a0e

diff --git a/dev-debug/bpftrace/bpftrace-0.20.3.ebuild b/dev-debug/bpftrace/bpftrace-0.20.3.ebuild
new file mode 100644
index 000000000000..53f8faa529a0
--- /dev/null
+++ b/dev-debug/bpftrace/bpftrace-0.20.3.ebuild
@@ -0,0 +1,100 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=17
+
+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
+	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
+	<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)]
+	sys-process/procps
+	sys-libs/binutils-libs:=
+	virtual/libelf:=
+"
+DEPEND="
+	${COMMON_DEPEND}
+	dev-libs/cereal:=
+	test? ( dev-cpp/gtest )
+"
+BDEPEND="
+	app-arch/xz-utils
+	app-alternatives/lex
+	app-alternatives/yacc
+	test? (
+		app-editors/vim-core
+		dev-util/pahole
+	)
+	virtual/pkgconfig
+"
+
+QA_DT_NEEDED="
+	usr/lib.*/libbpftraceresources.so
+	usr/lib.*/libcxxdemangler_llvm.so
+"
+
+PATCHES=(
+	"${FILESDIR}/bpftrace-0.20.0-install-libs.patch"
+	"${FILESDIR}/bpftrace-0.15.0-dont-compress-man.patch"
+	"${FILESDIR}/bpftrace-0.11.4-old-kernels.patch"
+	"${FILESDIR}/bpftrace-0.20.1-fuzzer.patch"
+)
+
+pkg_pretend() {
+	local CONFIG_CHECK="
+		~BPF
+		~BPF_EVENTS
+		~BPF_JIT
+		~BPF_SYSCALL
+		~FTRACE_SYSCALLS
+		~HAVE_EBPF_JIT
+	"
+
+	check_extra_config
+}
+
+pkg_setup() {
+	llvm_pkg_setup
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSTATIC_LINKING:BOOL=OFF
+		# bug 809362, 754648
+		-DBUILD_TESTING:BOOL=$(usex test)
+		-DBUILD_FUZZ:BOOL=$(usex fuzzing)
+		-DENABLE_MAN:BOOL=OFF
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	# bug 809362
+	dostrip -x /usr/bin/bpftrace
+	doman man/man8/*.?
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-05-21 15:22 Patrick McLean
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick McLean @ 2024-05-21 15:22 UTC (permalink / raw
  To: gentoo-commits

commit:     015c05d0052a2f7db2ab1b098e2b9785b1fa5746
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 15:22:25 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue May 21 15:22:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015c05d0

dev-debug/bpftrace: add 0.20.4

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-debug/bpftrace/Manifest               |  1 +
 dev-debug/bpftrace/bpftrace-0.20.4.ebuild | 99 +++++++++++++++++++++++++++++++
 2 files changed, 100 insertions(+)

diff --git a/dev-debug/bpftrace/Manifest b/dev-debug/bpftrace/Manifest
index cb5f782335bf..dd7579864e68 100644
--- a/dev-debug/bpftrace/Manifest
+++ b/dev-debug/bpftrace/Manifest
@@ -1,2 +1,3 @@
 DIST bpftrace-0.20.1.gh.tar.gz 1233431 BLAKE2B fe9221a94d58b43e0311f8c841df8421c3fe226a3fe61f2ec5cce5de309acdb69a68834e92a2e622a1750975869cbdaa95a90f9afb83989aa61b56b551fa96e3 SHA512 fdcc2b0d091d4ab428207877626b0fb37f3e0778730e6a6db26be869a086264e1f24186857c47597813aacde98621a66301bcf6c8004f77bdf9ebf180f198ba0
 DIST bpftrace-0.20.3.gh.tar.gz 1233923 BLAKE2B c8a280441237d068029bd561a0fa70fd54676625c5bdd7d82a0a219d361cd71a460435ff05c865647d3e5c27d769ec296a47e5e7a3546fc8571af6a16d898300 SHA512 218a1bfac7e1a2b7eef5b0ed3e7403eed4bc932f2aa03c5f4c8924246c09088f5074ab3d54031e582cb4f8e7d0c7df1bb30007c2421c44d2c2506364f0ba5a0e
+DIST bpftrace-0.20.4.gh.tar.gz 1233327 BLAKE2B ef98dbae80285c42b6322c10666345600e594e7043184e7191c77a3158e8c188b7448a580c00b656c1c352601fc1898178d17a7f88f4f1f174187440074832b2 SHA512 a8d5b5bd7d35f9bb308cd7d0ae4eaee899312d3e6540164d3b29eac61159983ea01350311f53b7b6c5023844bde9a2cd3a2d50459116261a536c0e6e52963462

diff --git a/dev-debug/bpftrace/bpftrace-0.20.4.ebuild b/dev-debug/bpftrace/bpftrace-0.20.4.ebuild
new file mode 100644
index 000000000000..ed0d131ef89f
--- /dev/null
+++ b/dev-debug/bpftrace/bpftrace-0.20.4.ebuild
@@ -0,0 +1,99 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=17
+
+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="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
+	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
+	<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)]
+	sys-process/procps
+	sys-libs/binutils-libs:=
+	virtual/libelf:=
+"
+DEPEND="
+	${COMMON_DEPEND}
+	dev-libs/cereal:=
+	test? ( dev-cpp/gtest )
+"
+BDEPEND="
+	app-arch/xz-utils
+	app-alternatives/lex
+	app-alternatives/yacc
+	test? (
+		app-editors/vim-core
+		dev-util/pahole
+	)
+	virtual/pkgconfig
+"
+
+QA_DT_NEEDED="
+	usr/lib.*/libbpftraceresources.so
+	usr/lib.*/libcxxdemangler_llvm.so
+"
+
+PATCHES=(
+	"${FILESDIR}/bpftrace-0.20.0-install-libs.patch"
+	"${FILESDIR}/bpftrace-0.15.0-dont-compress-man.patch"
+	"${FILESDIR}/bpftrace-0.11.4-old-kernels.patch"
+)
+
+pkg_pretend() {
+	local CONFIG_CHECK="
+		~BPF
+		~BPF_EVENTS
+		~BPF_JIT
+		~BPF_SYSCALL
+		~FTRACE_SYSCALLS
+		~HAVE_EBPF_JIT
+	"
+
+	check_extra_config
+}
+
+pkg_setup() {
+	llvm_pkg_setup
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DSTATIC_LINKING:BOOL=OFF
+		# bug 809362, 754648
+		-DBUILD_TESTING:BOOL=$(usex test)
+		-DBUILD_FUZZ:BOOL=$(usex fuzzing)
+		-DENABLE_MAN:BOOL=OFF
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	# bug 809362
+	dostrip -x /usr/bin/bpftrace
+	doman man/man8/*.?
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-05-21 17:37 Patrick McLean
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick McLean @ 2024-05-21 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     a72992732b8c4aaf63a978bcf213f1018b8a2022
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 17:37:02 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Tue May 21 17:37:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7299273

dev-debug/bpftrace: Actually remove the fuzzing flag

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-debug/bpftrace/bpftrace-0.20.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/bpftrace/bpftrace-0.20.4.ebuild b/dev-debug/bpftrace/bpftrace-0.20.4.ebuild
index ed0d131ef89f..eb964ba376cc 100644
--- a/dev-debug/bpftrace/bpftrace-0.20.4.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.20.4.ebuild
@@ -84,7 +84,7 @@ src_configure() {
 		-DSTATIC_LINKING:BOOL=OFF
 		# bug 809362, 754648
 		-DBUILD_TESTING:BOOL=$(usex test)
-		-DBUILD_FUZZ:BOOL=$(usex fuzzing)
+		-DBUILD_FUZZ:BOOL=OFF
 		-DENABLE_MAN:BOOL=OFF
 	)
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-06-28  7:53 Yixun Lan
  0 siblings, 0 replies; 17+ messages in thread
From: Yixun Lan @ 2024-06-28  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     c2c2799c680b60965936ccdfd6e4d70f03b256f4
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Thu Jun 27 15:15:02 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 07:51:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c2799c

dev-debug/bpftrace: metadata updates

- add new lldb USE flag
- add myself as proxy maintainer
- update remote-id

Closes: https://github.com/gentoo/gentoo/pull/37323
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-debug/bpftrace/metadata.xml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-debug/bpftrace/metadata.xml b/dev-debug/bpftrace/metadata.xml
index 3e240d7784b1..43c09bfc0394 100644
--- a/dev-debug/bpftrace/metadata.xml
+++ b/dev-debug/bpftrace/metadata.xml
@@ -1,13 +1,22 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+  <maintainer type="person" proxied="yes">
+    <email>holger@applied-asynchrony.com</email>
+    <name>Holger Hoffstätte</name>
+  </maintainer>
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
   <maintainer type="person">
     <email>chutzpah@gentoo.org</email>
   </maintainer>
   <use>
     <flag name="fuzzing">Build bpftrace for fuzzing</flag>
+    <flag name="lldb">Parse debug info using<pkg>dev-debug/lldb</pkg></flag>
   </use>
   <upstream>
-    <remote-id type="github">iovisor/bpftrace</remote-id>
+    <remote-id type="github">bpftrace/bpftrace</remote-id>
   </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-06-28  7:53 Yixun Lan
  0 siblings, 0 replies; 17+ messages in thread
From: Yixun Lan @ 2024-06-28  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     8bb362250e8ea9fbe92e4c135d28f5fc162b98a8
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 07:41:39 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 07:51:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bb36225

dev-debug/bpftrace: add myself as a maintainer

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-debug/bpftrace/metadata.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-debug/bpftrace/metadata.xml b/dev-debug/bpftrace/metadata.xml
index 43c09bfc0394..faa36d662473 100644
--- a/dev-debug/bpftrace/metadata.xml
+++ b/dev-debug/bpftrace/metadata.xml
@@ -11,6 +11,11 @@
   </maintainer>
   <maintainer type="person">
     <email>chutzpah@gentoo.org</email>
+    <name>Patrick McLean</name>
+  </maintainer>
+  <maintainer type="person">
+    <email>dlan@gentoo.org</email>
+    <name>Yixun Lan</name>
   </maintainer>
   <use>
     <flag name="fuzzing">Build bpftrace for fuzzing</flag>


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-06-28  7:53 Yixun Lan
  0 siblings, 0 replies; 17+ messages in thread
From: Yixun Lan @ 2024-06-28  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     e336b209488174d10f7b1d712b74f955a2746b26
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 07:46:41 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 07:51:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e336b209

dev-debug/bpftrace: drop 0.20.3

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-debug/bpftrace/Manifest               |   1 -
 dev-debug/bpftrace/bpftrace-0.20.3.ebuild | 100 ------------------------------
 2 files changed, 101 deletions(-)

diff --git a/dev-debug/bpftrace/Manifest b/dev-debug/bpftrace/Manifest
index 637a70809c6b..a8cd44da1e76 100644
--- a/dev-debug/bpftrace/Manifest
+++ b/dev-debug/bpftrace/Manifest
@@ -1,4 +1,3 @@
 DIST bpftrace-0.20.1.gh.tar.gz 1233431 BLAKE2B fe9221a94d58b43e0311f8c841df8421c3fe226a3fe61f2ec5cce5de309acdb69a68834e92a2e622a1750975869cbdaa95a90f9afb83989aa61b56b551fa96e3 SHA512 fdcc2b0d091d4ab428207877626b0fb37f3e0778730e6a6db26be869a086264e1f24186857c47597813aacde98621a66301bcf6c8004f77bdf9ebf180f198ba0
-DIST bpftrace-0.20.3.gh.tar.gz 1233923 BLAKE2B c8a280441237d068029bd561a0fa70fd54676625c5bdd7d82a0a219d361cd71a460435ff05c865647d3e5c27d769ec296a47e5e7a3546fc8571af6a16d898300 SHA512 218a1bfac7e1a2b7eef5b0ed3e7403eed4bc932f2aa03c5f4c8924246c09088f5074ab3d54031e582cb4f8e7d0c7df1bb30007c2421c44d2c2506364f0ba5a0e
 DIST bpftrace-0.20.4.gh.tar.gz 1233327 BLAKE2B ef98dbae80285c42b6322c10666345600e594e7043184e7191c77a3158e8c188b7448a580c00b656c1c352601fc1898178d17a7f88f4f1f174187440074832b2 SHA512 a8d5b5bd7d35f9bb308cd7d0ae4eaee899312d3e6540164d3b29eac61159983ea01350311f53b7b6c5023844bde9a2cd3a2d50459116261a536c0e6e52963462
 DIST bpftrace-0.21.1.gh.tar.gz 1293781 BLAKE2B 154acfd076bd10d1ea7f81b77f8fe6b94812be7fc82bf798f508fa94a5558b068e1ec4bde7cecf51d1076593032d7674a5c0cde6432be7bb6dc4781656104915 SHA512 db6f5faf65fc2ac55ffbd1799b70941b8a6e4036c7fc2f56fe134f932dcf8a14fdd11a5a8b1d4b20261932d2d1ac18636cc1d7d4b87b31e366a9e53514a84ad3

diff --git a/dev-debug/bpftrace/bpftrace-0.20.3.ebuild b/dev-debug/bpftrace/bpftrace-0.20.3.ebuild
deleted file mode 100644
index 53f8faa529a0..000000000000
--- a/dev-debug/bpftrace/bpftrace-0.20.3.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 2019-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LLVM_MAX_SLOT=17
-
-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
-	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
-	<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)]
-	sys-process/procps
-	sys-libs/binutils-libs:=
-	virtual/libelf:=
-"
-DEPEND="
-	${COMMON_DEPEND}
-	dev-libs/cereal:=
-	test? ( dev-cpp/gtest )
-"
-BDEPEND="
-	app-arch/xz-utils
-	app-alternatives/lex
-	app-alternatives/yacc
-	test? (
-		app-editors/vim-core
-		dev-util/pahole
-	)
-	virtual/pkgconfig
-"
-
-QA_DT_NEEDED="
-	usr/lib.*/libbpftraceresources.so
-	usr/lib.*/libcxxdemangler_llvm.so
-"
-
-PATCHES=(
-	"${FILESDIR}/bpftrace-0.20.0-install-libs.patch"
-	"${FILESDIR}/bpftrace-0.15.0-dont-compress-man.patch"
-	"${FILESDIR}/bpftrace-0.11.4-old-kernels.patch"
-	"${FILESDIR}/bpftrace-0.20.1-fuzzer.patch"
-)
-
-pkg_pretend() {
-	local CONFIG_CHECK="
-		~BPF
-		~BPF_EVENTS
-		~BPF_JIT
-		~BPF_SYSCALL
-		~FTRACE_SYSCALLS
-		~HAVE_EBPF_JIT
-	"
-
-	check_extra_config
-}
-
-pkg_setup() {
-	llvm_pkg_setup
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DSTATIC_LINKING:BOOL=OFF
-		# bug 809362, 754648
-		-DBUILD_TESTING:BOOL=$(usex test)
-		-DBUILD_FUZZ:BOOL=$(usex fuzzing)
-		-DENABLE_MAN:BOOL=OFF
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-	# bug 809362
-	dostrip -x /usr/bin/bpftrace
-	doman man/man8/*.?
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-07-13 15:52 Arthur Zamarin
  0 siblings, 0 replies; 17+ messages in thread
From: Arthur Zamarin @ 2024-07-13 15:52 UTC (permalink / raw
  To: gentoo-commits

commit:     5d92857169eb2299506dc7678cce62e2c4d5cf1a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 13 15:51:56 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 13 15:51:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d928571

dev-debug/bpftrace: Stabilize 0.21.1 amd64, #935985

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-debug/bpftrace/bpftrace-0.21.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/bpftrace/bpftrace-0.21.1.ebuild b/dev-debug/bpftrace/bpftrace-0.21.1.ebuild
index bf07da70b442..9ffda078670a 100644
--- a/dev-debug/bpftrace/bpftrace-0.21.1.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.21.1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${MY_PV:-${PV}}"
 LICENSE="Apache-2.0"
 SLOT="0"
 
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="lldb test"
 
 # lots of fixing needed


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-07-19 16:20 Patrick McLean
  0 siblings, 0 replies; 17+ messages in thread
From: Patrick McLean @ 2024-07-19 16:20 UTC (permalink / raw
  To: gentoo-commits

commit:     dadf47c31d581e3476bdb5b5e35838635ce34b3c
Author:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 16:20:03 2024 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 16:20:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dadf47c3

dev-debug/bpftrace: add 0.21.2

Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-debug/bpftrace/Manifest               |  1 +
 dev-debug/bpftrace/bpftrace-0.21.2.ebuild | 95 +++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/dev-debug/bpftrace/Manifest b/dev-debug/bpftrace/Manifest
index a8cd44da1e76..d0da05a7db78 100644
--- a/dev-debug/bpftrace/Manifest
+++ b/dev-debug/bpftrace/Manifest
@@ -1,3 +1,4 @@
 DIST bpftrace-0.20.1.gh.tar.gz 1233431 BLAKE2B fe9221a94d58b43e0311f8c841df8421c3fe226a3fe61f2ec5cce5de309acdb69a68834e92a2e622a1750975869cbdaa95a90f9afb83989aa61b56b551fa96e3 SHA512 fdcc2b0d091d4ab428207877626b0fb37f3e0778730e6a6db26be869a086264e1f24186857c47597813aacde98621a66301bcf6c8004f77bdf9ebf180f198ba0
 DIST bpftrace-0.20.4.gh.tar.gz 1233327 BLAKE2B ef98dbae80285c42b6322c10666345600e594e7043184e7191c77a3158e8c188b7448a580c00b656c1c352601fc1898178d17a7f88f4f1f174187440074832b2 SHA512 a8d5b5bd7d35f9bb308cd7d0ae4eaee899312d3e6540164d3b29eac61159983ea01350311f53b7b6c5023844bde9a2cd3a2d50459116261a536c0e6e52963462
 DIST bpftrace-0.21.1.gh.tar.gz 1293781 BLAKE2B 154acfd076bd10d1ea7f81b77f8fe6b94812be7fc82bf798f508fa94a5558b068e1ec4bde7cecf51d1076593032d7674a5c0cde6432be7bb6dc4781656104915 SHA512 db6f5faf65fc2ac55ffbd1799b70941b8a6e4036c7fc2f56fe134f932dcf8a14fdd11a5a8b1d4b20261932d2d1ac18636cc1d7d4b87b31e366a9e53514a84ad3
+DIST bpftrace-0.21.2.gh.tar.gz 1299415 BLAKE2B 5a5d00c94c188ea4bc5008a88c9c244b0da4ac6f74c2b7083e13b8da9b0c566efc30fd9c7164f562505a4c72e6def1f2be4e360e3cd4556366e9a0aa3e1d3cf8 SHA512 8c64de94da29030dcde0680be90e3c16a5cd965a0066b1abe3c0740f11a78d70f383bf2e0bbe2fce639eddc7d45cb44508cc8a78743c205d7efa45734151e743

diff --git a/dev-debug/bpftrace/bpftrace-0.21.2.ebuild b/dev-debug/bpftrace/bpftrace-0.21.2.ebuild
new file mode 100644
index 000000000000..bf07da70b442
--- /dev/null
+++ b/dev-debug/bpftrace/bpftrace-0.21.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=18
+
+inherit llvm linux-info cmake
+
+DESCRIPTION="High-level tracing language for eBPF"
+HOMEPAGE="https://github.com/bpftrace/bpftrace"
+MY_PV="${PV//_/}"
+SRC_URI="https://github.com/bpftrace/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV:-${PV}}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="lldb test"
+
+# lots of fixing needed
+RESTRICT="test"
+
+RDEPEND="
+	>=dev-libs/libbpf-1.1:=
+	>=dev-util/bcc-0.25.0:=
+	lldb? ( >=dev-debug/lldb-15 )
+	>=sys-devel/llvm-15[llvm_targets_BPF(+)]
+	>=sys-devel/clang-15
+	<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):=
+	<sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=[llvm_targets_BPF(+)]
+	sys-process/procps
+	sys-libs/binutils-libs:=
+	virtual/libelf:=
+"
+DEPEND="
+	${COMMON_DEPEND}
+	dev-libs/cereal:=
+	test? ( dev-cpp/gtest )
+"
+BDEPEND="
+	app-arch/xz-utils
+	app-alternatives/lex
+	app-alternatives/yacc
+	test? (
+		app-editors/vim-core
+		dev-util/pahole
+	)
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}/bpftrace-0.21.0-dont-compress-man.patch"
+	"${FILESDIR}/bpftrace-0.11.4-old-kernels.patch"
+)
+
+pkg_pretend() {
+	local CONFIG_CHECK="
+		~BPF
+		~BPF_EVENTS
+		~BPF_JIT
+		~BPF_SYSCALL
+		~FTRACE_SYSCALLS
+		~HAVE_EBPF_JIT
+	"
+
+	check_extra_config
+}
+
+pkg_setup() {
+	llvm_pkg_setup
+}
+
+src_configure() {
+	local mycmakeargs=(
+		# prevent automagic lldb use
+		$(cmake_use_find_package lldb LLDB)
+		# DO NOT build the internal libs as shared
+		-DBUILD_SHARED_LIBS=OFF
+		# DO dynamically link the bpftrace executable
+		-DSTATIC_LINKING:BOOL=OFF
+		# bug 809362, 754648
+		-DBUILD_TESTING:BOOL=$(usex test)
+		-DBUILD_FUZZ:BOOL=OFF
+		-DENABLE_MAN:BOOL=OFF
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	doman man/man8/*.?
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-08-16  3:00 Yixun Lan
  0 siblings, 0 replies; 17+ messages in thread
From: Yixun Lan @ 2024-08-16  3:00 UTC (permalink / raw
  To: gentoo-commits

commit:     eda1b56db5cde357633e7db66045c6d337971663
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Thu Aug 15 09:00:43 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 02:51:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eda1b56d

dev-debug/bpftrace: properly install bpftrace man page

Closes: https://bugs.gentoo.org/937966
Closes: https://github.com/gentoo/gentoo/pull/38160
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-debug/bpftrace/Manifest                                            | 1 +
 .../bpftrace/{bpftrace-0.21.2.ebuild => bpftrace-0.21.2-r1.ebuild}     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/dev-debug/bpftrace/Manifest b/dev-debug/bpftrace/Manifest
index d0da05a7db78..d57a01aec469 100644
--- a/dev-debug/bpftrace/Manifest
+++ b/dev-debug/bpftrace/Manifest
@@ -1,4 +1,5 @@
 DIST bpftrace-0.20.1.gh.tar.gz 1233431 BLAKE2B fe9221a94d58b43e0311f8c841df8421c3fe226a3fe61f2ec5cce5de309acdb69a68834e92a2e622a1750975869cbdaa95a90f9afb83989aa61b56b551fa96e3 SHA512 fdcc2b0d091d4ab428207877626b0fb37f3e0778730e6a6db26be869a086264e1f24186857c47597813aacde98621a66301bcf6c8004f77bdf9ebf180f198ba0
 DIST bpftrace-0.20.4.gh.tar.gz 1233327 BLAKE2B ef98dbae80285c42b6322c10666345600e594e7043184e7191c77a3158e8c188b7448a580c00b656c1c352601fc1898178d17a7f88f4f1f174187440074832b2 SHA512 a8d5b5bd7d35f9bb308cd7d0ae4eaee899312d3e6540164d3b29eac61159983ea01350311f53b7b6c5023844bde9a2cd3a2d50459116261a536c0e6e52963462
 DIST bpftrace-0.21.1.gh.tar.gz 1293781 BLAKE2B 154acfd076bd10d1ea7f81b77f8fe6b94812be7fc82bf798f508fa94a5558b068e1ec4bde7cecf51d1076593032d7674a5c0cde6432be7bb6dc4781656104915 SHA512 db6f5faf65fc2ac55ffbd1799b70941b8a6e4036c7fc2f56fe134f932dcf8a14fdd11a5a8b1d4b20261932d2d1ac18636cc1d7d4b87b31e366a9e53514a84ad3
+DIST bpftrace-0.21.2-man.gh.tar.xz 73044 BLAKE2B 3adcd021ae6849933d488ab140cc0608cd9d1aa9df125f180a67bc85965105ae07f645ecf885ce8b6ac3a340c5f73761e0fab14309f3654b52c9deaeacf521fc SHA512 95b05a04dec92a9c24f84a2603436e0c2f5fc7b08aafa69a2cf0843497f9100a7a104f8d3b4e654e5eb0640f272756d8d86ed4563d40ea592edbcad34af2dfa7
 DIST bpftrace-0.21.2.gh.tar.gz 1299415 BLAKE2B 5a5d00c94c188ea4bc5008a88c9c244b0da4ac6f74c2b7083e13b8da9b0c566efc30fd9c7164f562505a4c72e6def1f2be4e360e3cd4556366e9a0aa3e1d3cf8 SHA512 8c64de94da29030dcde0680be90e3c16a5cd965a0066b1abe3c0740f11a78d70f383bf2e0bbe2fce639eddc7d45cb44508cc8a78743c205d7efa45734151e743

diff --git a/dev-debug/bpftrace/bpftrace-0.21.2.ebuild b/dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild
similarity index 90%
rename from dev-debug/bpftrace/bpftrace-0.21.2.ebuild
rename to dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild
index bf07da70b442..e7282b4c9d9a 100644
--- a/dev-debug/bpftrace/bpftrace-0.21.2.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild
@@ -11,6 +11,7 @@ DESCRIPTION="High-level tracing language for eBPF"
 HOMEPAGE="https://github.com/bpftrace/bpftrace"
 MY_PV="${PV//_/}"
 SRC_URI="https://github.com/bpftrace/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.gh.tar.gz"
+SRC_URI+=" https://github.com/bpftrace/${PN}/releases/download/v${MY_PV}/man.tar.xz -> ${P}-man.gh.tar.xz"
 S="${WORKDIR}/${PN}-${MY_PV:-${PV}}"
 
 LICENSE="Apache-2.0"
@@ -92,4 +93,6 @@ src_configure() {
 src_install() {
 	cmake_src_install
 	doman man/man8/*.?
+	gunzip "${WORKDIR}/man/man8/bpftrace.8.gz" || die
+	doman "${WORKDIR}/man/man8/bpftrace.8"
 }


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-09-16 11:30 Yixun Lan
  0 siblings, 0 replies; 17+ messages in thread
From: Yixun Lan @ 2024-09-16 11:30 UTC (permalink / raw
  To: gentoo-commits

commit:     508da3afce0407461b1f840cb37f826137ff4422
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 16 11:26:14 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Sep 16 11:28:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508da3af

dev-debug/bpftrace: put proxy-maint as last

Individual maintainers always go first, and proxy-maint
should be list as last one.

Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-debug/bpftrace/metadata.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-debug/bpftrace/metadata.xml b/dev-debug/bpftrace/metadata.xml
index faa36d662473..1c741ebbeeae 100644
--- a/dev-debug/bpftrace/metadata.xml
+++ b/dev-debug/bpftrace/metadata.xml
@@ -5,10 +5,6 @@
     <email>holger@applied-asynchrony.com</email>
     <name>Holger Hoffstätte</name>
   </maintainer>
-  <maintainer type="project" proxied="proxy">
-    <email>proxy-maint@gentoo.org</email>
-    <name>Proxy Maintainers</name>
-  </maintainer>
   <maintainer type="person">
     <email>chutzpah@gentoo.org</email>
     <name>Patrick McLean</name>
@@ -17,6 +13,10 @@
     <email>dlan@gentoo.org</email>
     <name>Yixun Lan</name>
   </maintainer>
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
   <use>
     <flag name="fuzzing">Build bpftrace for fuzzing</flag>
     <flag name="lldb">Parse debug info using<pkg>dev-debug/lldb</pkg></flag>


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/
@ 2024-09-16 23:55 Jakov Smolić
  0 siblings, 0 replies; 17+ messages in thread
From: Jakov Smolić @ 2024-09-16 23:55 UTC (permalink / raw
  To: gentoo-commits

commit:     40e2e78accfd30dae7ef2a05c3fb93ad9e5727df
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 16 23:54:54 2024 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Mon Sep 16 23:54:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40e2e78a

dev-debug/bpftrace: Stabilize 0.21.2-r1 amd64, #939734

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild b/dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild
index e7282b4c9d9a..2315cd2d56c9 100644
--- a/dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild
+++ b/dev-debug/bpftrace/bpftrace-0.21.2-r1.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${MY_PV:-${PV}}"
 LICENSE="Apache-2.0"
 SLOT="0"
 
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
 IUSE="lldb test"
 
 # lots of fixing needed


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2024-09-16 23:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-04 13:37 [gentoo-commits] repo/gentoo:master commit in: dev-debug/bpftrace/ Jakov Smolić
  -- strict thread matches above, loose matches on Subject: below --
2024-03-02  3:15 Sam James
2024-03-16 17:04 Patrick McLean
2024-03-16 18:16 Patrick McLean
2024-03-16 18:37 Patrick McLean
2024-03-17  6:27 Ionen Wolkens
2024-03-26 18:19 Patrick McLean
2024-05-21 15:22 Patrick McLean
2024-05-21 17:37 Patrick McLean
2024-06-28  7:53 Yixun Lan
2024-06-28  7:53 Yixun Lan
2024-06-28  7:53 Yixun Lan
2024-07-13 15:52 Arthur Zamarin
2024-07-19 16:20 Patrick McLean
2024-08-16  3:00 Yixun Lan
2024-09-16 11:30 Yixun Lan
2024-09-16 23:55 Jakov Smolić

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox