gsoap: update to 2.8.75.
This commit is contained in:
parent
c6a1786221
commit
196834a6ca
@ -1,28 +1,13 @@
|
||||
LibreSSL doesn't defined TLS1_3_VERSION so take route away from it
|
||||
|
||||
diff --git a/gsoap/stdsoap2.c b/gsoap/stdsoap2.c
|
||||
index 91eff5b..efe647e 100644
|
||||
--- gsoap/stdsoap2.c
|
||||
+++ gsoap/stdsoap2.c
|
||||
@@ -4394,7 +4394,7 @@ ssl_auth_init(struct soap *soap)
|
||||
/* enable all TSLv1 protocols and disable SSLv3 by default if no SSL/TLS flags are set */
|
||||
if (!(soap->ssl_flags & SOAP_SSLv3_TLSv1))
|
||||
soap->ssl_flags = SOAP_TLSv1;
|
||||
-#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
|
||||
+#if !defined(LIBRESSL_VERSION_NUMBER)
|
||||
if ((soap->ssl_flags & SOAP_SSLv3))
|
||||
minv = SSL3_VERSION;
|
||||
else if ((soap->ssl_flags & SOAP_TLSv1_0))
|
||||
diff --git a/gsoap/stdsoap2.cpp b/gsoap/stdsoap2.cpp
|
||||
index 102f007..f44ff05 100644
|
||||
index cd48626..8bbf676 100644
|
||||
--- gsoap/stdsoap2.cpp
|
||||
+++ gsoap/stdsoap2.cpp
|
||||
@@ -4394,7 +4394,7 @@ ssl_auth_init(struct soap *soap)
|
||||
@@ -4396,7 +4396,7 @@ ssl_auth_init(struct soap *soap)
|
||||
/* enable all TSLv1 protocols and disable SSLv3 by default if no SSL/TLS flags are set */
|
||||
if (!(soap->ssl_flags & SOAP_SSLv3_TLSv1))
|
||||
soap->ssl_flags = SOAP_TLSv1;
|
||||
-#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
|
||||
+#if !defined(LIBRESSL_VERSION_NUMBER)
|
||||
-#if OPENSSL_VERSION_NUMBER >= 0x10101000L
|
||||
+#if OPENSSL_VERSION_NUMBER >= 0x10101000L && !defined(LIBRESSL_VERSION_NUMBER)
|
||||
if ((soap->ssl_flags & SOAP_SSLv3))
|
||||
minv = SSL3_VERSION;
|
||||
else if ((soap->ssl_flags & SOAP_TLSv1_0))
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- gsoap/stdsoap2.h
|
||||
+++ gsoap/stdsoap2.h
|
||||
@@ -722,7 +722,7 @@ extern intmax_t __strtoull(const char*, char**, int);
|
||||
|
||||
/* force inclusion of xlocale.h */
|
||||
#if defined(WITH_INCLUDE_XLOCALE_H) && !defined(HAVE_XLOCALE_H)
|
||||
-# define HAVE_XLOCALE_H
|
||||
+//# define HAVE_XLOCALE_H
|
||||
#endif
|
||||
|
||||
#ifdef WITH_C_LOCALE
|
||||
@@ -733,7 +733,7 @@ extern intmax_t __strtoull(const char*, char**, int);
|
||||
# define SOAP_FREELOCALE(soap) (void)((soap)->c_locale && (_free_locale((soap)->c_locale), ((soap)->c_locale = NULL)))
|
||||
# else
|
||||
# if defined(HAVE_XLOCALE_H)
|
||||
-# include <xlocale.h>
|
||||
+//# include <xlocale.h>
|
||||
# endif
|
||||
# define SOAP_LOCALE_T locale_t
|
||||
# define SOAP_LOCALE(soap) ((soap)->c_locale ? (soap)->c_locale : ((soap)->c_locale = newlocale(LC_ALL_MASK, "C", NULL)))
|
@ -1,6 +1,6 @@
|
||||
# Template file for 'gsoap'
|
||||
pkgname=gsoap
|
||||
version=2.8.74
|
||||
version=2.8.75
|
||||
revision=1
|
||||
wrksrc="gsoap-${version%.*}"
|
||||
build_style=gnu-configure
|
||||
@ -12,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="gSOAP-1.3b, GPL-2.0-only"
|
||||
homepage="http://www.cs.fsu.edu/~engelen/soap.html"
|
||||
distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip"
|
||||
checksum=edb5b620a5017543d79dc9df301456ab105f4448aa126758c9c69b85ca563290
|
||||
checksum=825cfc31d97090ab634d8739a57179e59e5ac6f6071878cdf3c32d8cb90b3649
|
||||
disable_parallel_build=yes
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user