From 15c2d05eb3dda5df0c1f57e42671bcdd95149d66 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 5 Mar 2011 06:20:07 +0000 Subject: [PATCH] add new gsoap with fix for ifolder git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@2838 6952d904-891a-0410-993b-d76249ca496b --- net-libs/gsoap/ChangeLog | 82 ++++++++++++++ net-libs/gsoap/Manifest | 12 +++ .../files/gsoap-2.7-fedora-openssl.patch | 17 +++ .../files/gsoap-2.7-fix-pre-iso-headers.patch | 98 +++++++++++++++++ ...0-fedora-install_soapcpp2_wsdl2h_aux.patch | 12 +++ .../files/gsoap-2.7.15-use_libtool.patch | 101 ++++++++++++++++++ net-libs/gsoap/gsoap-2.7.17-r1.ebuild | 76 +++++++++++++ net-libs/gsoap/gsoap-2.8.0-r1.ebuild | 77 +++++++++++++ net-libs/gsoap/gsoap-2.8.1-r1.ebuild | 76 +++++++++++++ net-libs/gsoap/metadata.xml | 21 ++++ 10 files changed, 572 insertions(+) create mode 100644 net-libs/gsoap/ChangeLog create mode 100644 net-libs/gsoap/Manifest create mode 100644 net-libs/gsoap/files/gsoap-2.7-fedora-openssl.patch create mode 100644 net-libs/gsoap/files/gsoap-2.7-fix-pre-iso-headers.patch create mode 100644 net-libs/gsoap/files/gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch create mode 100644 net-libs/gsoap/files/gsoap-2.7.15-use_libtool.patch create mode 100644 net-libs/gsoap/gsoap-2.7.17-r1.ebuild create mode 100644 net-libs/gsoap/gsoap-2.8.0-r1.ebuild create mode 100644 net-libs/gsoap/gsoap-2.8.1-r1.ebuild create mode 100644 net-libs/gsoap/metadata.xml diff --git a/net-libs/gsoap/ChangeLog b/net-libs/gsoap/ChangeLog new file mode 100644 index 0000000..944ef30 --- /dev/null +++ b/net-libs/gsoap/ChangeLog @@ -0,0 +1,82 @@ +# ChangeLog for net-libs/gsoap +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gsoap/ChangeLog,v 1.15 2011/01/19 16:40:49 polynomial-c Exp $ + +*gsoap-2.8.1 (19 Jan 2011) + + 19 Jan 2011; Lars Wendler -gsoap-2.7.13.ebuild, + +gsoap-2.8.1.ebuild: + Version bump. Removed old. + + 05 Oct 2010; Markus Meier gsoap-2.7.17.ebuild: + amd64/x86 stable, bug #338796 + + 02 Oct 2010; Lars Wendler gsoap-2.7.17.ebuild, + gsoap-2.8.0.ebuild: + Removed static-libs USE flag as the concerning configure option is gone. + +*gsoap-2.8.0 (26 Sep 2010) + + 26 Sep 2010; Lars Wendler +gsoap-2.8.0.ebuild: + Version bump. Still no fix for failing parallel make (-j > 1). + + 27 Jun 2010; Kacper Kowalik gsoap-2.7.17.ebuild: + Adding missing dependency on app-arch/unzip. + + 03 Jun 2010; Lars Wendler -gsoap-2.7.14.ebuild, + gsoap-2.7.17.ebuild: + Really fixing bug #320901. Removed interim version 2.7.14 again. + +*gsoap-2.7.17 (03 Jun 2010) +*gsoap-2.7.14 (03 Jun 2010) + + 03 Jun 2010; Lars Wendler -gsoap-2.7.9f.ebuild, + -gsoap-2.7.12.ebuild, -gsoap-2.7.12-r1.ebuild, + -files/gsoap-2.7.12-fix-pre-iso-headers.patch, +gsoap-2.7.14.ebuild, + -gsoap-2.7.15.ebuild, +gsoap-2.7.17.ebuild, metadata.xml: + Version bumps to latest available version (2.7.17) and latest version + which works with virtualbox-ose (2.7.14). Removed old versions. Added + myself as maintainer. + +*gsoap-2.7.15 (19 May 2010) + + 19 May 2010; Patrick Lauer + +files/gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch, + +gsoap-2.7.15.ebuild, +files/gsoap-2.7.15-use_libtool.patch, + +files/gsoap-2.7-fedora-openssl.patch: + Bump and fixes from dev-zero, closes #306915 + + 09 Nov 2009; Markus Meier gsoap-2.7.13.ebuild: + amd64 stable, bug #289618 + + 19 Oct 2009; Christian Faulhammer gsoap-2.7.13.ebuild: + stable x86, bug 289618 + + 21 Sep 2009; Christian Faulhammer gsoap-2.7.9f.ebuild: + stable x86, bug 285451 + +*gsoap-2.7.13 (17 Aug 2009) + + 17 Aug 2009; Patrick Lauer +gsoap-2.7.13.ebuild, + +files/gsoap-2.7-fix-pre-iso-headers.patch: + Bump to 2.7.13. Thanks to Alessio Cassibba. Renames patch. + +*gsoap-2.7.12-r1 (05 Mar 2009) + + 05 Mar 2009; Patrick Lauer + +files/gsoap-2.7.12-fix-pre-iso-headers.patch, +gsoap-2.7.12-r1.ebuild: + Fixing failure in some of the examples. Patch by Alessio Cassibba + (X-Drum). Fixes #261042 + + 04 Mar 2009; Patrick Lauer gsoap-2.7.9f.ebuild, + gsoap-2.7.12.ebuild: + Fixing typo in DESCRIPTION + +*gsoap-2.7.12 (03 Mar 2009) +*gsoap-2.7.9f (03 Mar 2009) + + 03 Mar 2009; Patrick Lauer +metadata.xml, + +gsoap-2.7.9f.ebuild, +gsoap-2.7.12.ebuild: + Initial Import from jokey overlay. Dep of newer virtualbox-ose. Ebuilds by + Alessio Cassibba. + diff --git a/net-libs/gsoap/Manifest b/net-libs/gsoap/Manifest new file mode 100644 index 0000000..09a5311 --- /dev/null +++ b/net-libs/gsoap/Manifest @@ -0,0 +1,12 @@ +AUX gsoap-2.7-fedora-openssl.patch 850 RMD160 4a94ab9bddcc051b8d20669f46560c3ac9082100 SHA1 e082c6dc34ec556c204109ffd7db51dac9284cae SHA256 b0f8a68ab5f9121fd1c7a6813ef7d0bfb3b5d57b4b480d8c7c6cef027abed3ac +AUX gsoap-2.7-fix-pre-iso-headers.patch 3599 RMD160 156c6dab53794b97df7dbff3994ef1c30e76618f SHA1 682460d8aa20c7f01dc214f8c8a19042aa568822 SHA256 bcf80dcd8746b65fcc5aeef9898cc0e94f2f1796fae782157163861ced2d0581 +AUX gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch 614 RMD160 012a2f1f66cd201121697aa89918e752d2223268 SHA1 515d53833680a2eed65382574e83c8fd856894ca SHA256 5964ea1b815bc5382cabc6f1235fd0a4c4c313e07d1d4452eecde0a04c9fda40 +AUX gsoap-2.7.15-use_libtool.patch 4790 RMD160 ca5cdee078b3f326bd69b44a016760cbe35f45d8 SHA1 25fcecd21bdc45f8583d60684fb4512663cb5244 SHA256 e4129e70ec9833720b07efacc35d3834cee125c75f18a548de1aae5e3e9c5bbc +DIST gsoap_2.7.17.zip 10224444 RMD160 3f947cbc5e1656dd82b8c6425816cfaf08063c19 SHA1 573a08ab7d8ca2d970158911482c308484fdd5ed SHA256 d3af1ce9464b28cacdf1dfbe09b689f8927cbcf3948479996aef52a39afa2c16 +DIST gsoap_2.8.0.zip 10776994 RMD160 eb47fbbf8e74ba5b6c97b694730658b27c03ba4f SHA1 e6363871fa0401090f3bd08bcd532c2e39a5d551 SHA256 48dd009fed0ac361c669dab17e543184909d0567175d8be4af5afc7849d314e6 +DIST gsoap_2.8.1.zip 10954908 RMD160 fad35d36c6fa98c1409bbb01e3bf42cc62eb43a2 SHA1 da9a1cc8128ed56fc290f22c81b978ac830b8445 SHA256 1b80b04712aa5170a9fa5a88cc4debb489c38dcd0225093c45e99d3141666bae +EBUILD gsoap-2.7.17.ebuild 1633 RMD160 45cbe6aa419b1dde1c4bd3101832504bceb9d6d4 SHA1 6d6f71fab6bb56ccb747cbd514c121b56cc08706 SHA256 1e044f22b671475fdac663b46da41d992daf85e67f77833b9f0d1d73a2a63c0b +EBUILD gsoap-2.8.0.ebuild 1664 RMD160 4f9cec597d304831675d2eee405b7dd75b0c4d0d SHA1 6fdc14beebc3b995dddc3787f6eb76b2b47a1f30 SHA256 e9618788b67f810add8b2549f244663d76b9f14b7950e60a3e20f309ff7bb332 +EBUILD gsoap-2.8.1.ebuild 1606 RMD160 a9693a7494831c5cedeccd8a88bb91ff22c72e0d SHA1 81d7aa20faf2fe9891c141db3f01e070200a8000 SHA256 75fa425dcab395028e3e3b0cbec9cba6368a1e605e052c3c5284e24b2678b259 +MISC ChangeLog 3028 RMD160 f77bddda3edcfaddac148d17030d81f6f94dae82 SHA1 9e78f00255c01c80e4a3a8bc0a70e240ac99e64f SHA256 0e9ad47bf294d39ab72c15bbeea5774c59f56135a857e9e44048cde36ed6bfd2 +MISC metadata.xml 532 RMD160 6ef28bd3af65d98c51696bb9c4e3fd2d653f62df SHA1 f655ab4efbf1af4b9acd99a8c3b3767f07b8fa1c SHA256 bc34d15c6890718544dec4bb32057b9706376c02fd8de390d74bb21c4d45ce3d diff --git a/net-libs/gsoap/files/gsoap-2.7-fedora-openssl.patch b/net-libs/gsoap/files/gsoap-2.7-fedora-openssl.patch new file mode 100644 index 0000000..443fb69 --- /dev/null +++ b/net-libs/gsoap/files/gsoap-2.7-fedora-openssl.patch @@ -0,0 +1,17 @@ +diff -up gsoap-2.7/gsoap/stdsoap2.cpp.openssl gsoap-2.7/gsoap/stdsoap2.cpp +--- gsoap-2.7/gsoap/stdsoap2.cpp.openssl 2008-10-02 19:36:28.000000000 +0200 ++++ gsoap-2.7/gsoap/stdsoap2.cpp 2009-08-22 22:20:49.000000000 +0200 +@@ -4153,7 +4153,12 @@ again: + { X509_EXTENSION *ext = X509_get_ext(peer, i); + const char *ext_str = OBJ_nid2sn(OBJ_obj2nid(X509_EXTENSION_get_object(ext))); + if (ext_str && !strcmp(ext_str, "subjectAltName")) +- { X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext); ++ { ++#if (OPENSSL_VERSION_NUMBER >= 0x10000000L) ++ const X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext); ++#else ++ X509V3_EXT_METHOD *meth = X509V3_EXT_get(ext); ++#endif + void *ext_data; + #if (OPENSSL_VERSION_NUMBER >= 0x0090800fL) + const unsigned char *data; diff --git a/net-libs/gsoap/files/gsoap-2.7-fix-pre-iso-headers.patch b/net-libs/gsoap/files/gsoap-2.7-fix-pre-iso-headers.patch new file mode 100644 index 0000000..5762d52 --- /dev/null +++ b/net-libs/gsoap/files/gsoap-2.7-fix-pre-iso-headers.patch @@ -0,0 +1,98 @@ +--- gsoap/samples/factorytest/factorytest.cpp.orig 2009-03-04 01:16:22.300484305 +0100 ++++ gsoap/samples/factorytest/factorytest.cpp 2009-03-04 01:15:47.656485143 +0100 +@@ -49,7 +49,7 @@ + #include "soapH.h" + #include "factorytest.nsmap" + +-#include ++#include + + // default factory service endpoint: + const char *factory = "http://localhost:18085"; +@@ -167,7 +167,7 @@ + int main(int argc, char **argv) + { if (argc > 1) + factory = argv[1]; // use factory from command line arg by default +- cout << "Connecting to factory " << factory << endl; ++ std::cout << "Connecting to factory " << factory << std::endl; + Adder adder; // create unique new remote adder object + Counter counter1("myCounter"); // new counter object "myCounter" (created if not exists) + Counter counter2("myCounter"); // lookup and use counter "myCounter" (this is an alias to counter1!) +@@ -175,22 +175,22 @@ + counter1.set(adder.get()); + adder.add(3.0); + counter1.inc(); +- cout << "Adder=" << adder.get() << endl; +- cout << "Counter=" << counter2.get() << endl; // counter2 is an alias for counter1 so this prints the value of counter1 +- cout << "Sleep for 90 seconds to test factory server purging objects:" << endl; ++ std::cout << "Adder=" << adder.get() << std::endl; ++ std::cout << "Counter=" << counter2.get() << std::endl; // counter2 is an alias for counter1 so this prints the value of counter1 ++ std::cout << "Sleep for 90 seconds to test factory server purging objects:" << std::endl; + // counter is periodically incremented which keeps it alive + sleep(30); + counter1.inc(); +- cout << "Counter=" << counter2.get() << endl; ++ std::cout << "Counter=" << counter2.get() << std::endl; + sleep(30); + counter1.inc(); +- cout << "Counter=" << counter2.get() << endl; ++ std::cout << "Counter=" << counter2.get() << std::endl; + sleep(30); + counter1.inc(); +- cout << "Counter=" << counter2.get() << endl; ++ std::cout << "Counter=" << counter2.get() << std::endl; + // after 90 secs, the adder should be gone +- cout << "Adder is no longer available:" << endl; ++ std::cout << "Adder is no longer available:" << std::endl; + adder.add(3.0); +- cout << "Adder status = " << adder.status << endl; ++ std::cout << "Adder status = " << adder.status << std::endl; + return 0; + } +--- gsoap/samples/lu/luclient.cpp.orig 2009-03-04 01:16:48.632483467 +0100 ++++ gsoap/samples/lu/luclient.cpp 2009-03-04 01:17:54.550483188 +0100 +@@ -32,7 +32,7 @@ + */ + + #include "soapH.h" +-#include ++#include + + const char luserver[] = "http://websrv.cs.fsu.edu/~engelen/luserver.cgi"; + +@@ -51,14 +51,14 @@ + a[3].resize(2,3); // 2-element vector indexed from 2 to 3 + a[3][2] = 1; + a[3][3] = 2; +- cout << "* Demonstration example *" << endl; +- cout << "Matrix:" << endl; ++ std::cout << "* Demonstration example *" << std::endl; ++ std::cout << "Matrix:" << std::endl; + a.print(); + vector b(soap, 3); + b[1] = 1; + b[2] = 2; + b[3] = 3; +- cout << "Vector:" << endl; ++ std::cout << "Vector:" << std::endl; + b.print(); + vector x(soap); + if (argc < 2) +@@ -71,7 +71,7 @@ + soap_print_fault_location(soap, stderr); + } + else +- { cout << "Solution vector from service:" << endl; ++ { std::cout << "Solution vector from service:" << std::endl; + x.print(); + } + matrix a1(soap); +@@ -80,7 +80,7 @@ + soap_print_fault_location(soap, stderr); + } + else +- { cout << "Inverse matrix matrix from service:" << endl; ++ { std::cout << "Inverse matrix matrix from service:" << std::endl; + a1.print(); + } + soap_destroy(soap); diff --git a/net-libs/gsoap/files/gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch b/net-libs/gsoap/files/gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch new file mode 100644 index 0000000..673deb1 --- /dev/null +++ b/net-libs/gsoap/files/gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch @@ -0,0 +1,12 @@ +--- gsoap-2.7/gsoap/Makefile.am 2008-01-27 15:02:36.000000000 -0600 ++++ gsoap-2.7mf/gsoap/Makefile.am 2008-01-28 10:24:26.000000000 -0600 +@@ -12,6 +12,9 @@ CLEANFILES=soapcpp2 stdsoap2_cpp.cpp std + AM_CXXFLAGS=$(SOAPCPP2_DEBUG) -D$(platform) + AM_CFLAGS=$(SOAPCPP2_DEBUG) -D$(platform) + ++# Install all soapcpp2 and wsdl2h files into /usr/share/gsoap ++nobase_pkgdata_DATA = import/* plugin/* WS/* custom/* extras/* ++ + ## we cannot build stdsoap2.o from 2 different sources (stdsoap2.cpp and stdsoap2.c), so we need an intermediate target: + stdsoap2_ck.c: stdsoap2.cpp + $(LN_S) $(srcdir)/stdsoap2.cpp stdsoap2_ck.c diff --git a/net-libs/gsoap/files/gsoap-2.7.15-use_libtool.patch b/net-libs/gsoap/files/gsoap-2.7.15-use_libtool.patch new file mode 100644 index 0000000..9fde611 --- /dev/null +++ b/net-libs/gsoap/files/gsoap-2.7.15-use_libtool.patch @@ -0,0 +1,101 @@ +diff -Naur gsoap-2.7.orig/configure.in gsoap-2.7/configure.in +--- gsoap-2.7.orig/configure.in 2010-03-04 10:04:10.879898902 +0100 ++++ gsoap-2.7/configure.in 2010-03-04 10:04:57.182889612 +0100 +@@ -15,8 +15,8 @@ + AM_PROG_LEX + AC_PROG_YACC + AC_PROG_CPP +-AC_PROG_RANLIB +-#AC_PROG_LIBTOOL ++#AC_PROG_RANLIB ++AC_PROG_LIBTOOL + AC_PROG_LN_S + AC_PROG_AWK + AC_PROG_INSTALL +@@ -158,12 +158,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 -Naur gsoap-2.7.orig/gsoap/Makefile.am gsoap-2.7/gsoap/Makefile.am +--- gsoap-2.7.orig/gsoap/Makefile.am 2010-03-04 10:04:10.920894818 +0100 ++++ gsoap-2.7/gsoap/Makefile.am 2010-03-04 10:06:28.000883644 +0100 +@@ -31,20 +31,20 @@ + 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 ++lib_LTLIBRARIES = libgsoap.la libgsoap++.la libgsoapck.la libgsoapck++.la libgsoapssl.la libgsoapssl++.la + +-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 ++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) + +diff -Naur gsoap-2.7.orig/gsoap/samples/databinding/Makefile.am gsoap-2.7/gsoap/samples/databinding/Makefile.am +--- gsoap-2.7.orig/gsoap/samples/databinding/Makefile.am 2010-03-04 10:04:10.945913061 +0100 ++++ gsoap-2.7/gsoap/samples/databinding/Makefile.am 2010-03-04 10:13:18.323885257 +0100 +@@ -14,7 +14,7 @@ + WSDLINPUT=$(srcdir)/address.xsd + SOAPHEADER=$(srcdir)/address.h + SOAP_CPP_SRC=addressC.cpp +-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a ++SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la + + $(SOAP_CPP_SRC) : $(WSDLINPUT) + $(WSDL) $(WSDL_FLAGS) $(WSDLINPUT) +diff -Naur gsoap-2.7.orig/gsoap/samples/Makefile.defines gsoap-2.7/gsoap/samples/Makefile.defines +--- gsoap-2.7.orig/gsoap/samples/Makefile.defines 2010-03-04 10:04:10.933894722 +0100 ++++ gsoap-2.7/gsoap/samples/Makefile.defines 2010-03-04 10:11:37.388944663 +0100 +@@ -15,13 +15,13 @@ + SOAP_C_CORE=soapC.c + SOAP_C_CLIENT=soapClient.c $(SOAP_C_CORE) + SOAP_C_SERVER=soapServer.c $(SOAP_C_CORE) +-SOAP_C_LIB=$(top_builddir)/gsoap/libgsoap.a +-SOAP_C_LIB_CK=$(top_builddir)/gsoap/libgsoapck.a +-SOAP_C_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl.a ++SOAP_C_LIB=$(top_builddir)/gsoap/libgsoap.la ++SOAP_C_LIB_CK=$(top_builddir)/gsoap/libgsoapck.la ++SOAP_C_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl.la + + SOAP_CPP_CORE=soapC.cpp + SOAP_CPP_CLIENT=soapClient.cpp $(SOAP_CPP_CORE) + SOAP_CPP_SERVER=soapServer.cpp $(SOAP_CPP_CORE) +-SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.a +-SOAP_CPP_LIB_CK=$(top_builddir)/gsoap/libgsoapck++.a +-SOAP_CPP_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl++.a ++SOAP_CPP_LIB=$(top_builddir)/gsoap/libgsoap++.la ++SOAP_CPP_LIB_CK=$(top_builddir)/gsoap/libgsoapck++.la ++SOAP_CPP_LIB_SSL=$(top_builddir)/gsoap/libgsoapssl++.la diff --git a/net-libs/gsoap/gsoap-2.7.17-r1.ebuild b/net-libs/gsoap/gsoap-2.7.17-r1.ebuild new file mode 100644 index 0000000..507a891 --- /dev/null +++ b/net-libs/gsoap/gsoap-2.7.17-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gsoap/gsoap-2.7.17.ebuild,v 1.6 2010/10/05 19:33:57 maekke Exp $ + +EAPI=2 + +inherit autotools eutils + +MY_P="${PN}-2.7" + +DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services" +HOMEPAGE="http://gsoap2.sourceforge.net" +SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" + +LICENSE="GPL-2 gSOAP" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc debug examples +ssl" + +DEPEND="app-arch/unzip + sys-devel/flex + sys-devel/bison + sys-libs/zlib + ssl? ( dev-libs/openssl )" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Fix Pre-ISO headers + epatch "${FILESDIR}/${PN}-2.7-fix-pre-iso-headers.patch" + epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" + + # causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to + # break (bug #320901): + #epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch" + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable ssl openssl) \ + $(use_enable examples samples) +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + + # yes, we also install the license-file since + # it contains info about how to apply the licenses + dodoc *.txt + + dohtml changelog.html + + rm -rf "${D}"/usr/lib*/*.la + + if use examples; then + rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o + insinto /usr/share/doc/${PF}/examples + doins -r gsoap/samples/* + fi + + if use doc; then + dohtml -r gsoap/doc/* + fi + + # Install the core files for some packages that are using these files. + # this is to work around provided gsoap in many packages (ifolder3, ...) + insinto /usr/include/gsoap + doins gsoap/*.c* +} diff --git a/net-libs/gsoap/gsoap-2.8.0-r1.ebuild b/net-libs/gsoap/gsoap-2.8.0-r1.ebuild new file mode 100644 index 0000000..0495b22 --- /dev/null +++ b/net-libs/gsoap/gsoap-2.8.0-r1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gsoap/gsoap-2.8.0.ebuild,v 1.2 2010/10/02 10:28:46 polynomial-c Exp $ + +EAPI=2 + +inherit autotools eutils + +MY_P="${PN}-2.8" + +DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services" +HOMEPAGE="http://gsoap2.sourceforge.net" +SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" + +LICENSE="GPL-2 gSOAP" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc debug examples +ssl" + +DEPEND="app-arch/unzip + sys-devel/flex + sys-devel/bison + sys-libs/zlib + ssl? ( dev-libs/openssl )" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Fix Pre-ISO headers + epatch "${FILESDIR}/${PN}-2.7-fix-pre-iso-headers.patch" + epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" + + # causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to + # break (bug #320901): + #epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch" + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable ssl openssl) \ + $(use_enable examples samples) \ + $(use_enable debug) +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + + # yes, we also install the license-file since + # it contains info about how to apply the licenses + dodoc *.txt + + dohtml changelog.html + + rm -rf "${D}"/usr/lib*/*.la + + if use examples; then + rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o + insinto /usr/share/doc/${PF}/examples + doins -r gsoap/samples/* + fi + + if use doc; then + dohtml -r gsoap/doc/* + fi + + # Install the core files for some packages that are using these files. + # this is to work around provided gsoap in many packages (ifolder3, ...) + insinto /usr/include/gsoap + doins gsoap/*.c* +} diff --git a/net-libs/gsoap/gsoap-2.8.1-r1.ebuild b/net-libs/gsoap/gsoap-2.8.1-r1.ebuild new file mode 100644 index 0000000..ac1f386 --- /dev/null +++ b/net-libs/gsoap/gsoap-2.8.1-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gsoap/gsoap-2.8.1.ebuild,v 1.1 2011/01/19 16:40:49 polynomial-c Exp $ + +EAPI=2 + +inherit autotools eutils + +MY_P="${PN}-2.8" + +DESCRIPTION="A cross-platform open source C and C++ SDK to ease the development of SOAP/XML Web services" +HOMEPAGE="http://gsoap2.sourceforge.net" +SRC_URI="mirror://sourceforge/gsoap2/gsoap_${PV}.zip" + +LICENSE="GPL-2 gSOAP" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc debug examples +ssl" + +DEPEND="app-arch/unzip + sys-devel/flex + sys-devel/bison + sys-libs/zlib + ssl? ( dev-libs/openssl )" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + # Fix Pre-ISO headers + epatch "${FILESDIR}/${PN}-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch" + + # causes compilation of app-emulation/virtualbox-ose[vboxwebsrv] to + # break (bug #320901): + #epatch "${FILESDIR}/${PN}-2.7.15-use_libtool.patch" + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable ssl openssl) \ + $(use_enable examples samples) \ + $(use_enable debug) +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" + + # yes, we also install the license-file since + # it contains info about how to apply the licenses + dodoc *.txt + + dohtml changelog.html + + rm -rf "${D}"/usr/lib*/*.la + + if use examples; then + rm -rf gsoap/samples/Makefile* gsoap/samples/*/Makefile* gsoap/samples/*/*.o + insinto /usr/share/doc/${PF}/examples + doins -r gsoap/samples/* + fi + + if use doc; then + dohtml -r gsoap/doc/* + fi + + # Install the core files for some packages that are using these files. + # this is to work around provided gsoap in many packages (ifolder3, ...) + insinto /usr/include/gsoap + doins gsoap/*.c* +} diff --git a/net-libs/gsoap/metadata.xml b/net-libs/gsoap/metadata.xml new file mode 100644 index 0000000..42f4aef --- /dev/null +++ b/net-libs/gsoap/metadata.xml @@ -0,0 +1,21 @@ + + + +no-herd + + jokey@gentoo.org + Markus Ullmann + + + swapon@gmail.com + Alessio Cassibba + + + patrick@gentoo.org + Patrick Lauer + + + polynomial-c@gentoo.org + Lars Wendler + +