Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "A New System Troubleshooting Tool Built for the Way You Work" |
| 2 | DESCRIPTION = "Sysdig is open source, system-level exploration: capture \ |
| 3 | system state and activity from a running Linux instance, then save, \ |
| 4 | filter and analyze." |
| 5 | HOMEPAGE = "http://www.sysdig.org/" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | LICENSE = "Apache-2.0 & (MIT | GPL-2.0)" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=f8fee3d59797546cffab04f3b88b2d44" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 8 | |
| 9 | inherit cmake pkgconfig |
| 10 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 11 | #OECMAKE_GENERATOR = "Unix Makefiles" |
| 12 | JIT ?= "jit" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 13 | JIT:mipsarchn32 = "" |
| 14 | JIT:mipsarchn64 = "" |
| 15 | JIT:riscv64 = "" |
| 16 | JIT:riscv32 = "" |
| 17 | JIT:powerpc = "" |
| 18 | JIT:powerpc64le = "" |
| 19 | JIT:powerpc64 = "" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 20 | |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 21 | DEPENDS += "libb64 lua${JIT} zlib c-ares grpc-native grpc curl ncurses jsoncpp tbb jq openssl elfutils protobuf protobuf-native jq-native" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | RDEPENDS:${PN} = "bash" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 24 | SRC_URI = "git://github.com/draios/sysdig.git;branch=dev;protocol=https \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 25 | file://0001-fix-build-with-LuaJIT-2.1-betas.patch \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 26 | file://aarch64.patch \ |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 27 | file://0001-libsinsp-Fix-a-lot-of-Werror-format-security-errors-.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 28 | " |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame] | 29 | SRCREV = "67833b2aca06bd9d11cff7cb29f04fbf4ef96cad" |
| 30 | PV = "0.27.1" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 31 | |
| 32 | S = "${WORKDIR}/git" |
| 33 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 34 | EXTRA_OECMAKE = "\ |
| 35 | -DBUILD_DRIVER=OFF \ |
| 36 | -DUSE_BUNDLED_DEPS=OFF \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 37 | -DCREATE_TEST_TARGETS=OFF \ |
| 38 | -DDIR_ETC=${sysconfdir} \ |
| 39 | -DLUA_INCLUDE_DIR=${STAGING_INCDIR}/luajit-2.1 \ |
| 40 | -DLUA_LIBRARY=libluajit-5.1.so \ |
| 41 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 42 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 43 | FILES:${PN} += " \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 44 | ${DIR_ETC}/* \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 45 | ${datadir}/zsh/* \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 46 | ${prefix}/src/* \ |
| 47 | " |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 48 | # Use getaddrinfo_a is a GNU extension in libsinsp |
| 49 | # It should be fixed in sysdig, until then disable |
| 50 | # on musl |
| 51 | # Something like this https://code.videolan.org/ePirat/vlc/-/commit/01fd9fe4c7f6c5558f7345f38abf0152e17853ab is needed to fix it |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 52 | COMPATIBLE_HOST:libc-musl = "null" |
| 53 | COMPATIBLE_HOST:mips = "null" |
| 54 | COMPATIBLE_HOST:riscv64 = "null" |
| 55 | COMPATIBLE_HOST:riscv32 = "null" |
| 56 | COMPATIBLE_HOST:powerpc = "null" |