commit gsoap for openSUSE:Factory
Hello community, here is the log from the commit of package gsoap for openSUSE:Factory checked in at 2017-03-31 15:04:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gsoap (Old) and /work/SRC/openSUSE:Factory/.gsoap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gsoap" Fri Mar 31 15:04:07 2017 rev:28 rq:482176 version:2.8.44 Changes: -------- --- /work/SRC/openSUSE:Factory/gsoap/gsoap.changes 2017-02-20 14:27:08.799264753 +0100 +++ /work/SRC/openSUSE:Factory/.gsoap.new/gsoap.changes 2017-03-31 15:04:10.137498945 +0200 @@ -1,0 +2,9 @@ +Wed Mar 15 16:11:44 UTC 2017 - jengelh@inai.de + +- Update to new upstream release 2.8.44 + * Fixed WS-Discovery `soap_wsdd_listen` memory cleanup on timeouts. + * Fixed `soap->os` saved message string NUL termination (a + problem in C code, not in C++). +- Add gsoap-sslverify.diff + +------------------------------------------------------------------- Old: ---- gsoap-2.8.43.tar.xz New: ---- gsoap-2.8.44.tar.xz gsoap-sslverify.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gsoap.spec ++++++ --- /var/tmp/diff_new_pack.YM21Ph/_old 2017-03-31 15:04:11.329330456 +0200 +++ /var/tmp/diff_new_pack.YM21Ph/_new 2017-03-31 15:04:11.337329325 +0200 @@ -17,8 +17,8 @@ Name: gsoap -%define lname libgsoap-2_8_43 -Version: 2.8.43 +%define lname libgsoap-2_8_44 +Version: 2.8.44 Release: 0 Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications License: SUSE-GPL-2.0+-with-openssl-exception @@ -29,6 +29,7 @@ Source2: sanitize_source.sh Patch1: gsoap-automake1_13.diff Patch2: gsoap-01-sharedlibs.diff +Patch3: gsoap-sslverify.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -84,7 +85,7 @@ %prep %setup -q cmp gsoap/stdsoap2.cpp gsoap/stdsoap2.c -%patch -P 1 -P 2 -p1 +%patch -P 1 -P 2 -P 3 -p1 ln -fs stdsoap2.cpp gsoap/stdsoap2.c %build @@ -96,8 +97,6 @@ # Also needed because Makefile.am and configure.ac are touched. autoreconf -fi -export CFLAGS="-O0 -ggdb3" -export CXXFLAGS=$CFLAGS %configure --enable-ipv6 --disable-static pushd gsoap/src/ # build prerequisites for parallel build first @@ -111,6 +110,7 @@ rm -f "$b/%_libdir"/*.la mkdir -p "$b/%_defaultdocdir" cp -a gsoap/doc "$b/%_defaultdocdir/%name" +find "$b" -type f -name "*inconsolata*" -exec chmod a-x "{}" "+" %if 0%{?fdupes:1} %fdupes %buildroot/%_prefix %endif ++++++ gsoap-2.8.43.tar.xz -> gsoap-2.8.44.tar.xz ++++++ /work/SRC/openSUSE:Factory/gsoap/gsoap-2.8.43.tar.xz /work/SRC/openSUSE:Factory/.gsoap.new/gsoap-2.8.44.tar.xz differ: char 27, line 1 ++++++ gsoap-sslverify.diff ++++++ From: Jan Engelhardt <jengelh@inai.de> References: https://sourceforge.net/p/gsoap2/patches/168/ When verification of a certificate has failed, do not just leave soap->msgbuf at the default openssl message ("certificate validation failed" or so), but append the detailed error message from the verification stage as well. --- gsoap/stdsoap2.cpp | 7 +++++++ 1 file changed, 7 insertions(+) Index: gsoap-2.8.43/gsoap/stdsoap2.cpp =================================================================== --- gsoap-2.8.43.orig/gsoap/stdsoap2.cpp +++ gsoap-2.8.43/gsoap/stdsoap2.cpp @@ -3672,6 +3672,13 @@ soap_ssl_error(struct soap *soap, int re while ((r = ERR_get_error())) { size_t l = strlen(soap->msgbuf); ERR_error_string_n(r, soap->msgbuf + l, sizeof(soap->msgbuf) - l); + l = strlen(soap->msgbuf); + if (l + 1 < sizeof(soap->msgbuf)) + soap->msgbuf[l++] = '\n'; + if (ERR_GET_REASON(r) == SSL_R_CERTIFICATE_VERIFY_FAILED && l <= sizeof(soap->msgbuf)) { + const char *reason = X509_verify_cert_error_string(SSL_get_verify_result(soap->ssl)); + (SOAP_SNPRINTF(soap->msgbuf + l, sizeof(soap->msgbuf) - l, strlen(reason)), "%s", reason); + } } } else ++++++ sanitize_source.sh ++++++ --- /var/tmp/diff_new_pack.YM21Ph/_old 2017-03-31 15:04:11.409319148 +0200 +++ /var/tmp/diff_new_pack.YM21Ph/_new 2017-03-31 15:04:11.409319148 +0200 @@ -13,7 +13,7 @@ exit 1; fi; -version="2.8.43" +version="2.8.44" shortver="2.8" # agh... if [ ! -e "gsoap_$version.zip" ]; then wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"
participants (1)
-
root@hilbert.suse.de