diff --git a/srcpkgs/gsoap/patches/libressl.patch b/srcpkgs/gsoap/patches/libressl.patch new file mode 100644 index 00000000000..97280759473 --- /dev/null +++ b/srcpkgs/gsoap/patches/libressl.patch @@ -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)) + diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template index a0f92166116..c1b239946a8 100644 --- a/srcpkgs/gsoap/template +++ b/srcpkgs/gsoap/template @@ -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 " 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