aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-02-25 10:20:12 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2021-04-10 14:21:32 +0200
commit272a9e1975df8cba9e3c5a732b0708dd81bb88f0 (patch)
treea1efb0a7fe31b1d863310065b708465f56989e23 /package
parent7114416fbeb639470831f3afc1124f33677bdfc2 (diff)
downloadupstream-272a9e1975df8cba9e3c5a732b0708dd81bb88f0.tar.gz
upstream-272a9e1975df8cba9e3c5a732b0708dd81bb88f0.tar.bz2
upstream-272a9e1975df8cba9e3c5a732b0708dd81bb88f0.zip
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@gmail.com> (cherry picked from commit cbcddc9f318607881799e329b327a68c4e76d5cb)
Diffstat (limited to 'package')
-rw-r--r--package/network/utils/wireguard-tools/Makefile5
1 files changed, 4 insertions, 1 deletions
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@zx2c4.com>
TITLE:=WireGuard userspace control program (wg)
- DEPENDS:=+@BUSYBOX_CONFIG_IP +@BUSYBOX_CONFIG_FEATURE_IP_LINK
+ DEPENDS:= \
+ +@BUSYBOX_CONFIG_IP \
+ +@BUSYBOX_CONFIG_FEATURE_IP_LINK \
+ +kmod-wireguard
endef
define Package/wireguard-tools/description