diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-08-11 11:40:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-08-11 15:43:11 +0200 |
commit | 4bffeada9dcc03d23dad81e801dcb6df45a592d5 (patch) | |
tree | c91b76f60e9cd1928d0133103c73b3b1bfd666f8 /dev-util/sysdig-kmod | |
parent | mail-client/sylpheed: enable SNI for TLS 1.3 (diff) | |
download | gentoo-4bffeada9dcc03d23dad81e801dcb6df45a592d5.tar.gz gentoo-4bffeada9dcc03d23dad81e801dcb6df45a592d5.tar.bz2 gentoo-4bffeada9dcc03d23dad81e801dcb6df45a592d5.zip |
dev-util/sysdig-kmod: Bump to 0.27.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/sysdig-kmod')
-rw-r--r-- | dev-util/sysdig-kmod/Manifest | 1 | ||||
-rw-r--r-- | dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index e7e363175fd3..056a17b1dd92 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1,2 +1,3 @@ DIST sysdig-0.26.6.tar.gz 923918 BLAKE2B e022eba30977f5300c80a4806926d3e755b1395f05475c1fe925b86823670e397ad29e8bd18b1beaa893cb1bf83c329960c1bf9ff6faf0a5144343e88d52a4a0 SHA512 94784f0dfe46924b81d8804d950a9563cd18f4aa8b1cacd7e27e3974ecf7215223e03bdab001f408f64eb6c72f0da5082fd922d63079119427eb493c77e15795 DIST sysdig-0.26.7.tar.gz 924647 BLAKE2B 31973410e8e166d82c3851eceee8bdcd808db8181e8330841ff746a2d2c35936fda9dcf23c16697e37da339a647b534b17d0c1bb58c547621f2a3f926fca5016 SHA512 37f3544b1994c8c9048c6ff886da0c2ea6cbfe0a1cedb930b2a06bb85fa9da80a8197409a99b95245dec9ca1957a0f1fe989f688a549739d71ff778087d20b76 +DIST sysdig-0.27.0.tar.gz 933094 BLAKE2B e412bd2a35a62b580344a49e2deee85764710f91327cd63b42913dc361ee96943ffe51b90ee745c420454f0a4be455606d486a91ab3e103d7e396f04dc3f1ff4 SHA512 102150cc641165a6c18ce71e3c6148dc10700f614fec7e1909c29172e3cce02dfa16af56aabdcd420499d0aa89f90fee8f26d92a250b0a521d1b9d416c6a678f diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild new file mode 100644 index 000000000000..ba7201399d5c --- /dev/null +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake linux-mod + +MY_P=${P/-kmod} +DESCRIPTION="Kernel module for dev-util/sysdig" +HOMEPAGE="https://sysdig.com/" +SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="|| ( MIT GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="!<=dev-util/sysdig-0.26.4[modules]" + +CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" + +pkg_pretend() { + linux-mod_pkg_setup +} + +pkg_setup() { + linux-mod_pkg_setup +} + +src_prepare() { + sed -i -e '/USE_BUNDLED_DEPS/,$d' CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + # we will use linux-mod for that + -DBUILD_DRIVER=OFF + ) + + cmake_src_configure + + # setup linux-mod ugliness + MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver/src:)" + BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"' + BUILD_TARGETS="all" +} |