gsoap: update to 2.8.73.

This commit is contained in:
maxice8 2018-12-04 06:11:52 -02:00 committed by maxice8
parent a9739402dd
commit 0483f1ee1b
2 changed files with 32 additions and 3 deletions

View file

@ -0,0 +1,29 @@
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
--- gsoap/stdsoap2.cpp
+++ gsoap/stdsoap2.cpp
@@ -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))

View file

@ -1,7 +1,7 @@
# Template file for 'gsoap'
pkgname=gsoap
version=2.8.70
revision=2
version=2.8.73
revision=1
wrksrc="gsoap-${version%.*}"
build_style=gnu-configure
configure_args="--enable-ipv6"
@ -12,7 +12,7 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
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=5b6933394ae1c76faa9a4814c44f74fc8aeef521b57f18d62ae952ecf38d0edd
checksum=55e9b20224eb1035fe330929c32562e3513b24c85253fb82b254e877e83a9f6c
disable_parallel_build=yes
if [ "$CROSS_BUILD" ]; then