[Midnightbsd-cvs] mports [19817] trunk/net: add xmlrpc-c-devel port
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Tue Aug 18 21:33:02 EDT 2015
Revision: 19817
http://svnweb.midnightbsd.org/mports/?rev=19817
Author: laffer1
Date: 2015-08-18 21:33:01 -0400 (Tue, 18 Aug 2015)
Log Message:
-----------
add xmlrpc-c-devel port
Modified Paths:
--------------
trunk/net/Makefile
Added Paths:
-----------
trunk/net/xmlrpc-c-devel/
trunk/net/xmlrpc-c-devel/Makefile
trunk/net/xmlrpc-c-devel/distinfo
trunk/net/xmlrpc-c-devel/files/
trunk/net/xmlrpc-c-devel/files/patch-examples_cpp_Makefile
trunk/net/xmlrpc-c-devel/files/patch_test__cpp__value.cpp
trunk/net/xmlrpc-c-devel/pkg-descr
trunk/net/xmlrpc-c-devel/pkg-plist
Modified: trunk/net/Makefile
===================================================================
--- trunk/net/Makefile 2015-08-19 01:31:13 UTC (rev 19816)
+++ trunk/net/Makefile 2015-08-19 01:33:01 UTC (rev 19817)
@@ -116,6 +116,7 @@
SUBDIR += x11vnc
SUBDIR += xferstats
SUBDIR += xmlrpc-c
+SUBDIR += xmlrpc-c-devel
SUBDIR += xmlrpc-epi
SUBDIR += yaz
SUBDIR += zebra
Added: trunk/net/xmlrpc-c-devel/Makefile
===================================================================
--- trunk/net/xmlrpc-c-devel/Makefile (rev 0)
+++ trunk/net/xmlrpc-c-devel/Makefile 2015-08-19 01:33:01 UTC (rev 19817)
@@ -0,0 +1,66 @@
+# Created by: Ying-Chieh Liao <ijliao at FreeBSD.org>
+# $MidnightBSD$
+# $FreeBSD: head/net/xmlrpc-c-devel/Makefile 382278 2015-03-25 23:51:05Z marino $
+
+PORTNAME= xmlrpc-c
+PORTVERSION= 1.36.0
+CATEGORIES= net
+MASTER_SITES= LOCAL/garga/xmlrpc-c
+PKGNAMESUFFIX= -devel
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= XML-RPC library for C and C++
+
+LICENSE= bsd3
+
+OPTIONS_DEFINE= DEBUG CURL LIBWWW CPLUSPLUS
+OPTIONS_DEFAULT=CURL LIBWWW CPLUSPLUS
+
+LIBWWW_DESC= Compile with libwww support
+CPLUSPLUS_DESC= Build xmlrpc-c c++ libs and tools
+
+CONFLICTS= xmlrpc-epi-0.* xmlrpc-c-[0-9]*
+
+USES= gmake tar:xz
+OPTIONS_SUB= yes
+GNU_CONFIGURE= yes
+MAKEFILE= GNUmakefile
+MAKE_JOBS_UNSAFE= yes
+MAKE_ENV+= INSTALL_SHLIB="${INSTALL_LIB}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+USE_LDCONFIG= yes
+
+CURL_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
+CURL_CONFIGURE_ENABLE= curl-client
+LIBWWW_LIB_DEPENDS= libwwwcore.so:${PORTSDIR}/www/libwww
+LIBWWW_CONFIGURE_ENABLE=libwww-client
+LIBWWW_CONFIGURE_WITH= libwww-ssl
+CPLUSPLUS_CONFIGURE_ENABLE= cplusplus
+
+.include <bsd.port.pre.mk>
+
+.if empty(PORT_OPTIONS:MDEBUG)
+CFLAGS+= -DNDEBUG
+.endif
+
+.if empty(PORT_OPTIONS:MLIBWWW) && empty(PORT_OPTIONS:MCURL)
+PLIST_SUB+= CLIENT="@comment "
+.else
+PLIST_SUB+= CLIENT=""
+.endif
+
+post-extract:
+ @${FIND} ${WRKSRC} -type l -name blddir -delete
+ @${FIND} ${WRKSRC} -type l -name srcdir -delete
+
+post-patch:
+ @${REINPLACE_CMD} -e '/#include.*features.h/ s/features.h/sys\/cdefs.h/' \
+ ${WRKSRC}/tools/xmlrpc_pstream/xmlrpc_pstream.cpp
+ @${REINPLACE_CMD} -e '/define _XOPEN_SOURCE 600/ s,^,//,' \
+ ${WRKSRC}/src/xmlrpc_server_abyss.c
+ @${REINPLACE_CMD} -e 's,sys/unistd.h,unistd.h,' \
+ ${WRKSRC}/test/cpp/server_abyss.cpp
+ @${REINPLACE_CMD} -e '/^INSTALL_/s/=/\?=/' \
+ ${WRKSRC}/config.mk.in
+
+.include <bsd.port.post.mk>
Property changes on: trunk/net/xmlrpc-c-devel/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/xmlrpc-c-devel/distinfo
===================================================================
--- trunk/net/xmlrpc-c-devel/distinfo (rev 0)
+++ trunk/net/xmlrpc-c-devel/distinfo 2015-08-19 01:33:01 UTC (rev 19817)
@@ -0,0 +1,2 @@
+SHA256 (xmlrpc-c-1.36.0.tar.xz) = dba8586c1060bb265b0175ab93c4b21895f87b8da600ad382a5bb12ace4d284c
+SIZE (xmlrpc-c-1.36.0.tar.xz) = 561204
Property changes on: trunk/net/xmlrpc-c-devel/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/xmlrpc-c-devel/files/patch-examples_cpp_Makefile
===================================================================
--- trunk/net/xmlrpc-c-devel/files/patch-examples_cpp_Makefile (rev 0)
+++ trunk/net/xmlrpc-c-devel/files/patch-examples_cpp_Makefile 2015-08-19 01:33:01 UTC (rev 19817)
@@ -0,0 +1,11 @@
+--- examples/cpp/Makefile.orig 2013-10-23 00:09:37 UTC
++++ examples/cpp/Makefile
+@@ -15,7 +15,7 @@ include $(BLDDIR)/config.mk
+
+ default: all
+
+-CXXFLAGS = $(CFLAGS_PERSONAL) $(CADD)
++CXXFLAGS+= $(CFLAGS_PERSONAL) $(CADD)
+ LDFLAGS += $(LADD)
+
+ # If this were a real application, working from an installed copy of
Property changes on: trunk/net/xmlrpc-c-devel/files/patch-examples_cpp_Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/xmlrpc-c-devel/files/patch_test__cpp__value.cpp
===================================================================
--- trunk/net/xmlrpc-c-devel/files/patch_test__cpp__value.cpp (rev 0)
+++ trunk/net/xmlrpc-c-devel/files/patch_test__cpp__value.cpp 2015-08-19 01:33:01 UTC (rev 19817)
@@ -0,0 +1,11 @@
+--- test/cpp/value.cpp.orig 2012-12-17 11:36:32.000000000 -0200
++++ test/cpp/value.cpp 2012-12-17 11:36:53.000000000 -0200
+@@ -235,7 +235,7 @@
+ TEST(iso8601Value == testTime8601);
+
+ try {
+- value_datetime datetime4(value_int(4));
++ value_datetime second_datetime4(value_int(4));
+ TEST_FAILED("invalid cast int-datetime suceeded");
+ } catch (error const&) {}
+ }
Property changes on: trunk/net/xmlrpc-c-devel/files/patch_test__cpp__value.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/xmlrpc-c-devel/pkg-descr
===================================================================
--- trunk/net/xmlrpc-c-devel/pkg-descr (rev 0)
+++ trunk/net/xmlrpc-c-devel/pkg-descr 2015-08-19 01:33:01 UTC (rev 19817)
@@ -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/
Property changes on: trunk/net/xmlrpc-c-devel/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/xmlrpc-c-devel/pkg-plist
===================================================================
--- trunk/net/xmlrpc-c-devel/pkg-plist (rev 0)
+++ trunk/net/xmlrpc-c-devel/pkg-plist 2015-08-19 01:33:01 UTC (rev 19817)
@@ -0,0 +1,106 @@
+bin/xmlrpc-c-config
+%%CPLUSPLUS%%include/XmlRpcCpp.h
+include/xmlrpc-c/abyss.h
+include/xmlrpc-c/abyss_unixsock.h
+include/xmlrpc-c/abyss_winsock.h
+include/xmlrpc-c/base.h
+%%CPLUSPLUS%%include/xmlrpc-c/base.hpp
+include/xmlrpc-c/c_util.h
+%%CLIENT%%include/xmlrpc-c/client.h
+%%CPLUSPLUS%%%%CLIENT%%include/xmlrpc-c/client.hpp
+%%CLIENT%%include/xmlrpc-c/client_global.h
+%%CPLUSPLUS%%%%CLIENT%%include/xmlrpc-c/client_simple.hpp
+%%CPLUSPLUS%%%%CLIENT%%include/xmlrpc-c/client_transport.hpp
+include/xmlrpc-c/config.h
+%%CPLUSPLUS%%include/xmlrpc-c/girerr.hpp
+%%CPLUSPLUS%%include/xmlrpc-c/girmem.hpp
+include/xmlrpc-c/inttypes.h
+include/xmlrpc-c/json.h
+%%CPLUSPLUS%%include/xmlrpc-c/oldcppwrapper.hpp
+include/xmlrpc-c/oldxmlrpc.h
+%%CPLUSPLUS%%include/xmlrpc-c/packetsocket.hpp
+%%CPLUSPLUS%%include/xmlrpc-c/registry.hpp
+include/xmlrpc-c/server.h
+include/xmlrpc-c/server_abyss.h
+%%CPLUSPLUS%%include/xmlrpc-c/server_abyss.hpp
+include/xmlrpc-c/server_cgi.h
+%%CPLUSPLUS%%include/xmlrpc-c/server_pstream.hpp
+include/xmlrpc-c/server_w32httpsys.h
+%%CPLUSPLUS%%include/xmlrpc-c/timeout.hpp
+%%CLIENT%%include/xmlrpc-c/transport.h
+include/xmlrpc-c/util.h
+%%CPLUSPLUS%%include/xmlrpc-c/xml.hpp
+include/xmlrpc.h
+include/xmlrpc_abyss.h
+include/xmlrpc_cgi.h
+%%CLIENT%%include/xmlrpc_client.h
+include/xmlrpc_server.h
+include/xmlrpc_server_w32httpsys.h
+%%CPLUSPLUS%%lib/libxmlrpc++.a
+%%CPLUSPLUS%%lib/libxmlrpc++.so
+%%CPLUSPLUS%%lib/libxmlrpc++.so.8
+%%CPLUSPLUS%%lib/libxmlrpc++.so.8.36
+lib/libxmlrpc.a
+lib/libxmlrpc.so
+lib/libxmlrpc.so.3
+lib/libxmlrpc.so.3.36
+lib/libxmlrpc_abyss.a
+lib/libxmlrpc_abyss.so
+lib/libxmlrpc_abyss.so.3
+lib/libxmlrpc_abyss.so.3.36
+%%CPLUSPLUS%%%%CLIENT%%lib/libxmlrpc_client++.a
+%%CPLUSPLUS%%%%CLIENT%%lib/libxmlrpc_client++.so
+%%CPLUSPLUS%%%%CLIENT%%lib/libxmlrpc_client++.so.8
+%%CPLUSPLUS%%%%CLIENT%%lib/libxmlrpc_client++.so.8.36
+%%CLIENT%%lib/libxmlrpc_client.a
+%%CLIENT%%lib/libxmlrpc_client.so
+%%CLIENT%%lib/libxmlrpc_client.so.3
+%%CLIENT%%lib/libxmlrpc_client.so.3.36
+%%CPLUSPLUS%%lib/libxmlrpc_cpp.a
+%%CPLUSPLUS%%lib/libxmlrpc_cpp.so
+%%CPLUSPLUS%%lib/libxmlrpc_cpp.so.8
+%%CPLUSPLUS%%lib/libxmlrpc_cpp.so.8.36
+%%CPLUSPLUS%%lib/libxmlrpc_packetsocket.a
+%%CPLUSPLUS%%lib/libxmlrpc_packetsocket.so
+%%CPLUSPLUS%%lib/libxmlrpc_packetsocket.so.8
+%%CPLUSPLUS%%lib/libxmlrpc_packetsocket.so.8.36
+%%CPLUSPLUS%%lib/libxmlrpc_server++.a
+%%CPLUSPLUS%%lib/libxmlrpc_server++.so
+%%CPLUSPLUS%%lib/libxmlrpc_server++.so.8
+%%CPLUSPLUS%%lib/libxmlrpc_server++.so.8.36
+lib/libxmlrpc_server.a
+lib/libxmlrpc_server.so
+lib/libxmlrpc_server.so.3
+lib/libxmlrpc_server.so.3.36
+%%CPLUSPLUS%%lib/libxmlrpc_server_abyss++.a
+%%CPLUSPLUS%%lib/libxmlrpc_server_abyss++.so
+%%CPLUSPLUS%%lib/libxmlrpc_server_abyss++.so.8
+%%CPLUSPLUS%%lib/libxmlrpc_server_abyss++.so.8.36
+lib/libxmlrpc_server_abyss.a
+lib/libxmlrpc_server_abyss.so
+lib/libxmlrpc_server_abyss.so.3
+lib/libxmlrpc_server_abyss.so.3.36
+%%CPLUSPLUS%%lib/libxmlrpc_server_cgi++.a
+%%CPLUSPLUS%%lib/libxmlrpc_server_cgi++.so
+%%CPLUSPLUS%%lib/libxmlrpc_server_cgi++.so.8
+%%CPLUSPLUS%%lib/libxmlrpc_server_cgi++.so.8.36
+lib/libxmlrpc_server_cgi.a
+lib/libxmlrpc_server_cgi.so
+lib/libxmlrpc_server_cgi.so.3
+lib/libxmlrpc_server_cgi.so.3.36
+%%CPLUSPLUS%%lib/libxmlrpc_server_pstream++.a
+%%CPLUSPLUS%%lib/libxmlrpc_server_pstream++.so
+%%CPLUSPLUS%%lib/libxmlrpc_server_pstream++.so.8
+%%CPLUSPLUS%%lib/libxmlrpc_server_pstream++.so.8.36
+lib/libxmlrpc_util.a
+lib/libxmlrpc_util.so
+lib/libxmlrpc_util.so.3
+lib/libxmlrpc_util.so.3.36
+lib/libxmlrpc_xmlparse.a
+lib/libxmlrpc_xmlparse.so
+lib/libxmlrpc_xmlparse.so.3
+lib/libxmlrpc_xmlparse.so.3.36
+lib/libxmlrpc_xmltok.a
+lib/libxmlrpc_xmltok.so
+lib/libxmlrpc_xmltok.so.3
+lib/libxmlrpc_xmltok.so.3.36
Property changes on: trunk/net/xmlrpc-c-devel/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list