Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Francis Laniel <flaniel@linux.microsoft.com>
To: buildroot@buildroot.org
Cc: Francis Laniel <flaniel@linux.microsoft.com>
Subject: [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package.
Date: Mon, 17 Jun 2024 16:10:19 +0100	[thread overview]
Message-ID: <20240617151020.31120-4-flaniel@linux.microsoft.com> (raw)
In-Reply-To: <20240617151020.31120-1-flaniel@linux.microsoft.com>

Building sysdig within buildroot is a complicated task which
has changed at each of their release.
As the package seems to not be really used in buildroot, it
seems wise to remove it.

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
---
 DEVELOPERS                 |  2 --
 package/Config.in          |  1 -
 package/sysdig/Config.in   | 34 ----------------------------------
 package/sysdig/sysdig.hash |  3 ---
 package/sysdig/sysdig.mk   | 38 --------------------------------------
 5 files changed, 78 deletions(-)
 delete mode 100644 package/sysdig/Config.in
 delete mode 100644 package/sysdig/sysdig.hash
 delete mode 100644 package/sysdig/sysdig.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 8bfd36f1d8..5bddb0303b 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -225,7 +225,6 @@ F:	package/rtl8723ds-bt/
 F:	package/sam-ba/
 F:	package/sshguard/
 F:	package/sunwait/
-F:	package/sysdig/
 
 N:	Andy Shevchenko <andy.shevchenko@gmail.com>
 F:	package/fb-test-app/
@@ -1105,7 +1104,6 @@ F:	package/odhcploc/
 N:	Francis Laniel <flaniel@linux.microsoft.com>
 F:	package/falcosecurity-libs
 F:	package/pahole/
-F:	package/sysdig/
 F:	package/tbb/
 
 N:	Francisco Gonzalez <gzmorell@gmail.com>
diff --git a/package/Config.in b/package/Config.in
index 550fdc1f41..1d0fab2695 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -153,7 +153,6 @@ menu "Debugging, profiling and benchmark"
 	source "package/strace/Config.in"
 	source "package/stress/Config.in"
 	source "package/stress-ng/Config.in"
-	source "package/sysdig/Config.in"
 	source "package/sysprof/Config.in"
 	source "package/tbtools/Config.in"
 	source "package/tcf-agent/Config.in"
diff --git a/package/sysdig/Config.in b/package/sysdig/Config.in
deleted file mode 100644
index 3a3670f5cb..0000000000
--- a/package/sysdig/Config.in
+++ /dev/null
@@ -1,34 +0,0 @@
-config BR2_PACKAGE_SYSDIG
-	bool "sysdig"
-	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # falcosecurity-libs
-	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # falcosecurity-libs
-	depends on BR2_LINUX_KERNEL # falcosecurity-libs
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # falcosecurity-libs -> grpc -> libabseil-cpp
-	depends on BR2_TOOLCHAIN_HAS_THREADS # falcosecurity-libs
-	depends on !BR2_STATIC_LIBS # falcosecurity-libs
-	depends on BR2_TOOLCHAIN_USES_GLIBC # falcosecurity-libs
-	depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 # falcosecurity-libs
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC # falcosecurity-libs
-	select BR2_PACKAGE_FALCOSECURITY_LIBS
-	select BR2_PACKAGE_NCURSES
-	select BR2_PACKAGE_JSON_FOR_MODERN_CPP
-	select BR2_PACKAGE_YAML_CPP
-	help
-	  Sysdig is open source, system-level exploration:
-	  capture system state and activity from a running Linux
-	  instance, then save, filter and analyze.
-	  Think of it as strace + tcpdump + lsof + awesome sauce.
-	  With a little Lua cherry on top.
-
-	  https://github.com/draios/sysdig/wiki
-
-comment "sysdig needs a glibc toolchain w/ C++, threads, gcc >= 8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built"
-	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
-	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
-	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
-	depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \
-		|| !BR2_TOOLCHAIN_HAS_THREADS \
-		|| !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS \
-		|| !BR2_TOOLCHAIN_USES_GLIBC \
-		|| !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
diff --git a/package/sysdig/sysdig.hash b/package/sysdig/sysdig.hash
deleted file mode 100644
index cda3de5e7c..0000000000
--- a/package/sysdig/sysdig.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# sha256 locally computed
-sha256  6b96797859002ab69a2bed4fdba1c7fe8064ecf8661621ae7d8fbf8599ffa636  sysdig-0.29.3.tar.gz
-sha256  a88fbf820b38b1c7fabc6efe291b8259e02ae21326f56fe31c6c9adf374b2702  COPYING
diff --git a/package/sysdig/sysdig.mk b/package/sysdig/sysdig.mk
deleted file mode 100644
index bafe534a16..0000000000
--- a/package/sysdig/sysdig.mk
+++ /dev/null
@@ -1,38 +0,0 @@
-################################################################################
-#
-# sysdig
-#
-################################################################################
-
-SYSDIG_VERSION = 0.29.3
-SYSDIG_SITE = $(call github,draios,sysdig,$(SYSDIG_VERSION))
-SYSDIG_LICENSE = Apache-2.0
-SYSDIG_LICENSE_FILES = COPYING
-SYSDIG_CPE_ID_VENDOR = sysdig
-SYSDIG_CONF_OPTS = \
-	-DENABLE_DKMS=OFF \
-	-DUSE_BUNDLED_DEPS=OFF \
-	-DCREATE_TEST_TARGETS=OFF
-SYSDIG_SUPPORTS_IN_SOURCE_BUILD = NO
-
-SYSDIG_DEPENDENCIES = \
-	falcosecurity-libs \
-	ncurses \
-	json-for-modern-cpp \
-	yaml-cpp
-
-# Don't build the driver as part of the 'standard' procedure, it has been built
-# by falcosecurity-libs.mk.
-# grpc_cpp_plugin is needed to build falcosecurity libs, so we give the host
-# one there.
-SYSDIG_CONF_OPTS += -DFALCOSECURITY_LIBS_SOURCE_DIR=$(FALCOSECURITY_LIBS_SRCDIR) \
-	-DBUILD_DRIVER=OFF \
-	-DGRPC_CPP_PLUGIN=$(HOST_DIR)/bin/grpc_cpp_plugin \
-	-DDRIVER_NAME=$(FALCOSECURITY_LIBS_DRIVER_NAME) \
-	-DENABLE_DKMS=OFF \
-	-DUSE_BUNDLED_DEPS=OFF \
-	-DWITH_CHISEL=ON \
-	-DVALIJSON_INCLUDE=$(BUILD_DIR)/valijson-0.6/include/valijson \
-	-DSYSDIG_VERSION=$(SYSDIG_VERSION)
-
-$(eval $(cmake-package))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-06-17 15:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-17 15:10 [Buildroot] [RFC PATCH v1 0/4] Bump pahole and tbb and remove sysdig Francis Laniel
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 1/4] package/pahole: bump to version 1.27 Francis Laniel
2024-07-11 17:58   ` Thomas Petazzoni via buildroot
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 2/4] package/tbb: bump to version 2021.12.0 Francis Laniel
2024-07-11 17:58   ` Thomas Petazzoni via buildroot
2024-06-17 15:10 ` Francis Laniel [this message]
2024-07-11 18:00   ` [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package Thomas Petazzoni via buildroot
2024-07-11 18:08     ` Angelo Compagnucci
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 4/4] package/falcosecurity-libs: " Francis Laniel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240617151020.31120-4-flaniel@linux.microsoft.com \
    --to=flaniel@linux.microsoft.com \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox