[openwrt/openwrt] wireguard-tools: accept iproute2 as dependency

LEDE Commits lede-commits at lists.infradead.org
Fri Sep 6 14:35:58 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/01ae39a0b2db32497ef3df75f4eee2aabd4f7c53

commit 01ae39a0b2db32497ef3df75f4eee2aabd4f7c53
Author: Christian Svensson <blue at cmd.nu>
AuthorDate: Sat Aug 3 18:07:41 2024 +0200

    wireguard-tools: accept iproute2 as dependency
    
    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 at cmd.nu>
    Link: https://github.com/openwrt/openwrt/pull/16062
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/network/utils/wireguard-tools/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/network/utils/wireguard-tools/Makefile b/package/network/utils/wireguard-tools/Makefile
index e2a86c97d8..d704577d2c 100644
--- a/package/network/utils/wireguard-tools/Makefile
+++ b/package/network/utils/wireguard-tools/Makefile
@@ -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/
@@ -35,8 +35,8 @@ define Package/wireguard-tools
   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 \
+	  +!BUSYBOX_CONFIG_IP:ip \
+	  +!BUSYBOX_CONFIG_FEATURE_IP_LINK:ip \
 	  +kmod-wireguard
 endef
 




More information about the lede-commits mailing list