From e76ff8e262f78987a65d58402b22817ba33a0cef009124eeda440ad3eedef3cd Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 12 Feb 2018 11:22:56 +0000 Subject: [PATCH 1/2] - Update to new upstream release 2.8.62 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=124 --- gsoap-2.8.61.tar.xz | 3 --- gsoap-2.8.62.tar.xz | 3 +++ gsoap.changes | 15 +++++++++++++++ gsoap.spec | 4 ++-- sanitize_source.sh | 2 +- 5 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 gsoap-2.8.61.tar.xz create mode 100644 gsoap-2.8.62.tar.xz diff --git a/gsoap-2.8.61.tar.xz b/gsoap-2.8.61.tar.xz deleted file mode 100644 index 020c25a..0000000 --- a/gsoap-2.8.61.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4d8365fd77507127a9371c31f7ed53c46f9d931584e0734c923572062e88e52 -size 17240784 diff --git a/gsoap-2.8.62.tar.xz b/gsoap-2.8.62.tar.xz new file mode 100644 index 0000000..dbc504b --- /dev/null +++ b/gsoap-2.8.62.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec20cac99b455593a6306e29be6d074c1202ed1be6e2ff37a8b92019c7bbe5c2 +size 18072800 diff --git a/gsoap.changes b/gsoap.changes index dda4a70..df2b6e5 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Feb 12 11:19:35 UTC 2018 - jengelh@inai.de + +- Update to new upstream release 2.8.62 + * Added wsdl2h options `-O3` and `-O4` to aggressively optimize + WSDLs internally by "schema slicing": `-O3` applies `-O2` and + also removes unused root attributes, `-O4` applies `-O3` and + also removes unused root elements. It only makes sense to use + `-O4` with one or more WSDLs (and XSDs that are imported by + the WSDL), because all schema components will be removed from + XSDs that are not used by WSDLs. + * Updated HTTP digest plugin. + * Improved soapcpp2 options `-g` and `-y`, may be used together + to generate sample XML messages. + ------------------------------------------------------------------- Mon Jan 29 22:06:17 UTC 2018 - jengelh@inai.de diff --git a/gsoap.spec b/gsoap.spec index 371feb9..adbacfa 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -17,8 +17,8 @@ Name: gsoap -%define lname libgsoap-2_8_61 -Version: 2.8.61 +%define lname libgsoap-2_8_62 +Version: 2.8.62 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 073879c..14bce0c 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.61" +version="2.8.62" shortver="2.8" # agh... if [ ! -e "gsoap_$version.zip" ]; then wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip" From c3c35a9bf6fa1c51434886d1e3f2297923f99a1ce2bc00111c0da92e1d34a2f6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 14 Feb 2018 20:37:05 +0000 Subject: [PATCH 2/2] - Add xlocale.diff OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=125 --- gsoap.changes | 5 +++++ gsoap.spec | 5 ++++- xlocale.diff | 17 +++++++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 xlocale.diff diff --git a/gsoap.changes b/gsoap.changes index df2b6e5..d17d558 100644 --- a/gsoap.changes +++ b/gsoap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 14 20:27:46 UTC 2018 - jengelh@inai.de + +- Add xlocale.diff + ------------------------------------------------------------------- Mon Feb 12 11:19:35 UTC 2018 - jengelh@inai.de diff --git a/gsoap.spec b/gsoap.spec index adbacfa..c716eb6 100644 --- a/gsoap.spec +++ b/gsoap.spec @@ -29,6 +29,7 @@ Source: gsoap-%version.tar.xz Source2: sanitize_source.sh Patch1: gsoap-automake1_13.diff Patch2: gsoap-01-sharedlibs.diff +Patch3: xlocale.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -83,7 +84,7 @@ This subpackage contains the documentation for the gSOAP toolkit. %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 @@ -95,6 +96,8 @@ perl -i -lpe 's{AC_INIT\(gsoap, 2.8\)}{AC_INIT([gsoap], [%version])}' \ # Also needed because Makefile.am and configure.ac are touched. autoreconf -fi +export CXXFLAGS="-O0 -ggdb3" +export CFLAGS="-O0 -ggdb3" %configure --enable-ipv6 --disable-static pushd gsoap/src/ # build prerequisites for parallel build first diff --git a/xlocale.diff b/xlocale.diff new file mode 100644 index 0000000..b0a5010 --- /dev/null +++ b/xlocale.diff @@ -0,0 +1,17 @@ +Kill this again. There just IS NOT ANY xlocale.h in glibc-2.26. +--- + gsoap/stdsoap2.h | 1 - + 1 file changed, 1 deletion(-) + +Index: gsoap-2.8.62/gsoap/stdsoap2.h +=================================================================== +--- gsoap-2.8.62.orig/gsoap/stdsoap2.h ++++ gsoap-2.8.62/gsoap/stdsoap2.h +@@ -464,7 +464,6 @@ extern intmax_t __strtoull(const char*, + # define HAVE_STRTOD_L + # define HAVE_SSCANF_L + # define HAVE_LOCALE_H +-# define HAVE_XLOCALE_H + # endif + # elif defined(TRU64) + # define HAVE_SNPRINTF