Browse Source

vtun: update to 3.0.4

Waldemar Brodkorb 4 years ago
parent
commit
7c1d4f6f21

+ 2 - 2
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

+ 11 - 0
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);

+ 3 - 3
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