include $(TOPDIR)/rules.mk
PKG_NAME:=softethervpn
-PKG_VERSION:=4.22-9634
-PKG_VERREL:=beta
-PKG_VERDATE:=2016.11.27
-PKG_RELEASE:=2
+PKG_VERSION:=4.25-9656
+PKG_VERREL:=rtm
+PKG_VERDATE:=2018.01.15
+PKG_RELEASE:=1
PKG_SOURCE:=softether-src-v$(PKG_VERSION)-$(PKG_VERREL).tar.gz
PKG_SOURCE_URL:=http://www.softether-download.com/files/softether/v$(PKG_VERSION)-$(PKG_VERREL)-$(PKG_VERDATE)-tree/Source_Code/
-PKG_HASH:=a37c6edeb7076189382fe2cbeb7c02806b76c13bb64e40bd6a5334fdf47f76c8
+PKG_HASH:=b946dec3da5833ad2be69125224784b8a8e2a4149297d0c0a907ba0e1c4535f8
PKG_BUILD_DIR:=$(BUILD_DIR)/v$(PKG_VERSION)
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/v$(PKG_VERSION)
-Index: v4.22-9634/src/Mayaqua/Network.c
+Index: v4.25-9656/src/Mayaqua/Network.c
===================================================================
---- v4.22-9634.orig/src/Mayaqua/Network.c
-+++ v4.22-9634/src/Mayaqua/Network.c
-@@ -13013,20 +13013,28 @@ bool StartSSLEx(SOCK *sock, X *x, K *pri
- }\r
- else\r
+--- v4.25-9656.orig/src/Mayaqua/Network.c
++++ v4.25-9656/src/Mayaqua/Network.c
+@@ -13025,7 +13025,7 @@ bool StartSSLEx(SOCK *sock, X *x, K *pri
{\r
-+#ifndef SSL_OP_NO_SSLv3\r
if (client_tls == false)\r
{\r
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L\r
++#ifndef SSL_OP_NO_SSLv3\r
SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method());\r
- }\r
- else\r
- {\r
-+#endif // SSL_OP_NO_SSLv3\r
- SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_client_method());\r
-+#ifndef SSL_OP_NO_SSLv3\r
- }\r
-+#endif // SSL_OP_NO_SSLv3\r
- }\r
- sock->ssl = SSL_new(ssl_ctx);\r
- SSL_set_fd(sock->ssl, (int)sock->socket);\r
- \r
- #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME\r
-+#ifndef SSL_OP_NO_SSLv3\r
- if (sock->ServerMode == false && client_tls)\r
-+#else\r
-+ if (sock->ServerMode == false)\r
-+#endif // SSL_OP_NO_SSLv3\r
- {\r
- if (IsEmptyStr(sni_hostname) == false)\r
- {\r
+ #else\r
+ SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method());\r
include $(TOPDIR)/rules.mk
PKG_NAME:=sstp-client
-PKG_VERSION:=1.0.11
+PKG_VERSION:=1.0.12
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/sstp-client/$(PKG_VERSION)
-PKG_HASH:=1b851b504030ed5522ced431217a5c700b35e8bb72d6f5b40b006c7becb8fb20
+PKG_HASH:=487eb406579689803ce0397f6102b18641e4572ac7bc9b9e5f3027c84dcf67ff
PKG_LICENSE=GPLv2
include $(INCLUDE_DIR)/package.mk