netbird: add kmod-wireguard dependency
authorWesley Gimenes <redacted>
Thu, 23 May 2024 21:13:57 +0000 (18:13 -0300)
committerTianling Shen <redacted>
Tue, 27 Aug 2024 08:13:12 +0000 (16:13 +0800)
netbird supports the wireguard kernel module, but it can work without it in userspace,
losing some performance, but we know in advance that netbird will run as root,
therefore supporting the wireguard kernelspace with better performance.

Signed-off-by: Wesley Gimenes <redacted>
net/netbird/Makefile

index 49233eb5cd989816263eca68a66cc95cf7d77334..1455cfcdb409a23b9b75d0904a44085a59d6053a 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netbird
 PKG_VERSION:=0.28.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/netbirdio/netbird/tar.gz/v$(PKG_VERSION)?
@@ -29,7 +29,7 @@ define Package/netbird
   SUBMENU:=VPN
   TITLE:=Connect your devices into a single secure private WireGuard®-based mesh network
   URL:=https://netbird.io
-  DEPENDS:=$(GO_ARCH_DEPENDS)
+  DEPENDS:=$(GO_ARCH_DEPENDS) +kmod-wireguard
 endef
 
 define Package/netbird/description
git clone https://git.99rst.org/PROJECT