repo/gentoo:master commit in: dev-debug/sysdig/, dev-debug/sysdig/files/

"Joonas Niilola" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786717597.9f1d7deebd956f5239f13f2ff8a18d087bc8f6bd.juippis@gentoo>
commit:     9f1d7deebd956f5239f13f2ff8a18d087bc8f6bd
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Tue Jun  9 15:21:25 2026 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Aug 14 14:26:37 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f1d7dee

dev-debug/sysdig: fixups for 0.40.1

- do not check kernel config for binpkg
- fix cmake4 QA warning

Closes: https://bugs.gentoo.org/964649
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1118
Merges: https://codeberg.org/gentoo/gentoo/pulls/1118
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-debug/sysdig/files/0.40.1-cmake4.patch | 68 ++++++++++++++++++++++++++++++
 dev-debug/sysdig/sysdig-0.40.1-r1.ebuild   |  5 ++-
 2 files changed, 71 insertions(+), 2 deletions(-)

diff --git a/dev-debug/sysdig/files/0.40.1-cmake4.patch b/dev-debug/sysdig/files/0.40.1-cmake4.patch
new file mode 100644
index 000000000000..56fc16b26d2e
--- /dev/null
+++ b/dev-debug/sysdig/files/0.40.1-cmake4.patch
@@ -0,0 +1,68 @@
+From https://github.com/draios/sysdig/pull/2167
+
+From: =?UTF-8?q?Holger=20Hoffst=C3=A4tte?= <[email protected]>
+Date: Sun, 19 Oct 2025 12:56:26 +0200
+Subject: [PATCH] fix(build): bump cmake_minimum_required to 3.12 everywhere
+
+This brings the required CMake version in line with falcosecurity/libs.
+
+Signed-off-by: Holger Hoffstätte <[email protected]>
+---
+ CMakeLists.txt                                       | 2 +-
+ CMakeListsGtestInclude.cmake                         | 2 +-
+ cmake/modules/driver-repo/CMakeLists.txt             | 2 +-
+ cmake/modules/falcosecurity-libs-repo/CMakeLists.txt | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b1cbd02ccd..97957b0835 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -33,7 +33,7 @@ if(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/CMakeLists.txt)
+ 		"The following wiki page has more information on manually building sysdig: http://bit.ly/1oJ84UI")
+ endif()
+ 
+-cmake_minimum_required(VERSION 3.5.1)
++cmake_minimum_required(VERSION 3.12)
+ 
+ project(sysdig)
+ 
+diff --git a/CMakeListsGtestInclude.cmake b/CMakeListsGtestInclude.cmake
+index 76c0f1b1ca..375e8efba0 100644
+--- a/CMakeListsGtestInclude.cmake
++++ b/CMakeListsGtestInclude.cmake
+@@ -16,7 +16,7 @@
+ # limitations under the License.
+ #
+ 
+-cmake_minimum_required(VERSION 2.8.2)
++cmake_minimum_required(VERSION 3.12)
+ 
+ project(googletest-download NONE)
+ 
+diff --git a/cmake/modules/driver-repo/CMakeLists.txt b/cmake/modules/driver-repo/CMakeLists.txt
+index 6f8684b574..5c1939ce15 100644
+--- a/cmake/modules/driver-repo/CMakeLists.txt
++++ b/cmake/modules/driver-repo/CMakeLists.txt
+@@ -16,7 +16,7 @@
+ # limitations under the License.
+ #
+ 
+-cmake_minimum_required(VERSION 3.5.1)
++cmake_minimum_required(VERSION 3.12)
+ 
+ project(driver-repo NONE)
+ 
+diff --git a/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt b/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt
+index 946cf5d260..5131a07ce2 100644
+--- a/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt
++++ b/cmake/modules/falcosecurity-libs-repo/CMakeLists.txt
+@@ -16,7 +16,7 @@
+ # limitations under the License.
+ #
+ 
+-cmake_minimum_required(VERSION 3.5.1)
++cmake_minimum_required(VERSION 3.12)
+ 
+ project(falcosecurity-libs-repo NONE)
+ 

diff --git a/dev-debug/sysdig/sysdig-0.40.1-r1.ebuild b/dev-debug/sysdig/sysdig-0.40.1-r1.ebuild
index eb9bea5425c6..fb3031a4ebd8 100644
--- a/dev-debug/sysdig/sysdig-0.40.1-r1.ebuild
+++ b/dev-debug/sysdig/sysdig-0.40.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -58,10 +58,11 @@ PDEPEND="modules? ( =dev-debug/scap-driver-${LIBS_VERSION}* )"
 
 PATCHES=(
 	"${FILESDIR}/0.38.1-scap-loader.patch"
+	"${FILESDIR}/0.40.1-cmake4.patch"
 )
 
 pkg_pretend() {
-	if use bpf; then
+	if use bpf && [[ ${MERGE_TYPE} != binary ]] ; then
 		local CONFIG_CHECK="
 			~BPF
 			~BPF_EVENTS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.