[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/, profiles/, dev-util/sysdig-kmod/files/
commit: 72e52dc7ccf8b5cfd91312b9085d03cc3a539e82 Author: Jakov Smolić gentoo org> AuthorDate: Sat Aug 12 12:40:32 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Aug 12 12:42:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72e52dc7 dev-util/sysdig-kmod: treeclean Closes: https://bugs.gentoo.org/907486 Signed-off-by: Jakov Smolić gentoo.org> dev-util/sysdig-kmod/Manifest | 1 - .../files/0.27.1-fix-kmod-build-on-5.18+.patch | 63 -- dev-util/sysdig-kmod/metadata.xml | 8 --- dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild | 36 - profiles/package.mask | 6 --- 5 files changed, 114 deletions(-) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest deleted file mode 100644 index cc1b76c77570.. --- a/dev-util/sysdig-kmod/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08 diff --git a/dev-util/sysdig-kmod/files/0.27.1-fix-kmod-build-on-5.18+.patch b/dev-util/sysdig-kmod/files/0.27.1-fix-kmod-build-on-5.18+.patch deleted file mode 100644 index 8c3ade53fb07.. --- a/dev-util/sysdig-kmod/files/0.27.1-fix-kmod-build-on-5.18+.patch +++ /dev/null @@ -1,63 +0,0 @@ - -Bug: https://bugs.gentoo.org/852314 -Source: https://github.com/falcosecurity/libs/pull/411/commits/36e945af4feb31c8b875f7d4624592b0c1ff929d - -From 36e945af4feb31c8b875f7d4624592b0c1ff929d Mon Sep 17 00:00:00 2001 -From: Federico Di Pierro -Date: Mon, 20 Jun 2022 14:26:39 +0200 -Subject: [PATCH] fix(driver): fixed kmod build on linux kernels >= 5.18. - -Signed-off-by: Federico Di Pierro - driver/main.c | 14 +- - 1 file changed, 9 insertions(+), 5 deletions(-) - -diff --git a/driver/main.c b/driver/main.c -index 6b5ae461a..e606cc2f8 100644 a/driver/main.c -+++ b/driver/main.c -@@ -70,8 +70,9 @@ MODULE_AUTHOR("the Falco authors"); - #define TRACEPOINT_PROBE(probe, args...) static void probe(void *__data, args) - #endif - --#ifndef pgprot_encrypted --#define pgprot_encrypted(x) (x) -+// Allow build even on arch where PAGE_ENC is not implemented -+#ifndef _PAGE_ENC -+#define _PAGE_ENC 0 - #endif - - struct ppm_device { -@@ -1217,8 +1218,9 @@ static int ppm_mmap(struct file *filp, struct vm_area_struct *vma) - - pfn = vmalloc_to_pfn(vmalloc_area_ptr); - -+ pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; - ret = remap_pfn_range(vma, useraddr, pfn, --PAGE_SIZE, pgprot_encrypted(PAGE_SHARED)); -+PAGE_SIZE, vma->vm_page_prot); - if (ret < 0) { - pr_err("remap_pfn_range failed (1)\n"); - goto cleanup_mmap; -@@ -1255,8 +1257,9 @@ static int ppm_mmap(struct file *filp, struct vm_area_struct *vma) - while (mlength > 0) { - pfn = vmalloc_to_pfn(vmalloc_area_ptr); - -+ pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; - ret = remap_pfn_range(vma, useraddr, pfn, --PAGE_SIZE, pgprot_encrypted(PAGE_SHARED)); -+PAGE_SIZE, vma->vm_page_prot); - if (ret < 0) { - pr_err("remap_pfn_range failed (1)\n"); - goto cleanup_mmap; -@@ -1277,8 +1280,9 @@ static int ppm_mmap(struct file *filp, struct vm_area_struct *vma) - while (mlength > 0) { - pfn = vmalloc_to_pfn(vmalloc_area_ptr); - -+ pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; - ret = remap_pfn_range(vma, useraddr, pfn, --PAGE_SIZE, pgprot_encrypted(PAGE_SHARED)); -+PAGE_SIZE, vma->vm_page_prot); - if (ret < 0) { - pr_err("remap_pfn_range failed (1)\n"); - goto cleanup_mmap; diff --git a/dev-util/sysdig-kmod/metadata.xml b/dev-util/sysdig-kmod/metadata.xml deleted file mode 100644 index 6e469632db79.. --- a/dev-util/sysdig-kmod/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd;> - - - -
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: 2d1d191477fb5c9508f22b3ed22fd7613cbc06ba Author: Ionen Wolkens gentoo org> AuthorDate: Tue May 30 23:04:04 2023 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed May 31 00:16:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d1d1914 dev-util/sysdig-kmod: EAPI7->8, migrate to linux-mod-r1 Affected with incompatible-pointer-types issues with tested kernel 6.3.4 (regardless of migration), but is fine with LTS. Lazy KCFLAGS=-Wno-error=incompatible-pointer-types *could* be used as a (bad) temporary fix, but I'd rather not without trying runtime. Signed-off-by: Ionen Wolkens gentoo.org> dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild | 36 + dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild| 49 --- 2 files changed, 36 insertions(+), 49 deletions(-) diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild new file mode 100644 index ..b08faed2f3e3 --- /dev/null +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake linux-mod-r1 + +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" + +PATCHES=( + "${FILESDIR}"/${PV}-fix-kmod-build-on-5.18+.patch +) + +CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" + +src_prepare() { + cmake_src_prepare + + # cmake is only used to generate the Makefile for modules + sed -i '/USE_BUNDLED_DEPS/,$d' CMakeLists.txt || die +} + +src_compile() { + local modlist=( sysdig-probe=:"${BUILD_DIR}"/driver/src ) + local modargs=( KERNELDIR="${KV_OUT_DIR}" ) + + linux-mod-r1_src_compile +} diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild deleted file mode 100644 index b679552f204c.. --- a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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" - -PATCHES=( "${FILESDIR}"/${PV}-fix-kmod-build-on-5.18+.patch ) - -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" -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/files/, dev-util/sysdig-kmod/
commit: 0f787176dd1ee17c16d1ac03bd24c78771ab2477 Author: Holger Hoffstätte applied-asynchrony com> AuthorDate: Sun Jul 17 21:52:01 2022 + Commit: Sam James gentoo org> CommitDate: Mon Jul 18 00:26:11 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f787176 dev-util/sysdig-kmod: fix kmod build on kernels >= 5.18 Bug: https://bugs.gentoo.org/852314 Signed-off-by: Holger Hoffstätte applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/26458 Signed-off-by: Sam James gentoo.org> .../files/0.27.1-fix-kmod-build-on-5.18+.patch | 63 ++ dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild | 2 + 2 files changed, 65 insertions(+) diff --git a/dev-util/sysdig-kmod/files/0.27.1-fix-kmod-build-on-5.18+.patch b/dev-util/sysdig-kmod/files/0.27.1-fix-kmod-build-on-5.18+.patch new file mode 100644 index ..8c3ade53fb07 --- /dev/null +++ b/dev-util/sysdig-kmod/files/0.27.1-fix-kmod-build-on-5.18+.patch @@ -0,0 +1,63 @@ + +Bug: https://bugs.gentoo.org/852314 +Source: https://github.com/falcosecurity/libs/pull/411/commits/36e945af4feb31c8b875f7d4624592b0c1ff929d + +From 36e945af4feb31c8b875f7d4624592b0c1ff929d Mon Sep 17 00:00:00 2001 +From: Federico Di Pierro +Date: Mon, 20 Jun 2022 14:26:39 +0200 +Subject: [PATCH] fix(driver): fixed kmod build on linux kernels >= 5.18. + +Signed-off-by: Federico Di Pierro +--- + driver/main.c | 14 +- + 1 file changed, 9 insertions(+), 5 deletions(-) + +diff --git a/driver/main.c b/driver/main.c +index 6b5ae461a..e606cc2f8 100644 +--- a/driver/main.c b/driver/main.c +@@ -70,8 +70,9 @@ MODULE_AUTHOR("the Falco authors"); + #define TRACEPOINT_PROBE(probe, args...) static void probe(void *__data, args) + #endif + +-#ifndef pgprot_encrypted +-#define pgprot_encrypted(x) (x) ++// Allow build even on arch where PAGE_ENC is not implemented ++#ifndef _PAGE_ENC ++#define _PAGE_ENC 0 + #endif + + struct ppm_device { +@@ -1217,8 +1218,9 @@ static int ppm_mmap(struct file *filp, struct vm_area_struct *vma) + + pfn = vmalloc_to_pfn(vmalloc_area_ptr); + ++ pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; + ret = remap_pfn_range(vma, useraddr, pfn, +-PAGE_SIZE, pgprot_encrypted(PAGE_SHARED)); ++PAGE_SIZE, vma->vm_page_prot); + if (ret < 0) { + pr_err("remap_pfn_range failed (1)\n"); + goto cleanup_mmap; +@@ -1255,8 +1257,9 @@ static int ppm_mmap(struct file *filp, struct vm_area_struct *vma) + while (mlength > 0) { + pfn = vmalloc_to_pfn(vmalloc_area_ptr); + ++ pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; + ret = remap_pfn_range(vma, useraddr, pfn, +-PAGE_SIZE, pgprot_encrypted(PAGE_SHARED)); ++PAGE_SIZE, vma->vm_page_prot); + if (ret < 0) { + pr_err("remap_pfn_range failed (1)\n"); + goto cleanup_mmap; +@@ -1277,8 +1280,9 @@ static int ppm_mmap(struct file *filp, struct vm_area_struct *vma) + while (mlength > 0) { + pfn = vmalloc_to_pfn(vmalloc_area_ptr); + ++ pgprot_val(vma->vm_page_prot) = pgprot_val(PAGE_SHARED) | _PAGE_ENC; + ret = remap_pfn_range(vma, useraddr, pfn, +-PAGE_SIZE, pgprot_encrypted(PAGE_SHARED)); ++PAGE_SIZE, vma->vm_page_prot); + if (ret < 0) { + pr_err("remap_pfn_range failed (1)\n"); + goto cleanup_mmap; diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild index ba7201399d5c..b679552f204c 100644 --- a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild @@ -19,6 +19,8 @@ RDEPEND="!<=dev-util/sysdig-0.26.4[modules]" CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" +PATCHES=( "${FILESDIR}"/${PV}-fix-kmod-build-on-5.18+.patch ) + pkg_pretend() { linux-mod_pkg_setup }
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: ecd8fc8fc5b6967cec0dd65e0d9f0079a98ded96 Author: Sam James gentoo org> AuthorDate: Wed Mar 9 15:10:52 2022 + Commit: Sam James gentoo org> CommitDate: Wed Mar 9 15:10:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd8fc8f dev-util/sysdig-kmod: drop 0.27.0 Signed-off-by: Sam James gentoo.org> dev-util/sysdig-kmod/Manifest | 1 - dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild | 47 -- 2 files changed, 48 deletions(-) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index 2e5405a0486e..cc1b76c77570 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1,2 +1 @@ -DIST sysdig-0.27.0.tar.gz 933094 BLAKE2B e412bd2a35a62b580344a49e2deee85764710f91327cd63b42913dc361ee96943ffe51b90ee745c420454f0a4be455606d486a91ab3e103d7e396f04dc3f1ff4 SHA512 102150cc641165a6c18ce71e3c6148dc10700f614fec7e1909c29172e3cce02dfa16af56aabdcd420499d0aa89f90fee8f26d92a250b0a521d1b9d416c6a678f DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08 diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild deleted file mode 100644 index ba7201399d5c.. --- a/dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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" -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: 12dae44ef752a389309e84b6d7069b5abef50c43 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 15 16:09:09 2021 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 15 16:11:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12dae44e dev-util/sysdig-kmod: Orphan it Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-util/sysdig-kmod/metadata.xml b/dev-util/sysdig-kmod/metadata.xml index c8c6735782b0..6e469632db79 100644 --- a/dev-util/sysdig-kmod/metadata.xml +++ b/dev-util/sysdig-kmod/metadata.xml @@ -1,10 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - mgo...@gentoo.org - Michał Górny - + draios/sysdig
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: 8e76051df35c1c18b163a02a466222bf5030692f Author: Michał Górny gentoo org> AuthorDate: Sat Oct 3 14:56:00 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Oct 3 17:00:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e76051d dev-util/sysdig-kmod: Bump to 0.27.1 Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/Manifest | 1 + dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild | 47 ++ 2 files changed, 48 insertions(+) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index 3581d465663..2e5405a0486 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1 +1,2 @@ DIST sysdig-0.27.0.tar.gz 933094 BLAKE2B e412bd2a35a62b580344a49e2deee85764710f91327cd63b42913dc361ee96943ffe51b90ee745c420454f0a4be455606d486a91ab3e103d7e396f04dc3f1ff4 SHA512 102150cc641165a6c18ce71e3c6148dc10700f614fec7e1909c29172e3cce02dfa16af56aabdcd420499d0aa89f90fee8f26d92a250b0a521d1b9d416c6a678f +DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08 diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild new file mode 100644 index 000..ba7201399d5 --- /dev/null +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.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" +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: 9430acba9e54aad65314ce64f74c95a82619a768 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 18 09:29:53 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Sep 18 09:38:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9430acba dev-util/sysdig-kmod: Remove old Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/Manifest | 2 - dev-util/sysdig-kmod/sysdig-kmod-0.26.6-r1.ebuild | 47 --- dev-util/sysdig-kmod/sysdig-kmod-0.26.7-r1.ebuild | 47 --- 3 files changed, 96 deletions(-) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index 056a17b1dd9..3581d465663 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1,3 +1 @@ -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.26.6-r1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.26.6-r1.ebuild deleted file mode 100644 index ba7201399d5..000 --- a/dev-util/sysdig-kmod/sysdig-kmod-0.26.6-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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" -} diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.26.7-r1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.26.7-r1.ebuild deleted file mode 100644 index ba7201399d5..000 --- a/dev-util/sysdig-kmod/sysdig-kmod-0.26.7-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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" -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: 4bffeada9dcc03d23dad81e801dcb6df45a592d5 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 11 09:40:20 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue Aug 11 13:43:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bffeada dev-util/sysdig-kmod: Bump to 0.27.0 Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/Manifest | 1 + dev-util/sysdig-kmod/sysdig-kmod-0.27.0.ebuild | 47 ++ 2 files changed, 48 insertions(+) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index e7e363175fd..056a17b1dd9 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 000..ba7201399d5 --- /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" +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: 744d739373bf6fda56819d354267f295019049a7 Author: Michał Górny gentoo org> AuthorDate: Tue May 5 05:59:02 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue May 5 07:15:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744d7393 dev-util/sysdig-kmod: Bump to 0.26.7 Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/Manifest | 1 + dev-util/sysdig-kmod/sysdig-kmod-0.26.7.ebuild | 47 ++ 2 files changed, 48 insertions(+) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index e1493303a0b..e7e363175fd 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1 +1,2 @@ DIST sysdig-0.26.6.tar.gz 923918 BLAKE2B e022eba30977f5300c80a4806926d3e755b1395f05475c1fe925b86823670e397ad29e8bd18b1beaa893cb1bf83c329960c1bf9ff6faf0a5144343e88d52a4a0 SHA512 94784f0dfe46924b81d8804d950a9563cd18f4aa8b1cacd7e27e3974ecf7215223e03bdab001f408f64eb6c72f0da5082fd922d63079119427eb493c77e15795 +DIST sysdig-0.26.7.tar.gz 924647 BLAKE2B 31973410e8e166d82c3851eceee8bdcd808db8181e8330841ff746a2d2c35936fda9dcf23c16697e37da339a647b534b17d0c1bb58c547621f2a3f926fca5016 SHA512 37f3544b1994c8c9048c6ff886da0c2ea6cbfe0a1cedb930b2a06bb85fa9da80a8197409a99b95245dec9ca1957a0f1fe989f688a549739d71ff778087d20b76 diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.26.7.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.26.7.ebuild new file mode 100644 index 000..ba7201399d5 --- /dev/null +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.26.7.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" +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: a7e3d47095dc0783d9475bf3ac7404f407936c8d Author: Michał Górny gentoo org> AuthorDate: Mon May 4 09:29:20 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon May 4 09:36:55 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e3d470 dev-util/sysdig-kmod: Remove old Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/Manifest | 1 - dev-util/sysdig-kmod/sysdig-kmod-0.26.4.ebuild | 47 -- 2 files changed, 48 deletions(-) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index a55a5d704af..e1493303a0b 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1,2 +1 @@ -DIST sysdig-0.26.4.tar.gz 902181 BLAKE2B a7ac38be2f7a3d7e4f4fdec6a2fbf5305a8224ee27352da70f509139ebefd14616f84c7b8860f50d2546819a94deb1117034bceddd22128fcf25386b835274f2 SHA512 f56f5d0a522b861df4803bfdafcaf8db3fc9c0e751d06c321082757f6828a210cb86bab4550a3b35bf6412f930e44ab0f5cf709a30651c57dd7064a68e273a88 DIST sysdig-0.26.6.tar.gz 923918 BLAKE2B e022eba30977f5300c80a4806926d3e755b1395f05475c1fe925b86823670e397ad29e8bd18b1beaa893cb1bf83c329960c1bf9ff6faf0a5144343e88d52a4a0 SHA512 94784f0dfe46924b81d8804d950a9563cd18f4aa8b1cacd7e27e3974ecf7215223e03bdab001f408f64eb6c72f0da5082fd922d63079119427eb493c77e15795 diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.26.4.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.26.4.ebuild deleted file mode 100644 index ba7201399d5..000 --- a/dev-util/sysdig-kmod/sysdig-kmod-0.26.4.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# 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" -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: 7397ad6c2f152782f606949223c4a0dfaa73be5c Author: Michał Górny gentoo org> AuthorDate: Fri Apr 3 14:07:11 2020 + Commit: Michał Górny gentoo org> CommitDate: Fri Apr 3 14:12:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7397ad6c dev-util/sysdig-kmod: Bump to 0.26.6 Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/Manifest | 1 + dev-util/sysdig-kmod/sysdig-kmod-0.26.6.ebuild | 47 ++ 2 files changed, 48 insertions(+) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index 47171acfdc9..a55a5d704af 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1 +1,2 @@ DIST sysdig-0.26.4.tar.gz 902181 BLAKE2B a7ac38be2f7a3d7e4f4fdec6a2fbf5305a8224ee27352da70f509139ebefd14616f84c7b8860f50d2546819a94deb1117034bceddd22128fcf25386b835274f2 SHA512 f56f5d0a522b861df4803bfdafcaf8db3fc9c0e751d06c321082757f6828a210cb86bab4550a3b35bf6412f930e44ab0f5cf709a30651c57dd7064a68e273a88 +DIST sysdig-0.26.6.tar.gz 923918 BLAKE2B e022eba30977f5300c80a4806926d3e755b1395f05475c1fe925b86823670e397ad29e8bd18b1beaa893cb1bf83c329960c1bf9ff6faf0a5144343e88d52a4a0 SHA512 94784f0dfe46924b81d8804d950a9563cd18f4aa8b1cacd7e27e3974ecf7215223e03bdab001f408f64eb6c72f0da5082fd922d63079119427eb493c77e15795 diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.26.6.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.26.6.ebuild new file mode 100644 index 000..ba7201399d5 --- /dev/null +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.26.6.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" +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig-kmod/
commit: de47cd26f3f88afeaf3017a0ea2c11c433ac Author: Michał Górny gentoo org> AuthorDate: Thu Mar 19 19:42:20 2020 + Commit: Michał Górny gentoo org> CommitDate: Thu Mar 19 19:51:18 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de47cd26 dev-util/sysdig-kmod: Split off dev-util/sysdig Split the kernel module off main sysdig ebuild, as requested by slashbeast. Signed-off-by: Michał Górny gentoo.org> dev-util/sysdig-kmod/Manifest | 1 + dev-util/sysdig-kmod/metadata.xml | 11 ++ dev-util/sysdig-kmod/sysdig-kmod-0.26.4.ebuild | 47 ++ 3 files changed, 59 insertions(+) diff --git a/dev-util/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest new file mode 100644 index 000..47171acfdc9 --- /dev/null +++ b/dev-util/sysdig-kmod/Manifest @@ -0,0 +1 @@ +DIST sysdig-0.26.4.tar.gz 902181 BLAKE2B a7ac38be2f7a3d7e4f4fdec6a2fbf5305a8224ee27352da70f509139ebefd14616f84c7b8860f50d2546819a94deb1117034bceddd22128fcf25386b835274f2 SHA512 f56f5d0a522b861df4803bfdafcaf8db3fc9c0e751d06c321082757f6828a210cb86bab4550a3b35bf6412f930e44ab0f5cf709a30651c57dd7064a68e273a88 diff --git a/dev-util/sysdig-kmod/metadata.xml b/dev-util/sysdig-kmod/metadata.xml new file mode 100644 index 000..0954d438ef4 --- /dev/null +++ b/dev-util/sysdig-kmod/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + mgo...@gentoo.org + Michał Górny + + + draios/sysdig + + diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.26.4.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.26.4.ebuild new file mode 100644 index 000..ba7201399d5 --- /dev/null +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.26.4.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" +}