summaryrefslogtreecommitdiff
path: root/dev-debug/scap-driver
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-debug/scap-driver
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-debug/scap-driver')
-rw-r--r--dev-debug/scap-driver/Manifest1
-rw-r--r--dev-debug/scap-driver/files/libs-0.20.0-fix-driver-and-bpf-makefile-for-kernel-6.13.patch39
-rw-r--r--dev-debug/scap-driver/files/libs-0.20.0-properly-use-LD.patch24
-rw-r--r--dev-debug/scap-driver/metadata.xml15
-rw-r--r--dev-debug/scap-driver/scap-driver-0.20.0.ebuild54
5 files changed, 0 insertions, 133 deletions
diff --git a/dev-debug/scap-driver/Manifest b/dev-debug/scap-driver/Manifest
deleted file mode 100644
index 84c27ad4f85d..000000000000
--- a/dev-debug/scap-driver/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST falcosecurity-libs-0.20.0.tar.gz 4545190 BLAKE2B 93a074ab6451c16c7ad58498ac580f0476339e7dee65112e56142307f79966c43b69c71234a784aff03f47ec2e37e838e797beb4b36e9c105db88cf32cad135e SHA512 b5ef481bda92a29b7b409baee25dabd0b766e4bbcac762740635f99b36cd823a6d98f541817fd03b1a86a1385d3fe24888b33b84dc3486cd9f8d00e5384eb705
diff --git a/dev-debug/scap-driver/files/libs-0.20.0-fix-driver-and-bpf-makefile-for-kernel-6.13.patch b/dev-debug/scap-driver/files/libs-0.20.0-fix-driver-and-bpf-makefile-for-kernel-6.13.patch
deleted file mode 100644
index f0c16d176d12..000000000000
--- a/dev-debug/scap-driver/files/libs-0.20.0-fix-driver-and-bpf-makefile-for-kernel-6.13.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Patch from:
-https://github.com/falcosecurity/libs/commit/7f01ec89c565fcb45ade833b1312ae69637bc4ec
-
-From: Federico Di Pierro <nierro92@gmail.com>
-Date: Fri, 28 Mar 2025 08:35:23 +0100
-Subject: [PATCH] fix(driver): fix driver and bpf makefile for linux 6.13.
-
-Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
----
- driver/Makefile.in | 2 +-
- driver/bpf/Makefile | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/driver/Makefile.in b/driver/Makefile.in
-index 7b1fdc2dba..ec60103d0d 100644
---- a/driver/Makefile.in
-+++ b/driver/Makefile.in
-@@ -29,7 +29,7 @@ install: all
-
- else
-
--KERNELDIR ?= $(CURDIR)
-+KERNELDIR ?= $(realpath $(objtree))
- #
- # Get the path of the module sources
- #
-diff --git a/driver/bpf/Makefile b/driver/bpf/Makefile
-index 58d1b11165..c94647c608 100644
---- a/driver/bpf/Makefile
-+++ b/driver/bpf/Makefile
-@@ -28,7 +28,7 @@ clean:
-
- else
-
--KERNELDIR ?= $(CURDIR)
-+KERNELDIR ?= $(realpath $(objtree))
- #
- # Get the path of the module sources
- #
diff --git a/dev-debug/scap-driver/files/libs-0.20.0-properly-use-LD.patch b/dev-debug/scap-driver/files/libs-0.20.0-properly-use-LD.patch
deleted file mode 100644
index 79aad2c91cf9..000000000000
--- a/dev-debug/scap-driver/files/libs-0.20.0-properly-use-LD.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Properly use an injected LD for linking. This is necessary for kernels
-built with clang & LTO, otherwise the configuration tests fall back to
-using ld.bfd and fail to build with: "ld: unrecognised emulation mode: llvm".
-Bug: https://bugs.gentoo.org/968857
-
---- libs-0.20.0/driver/configure/Makefile.inc.in
-+++ libs-0.20.0/driver/configure/Makefile.inc.in
-@@ -3,7 +3,7 @@ MODULE_MAKEFILE_DIR := $(shell dirname $
- # Run the module build.sh (wrapper for make) script with an empty environment,
- # but pass PATH, KERNELDIR and eventually (if set) CC and KBUILD_MODPOST_WARN.
- # The latter ones are used by driverkit build templates.
--HAS_@CONFIGURE_MODULE@ := $(shell env -i CC="$(CC)" KBUILD_MODPOST_WARN="$(KBUILD_MODPOST_WARN)" PATH="$(PATH)" KERNELDIR="$(KERNELDIR)" sh $(MODULE_MAKEFILE_DIR)/build.sh ; echo $$?)
-+HAS_@CONFIGURE_MODULE@ := $(shell env -i CC="$(CC)" LD="$(LD)" KBUILD_MODPOST_WARN="$(KBUILD_MODPOST_WARN)" PATH="$(PATH)" KERNELDIR="$(KERNELDIR)" sh $(MODULE_MAKEFILE_DIR)/build.sh ; echo $$?)
-
- ifeq ($(HAS_@CONFIGURE_MODULE@),0)
- $(info [configure-kmod] Setting HAS_@CONFIGURE_MODULE@ flag)
---- libs-0.20.0/driver/configure/build.sh
-+++ libs-0.20.0/driver/configure/build.sh
-@@ -10,4 +10,4 @@
- SCRIPT=$(readlink -f "$0")
- SCRIPT_DIR=$(dirname ${SCRIPT})
-
--make CC="${CC}" -C ${SCRIPT_DIR} > ${SCRIPT_DIR}/build.log 2>&1
-+make CC="${CC}" "${LD}" -C ${SCRIPT_DIR} > ${SCRIPT_DIR}/build.log 2>&1
diff --git a/dev-debug/scap-driver/metadata.xml b/dev-debug/scap-driver/metadata.xml
deleted file mode 100644
index 66a8465c5f91..000000000000
--- a/dev-debug/scap-driver/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?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>
- <upstream>
- <remote-id type="github">falcosecurity/libs</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-debug/scap-driver/scap-driver-0.20.0.ebuild b/dev-debug/scap-driver/scap-driver-0.20.0.ebuild
deleted file mode 100644
index 444172b824d1..000000000000
--- a/dev-debug/scap-driver/scap-driver-0.20.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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 ~arm64 ~x86"
-
-BDEPEND="
- dev-libs/uthash
- virtual/zlib:=
- virtual/libelf:=
-"
-
-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 as git tag on the same commit as the libs version.
-DRIVER_VERSION="8.0.0+driver"
-
-PATCHES=(
- "${FILESDIR}"/libs-0.20.0-fix-driver-and-bpf-makefile-for-kernel-6.13.patch
- "${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
-}