aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-01-21 23:03:36 +0100
committerJo-Philipp Wich <jo@mein.io>2017-01-21 23:05:54 +0100
commitef08595c3fc85dc3bd99d5e0688f687cd1066eb6 (patch)
tree888a0a9be9fe1beb5585a7fded4d12450b1f3c89 /package
parent3a9926e40fe2881487159d48f1b178316c008ee3 (diff)
downloadupstream-ef08595c3fc85dc3bd99d5e0688f687cd1066eb6.tar.gz
upstream-ef08595c3fc85dc3bd99d5e0688f687cd1066eb6.tar.bz2
upstream-ef08595c3fc85dc3bd99d5e0688f687cd1066eb6.zip
openvpn: let all openvpn variants provide a virtual openvpn package
Add PROVIDES:=openvpn to the default recipe in order to let all build variants provide a virtual openvpn package. The advantage of this approach is that downstream packages can depend on just "openvpn" without having to require a specific flavor. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package')
-rw-r--r--package/network/services/openvpn/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile
index ab506d427c..80aab0b2eb 100644
--- a/package/network/services/openvpn/Makefile
+++ b/package/network/services/openvpn/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=openvpn
PKG_VERSION:=2.4.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_URL:=http://swupdate.openvpn.net/community/releases
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
@@ -34,6 +34,7 @@ define Package/openvpn/Default
MENU:=1
DEPENDS:=+kmod-tun +OPENVPN_$(1)_ENABLE_LZO:liblzo +OPENVPN_$(1)_ENABLE_IPROUTE2:ip $(3)
VARIANT:=$(1)
+ PROVIDES:=openvpn
MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
endef