[gsoap] Update to gsoap 2.8.12
Mattias Ellert
ellert at fedoraproject.org
Fri Jan 11 07:17:09 UTC 2013
commit a8664e3a1af62686eb2c4bb9fbd0452ab4a7e8f5
Author: Mattias Ellert <mattias.ellert at fysast.uu.se>
Date: Fri Jan 11 08:16:33 2013 +0100
Update to gsoap 2.8.12
- Bump soname
gsoap-pow.patch | 9 +++++++++
gsoap.spec | 24 +++++++++++++++++++++---
soapcpp2.1 | 15 ++++++++++++---
sources | 2 +-
wsdl2h.1 | 38 +++++++++++++++++++++++---------------
5 files changed, 66 insertions(+), 22 deletions(-)
---
diff --git a/gsoap-pow.patch b/gsoap-pow.patch
new file mode 100644
index 0000000..57c4462
--- /dev/null
+++ b/gsoap-pow.patch
@@ -0,0 +1,9 @@
+diff -ur gsoap-2.8.12.orig/gsoap/samples/chaining/Makefile.am gsoap-2.8.12/gsoap/samples/chaining/Makefile.am
+--- gsoap-2.8.12.orig/gsoap/samples/chaining/Makefile.am 2012-12-11 01:36:45.000000000 +0100
++++ gsoap-2.8.12/gsoap/samples/chaining/Makefile.am 2013-01-10 10:32:10.265892484 +0100
+@@ -22,4 +22,4 @@
+ SOAP_NS = c.nsmap
+
+ chaining_SOURCES = chaining.c quote.h calc.h env.h qServerLib.c cServerLib.c envC.c
+-chaining_LDADD = $(SOAP_C_LIB) $(SAMPLE_EXTRA_LIBS)
++chaining_LDADD = $(SOAP_C_LIB) $(SAMPLE_EXTRA_LIBS) -lm
diff --git a/gsoap.spec b/gsoap.spec
index 335984a..389c295 100644
--- a/gsoap.spec
+++ b/gsoap.spec
@@ -1,9 +1,9 @@
Summary: Generator Tools for Coding SOAP/XML Web Services in C and C++
Name: gsoap
-Version: 2.8.7
-Release: 3%{?dist}
+Version: 2.8.12
+Release: 1%{?dist}
# Bump the soversion when the new version is not backward compatiple
-%global soversion 2
+%global soversion 3
# gsoap is licensed both under the gSOAP public license and under GPL version
# 2 or later with an OpenSSL linking exception.
@@ -25,6 +25,7 @@ Source0: http://downloads.sourceforge.net/gsoap2/%{name}_%{version}.zip
Source1: soapcpp2.1
Source2: wsdl2h.1
Patch0: %{name}-libtool.patch
+Patch1: %{name}-pow.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: flex
@@ -69,6 +70,9 @@ gSOAP documentation in html
# enable use of libtool in configure.in and a few Makefile.am files
%patch0 -p1
+# Missing -lm for pow function
+%patch1 -p1
+
# XML files non-executable
find . -name "*.xml" -exec chmod a-x {} \;
@@ -266,6 +270,16 @@ make check
%_datadir/gsoap/plugin/wsddapi.h
# Additions in 2.8.7-1
%_datadir/gsoap/import/wsdd10.h
+# Additions in 2.8.12-1
+%_datadir/gsoap/WS/WS-SecureConversation.xsd
+%_datadir/gsoap/WS/WS-Trust.wsdl
+%_datadir/gsoap/WS/WS-Trust.xsd
+%_datadir/gsoap/import/ser.h
+%_datadir/gsoap/import/wsc.h
+%_datadir/gsoap/import/wsrm5.h
+%_datadir/gsoap/import/wsrx5.h
+%_datadir/gsoap/import/wst.h
+%_datadir/gsoap/import/wstx.h
%files doc
%defattr(-,root,root,-)
@@ -277,6 +291,10 @@ make check
%postun -p /sbin/ldconfig
%changelog
+* Thu Jan 10 2013 Mattias Ellert <mattias.ellert at fysast.uu.se> - 2.8.12-1
+- Update to gsoap 2.8.12
+- Bump soname
+
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.8.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/soapcpp2.1 b/soapcpp2.1
index 357c192..b2d0174 100644
--- a/soapcpp2.1
+++ b/soapcpp2.1
@@ -32,6 +32,9 @@ Generate SOAP 1.1 bindings.
\fB\-2\fR
Generate SOAP 1.2 bindings.
.TP
+\fB\-0\fR
+Remove SOAP bindings (when not explicitly set by directives).
+.TP
\fB\-C\fR
Generate client-side code only.
.TP
@@ -45,7 +48,10 @@ Generate server-side auto-test code.
Do not generate \fBsoapClientLib\fR/\fBsoapServerLib\fR.
.TP
\fB\-a\fR
-Use \fBSOAPAction\fR HTTP/WSA header to invoke server-side operations.
+Use \fBSOAPAction\fR with WS-Addressing to invoke server-side operations.
+.TP
+\fB\-A\fR
+Require \fBSOAPAction\fR to invoke server-side operations.
.TP
\fB\-b\fR
Serialize byte arrays char[N] as string.
@@ -66,7 +72,7 @@ File split of \fIN\fR XML serializer implementations per file (N>=10).
Display help info.
.TP
\fB\-I\fIpath\fR
-use \fIpath\fR(s) for \fB#import\fR.
+use \fIpath\fR(s) for \fB#import\fR (paths separated with ':').
.TP
\fB\-i\fR
Generate C++ service proxies and objects inherited from \fBsoap\fR struct.
@@ -89,8 +95,11 @@ Use service name to rename service functions and namespace table.
\fB\-p\fIname\fR
Save files with new prefix \fIname\fR instead of \fBsoap\fR.
.TP
+\fB\-Q\fIname\fR
+Use \fIname\fR as the C++ namespace for decls, including custom serializers.
+.TP
\fB\-q\fIname\fR
-Use \fIname\fR as the C++ namespace of all declarations.
+Use \fIname\fR as the C++ namespace for decls, excluding custom serializers.
.TP
\fB\-s\fR
Generate deserialization code with strict XML validation checks.
diff --git a/sources b/sources
index 30862a1..952f55e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-48a8dfddffd8f10b3ca82a6a9583e206 gsoap_2.8.7.zip
+5700d26fc6fe3073d038349e19c3640d gsoap_2.8.12.zip
diff --git a/wsdl2h.1 b/wsdl2h.1
index bb19791..8fecaf3 100644
--- a/wsdl2h.1
+++ b/wsdl2h.1
@@ -32,6 +32,9 @@ from standard input.
Generate indexed struct names for local elements with anonymous
types.
.TP
+\fB\-b\fR
+Bi-directional operations (duplex ops) to serve one-way response messages.
+.TP
\fB\-c\fR
Generate C source code.
.TP
@@ -51,12 +54,12 @@ Generate global top-level element declarations.
\fB\-h\fR
Display help info.
.TP
-\fB\-i\fR
-Do not import (advanced option).
-.TP
\fB\-I\fIpath\fR
Use \fIpath\fR to find files.
.TP
+\fB\-i\fR
+Do not import (advanced option).
+.TP
\fB\-j\fR
Do not generate \fBSOAP_ENV__Header\fR and \fBSOAP_ENV__Detail\fR
definitions.
@@ -70,21 +73,20 @@ Display license information.
\fB\-m\fR
Use \fBxsd.h\fR module to import primitive types.
.TP
+\fB\-N\fIname\fR
+Use \fIname\fR for service namespace prefixes and multiple bindings.
+.TP
\fB\-n\fIname\fR
Use \fIname\fR as the base namespace prefix instead of \fBns\fR.
.TP
-\fB\-N\fIname\fR
-Use \fIname\fR as the base namespace prefix for service namespaces.
-.TP
\fB\-o\fIfile\fR
Output to file \fIfile\fR.
.TP
-\fB\-p\fR
-Create polymorphic types with C++ inheritance from base
-\fBxsd__anyType\fR.
-.TP
\fB\-P\fR
-Do not create polymorphic types with C++ inheritance from \fBxsd__anyType\fR.
+Do not create polymorphic types inherited from \fBxsd__anyType\fR.
+.TP
+\fB\-p\fR
+Create polymorphic types inherited from base \fBxsd__anyType\fR.
.TP
\fB\-q\fIname\fR
Use \fIname\fR for the C++ namespace of all declarations.
@@ -106,13 +108,13 @@ Do not generate unions.
\fB\-v\fR
Verbose output.
.TP
+\fB\-W\fR
+Suppress warnings.
+.TP
\fB\-w\fR
Always wrap response parameters in a response struct (<=1.1.4
behaviour).
.TP
-\fB\-W\fR
-Suppress warnings.
-.TP
\fB\-x\fR
Do not generate \fB_XML\fR \fIany\fR/\fIanyAttribute\fR extensibility
elements.
@@ -124,7 +126,13 @@ Generate typedef synonyms for structs and enums.
Compatibility with 2.7.6e: Generate pointer-based arrays.
.TP
\fB\-z2\fR
-Compatibility with 2.7.15: Qualify element/attribute referenced members.
+Compatibility with 2.7.7 to 2.7.15: qualify element/attribute references.
+.TP
+\fB\-z3\fR
+Compatibility with 2.7.16 to 2.8.7: qualify element/attribute references.
+.TP
+\fB\-z4\fR
+Compatibility up to 2.8.11: do not generate union structs in std::vector.
.TP
\fB\-_\fR
Do not generate _USCORE (replace with UNICODE _x005f).
More information about the scm-commits
mailing list