blob: f1b77070c17038ec6835da6ddc23fa06a2bdc24c [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "A New System Troubleshooting Tool Built for the Way You Work"
2DESCRIPTION = "Sysdig is open source, system-level exploration: capture \
3system state and activity from a running Linux instance, then save, \
4filter and analyze."
5HOMEPAGE = "http://www.sysdig.org/"
Andrew Geissler82c905d2020-04-13 13:39:40 -05006LICENSE = "Apache-2.0 & (MIT | GPL-2.0)"
7LIC_FILES_CHKSUM = "file://COPYING;md5=f8fee3d59797546cffab04f3b88b2d44"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05008
9inherit cmake pkgconfig
10
Andrew Geissler82c905d2020-04-13 13:39:40 -050011#OECMAKE_GENERATOR = "Unix Makefiles"
12JIT ?= "jit"
13JIT_mipsarchn32 = ""
14JIT_mipsarchn64 = ""
15JIT_riscv64 = ""
16JIT_riscv32 = ""
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070017JIT_powerpc = ""
Brad Bishop316dfdd2018-06-25 12:45:53 -040018
Andrew Geissler32b11992021-03-31 13:37:05 -050019DEPENDS += "libb64 lua${JIT} zlib c-ares grpc-native grpc curl ncurses jsoncpp tbb jq openssl elfutils protobuf protobuf-native jq-native"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020RDEPENDS_${PN} = "bash"
21
Andrew Geissler82c905d2020-04-13 13:39:40 -050022SRC_URI = "git://github.com/draios/sysdig.git;branch=dev \
23 file://0001-fix-build-with-LuaJIT-2.1-betas.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050024 file://aarch64.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050025 "
Andrew Geissler32b11992021-03-31 13:37:05 -050026SRCREV = "67833b2aca06bd9d11cff7cb29f04fbf4ef96cad"
27PV = "0.27.1"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050028
29S = "${WORKDIR}/git"
30
Andrew Geissler82c905d2020-04-13 13:39:40 -050031EXTRA_OECMAKE = "\
32 -DBUILD_DRIVER=OFF \
33 -DUSE_BUNDLED_DEPS=OFF \
Andrew Geissler82c905d2020-04-13 13:39:40 -050034 -DCREATE_TEST_TARGETS=OFF \
35 -DDIR_ETC=${sysconfdir} \
36 -DLUA_INCLUDE_DIR=${STAGING_INCDIR}/luajit-2.1 \
37 -DLUA_LIBRARY=libluajit-5.1.so \
38"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050039
40FILES_${PN} += " \
41 ${DIR_ETC}/* \
Patrick Williamsddad1a12017-02-23 20:36:32 -060042 ${datadir}/zsh/* \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050043 ${prefix}/src/* \
44"
Andrew Geissler82c905d2020-04-13 13:39:40 -050045# Use getaddrinfo_a is a GNU extension in libsinsp
46# It should be fixed in sysdig, until then disable
47# on musl
48# Something like this https://code.videolan.org/ePirat/vlc/-/commit/01fd9fe4c7f6c5558f7345f38abf0152e17853ab is needed to fix it
49COMPATIBLE_HOST_libc-musl = "null"
50COMPATIBLE_HOST_mips = "null"
51COMPATIBLE_HOST_riscv64 = "null"
52COMPATIBLE_HOST_riscv32 = "null"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070053COMPATIBLE_HOST_powerpc = "null"