openvpn: remove kmod-ovpn-dco-v2 dependency

OpenVPN does work without the kernel module, it just won't be able to use DCO.
To make life easier for OpenVPN users on very space-constrained devices make it
an optional dependency.

Signed-off-by: Dennis Camera <dennis.camera+openwrt@riiengineering.ch>
This commit is contained in:
Dennis Camera
2025-01-11 18:59:42 +01:00
committed by Josef Schlehofer
parent 11e17a3ed6
commit 01fafd69ef

View File

@@ -37,7 +37,7 @@ define Package/openvpn/Default
SUBMENU:=VPN
MENU:=1
DEPENDS:=+kmod-tun +libcap-ng +OPENVPN_$(1)_ENABLE_LZO:liblzo +OPENVPN_$(1)_ENABLE_LZ4:liblz4 +OPENVPN_$(1)_ENABLE_IPROUTE2:ip \
+OPENVPN_$(1)_ENABLE_DCO:libnl-genl +OPENVPN_$(1)_ENABLE_DCO:kmod-ovpn-dco-v2 $(3)
+OPENVPN_$(1)_ENABLE_DCO:libnl-genl $(3)
VARIANT:=$(1)
PROVIDES:=openvpn openvpn-crypto
endef