From 476cb2e7359e51b837b1e7693a4bc92a2997dfd8 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sun, 5 Apr 2015 11:11:25 +0000 Subject: [PATCH] Import gsoap-2.8.1. The gSOAP toolkit provides a cross-platform software development toolkit for C and C++ server and client Web service applications, and simplifies the overall use of XML in any type of application. The toolkit supports SOAP 1.1/1.2 RPC encoding and document/literal styles, WSDL 1.1, MTOM/MIME/DIME attachments (streaming), SOAP-over-UDP, request-response and one-way messaging. The toolkit also supports WS-Addressing and WS-Security, with several other WS-* available or under development. req. by and ok robert@ --- devel/gsoap/Makefile | 24 ++++ devel/gsoap/distinfo | 2 + devel/gsoap/patches/patch-gsoap_stdsoap2_h | 14 ++ devel/gsoap/pkg/DESCR | 7 + devel/gsoap/pkg/PLIST | 143 +++++++++++++++++++++ 5 files changed, 190 insertions(+) create mode 100644 devel/gsoap/Makefile create mode 100644 devel/gsoap/distinfo create mode 100644 devel/gsoap/patches/patch-gsoap_stdsoap2_h create mode 100644 devel/gsoap/pkg/DESCR create mode 100644 devel/gsoap/pkg/PLIST diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile new file mode 100644 index 00000000000..1588799ea55 --- /dev/null +++ b/devel/gsoap/Makefile @@ -0,0 +1,24 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/04/05 11:11:25 ajacoutot Exp $ + +COMMENT= SOAP/REST Web Services and XML-Based apps toolkit + +V= 2.8.1 +DISTNAME= gsoap_${V} +PKGNAME= gsoap-${V} +EXTRACT_SUFX= .zip +WRKDIST= ${WRKDIR}/gsoap-${V:R} + +CATEGORIES= devel + +HOMEPAGE= https://www.cs.fsu.edu/~engelen/soap.html + +# MPL-like - GPLv2 +PERMIT_PACKAGE_CDROM= Yes + +WANTLIB += c crypto m ssl stdc++ z + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsoap2/gSOAP/} + +CONFIGURE_STYLE= gnu + +.include diff --git a/devel/gsoap/distinfo b/devel/gsoap/distinfo new file mode 100644 index 00000000000..21ec550ff91 --- /dev/null +++ b/devel/gsoap/distinfo @@ -0,0 +1,2 @@ +SHA256 (gsoap_2.8.1.zip) = G4CwRxKqUXCp+lqIzE3rtInDjc0CJQk8RemdMUFma64= +SIZE (gsoap_2.8.1.zip) = 10954908 diff --git a/devel/gsoap/patches/patch-gsoap_stdsoap2_h b/devel/gsoap/patches/patch-gsoap_stdsoap2_h new file mode 100644 index 00000000000..9beaaf84e21 --- /dev/null +++ b/devel/gsoap/patches/patch-gsoap_stdsoap2_h @@ -0,0 +1,14 @@ +$OpenBSD: patch-gsoap_stdsoap2_h,v 1.1.1.1 2015/04/05 11:11:25 ajacoutot Exp $ +--- gsoap/stdsoap2.h.orig Sun Apr 5 12:59:04 2015 ++++ gsoap/stdsoap2.h Sun Apr 5 12:59:32 2015 +@@ -342,7 +342,9 @@ A commercial use license is available from Genivia, In + # define HAVE_STRTOUL + # define HAVE_STRTOLL + # define HAVE_STRTOULL +-# define HAVE_SYS_TIMEB_H ++# ifndef __OpenBSD__ ++# define HAVE_SYS_TIMEB_H ++# endif + # define HAVE_FTIME + # define HAVE_RAND_R + # define HAVE_GMTIME_R diff --git a/devel/gsoap/pkg/DESCR b/devel/gsoap/pkg/DESCR new file mode 100644 index 00000000000..ddeee176990 --- /dev/null +++ b/devel/gsoap/pkg/DESCR @@ -0,0 +1,7 @@ +The gSOAP toolkit provides a cross-platform software development toolkit for C +and C++ server and client Web service applications, and simplifies the overall +use of XML in any type of application. The toolkit supports SOAP 1.1/1.2 RPC +encoding and document/literal styles, WSDL 1.1, MTOM/MIME/DIME attachments +(streaming), SOAP-over-UDP, request-response and one-way messaging. The toolkit +also supports WS-Addressing and WS-Security, with several other WS-* available +or under development. diff --git a/devel/gsoap/pkg/PLIST b/devel/gsoap/pkg/PLIST new file mode 100644 index 00000000000..37c8dc10045 --- /dev/null +++ b/devel/gsoap/pkg/PLIST @@ -0,0 +1,143 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2015/04/05 11:11:25 ajacoutot Exp $ +@bin bin/soapcpp2 +@bin bin/wsdl2h +include/stdsoap2.h +lib/libgsoap++.a +lib/libgsoap.a +lib/libgsoapck++.a +lib/libgsoapck.a +lib/libgsoapssl++.a +lib/libgsoapssl.a +lib/pkgconfig/gsoap++.pc +lib/pkgconfig/gsoap.pc +lib/pkgconfig/gsoapck++.pc +lib/pkgconfig/gsoapck.pc +lib/pkgconfig/gsoapssl++.pc +lib/pkgconfig/gsoapssl.pc +share/gsoap/ +share/gsoap/WS/ +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-Policy12.xsd +share/gsoap/WS/WS-ReliableMessaging.wsdl +share/gsoap/WS/WS-ReliableMessaging.xsd +share/gsoap/WS/WS-Routing.xsd +share/gsoap/WS/WS-SecurityPolicy.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/WS/xenc.xsd +share/gsoap/custom/ +share/gsoap/custom/README.txt +share/gsoap/custom/duration.c +share/gsoap/custom/duration.h +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/ +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/ +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/wsse11.h +share/gsoap/import/wsse2.h +share/gsoap/import/wsu.h +share/gsoap/import/xenc.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/ +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/httpposttest.c +share/gsoap/plugin/httpposttest.h +share/gsoap/plugin/logging.c +share/gsoap/plugin/logging.h +share/gsoap/plugin/md5evp.c +share/gsoap/plugin/md5evp.h +share/gsoap/plugin/mecevp.c +share/gsoap/plugin/mecevp.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/wsrmapi.c +share/gsoap/plugin/wsrmapi.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