diff --git a/gsconfig.patch b/gsconfig.patch index 7e016ed..71ed35e 100644 --- a/gsconfig.patch +++ b/gsconfig.patch @@ -1,18 +1,15 @@ --- - Makefile.am | 9 +++++++-- + Makefile.am | 7 ++++++- configure.ac | 36 +++++++++++++++++++++--------------- - gsoap/stdsoap2.h | 38 +++++++++++++++++--------------------- - 3 files changed, 45 insertions(+), 38 deletions(-) + gsoap/stdsoap2.h | 40 +++++++++++++++++----------------------- + 3 files changed, 44 insertions(+), 39 deletions(-) -Index: gsoap-2.8.73/Makefile.am +Index: gsoap-2.8.75/Makefile.am =================================================================== ---- gsoap-2.8.73.orig/Makefile.am -+++ gsoap-2.8.73/Makefile.am -@@ -1,9 +1,9 @@ - ####### This is the input file for automake, which will generate Makefile.in ########## - --SUBDIRS = gsoap -+SUBDIRS = . gsoap +--- gsoap-2.8.75.orig/Makefile.am ++++ gsoap-2.8.75/Makefile.am +@@ -3,7 +3,7 @@ + SUBDIRS = . gsoap CLEANFILES = *~ VERYVERYCLEANFILES = *~ configure Makefile.in compile config.guess config.sub config.log autoscan.log \ -depcomp install-sh missing mkinstalldirs stamp-h.in config.h.in \ @@ -29,10 +26,10 @@ Index: gsoap-2.8.73/Makefile.am + +gsoap_config.h: config.h + grep GSOAP_WITH_ $^ >$@ -Index: gsoap-2.8.73/configure.ac +Index: gsoap-2.8.75/configure.ac =================================================================== ---- gsoap-2.8.73.orig/configure.ac -+++ gsoap-2.8.73/configure.ac +--- gsoap-2.8.75.orig/configure.ac ++++ gsoap-2.8.75/configure.ac @@ -92,6 +92,13 @@ esac AC_SUBST(SAMPLE_EXTRA_LIBS) AC_SUBST(platform) @@ -104,31 +101,33 @@ Index: gsoap-2.8.73/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.73/gsoap/stdsoap2.h +Index: gsoap-2.8.75/gsoap/stdsoap2.h =================================================================== ---- gsoap-2.8.73.orig/gsoap/stdsoap2.h -+++ gsoap-2.8.73/gsoap/stdsoap2.h +--- gsoap-2.8.75.orig/gsoap/stdsoap2.h ++++ gsoap-2.8.75/gsoap/stdsoap2.h @@ -54,6 +54,7 @@ A commercial use license is available fr - #define GSOAP_VERSION 20874 + #define GSOAP_VERSION 20875 +#include "gsoap_config.h" #ifdef WITH_SOAPDEFS_H # include "soapdefs.h" /* include user-defined stuff in soapdefs.h */ #endif -@@ -702,11 +703,6 @@ extern intmax_t __strtoull(const char*, +@@ -704,13 +705,6 @@ extern intmax_t __strtoull(const char*, # endif #endif --/* force inclusion of xlocale.h */ --#if defined(WITH_INCLUDE_XLOCALE_H) && !defined(HAVE_XLOCALE_H) --# define HAVE_XLOCALE_H +-/* force inclusion of xlocale.h when WITH_INCLUDE_XLOCALE_H is defined by the user for systems that require xlocale.h */ +-#ifdef WITH_INCLUDE_XLOCALE_H +-# ifndef HAVE_XLOCALE_H +-# define HAVE_XLOCALE_H +-# endif -#endif - #ifdef WITH_C_LOCALE # include # if defined(WIN32) && !defined(CYGWIN) -@@ -714,7 +710,7 @@ extern intmax_t __strtoull(const char*, +@@ -718,7 +712,7 @@ extern intmax_t __strtoull(const char*, # define SOAP_LOCALE(soap) ((soap)->c_locale ? (soap)->c_locale : ((soap)->c_locale = _create_locale(LC_ALL, "C"))) # define SOAP_FREELOCALE(soap) (void)((soap)->c_locale && (_free_locale((soap)->c_locale), ((soap)->c_locale = NULL))) # else @@ -137,7 +136,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h # include # endif # define SOAP_LOCALE_T locale_t -@@ -871,9 +867,9 @@ extern intmax_t __strtoull(const char*, +@@ -875,9 +869,9 @@ extern intmax_t __strtoull(const char*, # undef WITH_SELF_PIPE #endif @@ -150,7 +149,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h # endif #endif -@@ -894,7 +890,7 @@ extern intmax_t __strtoull(const char*, +@@ -898,7 +892,7 @@ extern intmax_t __strtoull(const char*, // # define _WSPIAPI_COUNTOF // DEV NOTE: enble to fix problems with VC6 // # include # include // DEV NOTE: replaces older wspiapi.h above @@ -159,7 +158,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h # define SOAP_GAI_STRERROR gai_strerrorA # endif #else -@@ -918,12 +914,12 @@ extern intmax_t __strtoull(const char*, +@@ -922,12 +916,12 @@ extern intmax_t __strtoull(const char*, # include #endif @@ -174,7 +173,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h # define OPENSSL_NO_KRB5 # include # include -@@ -940,7 +936,7 @@ extern intmax_t __strtoull(const char*, +@@ -944,7 +938,7 @@ extern intmax_t __strtoull(const char*, # endif #endif @@ -183,7 +182,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h # include # include # if GNUTLS_VERSION_NUMBER < 0x020b00 -@@ -958,9 +954,9 @@ extern intmax_t __strtoull(const char*, +@@ -962,9 +956,9 @@ extern intmax_t __strtoull(const char*, # include #endif @@ -196,7 +195,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h # endif #endif -@@ -970,7 +966,7 @@ extern intmax_t __strtoull(const char*, +@@ -974,7 +968,7 @@ extern intmax_t __strtoull(const char*, # define SOAP_STRCMP strcmp /* case sensitive XML element/attribute names */ #endif @@ -205,7 +204,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h # include #endif -@@ -2925,7 +2921,7 @@ struct SOAP_CMAC soap +@@ -2929,7 +2923,7 @@ struct SOAP_CMAC soap } peer; /* set by soap_connect/soap_accept and by UDP recv */ size_t peerlen; #endif @@ -214,7 +213,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h int (*fsslauth)(struct soap*); int (*fsslverify)(int, X509_STORE_CTX*); BIO *bio; -@@ -2934,7 +2930,7 @@ struct SOAP_CMAC soap +@@ -2938,7 +2932,7 @@ struct SOAP_CMAC soap SSL_SESSION *session; const char *dhfile; const char *randfile; @@ -223,7 +222,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h int (*fsslauth)(struct soap*); void *fsslverify; gnutls_certificate_credentials_t xcred; /* cert pointer */ -@@ -2976,7 +2972,7 @@ struct SOAP_CMAC soap +@@ -2980,7 +2974,7 @@ struct SOAP_CMAC soap #else void *c_locale; #endif @@ -232,7 +231,7 @@ Index: gsoap-2.8.73/gsoap/stdsoap2.h z_stream *d_stream; /* decompression stream */ uLong z_crc; /* internal gzip crc */ #else -@@ -3122,7 +3118,7 @@ soap_wchar soap_get1(struct soap*); +@@ -3126,7 +3120,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.74.tar.xz b/gsoap-2.8.74.tar.xz deleted file mode 100644 index 4435b30..0000000 --- a/gsoap-2.8.74.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:068bb2bdc73089826b13afd025275211089387559a79dfa1e4e6c9dce2e4446a -size 16121864 diff --git a/gsoap-2.8.75.tar.xz b/gsoap-2.8.75.tar.xz new file mode 100644 index 0000000..1c903fe --- /dev/null +++ b/gsoap-2.8.75.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01ab8a5d625c55343b977a7c7ae9c35ff5efed73b9e1c9c1224a3de1245d3afa +size 16054784 diff --git a/gsoap.changes b/gsoap.changes index 3f34a03..f667da4 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Sat Jan 19 10:11:53 UTC 2019 - Jan Engelhardt + +- Update to new upstream release 2.8.75 + * Added wsdl2h option `-F` to add transient pointer members to + structs to simulate type derivation with structs in C. + * Added wsdl2h option `-L` to generate less documentation in + interface header files. + * Added `WITH_NOEMPTYNAMESPACES` compile-time flag to disable + `xmlns=""`, this is intended for backward compatibility with + old XML parsers and old gSOAP versions that do not support + `xmlns=""` empty default namespaces. + * Updated wsdl2h option `-D` to make attributes with fixed + values pointer members in structs and classes, not just + attributes with default values. + * Updated wsdl2h option `-f` to flatten C++ class hierarchy by + removing inheritance. This option removes support for type + derivation with `xsi:type` in XML. + * Updated soapcpp2 to split up the `soap_call_ns__webmethod` + functions into new `soap_send_ns__webmethod` and + `soap_recv_ns__webmethod` functions called by + `soap_call_ns__webmethod`. The new functions can be used for + asynchronous messaging. + * Updated soapcpp2 option `-j` to call `destroy()` in + destructor to deallocate managed heap data. + * Updated call to OpenSSL `ERR_remove_state` (deprecated) by + `ERR_remove_thread_state`. + * Fixed a bug in HTTP cookie handling by the engine. HTTP + cookies are disabled by default, but enabled with the + `-DWITH_COOKIES` compile-time flag or when using the C/C++ + `libgsoapck`/`libgsoapck++` and `libgsoapssl`/`libgsoapssl++` + libraries. + ------------------------------------------------------------------- Wed Dec 19 10:14:23 UTC 2018 - Jan Engelhardt diff --git a/gsoap.spec b/gsoap.spec index ab9182d..9eaa814 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -1,7 +1,7 @@ # # spec file for package gsoap # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,8 +17,8 @@ Name: gsoap -%define lname libgsoap-2_8_74 -Version: 2.8.74 +%define lname libgsoap-2_8_75 +Version: 2.8.75 Release: 0 Summary: Toolkit for SOAP/REST-based C/C++ server and client web service applications License: SUSE-GPL-2.0+-with-openssl-exception diff --git a/sanitize_source.sh b/sanitize_source.sh index 4ba9166..d2dea82 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.74" +version="2.8.75" shortver="2.8" # agh... if [ ! -e "gsoap_$version.zip" ]; then wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"