blob: a626e3b2070508b0d8e53e889974b9b935cdfc0f [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 = ""
Andrew Geissler69721092021-07-23 12:57:00 -040018JIT_powerpc64le = ""
19JIT_powerpc64 = ""
Brad Bishop316dfdd2018-06-25 12:45:53 -040020
Andrew Geissler32b11992021-03-31 13:37:05 -050021DEPENDS += "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 -050022RDEPENDS_${PN} = "bash"
23
Andrew Geissler82c905d2020-04-13 13:39:40 -050024SRC_URI = "git://github.com/draios/sysdig.git;branch=dev \
25 file://0001-fix-build-with-LuaJIT-2.1-betas.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050026 file://aarch64.patch \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027 "
Andrew Geissler32b11992021-03-31 13:37:05 -050028SRCREV = "67833b2aca06bd9d11cff7cb29f04fbf4ef96cad"
29PV = "0.27.1"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050030
31S = "${WORKDIR}/git"
32
Andrew Geissler82c905d2020-04-13 13:39:40 -050033EXTRA_OECMAKE = "\
34 -DBUILD_DRIVER=OFF \
35 -DUSE_BUNDLED_DEPS=OFF \
Andrew Geissler82c905d2020-04-13 13:39:40 -050036 -DCREATE_TEST_TARGETS=OFF \
37 -DDIR_ETC=${sysconfdir} \
38 -DLUA_INCLUDE_DIR=${STAGING_INCDIR}/luajit-2.1 \
39 -DLUA_LIBRARY=libluajit-5.1.so \
40"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050041
42FILES_${PN} += " \
43 ${DIR_ETC}/* \
Patrick Williamsddad1a12017-02-23 20:36:32 -060044 ${datadir}/zsh/* \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050045 ${prefix}/src/* \
46"
Andrew Geissler82c905d2020-04-13 13:39:40 -050047# Use getaddrinfo_a is a GNU extension in libsinsp
48# It should be fixed in sysdig, until then disable
49# on musl
50# Something like this https://code.videolan.org/ePirat/vlc/-/commit/01fd9fe4c7f6c5558f7345f38abf0152e17853ab is needed to fix it
51COMPATIBLE_HOST_libc-musl = "null"
52COMPATIBLE_HOST_mips = "null"
53COMPATIBLE_HOST_riscv64 = "null"
54COMPATIBLE_HOST_riscv32 = "null"
William A. Kennington IIIb95905d2021-06-02 12:40:56 -070055COMPATIBLE_HOST_powerpc = "null"