Bump openvpn to 2.1.1
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 19 Jan 2010 19:54:45 +0000 (16:54 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 20 Jan 2010 10:10:32 +0000 (11:10 +0100)
Closes #937.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
CHANGES
package/openvpn/Config.in
package/openvpn/openvpn.mk

diff --git a/CHANGES b/CHANGES
index 7350560a3e9c0b59c8fa4be76a0821bae76f1448..bd7d59d14ee1b802b5a872a484a627af3a48118d 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,7 +7,7 @@
        Updated/fixed packages: autoconf, bind, binutils, bootutils, busybox,
        directfb, e2fsprogs, gstreamer, gst-plugins-bad, hal, iptables,
        iw, jpeg, kismet, libfuse, libpcap, libungif, lighttpd, mesa, mpg123,
-       mtd-utils, neon, pcre, qt, rpm, sshfs, tremor, u-boot,
+       mtd-utils, neon, openvpn, pcre, qt, rpm, sshfs, tremor, u-boot,
        usb_modeswitch, usbutils, wpa_supplicant, xfsprogs
 
        Issues resolved (http://bugs.uclibc.org):
@@ -35,6 +35,7 @@
        #919: Bump usb_modeswitch package to 1.0.7
        #925: Bump wpa_supplicant package to 0.6.10
        #931: Bump kismet package to 2010-01-R1
+       #937: Bump openvpn package to 2.1.1
 
 2009.11, Released December 1st, 2009:
 
index 6bbb859498a33da9258d2cd3f756ce3bd40100e0..9f9057df0a8e0b808ce6197ae33d8d777e01183f 100644 (file)
@@ -1,10 +1,5 @@
-comment "openvpn has no inherent support for AVR32" 
-       depends on BR2_avr32 && BR2_PACKAGE_OPENVPN
-
 config BR2_PACKAGE_OPENVPN
        bool "openvpn"
-       select BR2_PACKAGE_LZO
-       select BR2_PACKAGE_OPENSSL
        help
          OpenVPN is a full-featured SSL VPN solution which can
          accomodate a wide range of configurations, including road
@@ -14,3 +9,19 @@ config BR2_PACKAGE_OPENVPN
          fine-grained access-controls.
 
          http://openvpn.sourceforge.net/
+
+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
+       select BR2_PACKAGE_OPENSSL
+       help
+         Enable TLS-based key exchange and OpenSSL crypto support.
index bfacc4185f6d5ec469fea3c0af5adb4e47a4d084..084ee2f799badc10180fc035a0bf26bb22e601c6 100644 (file)
@@ -4,11 +4,8 @@
 #
 #############################################################
 
-OPENVPN_VERSION = 2.0.9
-OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.gz
+OPENVPN_VERSION = 2.1.1
 OPENVPN_SITE = http://openvpn.net/release
-OPENVPN_DEPENDENCIES = lzo openssl
-
 OPENVPN_CONF_OPT = --enable-small
 
 ifeq ($(BR2_PTHREADS_NATIVE),y)
@@ -17,6 +14,18 @@ else
        OPENVPN_CONF_OPT += --enable-pthread
 endif
 
+ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
+       OPENVPN_DEPENDENCIES += lzo
+else
+       OPENVPN_CONF_OPT += --disable-lzo
+endif
+
+ifeq ($(BR2_PACKAGE_OPENVPN_OPENSSL),y)
+       OPENVPN_DEPENDENCIES += openssl
+else
+       OPENVPN_CONF_OPT += --disable-crypto --disable-ssl
+endif
+
 $(eval $(call AUTOTARGETS,package,openvpn))
 
 $(OPENVPN_TARGET_INSTALL_TARGET):