repo/gentoo:master commit in: dev-debug/scap-driver/
"Joonas Niilola" <[email protected]>
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1786717597.60cc70408d521a0ebc42a771ed3d3a73314abc63.juippis@gentoo> |
commit: 60cc70408d521a0ebc42a771ed3d3a73314abc63
Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Tue Jun 9 12:11:24 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=60cc7040
dev-debug/scap-driver: add 0.21.0
Finally a new release after sysdig managed to fix itself.
Unfortunately we lose ~arm64 (for now) and ~x86 (permanently) since
sysdig started to rely on binary plugins with limited platform support.
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1118
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-debug/scap-driver/Manifest | 1 +
dev-debug/scap-driver/scap-driver-0.21.0.ebuild | 53 +++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-debug/scap-driver/Manifest b/dev-debug/scap-driver/Manifest
index 84c27ad4f85d..a2690e1bd668 100644
--- a/dev-debug/scap-driver/Manifest
+++ b/dev-debug/scap-driver/Manifest
@@ -1 +1,2 @@
DIST falcosecurity-libs-0.20.0.tar.gz 4545190 BLAKE2B 93a074ab6451c16c7ad58498ac580f0476339e7dee65112e56142307f79966c43b69c71234a784aff03f47ec2e37e838e797beb4b36e9c105db88cf32cad135e SHA512 b5ef481bda92a29b7b409baee25dabd0b766e4bbcac762740635f99b36cd823a6d98f541817fd03b1a86a1385d3fe24888b33b84dc3486cd9f8d00e5384eb705
+DIST falcosecurity-libs-0.21.0.tar.gz 4511266 BLAKE2B 4d2014f8370da0e0777fd46736ada9655226fdc5d5e3e546fa1bce4251cb0874dfa0edaebd077800eed36760f2814a529fddedd1106a21a16e032942d2cda275 SHA512 d2c27fbdf13cc85bd4cff0270fc26cf6aa5fa7367cd1b32d7c407f1e5245d4d110038546066e838b1fce90ff588d2a0abcf4d95b1fae5734cd06e032be2f0fbc
diff --git a/dev-debug/scap-driver/scap-driver-0.21.0.ebuild b/dev-debug/scap-driver/scap-driver-0.21.0.ebuild
new file mode 100644
index 000000000000..f292640e703e
--- /dev/null
+++ b/dev-debug/scap-driver/scap-driver-0.21.0.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake linux-mod-r1
+
+DESCRIPTION="Kernel module for dev-debug/sysdig"
+HOMEPAGE="https://www.sysdig.com/"
+SRC_URI="https://github.com/falcosecurity/libs/archive/${PV}.tar.gz -> falcosecurity-libs-${PV}.tar.gz"
+S="${WORKDIR}/libs-${PV}"
+
+LICENSE="Apache-2.0 GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ dev-libs/uthash
+ virtual/libelf:=
+ virtual/zlib:=
+"
+
+CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
+
+# We need to specify the driver version manually since we do not use a git tree.
+# This version can usually be found as git tag on the same commit as the libs version.
+DRIVER_VERSION="8.1.0+driver"
+
+PATCHES=(
+ "${FILESDIR}"/libs-0.20.0-properly-use-LD.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ # we will use linux-mod, so in order to make it through the cmake setup
+ # just pretend to use bundled deps and then override only what we need.
+ -DUSE_BUNDLED_DEPS=ON
+ -DUSE_BUNDLED_LIBELF=OFF
+ -DUSE_BUNDLED_UTHASH=OFF
+ -DUSE_BUNDLED_ZLIB=OFF
+ -DCREATE_TEST_TARGETS=OFF
+ -DDRIVER_VERSION="${DRIVER_VERSION}"
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ local modlist=( scap=:"${BUILD_DIR}"/driver/src )
+ local modargs=( KERNELDIR="${KV_OUT_DIR}" )
+
+ linux-mod-r1_src_compile
+}