* [Buildroot] [RFC PATCH v1 0/4] Bump pahole and tbb and remove sysdig
@ 2024-06-17 15:10 Francis Laniel
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 1/4] package/pahole: bump to version 1.27 Francis Laniel
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Francis Laniel @ 2024-06-17 15:10 UTC (permalink / raw)
To: buildroot; +Cc: Francis Laniel
Hi,
With this contribution, I am bumping pahole and tbb to the latest
available versions.
Also, I am removing package related to sysdig: falcosecurity-libs
and sysdig itself.
On this point, I would like to have your opinion, hence the RFC
label.
Maintaining sysdig has been complicated as this software changes
really fast which has impact on the way to build it.
Sadly, I cannot cope with this changes as fast as they arrive to
be able to maintain it in buildroot.
So, rather than having a very outdated package, I think this is
better to remove it.
Francis Laniel (4):
package/pahole: bump to version 1.27
package/tbb: bump to version 2021.12.0.
package/sysdig: remove package.
package/falcosecurity-libs: remove package.
DEVELOPERS | 3 -
package/Config.in | 2 -
...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 --------
package/falcosecurity-libs/Config.in | 32 --------
.../falcosecurity-libs.hash | 5 --
.../falcosecurity-libs/falcosecurity-libs.mk | 82 -------------------
package/pahole/pahole.hash | 2 +-
package/pahole/pahole.mk | 2 +-
package/sysdig/Config.in | 34 --------
package/sysdig/sysdig.hash | 3 -
package/sysdig/sysdig.mk | 38 ---------
package/tbb/tbb.hash | 2 +-
package/tbb/tbb.mk | 2 +-
13 files changed, 4 insertions(+), 237 deletions(-)
delete mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch
delete mode 100644 package/falcosecurity-libs/Config.in
delete mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash
delete mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk
delete mode 100644 package/sysdig/Config.in
delete mode 100644 package/sysdig/sysdig.hash
delete mode 100644 package/sysdig/sysdig.mk
Best regards.
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Buildroot] [RFC PATCH v1 1/4] package/pahole: bump to version 1.27
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 ` 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
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Francis Laniel @ 2024-06-17 15:10 UTC (permalink / raw)
To: buildroot; +Cc: Francis Laniel
https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/NEWS?h=v1.27
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
---
package/pahole/pahole.hash | 2 +-
package/pahole/pahole.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/pahole/pahole.hash b/package/pahole/pahole.hash
index 9dc676d9f4..a2d3d044da 100644
--- a/package/pahole/pahole.hash
+++ b/package/pahole/pahole.hash
@@ -1,3 +1,3 @@
# Locally computed
-sha256 db31d13c3dad8d9f4e38296bd35c4586e98b9c950e07dabba212985e6d051631 pahole-1.25.tar.gz
+sha256 87223298d4f8f9ada9b3cc5cef1bedd7aeb447cd8295abc466e009a26accff13 pahole-1.27.tar.gz
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk
index 1a3e156ebb..ffbe4ff925 100644
--- a/package/pahole/pahole.mk
+++ b/package/pahole/pahole.mk
@@ -4,7 +4,7 @@
#
################################################################################
-PAHOLE_VERSION = 1.25
+PAHOLE_VERSION = 1.27
PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot
HOST_PAHOLE_DEPENDENCIES = \
host-elfutils \
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [RFC PATCH v1 2/4] package/tbb: bump to version 2021.12.0.
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-06-17 15:10 ` Francis Laniel
2024-07-11 17:58 ` Thomas Petazzoni via buildroot
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package Francis Laniel
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 4/4] package/falcosecurity-libs: " Francis Laniel
3 siblings, 1 reply; 9+ messages in thread
From: Francis Laniel @ 2024-06-17 15:10 UTC (permalink / raw)
To: buildroot; +Cc: Francis Laniel
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
---
package/tbb/tbb.hash | 2 +-
package/tbb/tbb.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/tbb/tbb.hash b/package/tbb/tbb.hash
index 4d2cb10da8..14c86068ee 100644
--- a/package/tbb/tbb.hash
+++ b/package/tbb/tbb.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 782ce0cab62df9ea125cdea253a50534862b563f1d85d4cda7ad4e77550ac363 tbb-2021.11.0.tar.gz
+sha256 c7bb7aa69c254d91b8f0041a71c5bcc3936acb64408a1719aec0b2b7639dd84f tbb-2021.12.0.tar.gz
sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt
diff --git a/package/tbb/tbb.mk b/package/tbb/tbb.mk
index 1b0afbb889..40fcb66d38 100644
--- a/package/tbb/tbb.mk
+++ b/package/tbb/tbb.mk
@@ -4,7 +4,7 @@
#
################################################################################
-TBB_VERSION = 2021.11.0
+TBB_VERSION = 2021.12.0
TBB_SITE = $(call github,01org,tbb,v$(TBB_VERSION))
TBB_INSTALL_STAGING = YES
TBB_LICENSE = Apache-2.0
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package.
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-06-17 15:10 ` [Buildroot] [RFC PATCH v1 2/4] package/tbb: bump to version 2021.12.0 Francis Laniel
@ 2024-06-17 15:10 ` Francis Laniel
2024-07-11 18:00 ` Thomas Petazzoni via buildroot
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 4/4] package/falcosecurity-libs: " Francis Laniel
3 siblings, 1 reply; 9+ messages in thread
From: Francis Laniel @ 2024-06-17 15:10 UTC (permalink / raw)
To: buildroot; +Cc: Francis Laniel
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
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [Buildroot] [RFC PATCH v1 4/4] package/falcosecurity-libs: remove package.
2024-06-17 15:10 [Buildroot] [RFC PATCH v1 0/4] Bump pahole and tbb and remove sysdig Francis Laniel
` (2 preceding siblings ...)
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package Francis Laniel
@ 2024-06-17 15:10 ` Francis Laniel
3 siblings, 0 replies; 9+ messages in thread
From: Francis Laniel @ 2024-06-17 15:10 UTC (permalink / raw)
To: buildroot; +Cc: Francis Laniel
Like sysdig, building this library in buildroot is complicated.
Moreover, the build process has shown to change at each release
of the upstream project which complexifies maintainability.
Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
---
DEVELOPERS | 1 -
package/Config.in | 1 -
...cmake-Permit-setting-GRPC_CPP_PLUGIN.patch | 34 --------
package/falcosecurity-libs/Config.in | 32 --------
.../falcosecurity-libs.hash | 5 --
.../falcosecurity-libs/falcosecurity-libs.mk | 82 -------------------
6 files changed, 155 deletions(-)
delete mode 100644 package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch
delete mode 100644 package/falcosecurity-libs/Config.in
delete mode 100644 package/falcosecurity-libs/falcosecurity-libs.hash
delete mode 100644 package/falcosecurity-libs/falcosecurity-libs.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 5bddb0303b..d4de5fc920 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1102,7 +1102,6 @@ F: package/ipmitool/
F: package/odhcploc/
N: Francis Laniel <flaniel@linux.microsoft.com>
-F: package/falcosecurity-libs
F: package/pahole/
F: package/tbb/
diff --git a/package/Config.in b/package/Config.in
index 1d0fab2695..17dce7a836 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -2122,7 +2122,6 @@ menu "Other"
source "package/eigen/Config.in"
source "package/elfutils/Config.in"
source "package/ell/Config.in"
- source "package/falcosecurity-libs/Config.in"
source "package/fftw/Config.in"
source "package/flann/Config.in"
source "package/flatbuffers/Config.in"
diff --git a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch b/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch
deleted file mode 100644
index 6141d8ef72..0000000000
--- a/package/falcosecurity-libs/0001-cmake-Permit-setting-GRPC_CPP_PLUGIN.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 2e8a50cd4975df3ab60ee07c9675831cd5ad397f Mon Sep 17 00:00:00 2001
-From: Francis Laniel <flaniel@linux.microsoft.com>
-Date: Tue, 12 Apr 2022 19:54:11 +0100
-Subject: [PATCH] cmake: Permit setting GRPC_CPP_PLUGIN.
-
-This patch enables users to set GRPC_CPP_PLUGIN while calling cmake with:
-cmake -DGRPC_CPP_PLUGIN=/path
-
-Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
----
- cmake/modules/grpc.cmake | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/cmake/modules/grpc.cmake b/cmake/modules/grpc.cmake
-index e5fd16b8..9d8f5934 100644
---- a/cmake/modules/grpc.cmake
-+++ b/cmake/modules/grpc.cmake
-@@ -12,9 +12,11 @@ elseif(NOT USE_BUNDLED_GRPC)
- set(GRPCPP_LIB gRPC::grpc++)
-
- # gRPC C++ plugin
-- get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION)
- if(NOT GRPC_CPP_PLUGIN)
-- message(FATAL_ERROR "System grpc_cpp_plugin not found")
-+ get_target_property(GRPC_CPP_PLUGIN gRPC::grpc_cpp_plugin LOCATION)
-+ if(NOT GRPC_CPP_PLUGIN)
-+ message(FATAL_ERROR "System grpc_cpp_plugin not found")
-+ endif()
- endif()
-
- # gRPC include dir + properly handle grpc{++,pp}
---
-2.25.1
-
diff --git a/package/falcosecurity-libs/Config.in b/package/falcosecurity-libs/Config.in
deleted file mode 100644
index 028a0ed28b..0000000000
--- a/package/falcosecurity-libs/Config.in
+++ /dev/null
@@ -1,32 +0,0 @@
-config BR2_PACKAGE_FALCOSECURITY_LIBS
- bool
- depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # grpc
- depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
- depends on BR2_LINUX_KERNEL
- depends on BR2_INSTALL_LIBSTDCPP # jsoncpp, protobuf, tbb
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # grpc -> libabseil-cpp
- depends on BR2_TOOLCHAIN_HAS_THREADS # jq, protobuf, tbb
- depends on !BR2_STATIC_LIBS # protobuf, tbb
- depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC # grpc
- depends on BR2_TOOLCHAIN_USES_GLIBC # tbb
- depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1
- select BR2_PACKAGE_C_ARES
- select BR2_PACKAGE_ELFUTILS
- select BR2_PACKAGE_GRPC
- select BR2_PACKAGE_GTEST
- select BR2_PACKAGE_HOST_GRPC
- select BR2_PACKAGE_HOST_PROTOBUF
- select BR2_PACKAGE_JQ
- select BR2_PACKAGE_JSONCPP
- select BR2_PACKAGE_LIBB64
- select BR2_PACKAGE_LIBCURL
- select BR2_PACKAGE_OPENSSL
- select BR2_PACKAGE_PROTOBUF
- select BR2_PACKAGE_TBB
- select BR2_PACKAGE_VALIJSON
- select BR2_PACKAGE_ZLIB
- help
- falcosecurity/libs provides libsinsp, libscap, the kernel
- module driver and the eBPF driver sources.
-
- https://github.com/falcosecurity/libs
diff --git a/package/falcosecurity-libs/falcosecurity-libs.hash b/package/falcosecurity-libs/falcosecurity-libs.hash
deleted file mode 100644
index 2e239ca2fe..0000000000
--- a/package/falcosecurity-libs/falcosecurity-libs.hash
+++ /dev/null
@@ -1,5 +0,0 @@
-# sha256 locally computed
-sha256 80903bc57b7f9c5f24298ecf1531cf66ef571681b4bd1e05f6e4db704ffb380b falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz
-sha256 21ec9433a87459b3477faf542bacec419dc03af841309eac35edeffe481cf10b COPYING
-sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 driver/GPL2.txt
-sha256 f17d3f2c2d565a74a7d5bf96f880c43701e141897e8dff0c8aa13e5d07aaf226 driver/MIT.txt
diff --git a/package/falcosecurity-libs/falcosecurity-libs.mk b/package/falcosecurity-libs/falcosecurity-libs.mk
deleted file mode 100644
index 4245f9581a..0000000000
--- a/package/falcosecurity-libs/falcosecurity-libs.mk
+++ /dev/null
@@ -1,82 +0,0 @@
-################################################################################
-#
-# falcosecurity-libs
-#
-################################################################################
-
-FALCOSECURITY_LIBS_VERSION = e5c53d648f3c4694385bbe488e7d47eaa36c229a
-FALCOSECURITY_LIBS_SITE = $(call github,falcosecurity,libs,$(FALCOSECURITY_LIBS_VERSION))
-FALCOSECURITY_LIBS_LICENSE = Apache-2.0 (userspace), MIT or GPL-2.0 (driver)
-FALCOSECURITY_LIBS_LICENSE_FILES = COPYING driver/MIT.txt driver/GPL2.txt
-
-FALCOSECURITY_LIBS_DEPENDENCIES = \
- c-ares \
- elfutils \
- grpc \
- gtest \
- host-grpc \
- host-protobuf \
- jq \
- jsoncpp \
- libb64 \
- libcurl \
- luainterpreter \
- openssl \
- protobuf \
- tbb \
- valijson \
- zlib
-
-FALCOSECURITY_LIBS_DRIVER_NAME = scap
-FALCOSECURITY_LIBS_MODULE_SUBDIRS = driver
-FALCOSECURITY_LIBS_MODULE_MAKE_OPTS = KERNELDIR=$(LINUX_DIR)
-
-# falcosecurity-libs module needs these two kernel options to be set:
-# CONFIG_TRACEPOINTS
-# CONFIG_HAVE_SYSCALL_TRACEPOINTS
-# https://github.com/draios/sysdig/wiki/How-to-Install-Sysdig-from-the-Source-Code#linux-and-osx
-# CONFIG_FTRACE and CONFIG_SCHED_TRACER selects CONFIG_GENERIC_TRACER which in
-# turns select CONFIG_TRACING which in turns select CONFIG_TRACEPOINTS
-define FALCOSECURITY_LIBS_LINUX_CONFIG_FIXUPS
- $(call KCONFIG_ENABLE_OPT,CONFIG_FTRACE)
- $(call KCONFIG_ENABLE_OPT,CONFIG_SCHED_TRACER)
- $(call KCONFIG_ENABLE_OPT,CONFIG_HAVE_SYSCALL_TRACEPOINTS)
-endef
-
-# falcosecurity-libs creates the module Makefile from a template, which contains
-# a single place-holder, KBUILD_FLAGS, wich is only replaced with debug flags,
-# which we don't care about here.
-# So, just replace the place-holder with the only meaningful value: nothing.
-# For the DRIVER_NAME, we set it to FALCOSECURITY_LIBS_DRIVER_NAME.
-# So, when sysdig will be run, it will automatically load
-# FALCOSECURITY_LIBS_DRIVER_NAME.ko.
-# We also need to do the same process for driver_config.h.in.
-# PPM_API_CURRENT_VERSION_* were take from driver/API_VERSION and
-# PPM_SCHEMA_CURRENT_VERSION_* from driver/SCHEMA_VERSION.
-# For the others, it was taken by inspecting
-# falcosecurity-libs/*/CMakeLists.txt, which normally creates these
-# files, but doesn't work well with the kernel-module infrastructure.
-define FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE
- $(INSTALL) -m 0644 $(@D)/driver/Makefile.in $(@D)/driver/Makefile
- $(SED) 's/@KBUILD_FLAGS@//;' $(@D)/driver/Makefile
- $(SED) 's/@DRIVER_NAME@/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/Makefile
-
- $(INSTALL) -m 0644 $(@D)/driver/driver_config.h.in $(@D)/driver/driver_config.h
- $(SED) 's/\$${PPM_API_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${PPM_API_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${PPM_API_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MAJOR}/1/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_MINOR}/0/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${PPM_SCHEMA_CURRENT_VERSION_PATCH}/0/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${DRIVER_VERSION}//;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${DRIVER_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${DRIVER_DEVICE_NAME}/$(FALCOSECURITY_LIBS_DRIVER_NAME)/;' $(@D)/driver/driver_config.h
- $(SED) 's/\$${GIT_COMMIT}/0.1.1dev/;' $(@D)/driver/driver_config.h
-endef
-FALCOSECURITY_LIBS_POST_PATCH_HOOKS += FALCOSECURITY_LIBS_MODULE_GEN_MAKEFILE
-
-# Userspace components are not built and installed, because it this
-# package is intended to be included as source in another build.
-
-$(eval $(kernel-module))
-$(eval $(generic-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [Buildroot] [RFC PATCH v1 1/4] package/pahole: bump to version 1.27
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
0 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-11 17:58 UTC (permalink / raw)
To: Francis Laniel; +Cc: buildroot
On Mon, 17 Jun 2024 16:10:17 +0100
Francis Laniel <flaniel@linux.microsoft.com> wrote:
> https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/NEWS?h=v1.27
>
> Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
> ---
> package/pahole/pahole.hash | 2 +-
> package/pahole/pahole.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Buildroot] [RFC PATCH v1 2/4] package/tbb: bump to version 2021.12.0.
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
0 siblings, 0 replies; 9+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-11 17:58 UTC (permalink / raw)
To: Francis Laniel; +Cc: buildroot
On Mon, 17 Jun 2024 16:10:18 +0100
Francis Laniel <flaniel@linux.microsoft.com> wrote:
> Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
> ---
> package/tbb/tbb.hash | 2 +-
> package/tbb/tbb.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package.
2024-06-17 15:10 ` [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package Francis Laniel
@ 2024-07-11 18:00 ` Thomas Petazzoni via buildroot
2024-07-11 18:08 ` Angelo Compagnucci
0 siblings, 1 reply; 9+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-11 18:00 UTC (permalink / raw)
To: Francis Laniel; +Cc: Angelo Compagnucci, buildroot
Hello Francis,
I'm adding in Cc: Angelo who is also listed as a maintainer for this
package in our DEVELOPERS file. Angelo, any feedback?
See below.
On Mon, 17 Jun 2024 16:10:19 +0100
Francis Laniel <flaniel@linux.microsoft.com> wrote:
> Building sysdig within buildroot is a complicated task which
> has changed at each of their release.
But the package is working right now, isn't it? Did you try to update
it to a newer version and encountered some specific issues? If so,
which issues?
Maybe those issues should be communicated back to upstream, so that
they can improve how sysdig is provided/delivered? If something like
Buildroot can't package sysdig, maybe they will be interested in
hearing why?
> As the package seems to not be really used in buildroot, it
> seems wise to remove it.
How can you say it is "not really used"? We have no usage metrics for
packages, so really we have no idea of who uses sysdig.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package.
2024-07-11 18:00 ` Thomas Petazzoni via buildroot
@ 2024-07-11 18:08 ` Angelo Compagnucci
0 siblings, 0 replies; 9+ messages in thread
From: Angelo Compagnucci @ 2024-07-11 18:08 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Francis Laniel, buildroot, Angelo Compagnucci
[-- Attachment #1.1: Type: text/plain, Size: 1826 bytes --]
Il gio 11 lug 2024, 20:00 Thomas Petazzoni via buildroot <
buildroot@buildroot.org> ha scritto:
> Hello Francis,
>
> I'm adding in Cc: Angelo who is also listed as a maintainer for this
> package in our DEVELOPERS file. Angelo, any feedback?
>
> See below.
>
> On Mon, 17 Jun 2024 16:10:19 +0100
> Francis Laniel <flaniel@linux.microsoft.com> wrote:
>
> > Building sysdig within buildroot is a complicated task which
> > has changed at each of their release.
>
> But the package is working right now, isn't it?
To my knowledge it is, I have used it in the past, even if it's not updated.
Did you try to update
> it to a newer version and encountered some specific issues? If so,
> which issues?
>
Francis sent several iteration of the bumping patches but from my
knowledge, they were never good enough to be included.
I promised myself to look again at it, but really never found the time.
> Maybe those issues should be communicated back to upstream, so that
> they can improve how sysdig is provided/delivered? If something like
> Buildroot can't package sysdig, maybe they will be interested in
> hearing why?
>
I fixed several things in the past in the build system, I think they are
still open to proper fixes.
> > As the package seems to not be really used in buildroot, it
> > seems wise to remove it.
>
> How can you say it is "not really used"? We have no usage metrics for
> packages, so really we have no idea of who uses sysdig.
>
Indeed. It is a wonderful tool in my opinion to not to have in buildroot.
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
>
[-- Attachment #1.2: Type: text/html, Size: 3619 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-07-11 18:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [Buildroot] [RFC PATCH v1 3/4] package/sysdig: remove package Francis Laniel
2024-07-11 18:00 ` 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox