package/strongswan: add Linux kernel options

See here for options required by Strongswan to work properly:
https://docs.strongswan.org/docs/latest/install/kernelModules.html

We only enable a subset, which is the bare minimum to start
charon IKEv2 daemon. For advanced users this might be not enough.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
Waldemar Brodkorb
2026-02-04 16:35:27 +01:00
committed by Marcus Hoffmann
parent 766a6e5c0b
commit 8090d0eb9e

View File

@@ -114,4 +114,16 @@ STRONGSWAN_CONF_OPTS += \
--disable-connmark \
--disable-forecast
# bare minimum to start charon
define STRONGSWAN_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_INET)
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
$(call KCONFIG_ENABLE_OPT,CONFIG_NETLINK)
$(call KCONFIG_ENABLE_OPT,CONFIG_INET_AH)
$(call KCONFIG_ENABLE_OPT,CONFIG_INET_ESP)
$(call KCONFIG_ENABLE_OPT,CONFIG_XFRM)
$(call KCONFIG_ENABLE_OPT,CONFIG_XFRM_USER)
$(call KCONFIG_ENABLE_OPT,CONFIG_XFRM_INTERFACE)
endef
$(eval $(autotools-package))