[openwrt/openwrt] wireguard-tools: depend on kmod-wireguard

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 26 14:43:47 EST 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/cbcddc9f318607881799e329b327a68c4e76d5cb

commit cbcddc9f318607881799e329b327a68c4e76d5cb
Author: Ilya Lipnitskiy <ilya.lipnitskiy at gmail.com>
AuthorDate: Thu Feb 25 10:20:12 2021 -0800

    wireguard-tools: depend on kmod-wireguard
    
    To the vast majority of the users, wireguard-tools are not useful
    without the underlying kernel module. The cornercase of only generating
    keys and not using the secure tunnel is something that won't be done on
    an embedded OpenWrt system often. On the other hand, maintaining a
    separate meta-package only for this use case introduces extra
    complexity. WireGuard changes for Linux 5.10 remove the meta-package.
    So let's make wireguard-tools depend on kmod-wireguard
    to make WireGuard easier to use without having to install multiple
    packages.
    
    Fixes: ea980fb9 ("wireguard: bump to 20191226")
    Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy at gmail.com>
---
 package/network/utils/wireguard-tools/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile
index ee332c28ef..5f8da147c1 100644
--- a/package/network/utils/wireguard-tools/Makefile
+++ b/package/network/utils/wireguard-tools/Makefile
@@ -36,7 +36,10 @@ define Package/wireguard-tools
   URL:=https://www.wireguard.com
   MAINTAINER:=Jason A. Donenfeld <Jason at zx2c4.com>
   TITLE:=WireGuard userspace control program (wg)
-  DEPENDS:=+ at BUSYBOX_CONFIG_IP + at BUSYBOX_CONFIG_FEATURE_IP_LINK
+  DEPENDS:= \
+	  + at BUSYBOX_CONFIG_IP \
+	  + at BUSYBOX_CONFIG_FEATURE_IP_LINK \
+	  +kmod-wireguard
 endef
 
 define Package/wireguard-tools/description



More information about the lede-commits mailing list