summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/sysdig/sysdig_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-extended/sysdig/sysdig_git.bb')
-rw-r--r--meta-oe/recipes-extended/sysdig/sysdig_git.bb48
1 files changed, 29 insertions, 19 deletions
diff --git a/meta-oe/recipes-extended/sysdig/sysdig_git.bb b/meta-oe/recipes-extended/sysdig/sysdig_git.bb
index 4f58281f9f..ce1a4245ba 100644
--- a/meta-oe/recipes-extended/sysdig/sysdig_git.bb
+++ b/meta-oe/recipes-extended/sysdig/sysdig_git.bb
@@ -3,39 +3,49 @@ DESCRIPTION = "Sysdig is open source, system-level exploration: capture \
3system state and activity from a running Linux instance, then save, \ 3system state and activity from a running Linux instance, then save, \
4filter and analyze." 4filter and analyze."
5HOMEPAGE = "http://www.sysdig.org/" 5HOMEPAGE = "http://www.sysdig.org/"
6LICENSE = "GPLv2" 6LICENSE = "Apache-2.0 & (MIT | GPL-2.0)"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 7LIC_FILES_CHKSUM = "file://COPYING;md5=f8fee3d59797546cffab04f3b88b2d44"
8 8
9inherit cmake pkgconfig 9inherit cmake pkgconfig
10 10
11OECMAKE_GENERATOR = "Unix Makefiles" 11#OECMAKE_GENERATOR = "Unix Makefiles"
12JIT ?= "jit"
13JIT_mipsarchn32 = ""
14JIT_mipsarchn64 = ""
15JIT_aarch64 = ""
12 16
13DEPENDS = "luajit zlib ncurses" 17DEPENDS += "lua${JIT} zlib c-ares grpc-native grpc curl ncurses jsoncpp tbb jq openssl elfutils protobuf protobuf-native jq-native"
14RDEPENDS_${PN} = "bash" 18RDEPENDS_${PN} = "bash"
15 19
16SRC_URI = "git://github.com/draios/sysdig.git;branch=master \ 20SRC_URI = "git://github.com/draios/sysdig.git;branch=dev \
17 file://0001-libsinsp-Port-to-build-with-lua-5.2.patch \ 21 file://0001-fix-build-with-LuaJIT-2.1-betas.patch \
18 file://0001-Fix-build-with-musl-backtrace-APIs-are-glibc-specifi.patch \ 22 file://0001-Fix-build-with-musl-backtrace-APIs-are-glibc-specifi.patch \
23 file://fix-uint64-const.patch \
19 " 24 "
20SRCREV = "85d16f33a82a17f87ccdbc088749271c71d87013" 25# v0.26.4
21PV = "0.1.102+git${SRCPV}" 26SRCREV = "9fa0d129668fdabf256446be4be35838888052d9"
27PV = "0.26.5"
22 28
23S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"
24 30
25DIR_ETC="/etc" 31EXTRA_OECMAKE = "\
26EXTRA_OECMAKE = ' -DUSE_BUNDLED_LUAJIT="OFF" \ 32 -DBUILD_DRIVER=OFF \
27 -DUSE_BUNDLED_ZLIB="OFF" \ 33 -DUSE_BUNDLED_DEPS=OFF \
28 -DBUILD_DRIVER="OFF" \ 34 -DUSE_BUNDLED_B64=ON \
29 -DUSE_BUNDLED_NCURSES="OFF" \ 35 -DCREATE_TEST_TARGETS=OFF \
30 -DDIR_ETC="${DIR_ETC}" \ 36 -DDIR_ETC=${sysconfdir} \
31 ' 37 -DLUA_INCLUDE_DIR=${STAGING_INCDIR}/luajit-2.1 \
38 -DLUA_LIBRARY=libluajit-5.1.so \
39"
32 40
33FILES_${PN} += " \ 41FILES_${PN} += " \
34 ${DIR_ETC}/* \ 42 ${DIR_ETC}/* \
35 ${datadir}/zsh/* \ 43 ${datadir}/zsh/* \
36 ${prefix}/src/* \ 44 ${prefix}/src/* \
37" 45"
38 46# Use getaddrinfo_a is a GNU extension in libsinsp
39# luajit not supported on Aarch64 47# It should be fixed in sysdig, until then disable
40COMPATIBLE_HOST = "^(?!aarch64).*" 48# on musl
41 49# Something like this https://code.videolan.org/ePirat/vlc/-/commit/01fd9fe4c7f6c5558f7345f38abf0152e17853ab is needed to fix it
50COMPATIBLE_HOST_libc-musl = "null"
51COMPATIBLE_HOST_mips = "null"