All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/grout: bump version to 0.20.1
@ 2026-11-20 12:36 Maxime Leroy
  2026-11-20 17:04 ` Julien Olivain via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Leroy @ 2026-11-20 12:36 UTC (permalink / raw)
  To: buildroot; +Cc: Maxime Leroy

Add libpcap dependency, needed for the new packet capture feature.

Add a sub-option for the new grtcpdump wrapper script, a tcpdump(8)
front-end for grout interfaces. It is a bash script which needs jq and
tcpdump at runtime, so its installation is controlled with the
grtcpdump meson option, available since 0.20.1.

See the release notes of the new versions:
https://github.com/DPDK/grout/releases/tag/v0.17.0
https://github.com/DPDK/grout/releases/tag/v0.17.1
https://github.com/DPDK/grout/releases/tag/v0.18.0
https://github.com/DPDK/grout/releases/tag/v0.19.0
https://github.com/DPDK/grout/releases/tag/v0.19.1
https://github.com/DPDK/grout/releases/tag/v0.19.2
https://github.com/DPDK/grout/releases/tag/v0.19.3
https://github.com/DPDK/grout/releases/tag/v0.20.0
https://github.com/DPDK/grout/releases/tag/v0.20.1

Signed-off-by: Maxime Leroy <maxime@leroys.fr>
---
Tested in GitLab CI (all jobs passed):
  https://gitlab.com/maxime-leroy/buildroot/-/pipelines/3088003829

 package/grout/Config.in  | 15 +++++++++++++++
 package/grout/grout.hash |  2 +-
 package/grout/grout.mk   |  9 ++++++++-
 3 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/package/grout/Config.in b/package/grout/Config.in
index c57937dc18..2c5f382c26 100644
--- a/package/grout/Config.in
+++ b/package/grout/Config.in
@@ -14,9 +14,24 @@ config BR2_PACKAGE_GROUT
 	select BR2_PACKAGE_NUMACTL
 	select BR2_PACKAGE_LIBECOLI
 	select BR2_PACKAGE_LIBMNL
+	select BR2_PACKAGE_LIBPCAP
 	help
 	  Graph router based on DPDK
 
+if BR2_PACKAGE_GROUT
+
+config BR2_PACKAGE_GROUT_GRTCPDUMP
+	bool "grtcpdump"
+	select BR2_PACKAGE_BASH # runtime
+	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash
+	select BR2_PACKAGE_JQ # runtime
+	select BR2_PACKAGE_TCPDUMP # runtime
+	help
+	  Install grtcpdump, a tcpdump wrapper for grout
+	  interfaces. It needs bash, jq and tcpdump at runtime.
+
+endif
+
 comment "grout needs a glibc toolchain w/ dynamic library, threads, wchar, gcc >= 13, headers >= 4.19"
 	depends on BR2_USE_MMU
 	depends on BR2_PACKAGE_DPDK_ARCH_SUPPORTS
diff --git a/package/grout/grout.hash b/package/grout/grout.hash
index b195157024..b1cd901d4c 100644
--- a/package/grout/grout.hash
+++ b/package/grout/grout.hash
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  cdec124614f50cbeb8f9b8ab51ac7a3f6f9153cdc3a95ec8a870fcb2fd533a64  grout-0.16.2.tar.gz
+sha256  845d116b2f5bc3f025dac4f4610049e74fb5d444902aa97fafe80d95e70cf42d  grout-0.20.1.tar.gz
 sha256  1e412aae8da58b718c78b3d7a52eb547004384d4347e4746a22ca6af7522930c  licenses/BSD-3-clause.txt
diff --git a/package/grout/grout.mk b/package/grout/grout.mk
index 41b623f1d7..a59ff46bbe 100644
--- a/package/grout/grout.mk
+++ b/package/grout/grout.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GROUT_VERSION = 0.16.2
+GROUT_VERSION = 0.20.1
 GROUT_SITE = $(call github,DPDK,grout,v$(GROUT_VERSION))
 GROUT_LICENSE = BSD-3-Clause
 GROUT_LICENSE_FILES = licenses/BSD-3-clause.txt
@@ -17,6 +17,7 @@ GROUT_DEPENDENCIES = \
 	dpdk \
 	libevent \
 	libmnl \
+	libpcap \
 	numactl \
 	libecoli
 
@@ -26,4 +27,10 @@ define GROUT_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_VRF)
 endef
 
+ifeq ($(BR2_PACKAGE_GROUT_GRTCPDUMP),y)
+GROUT_CONF_OPTS += -Dgrtcpdump=enabled
+else
+GROUT_CONF_OPTS += -Dgrtcpdump=disabled
+endif
+
 $(eval $(meson-package))
-- 
2.43.0

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/grout: bump version to 0.20.1
  2026-11-20 12:36 [Buildroot] [PATCH 1/1] package/grout: bump version to 0.20.1 Maxime Leroy
@ 2026-11-20 17:04 ` Julien Olivain via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-11-20 17:04 UTC (permalink / raw)
  To: Maxime Leroy; +Cc: buildroot

On 20/11/2026 13:36, Maxime Leroy wrote:
> Add libpcap dependency, needed for the new packet capture feature.
> 
> Add a sub-option for the new grtcpdump wrapper script, a tcpdump(8)
> front-end for grout interfaces. It is a bash script which needs jq and
> tcpdump at runtime, so its installation is controlled with the
> grtcpdump meson option, available since 0.20.1.
> 
> See the release notes of the new versions:
> https://github.com/DPDK/grout/releases/tag/v0.17.0
> https://github.com/DPDK/grout/releases/tag/v0.17.1
> https://github.com/DPDK/grout/releases/tag/v0.18.0
> https://github.com/DPDK/grout/releases/tag/v0.19.0
> https://github.com/DPDK/grout/releases/tag/v0.19.1
> https://github.com/DPDK/grout/releases/tag/v0.19.2
> https://github.com/DPDK/grout/releases/tag/v0.19.3
> https://github.com/DPDK/grout/releases/tag/v0.20.0
> https://github.com/DPDK/grout/releases/tag/v0.20.1
> 
> Signed-off-by: Maxime Leroy <maxime@leroys.fr>

Applied to next, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-20 17:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 12:36 [Buildroot] [PATCH 1/1] package/grout: bump version to 0.20.1 Maxime Leroy
2026-11-20 17:04 ` Julien Olivain via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.