diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-11-13 07:09:20 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-11-13 07:09:20 +0000 |
commit | 5801fd436ce75443732007f0e47651a279013656 (patch) | |
tree | 8d91f9984d90d4479821a1229a6d1947f993a4ee /net/xmlrpc++ | |
parent | 1115ae870339ab4775263836edd32fb95f6d44a1 (diff) | |
download | ports-5801fd436ce75443732007f0e47651a279013656.tar.gz ports-5801fd436ce75443732007f0e47651a279013656.zip |
add xmlrpc++ 0.7
A C++ implementation of the XML-RPC protocol
Notes
Notes:
svn path=/head/; revision=93864
Diffstat (limited to 'net/xmlrpc++')
-rw-r--r-- | net/xmlrpc++/Makefile | 31 | ||||
-rw-r--r-- | net/xmlrpc++/distinfo | 1 | ||||
-rw-r--r-- | net/xmlrpc++/files/patch-Validator.cpp | 11 | ||||
-rw-r--r-- | net/xmlrpc++/pkg-descr | 18 | ||||
-rw-r--r-- | net/xmlrpc++/pkg-plist | 13 |
5 files changed, 74 insertions, 0 deletions
diff --git a/net/xmlrpc++/Makefile b/net/xmlrpc++/Makefile new file mode 100644 index 000000000000..829f3c2f9304 --- /dev/null +++ b/net/xmlrpc++/Makefile @@ -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> diff --git a/net/xmlrpc++/distinfo b/net/xmlrpc++/distinfo new file mode 100644 index 000000000000..97e51b751b4e --- /dev/null +++ b/net/xmlrpc++/distinfo @@ -0,0 +1 @@ +MD5 (xmlrpc++0.7.tar.gz) = d88f0f9c36d938316d672d16f6c37d7e diff --git a/net/xmlrpc++/files/patch-Validator.cpp b/net/xmlrpc++/files/patch-Validator.cpp new file mode 100644 index 000000000000..5be3bb2879c5 --- /dev/null +++ b/net/xmlrpc++/files/patch-Validator.cpp @@ -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);
diff --git a/net/xmlrpc++/pkg-descr b/net/xmlrpc++/pkg-descr new file mode 100644 index 000000000000..1f933083e274 --- /dev/null +++ b/net/xmlrpc++/pkg-descr @@ -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/ diff --git a/net/xmlrpc++/pkg-plist b/net/xmlrpc++/pkg-plist new file mode 100644 index 000000000000..815c1846b37a --- /dev/null +++ b/net/xmlrpc++/pkg-plist @@ -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 |