summaryrefslogtreecommitdiffstats
path: root/package/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'package/openvpn')
-rw-r--r--package/openvpn/Config.in23
-rw-r--r--package/openvpn/Makefile6
2 files changed, 18 insertions, 11 deletions
diff --git a/package/openvpn/Config.in b/package/openvpn/Config.in
index 12c35ba79..6117a8e99 100644
--- a/package/openvpn/Config.in
+++ b/package/openvpn/Config.in
@@ -1,5 +1,8 @@
+menu "openvpn........................... Open source VPN solution using SSL"
+
config BR2_PACKAGE_OPENVPN
- tristate "openvpn - Open source VPN solution using SSL"
+ prompt "openvpn........................... Open source VPN solution using SSL"
+ tristate
default m if CONFIG_DEVEL
select BR2_PACKAGE_KMOD_TUN
select BR2_PACKAGE_LIBOPENSSL
@@ -9,20 +12,24 @@ config BR2_PACKAGE_OPENVPN
http://openvpn.net/
Depends: kmod-tun, libpthread, openssl
-
-config BR2_PACKAGE_OPENVPN_SERVER
- bool "Enable server support"
+config BR2_COMPILE_OPENVPN_WITH_SERVER
+ prompt "Enable server support"
+ bool
default y
depends BR2_PACKAGE_OPENVPN
-config BR2_PACKAGE_OPENVPN_HTTP
- bool "Enable http proxy support"
+config BR2_COMPILE_OPENVPN_WITH_HTTP
+ prompt "Enable http proxy support"
+ bool
default y
depends BR2_PACKAGE_OPENVPN
-config BR2_PACKAGE_OPENVPN_LZO
- bool "Enable transparent compression (lzo)"
+config BR2_COMPILE_OPENVPN_WITH_LZO
+ prompt "Enable transparent compression (lzo)"
+ bool
default y
depends BR2_PACKAGE_OPENVPN
select BR2_PACKAGE_LIBLZO
+
+endmenu
diff --git a/package/openvpn/Makefile b/package/openvpn/Makefile
index d7ae22eec..e2589e0fd 100644
--- a/package/openvpn/Makefile
+++ b/package/openvpn/Makefile
@@ -19,16 +19,16 @@ include $(TOPDIR)/package/rules.mk
$(eval $(call PKG_template,OPENVPN,openvpn,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
PKG_DEPEND:="libopenssl, kmod-tun"
-ifneq ($(BR2_PACKAGE_OPENVPN_LZO),y)
+ifneq ($(BR2_COMPILE_OPENVPN_WITH_LZO),y)
DISABLE_LZO:=--disable-lzo
else
PKG_DEPEND+=", liblzo"
endif
-ifneq ($(BR2_PACKAGE_OPENVPN_SERVER),y)
+ifneq ($(BR2_COMPILE_OPENVPN_WITH_SERVER),y)
DISABLE_SERVER:=--disable-server
endif
-ifneq ($(BR2_PACKAGE_OPENVPN_HTTP),y)
+ifneq ($(BR2_COMPILE_OPENVPN_WITH_HTTP),y)
DISABLE_HTTP:=--disable-http
endif