summaryrefslogtreecommitdiff
path: root/devel/gsoap
diff options
context:
space:
mode:
authorhasso <hasso>2009-05-13 18:46:16 +0000
committerhasso <hasso>2009-05-13 18:46:16 +0000
commita6058af144b731eaf4f080281b0b5a51f6422e39 (patch)
treee0a7176ad35382019b9501a004d0ce85b1f3a926 /devel/gsoap
parent26da3997a2cf8ae02d0a8d5e4deadc0876486df1 (diff)
downloadpkgsrc-a6058af144b731eaf4f080281b0b5a51f6422e39.tar.gz
Update to 2.7.13. Make it build on recent DragonFly and mark as DESTDIR
ready. Upstream changes: Version 2.7.8 revisions a/b/c (06/05/2006-06/24/2006)) Added X509 extension checks. Added advanced MTOM streaming features. Added WS-Addressing plugin and demo. Moved soapcpp2 and wsdl2h to bin directory. Improved SOAP1.2 MTOM interop. Changed soap_send_empty_response function signature (additional status argument) for HTTP optional response binding. Changed fmimewriteopen() callback signature. Fixed wsdl2h top-level element and complexType name clash issue. Fixed HTTP chunking with empty response message body. Fixed WSSE digest authentication. Fixed WSDL response element output. Fixed SOAP 1.2 <RPC:result> handling with SOAP_XML_STRICT flag. Fixed WSSE signed response messages. Fixed Win32 max open connection exceeded checking. Fixed xsi:type matching for "__name" fields, which required a signature change of soap_element_begin_in() with an additional 'type' parameter (affecting custom deserializers, see custom dir). Version 2.7.9 revisions a/b/c/d/e/f/g/h/i/j/k/l (10/24/2006-09/26/2007) Added wsdl2h option -j to omit the generation of SOAP Header and Faults for customization of these. Added wsdl2h option -q to generate C++ namespace qualified header files. Added SOAP_SSLv3, SOAP_TLSv1, SOAP_SSL_SKIP_HOST_CHECK flags. Added file input and output specifications (with < and >) to wsdl2h's typemap.dat to specify input and output for wsdl2h. Added WS-Addressing 2005/03 support. Added function soap_free() = soap_done() + free() and renamed previous soap_free() to soap_temp_free(). Added wsdl2h option -_ to translate _USCORE. Added xsd:anyAttribute (using DOM parser) with wsdl2h option -d. Added multi-WSDL types section schema component merging. Added TCP keep-alive settings. Added QName list normalization. Changed soapcpp2 default rule for generating attribute form qualified to unqualified. Improved wsdl2h SOAP Fault coding. Improved performance and stability. Improved portability. Improved wsdl2h empty namespace handling ("" namespace). Improved wsdl2h and schema conversion to C and C++. Improved SSL timeouts and error handling. Improved soapcpp2 option -i (generate proxy and service classes). Improved class instance initialization. Improved use of IPv6. Improved proxy and server code output for soapcpp2 option -i. Improved soapcpp2 code output with additional exception checks. Fixed MIME/MTOM start id handling (SOAP message no longer required to be first attachment). Fixed WS-Security wsse plugin canonicalization format issue. Fixed ZIP content remainder parsing (CRC check). Fixed WSA API handling of messages with MIME/DIME attachments. Fixed wsdl2h <include> relative path includes. Fixed _XML literal string parsing of root attributes. Version 2.7.10 (01/27/2008) Combined pre-built win32, Linux i386, and Mac universal binaries into a single software distribution package to streamline the distribution. Added new Web service examples and removed XMethods dependence. Added soapcpp2 option -q<name> for automatic C++ namespace qualification. Added HTTP PUT, DELETE, HEAD callback support. Added ability to derive classes from soap struct (in gSOAP header files). Updated certificates and fixed cacerts.c. Improved soapcpp2 option -i proxy/server object generation. Improved socket timeout handling. Improved HTTP chunking handling and efficiency. Improved web server implementation. Improved soapcpp2 and wsdl2h warning and error reporting. Fixed dom parser handling of default xml namespace bindings. Fixed wsdl2h default ("") namespace handling. Version 2.7.11 (07/26/2008) Added new wsseapi signature verification API functions. Added mutability property of SOAP_ENV__Header and SOAP_ENV__Fault struct to allow consistent redefinitions and on-the-fly member additions. Added wsdl2h -r option parameters. Added MINGW portability. Added configure option --disable-openssl to build wsdl2h and libraries without OpenSSL. Added WITH_C_LOCALE compilation flag to enable the use of c_locale and local-specific numeric conversion routines. Fixed xml:lang in SOAP 1.2 SOAP-ENV:Text. Fixed XML literal strings with maxOccurs="unbounded" Fixed SSL connection engine issue. Fixed RPC literal part name handling issue. Fixed in update: SSL alloc/free issue and s2dateTime. Version 2.7.12 (10/01/2008) Added multi-endpoint connect capability. Endpoint string can be a space-separated list of endpoint URLs, where each URL is tried in turn. Added SOAP_SSL_NO_DEFAULT_CA_PATH option. Fixed SSL connect issue when the SSL handshake or network connection fails. Fixed xsi:nil handling for strings (NULL vs. "") in case of empty elements. Fixed DOM xmlns="" namespace issue in XML output. Fixed IP_MULTICAST_TTL failure to compile. Fixed non-critical WSSE API soap_wsse_verify_nested code. Version 2.7.13 (03/21/2009) Improved wsdl2h code output. Updated gsoapWinInet. Updated DOM xmlns namespace binding handling. Fixed OpenSSL memory leak.
Diffstat (limited to 'devel/gsoap')
-rw-r--r--devel/gsoap/Makefile10
-rw-r--r--devel/gsoap/PLIST116
-rw-r--r--devel/gsoap/distinfo10
-rw-r--r--devel/gsoap/patches/patch-aa13
-rw-r--r--devel/gsoap/patches/patch-ab13
5 files changed, 153 insertions, 9 deletions
diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index da94defb3d2..c270f053a4e 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2006/08/30 15:51:15 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2009/05/13 18:46:16 hasso Exp $
-DISTNAME= gsoap_2.7.7
-PKGNAME= gsoap-2.7.7
+DISTNAME= gsoap_2.7.13
+PKGNAME= gsoap-2.7.13
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsoap2/}
@@ -9,10 +9,12 @@ MAINTAINER= chriswareham@chriswareham.demon.co.uk
HOMEPAGE= http://gsoap2.sourceforge.net/
COMMENT= Tools for coding SOAP XML Web Services in C and C++
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/gsoap-2.7
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
-USE_TOOLS+= yacc flex
+USE_TOOLS+= yacc flex gmake
PKGCONFIG_OVERRIDE+= ${WRKSRC}/gsoap++.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/gsoap.pc.in
diff --git a/devel/gsoap/PLIST b/devel/gsoap/PLIST
index 190125a4adb..c10c52d6ab1 100644
--- a/devel/gsoap/PLIST
+++ b/devel/gsoap/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/29 02:01:19 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2009/05/13 18:46:16 hasso Exp $
bin/soapcpp2
bin/wsdl2h
include/stdsoap2.h
@@ -14,3 +14,117 @@ lib/pkgconfig/gsoapck++.pc
lib/pkgconfig/gsoapck.pc
lib/pkgconfig/gsoapssl++.pc
lib/pkgconfig/gsoapssl.pc
+share/gsoap/WS/README.txt
+share/gsoap/WS/WS-Addressing.xsd
+share/gsoap/WS/WS-Addressing03.xsd
+share/gsoap/WS/WS-Addressing04.xsd
+share/gsoap/WS/WS-Addressing05.xsd
+share/gsoap/WS/WS-Discovery.wsdl
+share/gsoap/WS/WS-Enumeration.wsdl
+share/gsoap/WS/WS-Policy.xsd
+share/gsoap/WS/WS-ReliableMessaging.wsdl
+share/gsoap/WS/WS-ReliableMessaging.xsd
+share/gsoap/WS/WS-Routing.xsd
+share/gsoap/WS/WS-typemap.dat
+share/gsoap/WS/discovery.xsd
+share/gsoap/WS/ds.xsd
+share/gsoap/WS/enumeration.xsd
+share/gsoap/WS/reference-1.1.xsd
+share/gsoap/WS/typemap.dat
+share/gsoap/WS/ws-reliability-1.1.xsd
+share/gsoap/WS/wsse.xsd
+share/gsoap/WS/wsu.xsd
+share/gsoap/custom/README.txt
+share/gsoap/custom/long_double.c
+share/gsoap/custom/long_double.h
+share/gsoap/custom/struct_timeval.c
+share/gsoap/custom/struct_timeval.h
+share/gsoap/custom/struct_tm.c
+share/gsoap/custom/struct_tm.h
+share/gsoap/extras/README.txt
+share/gsoap/extras/ckdb.c
+share/gsoap/extras/ckdb.h
+share/gsoap/extras/ckdbtest.c
+share/gsoap/extras/ckdbtest.h
+share/gsoap/extras/fault.cpp
+share/gsoap/extras/logging.cpp
+share/gsoap/extras/soapdefs.h
+share/gsoap/import/README.txt
+share/gsoap/import/WS-Header.h
+share/gsoap/import/WS-example.c
+share/gsoap/import/WS-example.h
+share/gsoap/import/c14n.h
+share/gsoap/import/dom.h
+share/gsoap/import/ds.h
+share/gsoap/import/ds2.h
+share/gsoap/import/ref.h
+share/gsoap/import/soap12.h
+share/gsoap/import/stdstring.h
+share/gsoap/import/stl.h
+share/gsoap/import/stldeque.h
+share/gsoap/import/stllist.h
+share/gsoap/import/stlset.h
+share/gsoap/import/stlvector.h
+share/gsoap/import/wsa.h
+share/gsoap/import/wsa3.h
+share/gsoap/import/wsa4.h
+share/gsoap/import/wsa5.h
+share/gsoap/import/wsp.h
+share/gsoap/import/wsrm.h
+share/gsoap/import/wsrm4.h
+share/gsoap/import/wsrp.h
+share/gsoap/import/wsrx.h
+share/gsoap/import/wsse.h
+share/gsoap/import/wsse2.h
+share/gsoap/import/wsu.h
+share/gsoap/import/xlink.h
+share/gsoap/import/xmime.h
+share/gsoap/import/xmime4.h
+share/gsoap/import/xmime5.h
+share/gsoap/import/xml.h
+share/gsoap/import/xmlmime.h
+share/gsoap/import/xmlmime5.h
+share/gsoap/import/xop.h
+share/gsoap/import/xsd.h
+share/gsoap/plugin/README.txt
+share/gsoap/plugin/cacerts.c
+share/gsoap/plugin/cacerts.h
+share/gsoap/plugin/httpda.c
+share/gsoap/plugin/httpda.h
+share/gsoap/plugin/httpdatest.c
+share/gsoap/plugin/httpdatest.h
+share/gsoap/plugin/httpform.c
+share/gsoap/plugin/httpform.h
+share/gsoap/plugin/httpget.c
+share/gsoap/plugin/httpget.h
+share/gsoap/plugin/httpgettest.c
+share/gsoap/plugin/httpgettest.h
+share/gsoap/plugin/httpmd5.c
+share/gsoap/plugin/httpmd5.h
+share/gsoap/plugin/httpmd5test.c
+share/gsoap/plugin/httpmd5test.h
+share/gsoap/plugin/httppost.c
+share/gsoap/plugin/httppost.h
+share/gsoap/plugin/logging.c
+share/gsoap/plugin/logging.h
+share/gsoap/plugin/md5evp.c
+share/gsoap/plugin/md5evp.h
+share/gsoap/plugin/plugin.c
+share/gsoap/plugin/plugin.h
+share/gsoap/plugin/smdevp.c
+share/gsoap/plugin/smdevp.h
+share/gsoap/plugin/threads.c
+share/gsoap/plugin/threads.h
+share/gsoap/plugin/wsaapi.c
+share/gsoap/plugin/wsaapi.h
+share/gsoap/plugin/wsse2api.c
+share/gsoap/plugin/wsse2api.h
+share/gsoap/plugin/wsseapi.c
+share/gsoap/plugin/wsseapi.cpp
+share/gsoap/plugin/wsseapi.h
+@dirrm share/gsoap/plugin
+@dirrm share/gsoap/import
+@dirrm share/gsoap/extras
+@dirrm share/gsoap/custom
+@dirrm share/gsoap/WS
+@dirrm share/gsoap
diff --git a/devel/gsoap/distinfo b/devel/gsoap/distinfo
index fa02eb6ac9b..c33834bfbf0 100644
--- a/devel/gsoap/distinfo
+++ b/devel/gsoap/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.2 2006/05/16 22:37:27 wiz Exp $
+$NetBSD: distinfo,v 1.3 2009/05/13 18:46:16 hasso Exp $
-SHA1 (gsoap_2.7.7.tar.gz) = 5808aa51ee12b50683c12a4d20941a2a6cc490b6
-RMD160 (gsoap_2.7.7.tar.gz) = 420cafdbbeede58e191f94f25013fe8387ac51d6
-Size (gsoap_2.7.7.tar.gz) = 5935586 bytes
+SHA1 (gsoap_2.7.13.tar.gz) = 4c91ce860ee6853f785a11484c7298d294a53ef6
+RMD160 (gsoap_2.7.13.tar.gz) = 58f2bcd95199fdec3c5ce6579374148eaab955b1
+Size (gsoap_2.7.13.tar.gz) = 6564489 bytes
+SHA1 (patch-aa) = 6e0b1c00244c1dcada571e8d3a7c4b2be5800df3
+SHA1 (patch-ab) = 9a35355d7553d5063278574109a2c1121a2a5b18
diff --git a/devel/gsoap/patches/patch-aa b/devel/gsoap/patches/patch-aa
new file mode 100644
index 00000000000..58c65536d80
--- /dev/null
+++ b/devel/gsoap/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2009/05/13 18:46:17 hasso Exp $
+
+--- gsoap/stdsoap2.c.orig 2009-05-13 17:50:52 +0300
++++ gsoap/stdsoap2.c 2009-05-13 17:51:37 +0300
+@@ -3585,7 +3585,7 @@ tcp_gethost(struct soap *soap, const cha
+ { memcpy(inaddr, &iadd, sizeof(iadd));
+ return SOAP_OK;
+ }
+-#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__)))
++#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__) || defined(__DragonFly__)))
+ if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0)
+ host = NULL;
+ #elif defined(_AIX43) || ((defined(TRU64) || defined(HP_UX)) && defined(HAVE_GETHOSTBYNAME_R))
diff --git a/devel/gsoap/patches/patch-ab b/devel/gsoap/patches/patch-ab
new file mode 100644
index 00000000000..64b1f278f5f
--- /dev/null
+++ b/devel/gsoap/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2009/05/13 18:46:17 hasso Exp $
+
+--- gsoap/stdsoap2.cpp.orig 2009-05-13 17:52:06 +0300
++++ gsoap/stdsoap2.cpp 2009-05-13 17:52:37 +0300
+@@ -3585,7 +3585,7 @@ tcp_gethost(struct soap *soap, const cha
+ { memcpy(inaddr, &iadd, sizeof(iadd));
+ return SOAP_OK;
+ }
+-#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__)))
++#if defined(__GLIBC__) || (defined(HAVE_GETHOSTBYNAME_R) && (defined(FREEBSD) || defined(__FreeBSD__) || defined(__DragonFly__)))
+ if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0)
+ host = NULL;
+ #elif defined(_AIX43) || ((defined(TRU64) || defined(HP_UX)) && defined(HAVE_GETHOSTBYNAME_R))