diff options
author | Holger Hoffstätte <holger@applied-asynchrony.com> | 2024-08-09 11:26:59 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-08-19 20:47:59 -0400 |
commit | a23e9737d0e48c41a196dc415a83522aaefa337a (patch) | |
tree | a6a26722062b5d94d362b3622f83b37190c74da2 /dev-debug | |
parent | dev-python/pefile: enable py3.13 (diff) | |
download | gentoo-a23e9737d0e48c41a196dc415a83522aaefa337a.tar.gz gentoo-a23e9737d0e48c41a196dc415a83522aaefa337a.tar.bz2 gentoo-a23e9737d0e48c41a196dc415a83522aaefa337a.zip |
dev-debug/scap-driver: bump to 0.17.3
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r-- | dev-debug/scap-driver/Manifest | 1 | ||||
-rw-r--r-- | dev-debug/scap-driver/scap-driver-0.17.3.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-debug/scap-driver/Manifest b/dev-debug/scap-driver/Manifest index 7d0200368674..751a4b17702b 100644 --- a/dev-debug/scap-driver/Manifest +++ b/dev-debug/scap-driver/Manifest @@ -1,2 +1,3 @@ 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-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz 816972 BLAKE2B b47ae6a7677935500ebdab8aea7f4c49ef50b7175ec097e7213a1f041ac2b5aa642379924927ec12c84271016e9ab9d191c0c1d4ffacd6ade58b7a03c37f9221 SHA512 65e5916e5f9507fd867a5e9ba3b2670a1b73b7672a22479d3019e948a52ad74441d7e2ce1c74ebd0fdbd1ce66808efa49f285bd5180bceae9d4e6730a60787ce diff --git a/dev-debug/scap-driver/scap-driver-0.17.3.ebuild b/dev-debug/scap-driver/scap-driver-0.17.3.ebuild new file mode 100644 index 000000000000..7a16f4888e5b --- /dev/null +++ b/dev-debug/scap-driver/scap-driver-0.17.3.ebuild @@ -0,0 +1,42 @@ +# 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" + +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 +} |