summaryrefslogtreecommitdiffstats
path: root/package/openvpn
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-05 02:16:36 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-05 02:16:36 +0000
commit7bd944d2153b871aaaee970811f27772cbe36a6f (patch)
tree023aa6c89150198db369868cca93b44e19180e28 /package/openvpn
parent7a551def223e31d0fa5669eea9ff8d86098f9ca3 (diff)
reorganize/rationalize/format package menuconfig,
make updatedd modular git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2333 3c298f89-4303-0410-b956-a3cf2f4a3e73
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