rpms/gsoap/F-9 unused_args.patch, NONE, 1.1 use_libtool-2.7.12.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 gsoap.spec, 1.9, 1.10 sources, 1.5, 1.6 2.7.10-upd.patch, 1.1, NONE tru64_hp_ux_c-2.7.10.patch, 1.2, NONE tru64_hp_ux_cpp-2.7.10.patch, 1.2, NONE

Matthew Farrellee matt at fedoraproject.org
Wed Jan 7 05:43:03 UTC 2009


Author: matt

Update of /cvs/pkgs/rpms/gsoap/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4037

Modified Files:
	.cvsignore gsoap.spec sources 
Added Files:
	unused_args.patch use_libtool-2.7.12.patch 
Removed Files:
	2.7.10-upd.patch tru64_hp_ux_c-2.7.10.patch 
	tru64_hp_ux_cpp-2.7.10.patch 
Log Message:
update to gsoap 2.7.12

unused_args.patch:

--- NEW FILE unused_args.patch ---
--- gsoap-2.7/gsoap/src/symbol2.c	2008-10-02 12:36:22.000000000 -0500
+++ gsoap-2.7mf/gsoap/src/symbol2.c	2008-12-25 09:14:14.000000000 -0600
@@ -6127,7 +6127,7 @@
 }
 
 /* c_type_id returns the arraytype to be used in parameter declaration
-   Allows you to specify the identifier that acts acts as teh name of teh
+   Allows you to specify the identifier that acts acts as the name of the
    type of array */
 char *
 c_type_id(Tnode *typ, char *name)
@@ -7278,6 +7278,7 @@
   fprintf(fout,"\n\nSOAP_FMAC5 void SOAP_FMAC6 soap_delete_%s(struct soap *soap, %s)\n{\tsoap_delete(soap, p);\n}", c_ident(typ), c_type_id(typ, "*p"));
   fprintf(fout,"\n\nSOAP_FMAC3 %s * SOAP_FMAC4 soap_instantiate_%s(struct soap *soap, int n, const char *type, const char *arrayType, size_t *size)", c_type(typ), c_ident(typ));
   fprintf(fout,"\n{");
+  fprintf(fout,"\n\t(void)type; (void)arrayType; /* appease -Wall -Werror */");
   fprintf(fout, "\n\tDBGLOG(TEST, SOAP_MESSAGE(fdebug, \"soap_instantiate_%s(%%d, %%s, %%s)\\n\", n, type?type:\"\", arrayType?arrayType:\"\"));", c_ident(typ));
 
   fprintf(fout,"\n\tstruct soap_clist *cp = soap_link(soap, NULL, %s, n, soap_fdelete);", soap_type(typ));
@@ -7347,7 +7348,7 @@
   fprintf(fhead,"\nSOAP_FMAC3 void SOAP_FMAC4 soap_copy_%s(struct soap*, int, int, void*, size_t, const void*, size_t);", c_ident(typ));
   /* fprintf(fhead,"\n#ifdef __cplusplus\n}\n#endif"); */
   /* fprintf(fout,"\n\n#ifdef __cplusplus\nextern \"C\" {\n#endif"); */
-  fprintf(fout,"\nSOAP_FMAC3 void SOAP_FMAC4 soap_copy_%s(struct soap *soap, int st, int tt, void *p, size_t len, const void *q, size_t n)", c_ident(typ));
+  fprintf(fout,"\nSOAP_FMAC3 void SOAP_FMAC4 soap_copy_%s(struct soap */*soap*/, int /*st*/, int /*tt*/, void *p, size_t /*len*/, const void *q, size_t /*n*/)", c_ident(typ));
   fprintf(fout,"\n{");
   fprintf(fout,"\n\tDBGLOG(TEST, SOAP_MESSAGE(fdebug, \"Copying %s %%p -> %%p\\n\", q, p));", c_type(typ));
   fprintf(fout,"\n\t*(%s*)p = *(%s*)q;\n}", c_type(typ), c_type(typ));
@@ -7809,6 +7810,7 @@
     { if (is_external(typ))
         return;
         fprintf(fout,"\n\nvoid %s::soap_default(struct soap *soap)\n{", c_ident(typ)); 
+		fprintf(fout,"\n\t(void)soap; /* appease -Wall -Werror */");
         if ((s = has_soapref(typ)))
           fprintf(fout,"\n\tthis->%s = soap;", s);
 	d = get_Darraydims(typ);
@@ -7836,6 +7838,7 @@
 	}
         fprintf(fhead,"\nSOAP_FMAC3 void SOAP_FMAC4 soap_default_%s(struct soap*, %s);",c_ident(typ),c_type_id(typ, "*")); 
         fprintf(fout,"\n\nSOAP_FMAC3 void SOAP_FMAC4 soap_default_%s(struct soap *soap, %s)\n{", c_ident(typ),c_type_id(typ, "*a")); 
+		fprintf(fout,"\n\t(void)soap; /* appease -Wall -Werror */");
         if ((s = has_soapref(typ)))
           fprintf(fout,"\n\ta->%s = soap;", s);
 	d = get_Darraydims(typ);
