mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
Upstream passt only documents runtime dependencies; and they advertise
being able to run on kernel 3.8 or later. However, they do not document
the build dependencies.
Since 2025_06_11.0293c6f, upstream requires kernel headers >= 5.9, as
they make use of linux/close_range.h, only introduced in 5.9.
Add a dependency to kernel headers, and propagate it to podman's passt
backend.
Fixes: 6a192b0d28
Cc: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
24 lines
867 B
Plaintext
24 lines
867 B
Plaintext
config BR2_PACKAGE_PASST
|
|
bool "passt"
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|
|
help
|
|
passt: Plug A Simple Socket Transport
|
|
pasta: Pack A Subtle Tap Abstraction
|
|
|
|
passt implements a translation layer between a Layer-2
|
|
network interface and native Layer-4 sockets (TCP, UDP,
|
|
ICMP/ICMPv6 echo) on a host. It doesn't require any
|
|
capabilities or privileges, and it can be used as a simple
|
|
replacement for Slirp.
|
|
|
|
pasta (same binary as passt, different command) offers
|
|
equivalent functionality, for network namespaces: traffic
|
|
is forwarded using a tap interface inside the namespace,
|
|
without the need to create further interfaces on the host,
|
|
hence not requiring any capabilities or privileges.
|
|
|
|
https://passt.top/passt/about/
|
|
|
|
comment "passt needs a toolchain w/ headers >= 5.9"
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|