diff options
Diffstat (limited to 'meta-oe/recipes-extended/sysdig/sysdig_git.bb')
| -rw-r--r-- | meta-oe/recipes-extended/sysdig/sysdig_git.bb | 48 |
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 \ | |||
| 3 | system state and activity from a running Linux instance, then save, \ | 3 | system state and activity from a running Linux instance, then save, \ |
| 4 | filter and analyze." | 4 | filter and analyze." |
| 5 | HOMEPAGE = "http://www.sysdig.org/" | 5 | HOMEPAGE = "http://www.sysdig.org/" |
| 6 | LICENSE = "GPLv2" | 6 | LICENSE = "Apache-2.0 & (MIT | GPL-2.0)" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=f8fee3d59797546cffab04f3b88b2d44" |
| 8 | 8 | ||
| 9 | inherit cmake pkgconfig | 9 | inherit cmake pkgconfig |
| 10 | 10 | ||
| 11 | OECMAKE_GENERATOR = "Unix Makefiles" | 11 | #OECMAKE_GENERATOR = "Unix Makefiles" |
| 12 | JIT ?= "jit" | ||
| 13 | JIT_mipsarchn32 = "" | ||
| 14 | JIT_mipsarchn64 = "" | ||
| 15 | JIT_aarch64 = "" | ||
| 12 | 16 | ||
| 13 | DEPENDS = "luajit zlib ncurses" | 17 | DEPENDS += "lua${JIT} zlib c-ares grpc-native grpc curl ncurses jsoncpp tbb jq openssl elfutils protobuf protobuf-native jq-native" |
| 14 | RDEPENDS_${PN} = "bash" | 18 | RDEPENDS_${PN} = "bash" |
| 15 | 19 | ||
| 16 | SRC_URI = "git://github.com/draios/sysdig.git;branch=master \ | 20 | SRC_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 | " |
| 20 | SRCREV = "85d16f33a82a17f87ccdbc088749271c71d87013" | 25 | # v0.26.4 |
| 21 | PV = "0.1.102+git${SRCPV}" | 26 | SRCREV = "9fa0d129668fdabf256446be4be35838888052d9" |
| 27 | PV = "0.26.5" | ||
| 22 | 28 | ||
| 23 | S = "${WORKDIR}/git" | 29 | S = "${WORKDIR}/git" |
| 24 | 30 | ||
| 25 | DIR_ETC="/etc" | 31 | EXTRA_OECMAKE = "\ |
| 26 | EXTRA_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 | ||
| 33 | FILES_${PN} += " \ | 41 | FILES_${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 |
| 40 | COMPATIBLE_HOST = "^(?!aarch64).*" | 48 | # on musl |
| 41 | 49 | # Something like this https://code.videolan.org/ePirat/vlc/-/commit/01fd9fe4c7f6c5558f7345f38abf0152e17853ab is needed to fix it | |
| 50 | COMPATIBLE_HOST_libc-musl = "null" | ||
| 51 | COMPATIBLE_HOST_mips = "null" | ||