@@ -9054,7 +9057,7 @@
       if (is_typedef(typ))
         fprintf(fout, "\n{\treturn soap_%s2s(soap, n);\n}", t_ident(typ));
       else if (is_boolean(typ))
-        fprintf(fout, "\n{\treturn soap_code_str(soap_codes_%s, n!=0);\n}", c_ident(typ));
+        fprintf(fout, "\n{\t(void)soap; /* appease -Wall -Werror */\n\treturn soap_code_str(soap_codes_%s, n!=0);\n}", c_ident(typ));
       else if (!is_mask(typ))
       { fprintf(fout, "\n{\tconst char *s = soap_code_str(soap_codes_%s, (long)n);", c_ident(typ));
         fprintf(fout, "\n\tif (s)\n\t\treturn s;");

use_libtool-2.7.12.patch:

--- NEW FILE use_libtool-2.7.12.patch ---
diff -ur gsoap-2.7/configure.in gsoap-2.7mf/configure.in
--- gsoap-2.7/configure.in	2008-10-02 12:36:28.000000000 -0500
+++ gsoap-2.7mf/configure.in	2008-12-24 15:05:11.000000000 -0600
@@ -15,7 +15,7 @@
 AM_PROG_LEX
 AC_PROG_YACC
 AC_PROG_CPP
-AC_PROG_RANLIB
+AM_PROG_LIBTOOL
 AC_PROG_LN_S
 AC_PROG_AWK
 AC_PROG_INSTALL
@@ -157,12 +157,12 @@
   AC_MSG_RESULT(no)
   WSDL2H_EXTRA_FLAGS="-DWITH_OPENSSL -DWITH_GZIP"
   WSDL2H_EXTRA_LIBS="-lssl -lcrypto -lz"
-  WSDL2H_SOAP_CPP_LIB="libgsoapssl++.a"
+  WSDL2H_SOAP_CPP_LIB="libgsoapssl++.la"
 else
   AC_MSG_RESULT(yes)
   WSDL2H_EXTRA_FLAGS=
   WSDL2H_EXTRA_LIBS=
-  WSDL2H_SOAP_CPP_LIB="libgsoap++.a"
+  WSDL2H_SOAP_CPP_LIB="libgsoap++.la"
 fi
 AC_SUBST(WSDL2H_EXTRA_FLAGS)
 AC_SUBST(WSDL2H_EXTRA_LIBS)
diff -ur gsoap-2.7/gsoap/Makefile.am gsoap-2.7mf/gsoap/Makefile.am
--- gsoap-2.7/gsoap/Makefile.am	2008-10-02 12:36:28.000000000 -0500
+++ gsoap-2.7mf/gsoap/Makefile.am	2008-12-24 15:43:06.000000000 -0600
@@ -3,7 +3,7 @@
 ## you have all needed files, that a GNU package needs
 AUTOMAKE_OPTIONS = foreign 1.4
 
-SUBDIRS = src wsdl @SAMPLE_DIRS@
+SUBDIRS = . src wsdl @SAMPLE_DIRS@
 CLEANFILES = soapcpp2 wsdl2h stdsoap2_cpp.cpp stdsoap2_ck.c stdsoap2_ck_cpp.cpp stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp
 
 ##	*~ *.req.xml *.res.xml *.nsmap *.wsdl *.xsd *Proxy.h \
@@ -31,19 +31,19 @@
 stdsoap2_ssl_cpp.cpp: stdsoap2.cpp
 	$(LN_S) -f $(srcdir)/stdsoap2.cpp stdsoap2_ssl_cpp.cpp
 
-lib_LIBRARIES = libgsoap.a libgsoap++.a libgsoapck.a libgsoapck++.a libgsoapssl.a libgsoapssl++.a
-libgsoap_a_SOURCES = stdsoap2.c
-libgsoap_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform)
-libgsoap___a_SOURCES = stdsoap2_cpp.cpp
-libgsoap___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform)
-libgsoapck_a_SOURCES = stdsoap2_ck.c
-libgsoapck_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_COOKIES
-libgsoapck___a_SOURCES = stdsoap2_ck_cpp.cpp
-libgsoapck___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_COOKIES
-libgsoapssl_a_SOURCES = stdsoap2_ssl.c
-libgsoapssl_a_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP
-libgsoapssl___a_SOURCES = stdsoap2_ssl_cpp.cpp
-libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP
+lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la
+libgsoap_la_SOURCES = stdsoap2.c
+libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform)
+libgsoap___la_SOURCES = stdsoap2_cpp.cpp
+libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform)
+libgsoapck_la_SOURCES = stdsoap2_ck.c
+libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_COOKIES
+libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp
+libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_COOKIES
+libgsoapssl_la_SOURCES = stdsoap2_ssl.c
+libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP
+libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp
+libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) -D$(platform) -DWITH_OPENSSL -DWITH_DOM -DWITH_GZIP
 
 BUILT_SOURCES = stdsoap2_cpp.cpp $(lib_LIBRARIES)
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gsoap/F-9/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	28 Jan 2008 18:57:00 -0000	1.4
+++ .cvsignore	7 Jan 2009 05:42:31 -0000	1.5
@@ -1 +1 @@
-gsoap_2.7.10.tar.gz
+gsoap_2.7.12.tar.gz


