Skip to content

Commit

Permalink
wireguard-tools: accept iproute2 as dependency
Browse files Browse the repository at this point in the history
If the user has ip-tiny or ip-full installed there is no need to depend on
BusyBox having any form of `ip` or `ip link` applets.

Signed-off-by: Christian Svensson <blue@cmd.nu>
Link: openwrt#16062
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  • Loading branch information
bluecmd authored and hauke committed Sep 6, 2024
1 parent 2a1dd18 commit 01ae39a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/network/utils/wireguard-tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=wireguard-tools

PKG_VERSION:=1.0.20210914
PKG_RELEASE:=3
PKG_RELEASE:=4

PKG_SOURCE:=wireguard-tools-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://git.zx2c4.com/wireguard-tools/snapshot/
Expand All @@ -35,8 +35,8 @@ define Package/wireguard-tools
MAINTAINER:=Jason A. Donenfeld <Jason@zx2c4.com>
TITLE:=WireGuard userspace control program (wg)
DEPENDS:= \
+@BUSYBOX_CONFIG_IP \
+@BUSYBOX_CONFIG_FEATURE_IP_LINK \
+!BUSYBOX_CONFIG_IP:ip \
+!BUSYBOX_CONFIG_FEATURE_IP_LINK:ip \
+kmod-wireguard
endef

Expand Down

0 comments on commit 01ae39a

Please sign in to comment.