1config BR2_PACKAGE_SYSDIG
2	bool "sysdig"
3	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # falcosecurity-libs
4	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # falcosecurity-libs
5	depends on BR2_LINUX_KERNEL # falcosecurity-libs
6	depends on BR2_INSTALL_LIBSTDCPP
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # falcosecurity-libs -> grpc -> libabseil-cpp
8	depends on BR2_TOOLCHAIN_HAS_THREADS # falcosecurity-libs
9	depends on !BR2_STATIC_LIBS # falcosecurity-libs
10	depends on BR2_TOOLCHAIN_USES_GLIBC # falcosecurity-libs
11	depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # falcosecurity-libs
12	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC # falcosecurity-libs
13	select BR2_PACKAGE_FALCOSECURITY_LIBS
14	select BR2_PACKAGE_NCURSES
15	select BR2_PACKAGE_JSON_FOR_MODERN_CPP
16	select BR2_PACKAGE_YAML_CPP
17	help
18	  Sysdig is open source, system-level exploration:
19	  capture system state and activity from a running Linux
20	  instance, then save, filter and analyze.
21	  Think of it as strace + tcpdump + lsof + awesome sauce.
22	  With a little Lua cherry on top.
23
24	  https://github.com/draios/sysdig/wiki
25
26comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built"
27	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
28	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
29	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
30	depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \
31		|| !BR2_TOOLCHAIN_HAS_THREADS \
32		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS \
33		|| !BR2_TOOLCHAIN_USES_GLIBC \
34		|| !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
35