From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ECA401581EE for ; Thu, 27 Mar 2025 12:05:46 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id B7681343137 for ; Thu, 27 Mar 2025 12:05:46 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A89F0110296; Thu, 27 Mar 2025 12:05:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A2A62110296 for ; Thu, 27 Mar 2025 12:05:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56F87343137 for ; Thu, 27 Mar 2025 12:05:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99E822035 for ; Thu, 27 Mar 2025 12:05:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1743077078.57e3a339589b241dd155ec43f859419bfcfa3002.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/scap-driver/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-debug/scap-driver/Manifest dev-debug/scap-driver/scap-driver-0.20.0.ebuild X-VCS-Directories: dev-debug/scap-driver/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 57e3a339589b241dd155ec43f859419bfcfa3002 X-VCS-Branch: master Date: Thu, 27 Mar 2025 12:05:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 41531f88-6ad7-4191-b92f-707e1c054217 X-Archives-Hash: 2d209f9cfe5eb189545f79b9be411f3d commit: 57e3a339589b241dd155ec43f859419bfcfa3002 Author: Holger Hoffstätte applied-asynchrony com> AuthorDate: Sat Feb 22 17:27:51 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 27 12:04:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e3a339 dev-debug/scap-driver: add 0.20.0 Signed-off-by: Holger Hoffstätte applied-asynchrony.com> Signed-off-by: Sam James gentoo.org> dev-debug/scap-driver/Manifest | 1 + dev-debug/scap-driver/scap-driver-0.20.0.ebuild | 49 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-debug/scap-driver/Manifest b/dev-debug/scap-driver/Manifest index 04ab315ced0e..c737f1a970fa 100644 --- a/dev-debug/scap-driver/Manifest +++ b/dev-debug/scap-driver/Manifest @@ -1,2 +1,3 @@ DIST falcosecurity-libs-0.17.3.tar.gz 4425090 BLAKE2B 3d6300bba2303715581d9b35f63e453f85a3889fa93233d3b1ca69f6ba92b33e0a7d90bbd160b765487b44771a1d94f5a1fb380cf4e5130506a885471dddb7e7 SHA512 05707c404bdd45c2e944b903dbbc1e5e0e5991a3d4cbe9ea357efb35b5ad0c4ede7cdd7b056a7dde2543cc2c0b8d5d3b42606202128b7287a80a1da686de169e DIST falcosecurity-libs-0.19.0.tar.gz 4499949 BLAKE2B 4d165f3b023183abf527a2243f601ca7e6929e882ab854901ff98c3441b6bee61f9bb5d3af8974953423fa46d3968872b7f9dbfb1d81d6ad78202442e5f8d9b7 SHA512 5b011c804b07bf2f3eb6a6d7e8c9ef4e54bcc8d74116020e887465aba3dec737bdf8fc854778a8230f7e23e87da29423c6320a8054873eb5c9c957ce40ef3825 +DIST falcosecurity-libs-0.20.0.tar.gz 4545190 BLAKE2B 93a074ab6451c16c7ad58498ac580f0476339e7dee65112e56142307f79966c43b69c71234a784aff03f47ec2e37e838e797beb4b36e9c105db88cf32cad135e SHA512 b5ef481bda92a29b7b409baee25dabd0b766e4bbcac762740635f99b36cd823a6d98f541817fd03b1a86a1385d3fe24888b33b84dc3486cd9f8d00e5384eb705 diff --git a/dev-debug/scap-driver/scap-driver-0.20.0.ebuild b/dev-debug/scap-driver/scap-driver-0.20.0.ebuild new file mode 100644 index 000000000000..aaced91c34c3 --- /dev/null +++ b/dev-debug/scap-driver/scap-driver-0.20.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 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" + +BDEPEND=" + dev-libs/uthash + sys-libs/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" + +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 +}