net-libs/gsoap: Bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/ifolder@901 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-03-28 16:55:45 +00:00
parent 71af85155b
commit 8bdf59cb0a
4 changed files with 174 additions and 1 deletions

View File

@ -2,6 +2,20 @@
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
04 Mar 2009; Alessio Cassibba (X-Drum) <swapon@gmail.com>
+files/gsoap-2.7.12-fix-pre-iso-headers.patch, gsoap-2.7.9f.ebuild,
gsoap-2.7.12.ebuild:
Fix Pre-ISO headers in samples bug #261042; fix typo in description
bug #261060; switch to EAPI=2.
*gsoap-2.7.12 (03 Mar 2009)
*gsoap-2.7.9f (03 Mar 2009)
03 Mar 2009; Patrick Lauer <patrick@gentoo.org> +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.
22 Feb 2009; Mario Fetka <mario.fetka@gmail.com> +metadata.xml:
initial checkin based on #42174

View File

@ -1,4 +1,6 @@
AUX gsoap-2.7.12-fix-pre-iso-headers.patch 3599 RMD160 156c6dab53794b97df7dbff3994ef1c30e76618f SHA1 682460d8aa20c7f01dc214f8c8a19042aa568822 SHA256 bcf80dcd8746b65fcc5aeef9898cc0e94f2f1796fae782157163861ced2d0581
DIST gsoap_2.7.12.tar.gz 6537268 RMD160 18aeed686ee71b65abd6035a6dda46d5579cb972 SHA1 ea72438f751702d366fd066ce878c7f43874a07f SHA256 69a81c0c329bb8dbd8f117321879b5c38e1731cc937373953d8b66b0ea0712f6
EBUILD gsoap-2.7.12-r1.ebuild 1288 RMD160 8207e453bd611116461e58c445d636bae25bcaa0 SHA1 8708ae85de38090b70c3dad154b7775d07b42b99 SHA256 158cab89df49fbf609b339efaefb7298d899ebc7b667c34d79e73d913d2e4cf7
EBUILD gsoap-2.7.12.ebuild 1543 RMD160 6c8ec09d38abfd4711e226a1f3fb4fd1d3da49a2 SHA1 54228e0dc13cc3d8768b3cdf79dfee560d1c5bab SHA256 76bcfd0bd12dbccabbf5e656ea6c2a89d48c7540a2650685e7ba4630da3eeb8c
MISC ChangeLog 216 RMD160 a726f85689a25f3348fc0db9661e3b432ebb7691 SHA1 164684757afba8f641c332f9e1ee3238fb1f40e1 SHA256 ae504c4ef5d870076bf9e132b1df0f6c41112e9694c0c0160c014fc51b56b86b
MISC ChangeLog 739 RMD160 4b4c7ff47bf135229ae1f451418ebd0c13bcb64e SHA1 2025b6b281d84bd923776617f602cb748c3de44b SHA256 17df747eee90c69e36d5fed3d0a982e39ed13f1f0a5c2c30158fd2884cd9692e
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -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 <iostream.h>
+#include <iostream>
// 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 <iostream.h>
+#include <iostream>
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);

View File

@ -0,0 +1,59 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/gsoap/gsoap-2.7.12-r1.ebuild,v 1.1 2009/03/05 20:30:07 patrick Exp $
EAPI=2
inherit 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}.tar.gz"
LICENSE="GPL-2 gSOAP"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc debug examples +ssl"
DEPEND="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}/${P}-fix-pre-iso-headers.patch"
}
src_configure() {
econf $(use_enable ssl openssl) \
$(use_enable examples samples) \
$(use_enable debug) \
|| die "econf failed"
}
src_compile() {
emake -j1 || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "Install failed"
dodir /usr/share/doc/${P}
dodoc LICENSE.txt NOTES.txt README.txt
dohtml changelog.html
if use examples; then
insinto /usr/share/${PN}
rm -rf gsoap/samples/Makefile* README.txt
doins -r gsoap/samples
fi
if use doc; then
dohtml -r gsoap/doc/
fi
}