mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
reorganize/rationalize/format package menuconfig,
make updatedd modular git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2333 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained 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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user