diff --git a/gsconfig.patch b/gsconfig.patch index 647dc82..71ed35e 100644 --- a/gsconfig.patch +++ b/gsconfig.patch @@ -1,18 +1,15 @@ --- - Makefile.am | 9 +++++++-- - configure.ac | 35 +++++++++++++++++++++-------------- - gsoap/stdsoap2.h | 38 +++++++++++++++++--------------------- - 3 files changed, 45 insertions(+), 37 deletions(-) + Makefile.am | 7 ++++++- + configure.ac | 36 +++++++++++++++++++++--------------- + gsoap/stdsoap2.h | 40 +++++++++++++++++----------------------- + 3 files changed, 44 insertions(+), 39 deletions(-) -Index: gsoap-2.8.68/Makefile.am +Index: gsoap-2.8.75/Makefile.am =================================================================== ---- gsoap-2.8.68.orig/Makefile.am -+++ gsoap-2.8.68/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.68/Makefile.am + +gsoap_config.h: config.h + grep GSOAP_WITH_ $^ >$@ -Index: gsoap-2.8.68/configure.ac +Index: gsoap-2.8.75/configure.ac =================================================================== ---- gsoap-2.8.68.orig/configure.ac -+++ gsoap-2.8.68/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) @@ -47,7 +44,7 @@ Index: gsoap-2.8.68/configure.ac # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h locale.h xlocale.h errno.h fcntl.h ctype.h limits.h float.h math.h netdb.h netinet/in.h stdlib.h string.h strings.h stdint.h inttypes.h time.h sys/inttypes.h sys/socket.h sys/types.h sys/time.h sys/timeb.h unistd.h poll.h openssl/ssl.h gnutls/gnutls.h zlib.h]) -@@ -191,21 +198,12 @@ else +@@ -191,21 +198,11 @@ else fi AC_SUBST(SOAPCPP2_NONAMESPACES) @@ -56,25 +53,25 @@ Index: gsoap-2.8.68/configure.ac -AC_ARG_ENABLE(xlocale, - [AC_HELP_STRING([--enable-xlocale], - [compile library with forced inclusion of xlocale.h])], -- [with_xlocale="$enable_xl"], +- [with_xlocale="$enable_xlocale"], - [with_xlocale="no"]) -+AS_IF([test "x$ac_cv_header_xlocale_h" = xyes], [ -+ AC_DEFINE([GSOAP_WITH_XLOCALE], [1]) - +- -AC_MSG_CHECKING(for enable xlocale usage in library) -if test "x$with_xlocale" = "xyes"; then - AC_MSG_RESULT(yes) +- SOAPCPP2_INCLUDE_XLOCALE="-DWITH_INCLUDE_XLOCALE_H" -else - AC_MSG_RESULT(no) -- SOAPCPP2_INCLUDE_XLOCALE="-DWITH_INCLUDE_XLOCALE_H" -fi ++AS_IF([test "x$ac_cv_header_xlocale_h" = xyes], [ ++ AC_DEFINE([GSOAP_WITH_XLOCALE], [1]) + dnl Could get rid of this, since it's defined through gsoap_config.h. + SOAPCPP2_INCLUDE_XLOCALE="-DWITH_INCLUDE_XLOCALE_H" +]) AC_SUBST(SOAPCPP2_INCLUDE_XLOCALE) # the disable-c-locale option adds the -DWITH_NO_C_LOCALE to the -@@ -236,6 +234,10 @@ AC_ARG_ENABLE(ipv6, +@@ -236,6 +233,10 @@ AC_ARG_ENABLE(ipv6, AC_MSG_CHECKING(for enable ipv6 in library) if test "x$with_ipv6" = "xyes"; then AC_MSG_RESULT(yes) @@ -82,10 +79,10 @@ Index: gsoap-2.8.68/configure.ac + AC_DEFINE([GSOAP_WITH_NO_IPV6_V6ONLY], [1]) + dnl You could just get rid of SOAPCPP2_IPV6 entirely because it's all + dnl available through gsoap_config.h now. - SOAPCPP2_IPV6="-DWITH_IPV6 -DWITH_NO_IPV6_V6ONLY" ##define to add IPv6 support + SOAPCPP2_IPV6="-DWITH_IPV6" ##define to add IPv6 support else AC_MSG_RESULT(no) -@@ -274,6 +276,9 @@ if test "x$with_openssl" = "xyes"; then +@@ -291,6 +292,9 @@ if test "x$with_openssl" = "xyes"; then AC_MSG_CHECKING(for enable gnutls in library) if test "x$with_gnutls" = "xyes"; then AC_MSG_RESULT(yes) @@ -95,7 +92,7 @@ Index: gsoap-2.8.68/configure.ac WSDL2H_EXTRA_FLAGS="-DWITH_GNUTLS -DWITH_GZIP" WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lgnutls -lgcrypt -lgpg-error -lz" SAMPLE_INCLUDES= -@@ -281,6 +286,8 @@ if test "x$with_openssl" = "xyes"; then +@@ -298,6 +302,8 @@ if test "x$with_openssl" = "xyes"; then WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a" else AC_MSG_RESULT(no) @@ -104,31 +101,33 @@ Index: gsoap-2.8.68/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.68/gsoap/stdsoap2.h +Index: gsoap-2.8.75/gsoap/stdsoap2.h =================================================================== ---- gsoap-2.8.68.orig/gsoap/stdsoap2.h -+++ gsoap-2.8.68/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 20870 + #define GSOAP_VERSION 20875 +#include "gsoap_config.h" #ifdef WITH_SOAPDEFS_H # include "soapdefs.h" /* include user-defined stuff in soapdefs.h */ #endif -@@ -720,11 +721,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) -@@ -732,7 +728,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,20 +136,20 @@ Index: gsoap-2.8.68/gsoap/stdsoap2.h # include # endif # define SOAP_LOCALE_T locale_t -@@ -893,9 +889,9 @@ extern intmax_t __strtoull(const char*, +@@ -875,9 +869,9 @@ extern intmax_t __strtoull(const char*, # undef WITH_SELF_PIPE #endif --#if defined(WITH_IPV6_V6ONLY) || defined(WITH_NO_IPV6_V6ONLY) +-#if defined(WITH_IPV6_V6ONLY) -# ifndef WITH_IPV6 -# define WITH_IPV6 -+#if defined(GSOAP_WITH_IPV6_V6ONLY) || defined(GSOAP_WITH_NO_IPV6_V6ONLY) ++#if defined(GSOAP_WITH_IPV6_V6ONLY) +# ifndef GSOAP_WITH_IPV6 +# define GSOAP_WITH_IPV6 # endif #endif -@@ -916,7 +912,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.68/gsoap/stdsoap2.h # define SOAP_GAI_STRERROR gai_strerrorA # endif #else -@@ -942,12 +938,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.68/gsoap/stdsoap2.h # define OPENSSL_NO_KRB5 # include # include -@@ -964,7 +960,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.68/gsoap/stdsoap2.h # include # include # if GNUTLS_VERSION_NUMBER < 0x020b00 -@@ -982,9 +978,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.68/gsoap/stdsoap2.h # endif #endif -@@ -994,7 +990,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.68/gsoap/stdsoap2.h # include #endif -@@ -2878,7 +2874,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.68/gsoap/stdsoap2.h int (*fsslauth)(struct soap*); int (*fsslverify)(int, X509_STORE_CTX*); BIO *bio; -@@ -2887,7 +2883,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.68/gsoap/stdsoap2.h int (*fsslauth)(struct soap*); void *fsslverify; gnutls_certificate_credentials_t xcred; /* cert pointer */ -@@ -2929,7 +2925,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.68/gsoap/stdsoap2.h z_stream *d_stream; /* decompression stream */ uLong z_crc; /* internal gzip crc */ #else -@@ -3071,7 +3067,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-01-sharedlibs.diff b/gsoap-01-sharedlibs.diff index a25b22e..9e37289 100644 --- a/gsoap-01-sharedlibs.diff +++ b/gsoap-01-sharedlibs.diff @@ -16,10 +16,10 @@ build: always use shared libraries gsoap/gsoapssl.sym | 1 + 10 files changed, 40 insertions(+), 18 deletions(-) -Index: gsoap-2.8.64/configure.ac +Index: gsoap-2.8.71/configure.ac =================================================================== ---- gsoap-2.8.64.orig/configure.ac -+++ gsoap-2.8.64/configure.ac +--- gsoap-2.8.71.orig/configure.ac ++++ gsoap-2.8.71/configure.ac @@ -15,8 +15,8 @@ AM_PROG_CC_C_O AM_PROG_LEX AC_PROG_YACC @@ -31,7 +31,7 @@ Index: gsoap-2.8.64/configure.ac AC_PROG_LN_S AC_PROG_AWK AC_PROG_INSTALL -@@ -282,7 +282,7 @@ if test "x$with_openssl" = "xyes"; then +@@ -298,7 +298,7 @@ if test "x$with_openssl" = "xyes"; then WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lgnutls -lgcrypt -lgpg-error -lz" SAMPLE_INCLUDES= SAMPLE_SSL_LIBS="-lgnutls -lgcrypt -lgpg-error -lz" @@ -40,7 +40,7 @@ Index: gsoap-2.8.64/configure.ac else AC_MSG_RESULT(no) AC_DEFINE([GSOAP_WITH_OPENSSL], [1]) -@@ -292,7 +292,7 @@ if test "x$with_openssl" = "xyes"; then +@@ -308,7 +308,7 @@ if test "x$with_openssl" = "xyes"; then WSDL2H_EXTRA_LIBS="${WSDL2H_EXTRA_LIBS} -lssl -lcrypto -lz" SAMPLE_INCLUDES= SAMPLE_SSL_LIBS="-lssl -lcrypto -lz" @@ -49,7 +49,7 @@ Index: gsoap-2.8.64/configure.ac fi if test -n "$ZLIB"; then WSDL2H_EXTRA_FLAGS="-I${ZLIB}/include ${WSDL2H_EXTRA_FLAGS}" -@@ -311,7 +311,7 @@ else +@@ -327,7 +327,7 @@ else WSDL2H_EXTRA_FLAGS= SAMPLE_SSL_LIBS= SAMPLE_INCLUDES= @@ -58,10 +58,10 @@ Index: gsoap-2.8.64/configure.ac fi AM_CONDITIONAL(WITH_OPENSSL, test "x$with_openssl" = "xyes" -a "x$with_gnutls" != "xyes") AC_SUBST(WITH_OPENSSL) -Index: gsoap-2.8.64/gsoap/Makefile.am +Index: gsoap-2.8.71/gsoap/Makefile.am =================================================================== ---- gsoap-2.8.64.orig/gsoap/Makefile.am -+++ gsoap-2.8.64/gsoap/Makefile.am +--- gsoap-2.8.71.orig/gsoap/Makefile.am ++++ gsoap-2.8.71/gsoap/Makefile.am @@ -34,20 +34,34 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp dom_cpp.cpp: dom.cpp $(LN_S) -f $(top_srcdir)/gsoap/dom.cpp dom_cpp.cpp @@ -70,91 +70,91 @@ Index: gsoap-2.8.64/gsoap/Makefile.am +lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la -libgsoap_a_SOURCES = stdsoap2.c dom.c --libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) +-libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) -libgsoap___a_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp --libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) +-libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) -libgsoapck_a_SOURCES = stdsoap2_ck.c dom.c --libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES +-libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) -DWITH_COOKIES -libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp --libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES +-libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) -DWITH_COOKIES -libgsoapssl_a_SOURCES = stdsoap2_ssl.c dom.c --libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES +-libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES -libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp --libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES +-libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES +libgsoap_la_SOURCES = stdsoap2.c dom.c -+libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -+libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap.sym -+EXTRA_libgsoap_la_DEPENDENCIES = gsoap.sym ++libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) +libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp -+libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -+libgsoap___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap++.sym -+EXTRA_libgsoap___la_DEPENDENCIES = gsoap++.sym ++libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) +libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c -+libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES -+libgsoapck_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck.sym -+EXTRA_libgsoapck_la_DEPENDENCIES = gsoapck.sym ++libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) -DWITH_COOKIES +libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp -+libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES -+libgsoapck___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck++.sym -+EXTRA_libgsoapck___la_DEPENDENCIES = gsoapck++.sym ++libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) -DWITH_COOKIES +libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c -+libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES ++libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES ++libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp ++libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) $(SOAPCPP2_IPV6_V6ONLY) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES ++libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap.sym ++libgsoap___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap++.sym ++libgsoapck_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck.sym ++libgsoapck___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck++.sym +libgsoapssl_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapssl.sym +libgsoapssl_la_LIBADD = ${SAMPLE_SSL_LIBS} -+EXTRA_libgsoapssl_la_DEPENDENCIES = gsoapssl.sym -+libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp -+libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_NO_C_LOCALE) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES +libgsoapssl___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapssl++.sym +libgsoapssl___la_LIBADD = ${libgsoapssl_la_LIBADD} ++EXTRA_libgsoap_la_DEPENDENCIES = gsoap.sym ++EXTRA_libgsoap___la_DEPENDENCIES = gsoap++.sym ++EXTRA_libgsoapck_la_DEPENDENCIES = gsoapck.sym ++EXTRA_libgsoapck___la_DEPENDENCIES = gsoapck++.sym ++EXTRA_libgsoapssl_la_DEPENDENCIES = gsoapssl.sym +EXTRA_libgsoapssl___la_DEPENDENCIES = gsoapssl++.sym BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp stdsoap2_ck.c stdsoap2_ck_cpp.cpp stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp -Index: gsoap-2.8.64/gsoap/gsoap++.sym +Index: gsoap-2.8.71/gsoap/gsoap++.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoap++.sym ++++ gsoap-2.8.71/gsoap/gsoap++.sym @@ -0,0 +1 @@ +GSOAPXX { global: *; }; -Index: gsoap-2.8.64/gsoap/gsoap.sym +Index: gsoap-2.8.71/gsoap/gsoap.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoap.sym ++++ gsoap-2.8.71/gsoap/gsoap.sym @@ -0,0 +1 @@ +GSOAP { global: *; }; -Index: gsoap-2.8.64/gsoap/gsoapck++.sym +Index: gsoap-2.8.71/gsoap/gsoapck++.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoapck++.sym ++++ gsoap-2.8.71/gsoap/gsoapck++.sym @@ -0,0 +1 @@ +GSOAPCKXX { global: *; }; -Index: gsoap-2.8.64/gsoap/gsoapck.sym +Index: gsoap-2.8.71/gsoap/gsoapck.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoapck.sym ++++ gsoap-2.8.71/gsoap/gsoapck.sym @@ -0,0 +1 @@ +GSOAPCK { global: *; }; -Index: gsoap-2.8.64/gsoap/gsoapckssl++.sym +Index: gsoap-2.8.71/gsoap/gsoapckssl++.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoapckssl++.sym ++++ gsoap-2.8.71/gsoap/gsoapckssl++.sym @@ -0,0 +1 @@ +GSOAPCKSSLXX { global: *; }; -Index: gsoap-2.8.64/gsoap/gsoapckssl.sym +Index: gsoap-2.8.71/gsoap/gsoapckssl.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoapckssl.sym ++++ gsoap-2.8.71/gsoap/gsoapckssl.sym @@ -0,0 +1 @@ +GSOAPCKSSL { global: *; }; -Index: gsoap-2.8.64/gsoap/gsoapssl++.sym +Index: gsoap-2.8.71/gsoap/gsoapssl++.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoapssl++.sym ++++ gsoap-2.8.71/gsoap/gsoapssl++.sym @@ -0,0 +1 @@ +GSOAPSSLXX { global: *; }; -Index: gsoap-2.8.64/gsoap/gsoapssl.sym +Index: gsoap-2.8.71/gsoap/gsoapssl.sym =================================================================== --- /dev/null -+++ gsoap-2.8.64/gsoap/gsoapssl.sym ++++ gsoap-2.8.71/gsoap/gsoapssl.sym @@ -0,0 +1 @@ +GSOAPSSL { global: *; }; diff --git a/gsoap-2.8.70.tar.xz b/gsoap-2.8.70.tar.xz deleted file mode 100644 index c2edf8f..0000000 --- a/gsoap-2.8.70.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:281f87dc559c0abac1773c85a0702c8327d1b8256b2f4df243462abab35ce220 -size 17012552 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 6b8d13f..f667da4 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,102 @@ +------------------------------------------------------------------- +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 + +- Update to new upstream release 2.8.74 + * Fixed an issue with MIME/MTOM attachment sending when the + HTTP-digest plugin is used or when compression is enabled, + returning incorrect `SOAP_EOM` error (i.e. not caused by + out-of-memory). The problem had been introduced in 2.8.70. + +------------------------------------------------------------------- +Thu Dec 6 11:23:31 UTC 2018 - Jan Engelhardt + +- Update to new upstream release 2.8.73 + * Improved `soap_ssl_accept()` timeout settings to improve the + performance of gSOAP stand-alone HTTPS servers. + * Renamed `soap_get_http_body()` to `soap_http_get_body()` to + avoid name clashes with soapcpp2-generated `soap_get_T` + functions. + * Renamed `soap_get_form()` to `soap_http_get_form()` to avoid + name clashes with soapcpp2-generated `soap_get_T` functions. + * Renamed `soap_get_mime_attachment()` to + `soap_recv_mime_attachment()` to avoid name clashes with + soapcpp2-generated `soap_get_T` functions. + * Renamed `soap_get_stats()` to `soap_http_get_stats()` of the + httpget plugin to avoid name clashes with soapcpp2-generated + `soap_get_T` functions. + * Renamed `soap_get_logging_stats()` to `soap_logging_stats()` + of the logging plugin to avoid name clashes with + soapcpp2-generated `soap_get_T` functions. + * Moved `soap_http_get_form()`, `soap_query()`, + `soap_query_key()`, and `soap_query_val()` functions from the + httpget and httpform plugin APIs to the stdsoap2.c[pp] + library API. No project rebuilds should be necessary when + using these plugins with this upgrade. + +------------------------------------------------------------------- +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 + +- Update to new upstream release 2.8.71 + * Added TLSv1.3 support with OpenSSL 1.1.1. + * Added HTTP PATCH support. + * Updated SSL/TLS options for `soap_ssl_client_context` and + `soap_ssl_server_context` to allow combinations of + `SOAP_TLSv1_0`, `SOAP_TLSv1_1`, `SOAP_TLSv1_2`, + `SOAP_TLSv1_3` protocols (v1.3 only available with OpenSSL + 1.1.1 and greater), a change from the single TLS protocol + flag. + * Fixed soapcpp2 code generation issue for single- and + multi-dimensional fixed-size arrays. + ------------------------------------------------------------------- Tue Sep 11 11:26:23 UTC 2018 - Jan Engelhardt diff --git a/gsoap.spec b/gsoap.spec index 34e61ad..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 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gsoap -%define lname libgsoap-2_8_70 -Version: 2.8.70 +%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 @@ -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 1ea9e49..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.70" +version="2.8.75" shortver="2.8" # agh... if [ ! -e "gsoap_$version.zip" ]; then wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"