summaryrefslogtreecommitdiffstats
path: root/package/openvpn/Config.in
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-01-15 06:26:06 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-15 21:23:28 +0100
commit763ad50bd72dead80d2a50c637291f06da8caaaf (patch)
tree82b352a635533f9ead4d9b7012127b4e8c57952b /package/openvpn/Config.in
parent32ab8f21e6877e47c246896c6fb962861b42717d (diff)
downloadbuildroot-novena-763ad50bd72dead80d2a50c637291f06da8caaaf.tar.gz
buildroot-novena-763ad50bd72dead80d2a50c637291f06da8caaaf.zip
openvpn: bump to version 2.3.0
Toolchain IPv6 support isn't optional any more. New PolarSSL backend besides the usual OpenSSL one. New small binary option, reduces binary file size ~100 KiB depending on target architecture. Removed no crypto option - it still requires some SSL library headers and it's pointless anyway, after all we're talking about a VPN solution here. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openvpn/Config.in')
-rw-r--r--package/openvpn/Config.in39
1 files changed, 33 insertions, 6 deletions
diff --git a/package/openvpn/Config.in b/package/openvpn/Config.in
index 9f9057df0..a96ed4e00 100644
--- a/package/openvpn/Config.in
+++ b/package/openvpn/Config.in
@@ -1,5 +1,10 @@
+comment "openvpn requires a toolchain with IPV6 support"
+ depends on !BR2_INET_IPV6
+
config BR2_PACKAGE_OPENVPN
bool "openvpn"
+ depends on BR2_INET_IPV6
+ depends on BR2_USE_MMU # fork()
help
OpenVPN is a full-featured SSL VPN solution which can
accomodate a wide range of configurations, including road
@@ -8,20 +13,42 @@ config BR2_PACKAGE_OPENVPN
remote access solutions with load balancing, failover, and
fine-grained access-controls.
- http://openvpn.sourceforge.net/
+ http://openvpn.net/
+
+if BR2_PACKAGE_OPENVPN
config BR2_PACKAGE_OPENVPN_LZO
bool "LZO compression"
default y
- depends on BR2_PACKAGE_OPENVPN
select BR2_PACKAGE_LZO
help
Enable LZO compression.
-config BR2_PACKAGE_OPENVPN_OPENSSL
- bool "OpenSSL support"
- default y
- depends on BR2_PACKAGE_OPENVPN
+config BR2_PACKAGE_OPENVPN_SMALL
+ bool "Optimize for small size"
+ help
+ Make OpenVPN as small as possible.
+ You loose eurephia, debugging info, help messages and more.
+ It saves around 100 KiB in binary file size.
+
+choice
+ prompt "Crypto backend"
+ default BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL
+ help
+ Select the cryptographic library to use.
+
+ config BR2_PACKAGE_OPENVPN_CRYPTO_OPENSSL
+ bool "OpenSSL"
select BR2_PACKAGE_OPENSSL
help
Enable TLS-based key exchange and OpenSSL crypto support.
+
+ config BR2_PACKAGE_OPENVPN_CRYPTO_POLARSSL
+ bool "PolarSSL"
+ select BR2_PACKAGE_POLARSSL
+ help
+ Enable TLS-based key exchange and PolarSSL crypto support.
+
+endchoice
+
+endif