summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Hoffstätte <holger@applied-asynchrony.com>2024-10-14 14:42:03 +0200
committerSam James <sam@gentoo.org>2024-11-01 17:28:22 +0000
commit6368da8f793a85bb3821726e42bf9a89ef5beaf0 (patch)
tree3f9389b590617c60a3f361b19f3a20ad48b6aa16 /dev-debug
parentdev-debug/scap-driver: add 0.18.1 (diff)
downloadgentoo-6368da8f793a85bb3821726e42bf9a89ef5beaf0.tar.gz
gentoo-6368da8f793a85bb3821726e42bf9a89ef5beaf0.tar.bz2
gentoo-6368da8f793a85bb3821726e42bf9a89ef5beaf0.zip
dev-debug/scap-driver: clean up old versions
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/scap-driver/Manifest1
-rw-r--r--dev-debug/scap-driver/files/0.17.2-fix-kmod-build-on-6.10+.patch29
-rw-r--r--dev-debug/scap-driver/scap-driver-0.17.2.ebuild46
3 files changed, 0 insertions, 76 deletions
diff --git a/dev-debug/scap-driver/Manifest b/dev-debug/scap-driver/Manifest
index e2f920a0eef0..1004cab8d016 100644
--- a/dev-debug/scap-driver/Manifest
+++ b/dev-debug/scap-driver/Manifest
@@ -1,3 +1,2 @@
-DIST falcosecurity-libs-0.17.2.tar.gz 4424458 BLAKE2B cbe3a689d3d93a6896b94fd54b35665b11263c07690a36d40617651f97806b0177af657824f62259df95a984d598a34c17ff942c73e3abd774569607dc22380f SHA512 8bb449d91c12225c08d678ea9a8e97a5b5e8828788b56d5b83ec3b3c6ad5e25d4f56120dba523ac9c593d02ee155026e2d4d47587be6f73f373f06fe7ddc2a0c
DIST falcosecurity-libs-0.17.3.tar.gz 4425090 BLAKE2B 3d6300bba2303715581d9b35f63e453f85a3889fa93233d3b1ca69f6ba92b33e0a7d90bbd160b765487b44771a1d94f5a1fb380cf4e5130506a885471dddb7e7 SHA512 05707c404bdd45c2e944b903dbbc1e5e0e5991a3d4cbe9ea357efb35b5ad0c4ede7cdd7b056a7dde2543cc2c0b8d5d3b42606202128b7287a80a1da686de169e
DIST falcosecurity-libs-0.18.1.tar.gz 4473396 BLAKE2B 9e875430032adfc79db086e92e6bb356a9c87a529da27a613f49b18e7e32ebeb28e1859bdba8b35c826e9a0d9c77454d4b804e35d5bf13c2f077fed915355045 SHA512 eb9e4d770888d70cbcc9468a4044f50bbb16729f545660c9f1aa91da862410ee7cfa2702dba7eef161bf3a3e0b9090b64dd8e1694fdb83c55a6d2418d281042a
diff --git a/dev-debug/scap-driver/files/0.17.2-fix-kmod-build-on-6.10+.patch b/dev-debug/scap-driver/files/0.17.2-fix-kmod-build-on-6.10+.patch
deleted file mode 100644
index 11b3f41e7519..000000000000
--- a/dev-debug/scap-driver/files/0.17.2-fix-kmod-build-on-6.10+.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-
-Patch taken from: https://github.com/falcosecurity/libs/pull/1884
-
-From b52aec86c96f26e14afcdece6a6ccb6ce2f0a7ec Mon Sep 17 00:00:00 2001
-From: Federico Di Pierro <nierro92@gmail.com>
-Date: Thu, 30 May 2024 11:36:32 +0200
-Subject: [PATCH] fix(driver): fix build of kmod on linux 6.10.
-
-Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
----
- driver/main.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/driver/main.c b/driver/main.c
-index 1bcd600675..af1470b8d7 100644
---- a/driver/main.c
-+++ b/driver/main.c
-@@ -1649,8 +1649,10 @@ static inline int drop_nostate_event(ppm_event_code event_type,
- if (close_fd < 0 || close_fd >= fdt->max_fds ||
- #if (LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0))
- !FD_ISSET(close_fd, fdt->open_fds)
--#else
-+#elif (LINUX_VERSION_CODE < KERNEL_VERSION(6, 10, 0))
- !fd_is_open(close_fd, fdt)
-+#else
-+ !test_bit(close_fd, fdt->open_fds)
- #endif
- ) {
- drop = true;
diff --git a/dev-debug/scap-driver/scap-driver-0.17.2.ebuild b/dev-debug/scap-driver/scap-driver-0.17.2.ebuild
deleted file mode 100644
index ccc6d37ec84d..000000000000
--- a/dev-debug/scap-driver/scap-driver-0.17.2.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2024 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://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 ~arm64 ~x86"
-
-RDEPEND="!<dev-debug/sysdig-${PV}[modules]"
-
-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 be found in the corresponding *sysdig* tree in cmake/modules/driver.cmake
-DRIVER_VERSION="7.2.0+driver"
-
-PATCHES=(
- "${FILESDIR}"/${PV}-fix-kmod-build-on-6.10+.patch
-)
-
-src_configure() {
- local mycmakeargs=(
- # we will use linux-mod, so just pretend to use bundled deps
- # in order to make it through the cmake setup.
- -DUSE_BUNDLED_DEPS=ON
- -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
-}