Index: gsoap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gsoap/F-9/gsoap.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- gsoap.spec	27 Feb 2008 20:37:12 -0000	1.9
+++ gsoap.spec	7 Jan 2009 05:42:32 -0000	1.10
@@ -1,16 +1,13 @@
 Summary: Generator Tools for Coding SOAP/XML Web Services in C and C++
 Name: gsoap
-Version: 2.7.10
-Release: 4%{?dist}
+Version: 2.7.12
+Release: 1%{?dist}
 License: GPLv2+
 Group: Development/Tools
 URL: http://gsoap2.sourceforge.net
-Source0: http://downloads.sourceforge.net/gsoap2/gsoap_2.7.10.tar.gz
-Patch0: datadir_importpath-2.7.10.patch
-Patch1: use_libtool-2.7.10.patch
-Patch2: install_soapcpp2_wsdl2h_aux-2.7.10.patch
-Patch3: 2.7.10-upd.patch
-Patch4: no_locale.patch
+Source0: http://downloads.sourceforge.net/gsoap2/gsoap_2.7.12.tar.gz
+Patch0: use_libtool-2.7.12.patch
+Patch1: unused_args.patch
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
 BuildRequires: flex
@@ -46,25 +43,11 @@
 %prep
 %setup -q -n gsoap-2.7
 
-# use ${datadir}, not `pwd`, when setting *_IMPORT_PATH locations
+# enable use of libtool in configure.in and a few Makefile.am files
 %patch0 -p1
 
-# enable use of libtool in configure.in and a few Makefile.am files
 %patch1 -p1
 
-# update gsoap/Makefile.am so that it installs gsoap/import,
-# gsoap/plugin, gsoap/WS, gsoap/custom and gsoap/extras into
-# ${prefix}/share/gsoap
-%patch2 -p1
-
-# patch from upstream that fixes glibc C locale issues, hp-ux errno
-# definition, and xsd_dateTime timezone processing for WS-I
-%patch3 -p1
-
-# using locale functions in glibc is experimental, so this patch stops
-# testing for them so they won't be used
-%patch4 -p1
-
 # a number of ~ files are distribute, but we do not want them
 find . -name "*~" -exec rm {} \;
 
@@ -248,6 +231,15 @@
 %_libdir/pkgconfig/gsoap++.pc
 %_libdir/pkgconfig/gsoapssl.pc
 %_libdir/pkgconfig/gsoapssl++.pc
+# Additions in 2.7.12-1
+%_datadir/gsoap/WS/WS-ReliableMessaging.wsdl
+%_datadir/gsoap/WS/WS-ReliableMessaging.xsd
+%_datadir/gsoap/WS/reference-1.1.xsd
+%_datadir/gsoap/WS/ws-reliability-1.1.xsd
+%_datadir/gsoap/import/ref.h
+%_datadir/gsoap/import/wsrm.h
+%_datadir/gsoap/import/wsrm4.h
+%_datadir/gsoap/import/wsrx.h
 
 
 %post -p /sbin/ldconfig
@@ -257,6 +249,17 @@
 
 
 %changelog
+* Wed Dec 24 2008  <matt at redhat> - 2.7.12-1
+- Updated to gsoap 2.7.12:
+-  Numerous bug fixes - xml:lang, maxOccurs="unbounded", SSL, xmlns="", ...
+-  New features, maintaining backward compatibility - MinGW, wsseapi, multi-endpoint connect, ...
+- Patches removed (incorporated upstream):
+-  datadir_importpath-2.7.10.patch
+-  install_soapcpp2_wsdl2h_aux-2.7.10.patch
+-  no_locale.patch as default off, enable by defining WITH_C_LOCALE
+- Patches added (sent upstream):
+-  unused_args.patch - eliminate many unused param warnings
+
 * Thu Feb 21 2008  <mfarrellee at redhat> - 2.7.10-4
 - Applied upd patch from upstream. It fixes glibc C locale issues,
   hp-ux h_errno definition, and xsd:dateTime timezone processing for


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gsoap/F-9/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	28 Jan 2008 18:57:01 -0000	1.5
+++ sources	7 Jan 2009 05:42:32 -0000	1.6
@@ -1 +1 @@
-31ac50314900d87c43f8f008c8de712f  gsoap_2.7.10.tar.gz
+2ad798072cd812a0d8c3aebadf557762  gsoap_2.7.12.tar.gz


--- 2.7.10-upd.patch DELETED ---


--- tru64_hp_ux_c-2.7.10.patch DELETED ---


--- tru64_hp_ux_cpp-2.7.10.patch DELETED ---




More information about the fedora-extras-commits mailing list