summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/openvpn/openvpn.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index e2092cadd..2a7ba5ce4 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -6,9 +6,10 @@
# to enable that within busybox
#
#############################################################
-OPENVPN_SOURCE:=openvpn-1.5.0.tar.gz
-OPENVPN_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/openvpn/
-OPENVPN_DIR:=$(BUILD_DIR)/openvpn-1.5.0
+OPENVPN_VERSION:=2.0.9
+OPENVPN_SOURCE:=openvpn-$(OPENVPN_VERSION).tar.gz
+OPENVPN_SITE:=http://openvpn.net/release/
+OPENVPN_DIR:=$(BUILD_DIR)/openvpn-$(OPENVPN_VERSION)
OPENVPN_CAT:=$(ZCAT)
OPENVPN_BINARY:=openvpn
OPENVPN_TARGET_BINARY:=usr/sbin/openvpn
@@ -50,6 +51,7 @@ $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked
--mandir=/usr/man \
--infodir=/usr/info \
--program-prefix="" \
+ --enable-small \
$(THREAD_MODEL) \
);
touch $(OPENVPN_DIR)/.configured