Files
Yann E. MORIN ed99b77e5d package/passt: needs headers >= 5.0
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.

As reported by Julien, since 2024_12_11.09478d5, upstream requires
kernel headers >= 5.0, as they make use of linux/vhost_types.h, only
introduced in 5.0.

Add a dependency to kernel headers, and propagate it to podman's passt
backend.

Reported-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-07-15 21:13:52 +02:00

24 lines
867 B
Plaintext

config BR2_PACKAGE_PASST
bool "passt"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0
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.0"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0