openvpn: let all openvpn variants provide a virtual openvpn package
authorJo-Philipp Wich <jo@mein.io>
Sat, 21 Jan 2017 22:03:36 +0000 (23:03 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 21 Jan 2017 22:05:32 +0000 (23:05 +0100)
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>
package/network/services/openvpn/Makefile

index ab506d427c2f8cb4906c1da0da4d0deb19ef0365..80aab0b2eb6df89aeaa57f3ca9d99259521a1519 100644 (file)
@@ -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