1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

add xmlrpc++ 0.7

A C++ implementation of the XML-RPC protocol
This commit is contained in:
Ying-Chieh Liao 2003-11-13 07:09:20 +00:00
parent 1115ae8703
commit 5801fd436c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93864
6 changed files with 75 additions and 0 deletions

View File

@ -734,6 +734,7 @@
SUBDIR += xipdump
SUBDIR += xipmsg
SUBDIR += xisp
SUBDIR += xmlrpc++
SUBDIR += xmlrpc-c
SUBDIR += xmule
SUBDIR += xnap

31
net/xmlrpc++/Makefile Normal file
View File

@ -0,0 +1,31 @@
# ex:ts=8
# Ports collection makefile for: xmlrpc++
# Date created: Nov 13, 2003
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xmlrpc++
PORTVERSION= 0.7
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= xmlrpcpp
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ implementation of the XML-RPC protocol
USE_REINPLACE= yes
USE_GMAKE= yes
post-patch:
@${REINPLACE_CMD} -e "s|^CXX|#CXX|" -e "s|^CXXFLAGS|#CXXFLAGS|" \
-e "s|tests$$||" ${WRKSRC}/Makefile
do-install:
${MKDIR} ${PREFIX}/include/xmlrpc++
${INSTALL_DATA} ${WRKSRC}/src/XmlRpc*.h ${PREFIX}/include/xmlrpc++
${INSTALL_PROGRAM} ${WRKSRC}/libXmlRpc.a ${PREFIX}/lib
.include <bsd.port.mk>

1
net/xmlrpc++/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xmlrpc++0.7.tar.gz) = d88f0f9c36d938316d672d16f6c37d7e

View File

@ -0,0 +1,11 @@
--- test/Validator.cpp.orig Thu Nov 13 14:47:39 2003
+++ test/Validator.cpp Thu Nov 13 14:47:56 2003
@@ -137,7 +137,7 @@
{
std::cerr << "ModerateSizeArrayCheck\n";
std::string s = params[0][0];
- s += params[0][params[0].size()-1];
+ s += (std::string)params[0][params[0].size()-1];
result = s;
}
} moderateSizeArrayCheck(&s);

18
net/xmlrpc++/pkg-descr Normal file
View File

@ -0,0 +1,18 @@
XmlRpc++ is a C++ implementation of the XML-RPC protocol. The XmlRpc protocol
was designed to make remote procedure calls easy: it encodes data in a simple
XML format and uses HTTP for communication. XmlRpc++ is designed to make it
easy to incorporate XML-RPC client and server support into C++ applications.
Features:
* Easy - This library is easy to incorporate into C++ applications. No
other libraries are required, other than your system's socket
libraries. Simple XML parsing and HTTP support are built in.
* Fast - All IO is non-blocking, so a slow client or network will not
slow down the server.
* Portable - Written in standard C++ to the POSIX and Windows sockets
APIs. You do need a fairly recent compiler (g++ 3.1 or
MSVC++ .Net or MSVC++ 6 with the STL patches.)
* Free - This library is released under the GNU LGPL.
WWW: http://xmlrpcpp.sourceforge.net/

13
net/xmlrpc++/pkg-plist Normal file
View File

@ -0,0 +1,13 @@
include/xmlrpc++/XmlRpc.h
include/xmlrpc++/XmlRpcClient.h
include/xmlrpc++/XmlRpcDispatch.h
include/xmlrpc++/XmlRpcException.h
include/xmlrpc++/XmlRpcServer.h
include/xmlrpc++/XmlRpcServerConnection.h
include/xmlrpc++/XmlRpcServerMethod.h
include/xmlrpc++/XmlRpcSocket.h
include/xmlrpc++/XmlRpcSource.h
include/xmlrpc++/XmlRpcUtil.h
include/xmlrpc++/XmlRpcValue.h
@dirrm include/xmlrpc++
lib/libXmlRpc.a