summaryrefslogtreecommitdiff
path: root/package/vtun
diff options
context:
space:
mode:
Diffstat (limited to 'package/vtun')
-rw-r--r--package/vtun/Makefile4
-rw-r--r--package/vtun/patches/patch-cfg_file_y11
-rw-r--r--package/vtun/patches/patch-configure6
3 files changed, 16 insertions, 5 deletions
diff --git a/package/vtun/Makefile b/package/vtun/Makefile
index a071c6df8..2bc582e42 100644
--- a/package/vtun/Makefile
+++ b/package/vtun/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vtun
-PKG_VERSION:= 3.0.1
+PKG_VERSION:= 3.0.4
PKG_RELEASE:= 1
-PKG_HASH:= 22507499a8f650ef97157977e62fa632d5b0034070629a2d0fd0512e304eaeeb
+PKG_HASH:= abf8df6b15e3febeaaeae2ce24ead7105eb1537ad4ec0d830c83cbb684fd98b9
PKG_DESCR:= vpn tunnel daemon
PKG_SECTION:= net/security
PKG_DEPENDS:= zlib liblzo libressl
diff --git a/package/vtun/patches/patch-cfg_file_y b/package/vtun/patches/patch-cfg_file_y
new file mode 100644
index 000000000..cc36bf9b0
--- /dev/null
+++ b/package/vtun/patches/patch-cfg_file_y
@@ -0,0 +1,11 @@
+--- vtun-3.0.4.orig/cfg_file.y 2016-10-01 23:27:51.000000000 +0200
++++ vtun-3.0.4/cfg_file.y 2019-10-08 12:07:01.383933126 +0200
+@@ -610,7 +610,7 @@ int clear_nat_hack_client(void *d, void
+ }
+
+ /* Clear the VTUN_NAT_HACK flag which are not relevant to the current operation mode */
+-inline void clear_nat_hack_flags(int svr)
++extern inline void clear_nat_hack_flags(int svr)
+ {
+ if (svr)
+ llist_trav(&host_list,clear_nat_hack_server,NULL);
diff --git a/package/vtun/patches/patch-configure b/package/vtun/patches/patch-configure
index 476d5dc80..f30b34bf1 100644
--- a/package/vtun/patches/patch-configure
+++ b/package/vtun/patches/patch-configure
@@ -1,7 +1,7 @@
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- vtun-3.0.1.orig/configure 2006-12-11 08:55:06.000000000 +0100
-+++ vtun-3.0.1/configure 2009-05-12 00:38:14.000000000 +0200
-@@ -5661,140 +5661,6 @@ echo "$as_me: error: SSL headers not fou
+--- vtun-3.0.4.orig/configure 2009-03-29 12:08:48.000000000 +0200
++++ vtun-3.0.4/configure 2019-10-08 11:46:57.270777719 +0200
+@@ -5671,140 +5671,6 @@ echo "$as_me: error: SSL headers not fou
fi