OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-re, openpkg-src Date: 10-Dec-2002 16:47:23
Branch: HEAD Handle: 2002121015472200
Added files:
openpkg-re/vcheck vc.easysoap
openpkg-src/easysoap easysoap.patch easysoap.spec
Log:
New package EasySoap++ standard and portable SOAP library in C++.
Summary:
Revision Changes Path
1.1 +9 -0 openpkg-re/vcheck/vc.easysoap
1.1 +79 -0 openpkg-src/easysoap/easysoap.patch
1.1 +85 -0 openpkg-src/easysoap/easysoap.spec
____________________________________________________________________________
Index: openpkg-re/vcheck/vc.easysoap
============================================================
$ cvs update -p -r1.1 vc.easysoap
config = {
}
prog expat = {
version = 0.6.1
url = http://download.sourceforge.net/easysoap/
regex = EasySoap++-(__VER__)\.tar\.gz
}
Index: openpkg-src/easysoap/easysoap.patch
============================================================
$ cvs update -p -r1.1 easysoap.patch
diff -Naur EasySoap++-0.6.1.orig/include/easysoap/SOAPParameter.h
EasySoap++-0.6.1/include/easysoap/SOAPParameter.h
--- EasySoap++-0.6.1.orig/include/easysoap/SOAPParameter.h 2002-12-10
16:14:57.000000000 +0100
+++ EasySoap++-0.6.1/include/easysoap/SOAPParameter.h 2002-12-10 16:15:05.000000000
+0100
@@ -168,7 +168,7 @@
Data(const Data&);
};
- friend Data;
+ friend class Data;
Pool m_pool;
SOAPParameter *m_parent;
diff -Naur EasySoap++-0.6.1.orig/src/XMLParser.cpp EasySoap++-0.6.1/src/XMLParser.cpp
--- EasySoap++-0.6.1.orig/src/XMLParser.cpp 2002-12-10 16:14:57.000000000 +0100
+++ EasySoap++-0.6.1/src/XMLParser.cpp 2002-12-10 16:20:11.000000000 +0100
@@ -48,7 +48,7 @@
{
if (m_parser)
{
- XML_ParserFree(m_parser);
+ XML_ParserFree((XML_ParserStruct*)m_parser);
m_parser = 0;
}
}
@@ -58,43 +58,43 @@
{
FreeParser();
m_parser = XML_ParserCreateNS(encoding, '#');
- XML_SetElementHandler(m_parser,
+ XML_SetElementHandler((XML_ParserStruct*)m_parser,
XMLParser::_startElement,
XMLParser::_endElement);
- XML_SetCharacterDataHandler(m_parser,
+ XML_SetCharacterDataHandler((XML_ParserStruct*)m_parser,
XMLParser::_characterData);
- XML_SetStartNamespaceDeclHandler(m_parser,
+ XML_SetStartNamespaceDeclHandler((XML_ParserStruct*)m_parser,
XMLParser::_startNamespace);
- XML_SetEndNamespaceDeclHandler(m_parser,
+ XML_SetEndNamespaceDeclHandler((XML_ParserStruct*)m_parser,
XMLParser::_endNamespace);
- XML_SetUserData(m_parser, this);
+ XML_SetUserData((XML_ParserStruct*)m_parser, this);
}
void *
XMLParser::GetParseBuffer(int size)
{
- if (m_parser)
- return XML_GetBuffer(m_parser, size);
+ if ((XML_ParserStruct*)m_parser)
+ return XML_GetBuffer((XML_ParserStruct*)m_parser, size);
return 0;
}
bool
XMLParser::ParseBuffer(int size)
{
- if (m_parser)
- return XML_ParseBuffer(m_parser, size, size == 0) != 0;
+ if ((XML_ParserStruct*)m_parser)
+ return XML_ParseBuffer((XML_ParserStruct*)m_parser, size, size == 0)
!= 0;
return false;
}
const char *
XMLParser::GetErrorMessage()
{
- if (m_parser)
- return XML_ErrorString(XML_GetErrorCode(m_parser));
+ if ((XML_ParserStruct*)m_parser)
+ return XML_ErrorString(XML_GetErrorCode((XML_ParserStruct*)m_parser));
return 0;
}
Index: openpkg-src/easysoap/easysoap.spec
============================================================
$ cvs update -p -r1.1 easysoap.spec
##
## easysoap.spec -- OpenPKG RPM Specification
## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH
## Copyright (c) 2000-2002 The OpenPKG Project <http://www.openpkg.org/>
## Copyright (c) 2000-2002 Ralf S. Engelschall <[EMAIL PROTECTED]>
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package information
Name: easysoap
Summary: SOAP Implemention in C++
URL: http://easysoap.sourceforge.net/
Vendor: David Crowley
Packager: The OpenPKG Project
Distribution: OpenPKG [EVAL]
Group: Network
License: GPL
Version: 0.6.1
Release: 20021210
# list of sources
Source0: http://download.sourceforge.net/easysoap/EasySoap++-%{version}.tar.gz
Patch0: easysoap.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206, expat, gcc
PreReq: OpenPKG, openpkg >= 20020206, expat
AutoReq: no
AutoReqProv: no
%description
EasySoap++ is a lightweight SOAP implementation written in C++. It implements
most of the SOAP specification, and interoperates well with many other soap
implementations.
%prep
%setup -q -n EasySoap++-%{version}
%patch -p1
%build
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CXXFLAGS="%{l_cxxflags -O}" \
CPPFLAGS="-I%{l_prefix}/include" \
./configure \
--prefix=%{l_prefix} \
--disable-shared
%{l_make} %{l_mflags -O}
%install
rm -rf $RPM_BUILD_ROOT
# make directory structure
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/lib \
$RPM_BUILD_ROOT%{l_prefix}/include/easysoap
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]