From 2924a65cb375cb6ddf4892f4072ad7d851a867d072ae6f71b67bc39cc7243717 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 30 Nov 2018 09:48:48 +0000 Subject: [PATCH] - Update to new upstream release 2.8.72 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=147 --- gsconfig.patch | 28 ++++++++++++++-------------- gsoap-2.8.71.tar.xz | 3 --- gsoap-2.8.72.tar.xz | 3 +++ gsoap.changes | 16 ++++++++++++++++ gsoap.spec | 6 +++--- sanitize_source.sh | 2 +- 6 files changed, 37 insertions(+), 21 deletions(-) delete mode 100644 gsoap-2.8.71.tar.xz create mode 100644 gsoap-2.8.72.tar.xz diff --git a/gsconfig.patch b/gsconfig.patch index b140c01..1b2bbe2 100644 --- a/gsconfig.patch +++ b/gsconfig.patch @@ -4,10 +4,10 @@ gsoap/stdsoap2.h | 38 +++++++++++++++++--------------------- 3 files changed, 45 insertions(+), 38 deletions(-) -Index: gsoap-2.8.71/Makefile.am +Index: gsoap-2.8.72/Makefile.am =================================================================== ---- gsoap-2.8.71.orig/Makefile.am -+++ gsoap-2.8.71/Makefile.am +--- gsoap-2.8.72.orig/Makefile.am ++++ gsoap-2.8.72/Makefile.am @@ -1,9 +1,9 @@ ####### This is the input file for automake, which will generate Makefile.in ########## @@ -29,10 +29,10 @@ Index: gsoap-2.8.71/Makefile.am + +gsoap_config.h: config.h + grep GSOAP_WITH_ $^ >$@ -Index: gsoap-2.8.71/configure.ac +Index: gsoap-2.8.72/configure.ac =================================================================== ---- gsoap-2.8.71.orig/configure.ac -+++ gsoap-2.8.71/configure.ac +--- gsoap-2.8.72.orig/configure.ac ++++ gsoap-2.8.72/configure.ac @@ -92,6 +92,13 @@ esac AC_SUBST(SAMPLE_EXTRA_LIBS) AC_SUBST(platform) @@ -104,13 +104,13 @@ Index: gsoap-2.8.71/configure.ac WSDL2H_EXTRA_FLAGS="-DWITH_OPENSSL -DWITH_GZIP" # compile with wsdl2h when OPENSSL is available WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lssl -lcrypto -lz" -Index: gsoap-2.8.71/gsoap/stdsoap2.h +Index: gsoap-2.8.72/gsoap/stdsoap2.h =================================================================== ---- gsoap-2.8.71.orig/gsoap/stdsoap2.h -+++ gsoap-2.8.71/gsoap/stdsoap2.h +--- gsoap-2.8.72.orig/gsoap/stdsoap2.h ++++ gsoap-2.8.72/gsoap/stdsoap2.h @@ -54,6 +54,7 @@ A commercial use license is available fr - #define GSOAP_VERSION 20871 + #define GSOAP_VERSION 20872 +#include "gsoap_config.h" #ifdef WITH_SOAPDEFS_H @@ -205,7 +205,7 @@ Index: gsoap-2.8.71/gsoap/stdsoap2.h # include #endif -@@ -2926,7 +2922,7 @@ struct SOAP_CMAC soap +@@ -2925,7 +2921,7 @@ struct SOAP_CMAC soap } peer; /* set by soap_connect/soap_accept and by UDP recv */ size_t peerlen; #endif @@ -214,7 +214,7 @@ Index: gsoap-2.8.71/gsoap/stdsoap2.h int (*fsslauth)(struct soap*); int (*fsslverify)(int, X509_STORE_CTX*); BIO *bio; -@@ -2935,7 +2931,7 @@ struct SOAP_CMAC soap +@@ -2934,7 +2930,7 @@ struct SOAP_CMAC soap SSL_SESSION *session; const char *dhfile; const char *randfile; @@ -223,7 +223,7 @@ Index: gsoap-2.8.71/gsoap/stdsoap2.h int (*fsslauth)(struct soap*); void *fsslverify; gnutls_certificate_credentials_t xcred; /* cert pointer */ -@@ -2977,7 +2973,7 @@ struct SOAP_CMAC soap +@@ -2976,7 +2972,7 @@ struct SOAP_CMAC soap #else void *c_locale; #endif @@ -232,7 +232,7 @@ Index: gsoap-2.8.71/gsoap/stdsoap2.h z_stream *d_stream; /* decompression stream */ uLong z_crc; /* internal gzip crc */ #else -@@ -3123,7 +3119,7 @@ soap_wchar soap_get1(struct soap*); +@@ -3122,7 +3118,7 @@ soap_wchar soap_get1(struct soap*); SOAP_FMAC1 ULONG64 SOAP_FMAC2 soap_strtoull(const char*, char**, int); #endif diff --git a/gsoap-2.8.71.tar.xz b/gsoap-2.8.71.tar.xz deleted file mode 100644 index 5977780..0000000 --- a/gsoap-2.8.71.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5842379602558fefe9856b29f6cb40605187b14de8c3d2d2e985bb1a256f47be -size 17005896 diff --git a/gsoap-2.8.72.tar.xz b/gsoap-2.8.72.tar.xz new file mode 100644 index 0000000..44e88e9 --- /dev/null +++ b/gsoap-2.8.72.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ef7384ef36765f9293e7638c14dcea4f63dbcca377c4e9dbe6653a34f67877bb +size 16041452 diff --git a/gsoap.changes b/gsoap.changes index 2e37731..0280776 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Nov 30 09:45:21 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 2.8.72 + * Improved the HTTP GET `http_get` and HTTP POST `http_post` + plugins, handling of a HTTP POST request that has an empty + body is now supported. + * Updated user guide, corrected `soap_rand_uuid` description: + string returned is stored in a temporary buffer, not stored + in managed memory. + * Fixed spurious constant initialization problem for `enum` + types in soapcpp2-generated code, the problem was introduced + with soapcpp2 2.8.71 C/C++ grammar expansion. + * Fixed a CURL plugin issue that prevented PUT and DELETE + methods to work properly. + ------------------------------------------------------------------- Mon Nov 12 23:25:33 UTC 2018 - Jan Engelhardt diff --git a/gsoap.spec b/gsoap.spec index e0f687f..c0ed157 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -17,8 +17,8 @@ Name: gsoap -%define lname libgsoap-2_8_71 -Version: 2.8.71 +%define lname libgsoap-2_8_72 +Version: 2.8.72 Release: 0 Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications License: SUSE-GPL-2.0+-with-openssl-exception @@ -103,8 +103,8 @@ popd make %{?_smp_mflags} %install +%make_install b="%buildroot" -make install DESTDIR="$b" rm -f "$b/%_libdir"/*.la mkdir -p "$b/%_defaultdocdir" cp -a gsoap/doc "$b/%_defaultdocdir/%name" diff --git a/sanitize_source.sh b/sanitize_source.sh index 4517c40..3c48492 100644 --- a/sanitize_source.sh +++ b/sanitize_source.sh @@ -13,7 +13,7 @@ if ! which hardlink >/dev/null; then exit 1; fi; -version="2.8.71" +version="2.8.72" shortver="2.8" # agh... if [ ! -e "gsoap_$version.zip" ]; then wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"