[LEDE-DEV] [PATCH 5/5] openvpn: depend on virtual "ip-command"

Jo-Philipp Wich jo at mein.io
Sat Oct 15 10:40:02 PDT 2016


Instead of forcibly depending on "ip" (the tiny variant), depend on the new
virtual "ip-command" to allow users to pick their desired flavor in menuconfig
instead.

Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
 package/network/services/openvpn/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile
index c88fcbd..3611790 100644
--- a/package/network/services/openvpn/Makefile
+++ b/package/network/services/openvpn/Makefile
@@ -32,7 +32,7 @@ define Package/openvpn/Default
   URL:=http://openvpn.net
   SUBMENU:=VPN
   MENU:=1
-  DEPENDS:=+kmod-tun +OPENVPN_$(1)_ENABLE_LZO:liblzo +OPENVPN_$(1)_ENABLE_IPROUTE2:ip $(3)
+  DEPENDS:=+kmod-tun +OPENVPN_$(1)_ENABLE_LZO:liblzo +OPENVPN_$(1)_ENABLE_IPROUTE2:ip-command $(3)
   VARIANT:=$(1)
   MAINTAINER:=Mirko Vogt <mirko at openwrt.org>
 endef
-- 
2.1.4




More information about the Lede-dev mailing list