4d203fedfb
There's a new feature to offload L2TP to the Linux kernel, which depends on libmnl. A new menu option was introduced for that. It's possible to link an internal version of libmnl statically for smaller binary size on constraint targets, but this was not added to the buildroot package for complexity reasons (both build and licensing). The COPYING file gained an additional paragraph for internal libmnl which does not apply, because internal libmnl is not used in the package. Link: https://fastd.readthedocs.io/en/latest/releases/v22.html Signed-off-by: Alexander Dahl <post@lespocky.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
37 lines
907 B
Plaintext
37 lines
907 B
Plaintext
config BR2_PACKAGE_FASTD
|
|
bool "fastd"
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS # libuecc
|
|
select BR2_PACKAGE_LIBUECC
|
|
select BR2_PACKAGE_LIBSODIUM
|
|
select BR2_PACKAGE_LIBSODIUM_FULL
|
|
help
|
|
Fast and Secure Tunneling Daemon
|
|
|
|
https://github.com/NeoRaider/fastd/wiki
|
|
|
|
if BR2_PACKAGE_FASTD
|
|
|
|
config BR2_PACKAGE_FASTD_STATUS_SOCKET
|
|
bool "status socket support"
|
|
default y
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
|
|
select BR2_PACKAGE_JSON_C
|
|
help
|
|
Enable support for a socket to get fastd's status.
|
|
|
|
config BR2_PACKAGE_FASTD_OFFLOAD_L2TP
|
|
bool "l2tp offload support"
|
|
select BR2_PACKAGE_LIBMNL
|
|
help
|
|
L2TP can be offloaded to the Linux kernel, significantly
|
|
increasing throughput.
|
|
|
|
endif
|
|
|
|
comment "fastd needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|| BR2_STATIC_LIBS
|