[Midnightbsd-cvs] mports: mports/net: Add ulxmlrpcpp and xmlrpc-c libraries for XML-RPC
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Feb 26 20:47:48 EST 2008
Log Message:
-----------
Add ulxmlrpcpp and xmlrpc-c libraries for XML-RPC based development.
Modified Files:
--------------
mports/net:
Makefile (r1.54 -> r1.55)
Added Files:
-----------
mports/net/ulxmlrpcpp:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/net/ulxmlrpcpp/files:
patch-ulxmlrpcpp-ulxmlrpcpp.h (r1.1)
mports/net/xmlrpc-c:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/net/xmlrpc-c/files:
patch-Makefile.common (r1.1)
patch-ltconfig (r1.1)
-------------- next part --------------
--- /dev/null
+++ net/ulxmlrpcpp/pkg-descr
@@ -0,0 +1,11 @@
+XML-RPC is an extensible mechanism allowing a computer to offer a limited set
+of services which can be accessed from anywhere in the net.
+
+XML-RPC uses common and easy to learn internet standards like XML. and HTTP.
+
+ulxmlrpcpp is a library to perform such calls in an object oriented approach
+implemented in C++. It is intended to have simple interfaces and to be easy to
+learn. But it shall still be fully compliant to the standards and safe in it's
+use.
+
+WWW: http://ulxmlrpcpp.sourceforge.net/
--- /dev/null
+++ net/ulxmlrpcpp/pkg-plist
@@ -0,0 +1,58 @@
+bin/introspect
+bin/meerkat_client
+bin/ulxr2xml
+bin/xml2ulxr
+include/ulxmlrpcpp/contrib/mprocess_rpc_server.h
+include/ulxmlrpcpp/contrib/ssl_connection.h
+include/ulxmlrpcpp/ulxmlrpcpp.h
+include/ulxmlrpcpp/ulxr_cached_resource.h
+include/ulxmlrpcpp/ulxr_call.h
+include/ulxmlrpcpp/ulxr_callparse.h
+include/ulxmlrpcpp/ulxr_callparse_base.h
+include/ulxmlrpcpp/ulxr_callparse_wb.h
+include/ulxmlrpcpp/ulxr_config.h
+include/ulxmlrpcpp/ulxr_connection.h
+include/ulxmlrpcpp/ulxr_dispatcher.h
+include/ulxmlrpcpp/ulxr_except.h
+include/ulxmlrpcpp/ulxr_expatwrap.h
+include/ulxmlrpcpp/ulxr_file_resource.h
+include/ulxmlrpcpp/ulxr_htmlform_handler.h
+include/ulxmlrpcpp/ulxr_http_client.h
+include/ulxmlrpcpp/ulxr_http_protocol.h
+include/ulxmlrpcpp/ulxr_http_server.h
+include/ulxmlrpcpp/ulxr_log4j.h
+include/ulxmlrpcpp/ulxr_method_adder.h
+include/ulxmlrpcpp/ulxr_mtrpc_server.h
+include/ulxmlrpcpp/ulxr_mutex.h
+include/ulxmlrpcpp/ulxr_protocol.h
+include/ulxmlrpcpp/ulxr_requester.h
+include/ulxmlrpcpp/ulxr_response.h
+include/ulxmlrpcpp/ulxr_responseparse.h
+include/ulxmlrpcpp/ulxr_responseparse_base.h
+include/ulxmlrpcpp/ulxr_responseparse_wb.h
+include/ulxmlrpcpp/ulxr_signature.h
+include/ulxmlrpcpp/ulxr_ssl_connection.h
+include/ulxmlrpcpp/ulxr_tcpip_connection.h
+include/ulxmlrpcpp/ulxr_value.h
+include/ulxmlrpcpp/ulxr_valueparse.h
+include/ulxmlrpcpp/ulxr_valueparse_base.h
+include/ulxmlrpcpp/ulxr_valueparse_wb.h
+include/ulxmlrpcpp/ulxr_virtual_resource.h
+include/ulxmlrpcpp/ulxr_wbxmlparse.h
+include/ulxmlrpcpp/ulxr_xmlparse.h
+include/ulxmlrpcpp/ulxr_xmlparse_base.h
+lib/libulxmlrpcpp.a
+lib/libulxmlrpcpp.la
+lib/libulxmlrpcpp.so
+lib/libulxmlrpcpp.so.23
+lib/libulxmlrpcpp_contrib.a
+lib/libulxmlrpcpp_contrib.la
+lib/libulxmlrpcpp_contrib.so
+lib/libulxmlrpcpp_contrib.so.23
+libdata/pkgconfig/ulxmlrpcpp.pc
+%%DATADIR%%/httpd/index.html
+%%DATADIR%%/httpd/logo-ulxmlrpcpp.png
+ at dirrm %%DATADIR%%/httpd
+ at dirrm %%DATADIR%%
+ at dirrm include/ulxmlrpcpp/contrib
+ at dirrm include/ulxmlrpcpp
--- /dev/null
+++ net/ulxmlrpcpp/Makefile
@@ -0,0 +1,39 @@
+# ex:ts=8
+# Ports collection makefile for: ulxmlrpcpp
+# Date created: Feb 26, 2008
+# Whom: Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/net/ulxmlrpcpp/Makefile,v 1.1 2008/02/27 01:47:46 laffer1 Exp $
+#
+
+PORTNAME= ulxmlrpcpp
+PORTVERSION= 1.7.3
+CATEGORIES= net devel
+MASTER_SITES= SF
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= An ultra lightweight xml-rpc library written in C++
+
+LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_BZIP2= yes
+USE_GNOME= gnomehack gnometarget
+USE_ICONV= yes
+USE_OPENSSL= yes
+USE_AUTOTOOLS= libtool:15
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}"
+USE_LDCONFIG= yes
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^SUBDIRS/s| docs | |g' ${WRKSRC}/ulxmlrpcpp/Makefile.in
+
+.include <bsd.port.mk>
--- /dev/null
+++ net/ulxmlrpcpp/distinfo
@@ -0,0 +1,3 @@
+MD5 (ulxmlrpcpp-1.7.3-src.tar.bz2) = 7c5d849d8d1cd9ccfb4b90350145d503
+SHA256 (ulxmlrpcpp-1.7.3-src.tar.bz2) = 0d568ff00cd45f73f3634723f8cb453f8bc952760cad3829bcbca88378a2ed83
+SIZE (ulxmlrpcpp-1.7.3-src.tar.bz2) = 656849
--- /dev/null
+++ net/ulxmlrpcpp/files/patch-ulxmlrpcpp-ulxmlrpcpp.h
@@ -0,0 +1,11 @@
+--- ulxmlrpcpp/ulxmlrpcpp.h.orig Sat Jan 27 12:57:48 2007
++++ ulxmlrpcpp/ulxmlrpcpp.h Sat Jan 27 12:58:07 2007
+@@ -743,7 +743,7 @@
+ #if defined(__CYGWIN__)
+ # define ulxr_snprintf snprintf
+ #else
+-# define ulxr_snprintf std::snprintf
++# define ulxr_snprintf snprintf
+ #endif
+
+ # define ulxr_swprintf std::swprintf
--- /dev/null
+++ net/xmlrpc-c/pkg-descr
@@ -0,0 +1,17 @@
+XML-RPC is a quick-and-easy way to make procedure calls over the Internet.
+It converts the procedure call into XML document, sends it to a remote
+server using HTTP, and gets back the response as XML.
+
+This library provides a modular implementation of XML-RPC for C and C++.
+
+ - C API and experimental C++ API.
+ - Modular XML-RPC core: If you want, you can supply all your own HTTP
+ code.
+ - Synchronous and asynchronous XML-RPC clients based on w3c-libwww.
+ - Multithreaded XML-RPC server based on the Abyss web server.
+ - Full support for basic types, including <struct>, <array> and <base64>.
+ - Extensive test suites to help verify correct behavior and correct
+ error handling.
+ - Passes the official XML-RPC validator1 test suite.
+
+WWW: http://xmlrpc-c.sourceforge.net/
--- /dev/null
+++ net/xmlrpc-c/pkg-plist
@@ -0,0 +1,75 @@
+%%CLIENT%%bin/xmlrpc
+bin/xmlrpc-c-config
+%%CLIENT%%bin/xmlrpc_transport
+include/XmlRpcCpp.h
+include/xmlrpc-c/abyss.h
+include/xmlrpc-c/base.h
+include/xmlrpc-c/base.hpp
+%%CLIENT%%include/xmlrpc-c/client.h
+%%CLIENT%%include/xmlrpc-c/client.hpp
+%%CLIENT%%include/xmlrpc-c/client_global.h
+%%CLIENT%%include/xmlrpc-c/client_simple.hpp
+%%CLIENT%%include/xmlrpc-c/client_transport.hpp
+include/xmlrpc-c/config.h
+include/xmlrpc-c/girerr.hpp
+include/xmlrpc-c/girmem.hpp
+include/xmlrpc-c/oldcppwrapper.hpp
+include/xmlrpc-c/oldxmlrpc.h
+include/xmlrpc-c/registry.hpp
+include/xmlrpc-c/server.h
+include/xmlrpc-c/server_abyss.h
+include/xmlrpc-c/server_abyss.hpp
+include/xmlrpc-c/server_cgi.h
+include/xmlrpc-c/server_w32httpsys.h
+include/xmlrpc-c/timeout.hpp
+%%CLIENT%%include/xmlrpc-c/transport.h
+include/xmlrpc-c/util.h
+include/xmlrpc-c/xml.hpp
+include/xmlrpc.h
+include/xmlrpc_cgi.h
+include/xmlrpc_client.h
+include/xmlrpc_server.h
+include/xmlrpc_server_abyss.h
+include/xmlrpc_server_w32httpsys.h
+lib/libxmlrpc++.a
+lib/libxmlrpc.a
+lib/libxmlrpc.la
+lib/libxmlrpc.so
+lib/libxmlrpc.so.9
+lib/libxmlrpc_abyss.a
+lib/libxmlrpc_abyss.la
+lib/libxmlrpc_abyss.so
+lib/libxmlrpc_abyss.so.9
+%%CLIENT%%lib/libxmlrpc_client++.a
+%%CLIENT%%lib/libxmlrpc_client.a
+%%CLIENT%%lib/libxmlrpc_client.la
+%%CLIENT%%lib/libxmlrpc_client.so
+%%CLIENT%%lib/libxmlrpc_client.so.9
+lib/libxmlrpc_cpp.a
+lib/libxmlrpc_server++.a
+lib/libxmlrpc_server.a
+lib/libxmlrpc_server.la
+lib/libxmlrpc_server.so
+lib/libxmlrpc_server.so.9
+lib/libxmlrpc_server_abyss++.a
+lib/libxmlrpc_server_abyss.a
+lib/libxmlrpc_server_abyss.la
+lib/libxmlrpc_server_abyss.so
+lib/libxmlrpc_server_abyss.so.9
+lib/libxmlrpc_server_cgi.a
+lib/libxmlrpc_server_cgi.la
+lib/libxmlrpc_server_cgi.so
+lib/libxmlrpc_server_cgi.so.9
+lib/libxmlrpc_util.a
+lib/libxmlrpc_util.la
+lib/libxmlrpc_util.so
+lib/libxmlrpc_util.so.9
+lib/libxmlrpc_xmlparse.a
+lib/libxmlrpc_xmlparse.la
+lib/libxmlrpc_xmlparse.so
+lib/libxmlrpc_xmlparse.so.9
+lib/libxmlrpc_xmltok.a
+lib/libxmlrpc_xmltok.la
+lib/libxmlrpc_xmltok.so
+lib/libxmlrpc_xmltok.so.9
+ at dirrm include/xmlrpc-c
--- /dev/null
+++ net/xmlrpc-c/Makefile
@@ -0,0 +1,60 @@
+# ex:ts=8
+# New ports collection makefile for: xmlrpc-c
+# Date created: Feb 26, 2008
+# Whom: Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/net/xmlrpc-c/Makefile,v 1.1 2008/02/27 01:47:46 laffer1 Exp $
+#
+
+PORTNAME= xmlrpc-c
+PORTVERSION= 1.06.23
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= xmlrpc-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= luke at MidnightBSD.org
+COMMENT= XML-RPC library for C and C++
+
+OPTIONS= CURL "Compile with curl support" on \
+ LIBWWW "Compile with libwww support" off
+
+USE_AUTOTOOLS= libtool:15:env
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+USE_PERL5= yes
+MAKEFILE= GNUmakefile
+MAKE_ENV+= CFLAGS_FREEBSD="${CFLAGS}" \
+ CXXFLAGS_FREEBSD="${CXXFLAGS}"
+
+CONFLICTS= xmlrpc-epi-0.*
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LIBWWW) || (!defined(WITHOUT_LIBWWW) && exists(${LOCALBASE}/lib/libwwwcore.so.1))
+LIB_DEPENDS+= wwwcore.1:${PORTSDIR}/www/libwww
+OPT_LIBWWW= yes
+.else
+CONFIGURE_ARGS+= --disable-libwww-client
+.endif
+
+.if !defined(WITHOUT_CURL)
+LIB_DEPENDS+= curl.4:${PORTSDIR}/ftp/curl
+OPT_CURL= yes
+.else
+CONFIGURE_ARGS+= --disable-curl-client
+.endif
+
+.if !defined(OPT_LIBWWW) && !defined(OPT_CURL)
+PLIST_SUB+= CLIENT="@comment "
+.else
+PLIST_SUB+= CLIENT=""
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ net/xmlrpc-c/distinfo
@@ -0,0 +1,3 @@
+MD5 (xmlrpc-1.06.23.tgz) = e519a43145b90e814fcfb0af1db1d91c
+SHA256 (xmlrpc-1.06.23.tgz) = 4ea6cbf202a190675d0f3addf93161b4e575758d17e4444ccbcb6ee879861359
+SIZE (xmlrpc-1.06.23.tgz) = 703495
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/net/Makefile,v
retrieving revision 1.54
retrieving revision 1.55
diff -L net/Makefile -L net/Makefile -u -r1.54 -r1.55
--- net/Makefile
+++ net/Makefile
@@ -60,8 +60,10 @@
SUBDIR += samba3
SUBDIR += sdl_net
SUBDIR += tsocks
+ SUBDIR += ulxmlrpcpp
SUBDIR += vncreflector
SUBDIR += x11vnc
+ SUBDIR += xmlrpc-c
SUBDIR += yaz
SUBDIR += zillion
--- /dev/null
+++ net/xmlrpc-c/files/patch-Makefile.common
@@ -0,0 +1,16 @@
+--- Makefile.common.orig 2007-12-18 19:39:26.000000000 +0000
++++ Makefile.common 2007-12-18 19:40:30.000000000 +0000
+@@ -32,11 +32,11 @@
+ CXXFLAGS_COMMON = -DNDEBUG
+
+ ifeq ($(C_COMPILER_GNU),yes)
+- CFLAGS_COMMON += $(GCC_C_WARNINGS) -fno-common -g -O3
++ CFLAGS_COMMON += $(GCC_C_WARNINGS) $(CFLAGS_FREEBSD)
+ endif
+
+ ifeq ($(CXX_COMPILER_GNU),yes)
+- CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) -g
++ CXXFLAGS_COMMON += $(GCC_CXX_WARNINGS) $(CXXFLAGS_FREEBSD)
+ endif
+
+ DISTDIR = $(BUILDDIR)/$(PACKAGE)-$(VERSION)/$(SUBDIR)
--- /dev/null
+++ net/xmlrpc-c/files/patch-ltconfig
@@ -0,0 +1,14 @@
+Index: ltconfig
+===================================================================
+--- ltconfig
++++ ltconfig (working copy)
+@@ -1133,7 +1133,7 @@
+ ;;
+
+ freebsd*)
+- objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
++ objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo elf`
+ version_type=freebsd-$objformat
+ case $version_type in
+ freebsd-elf*)
+
More information about the Midnightbsd-cvs
mailing list