Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 06:17:32 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487279 - in head/net: . libjson-rpc-cpp libjson-rpc-cpp/files
Message-ID:  <201812120617.wBC6HW9A082116@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lwhsu
Date: Wed Dec 12 06:17:31 2018
New Revision: 487279
URL: https://svnweb.freebsd.org/changeset/ports/487279

Log:
  Add net/libjson-rpc-cpp, C++ library for JSON-RPC
  
  PR:		231735
  Submitted by:	Greg V <greg@unrelenting.technology>

Added:
  head/net/libjson-rpc-cpp/
  head/net/libjson-rpc-cpp/Makefile   (contents, props changed)
  head/net/libjson-rpc-cpp/distinfo   (contents, props changed)
  head/net/libjson-rpc-cpp/files/
  head/net/libjson-rpc-cpp/files/patch-src_stubgenerator_CMakeLists.txt   (contents, props changed)
  head/net/libjson-rpc-cpp/pkg-descr   (contents, props changed)
  head/net/libjson-rpc-cpp/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Wed Dec 12 05:30:24 2018	(r487278)
+++ head/net/Makefile	Wed Dec 12 06:17:31 2018	(r487279)
@@ -381,6 +381,7 @@
     SUBDIR += libgrss
     SUBDIR += libgweather
     SUBDIR += libilbc
+    SUBDIR += libjson-rpc-cpp 
     SUBDIR += libkfbapi
     SUBDIR += libkgapi
     SUBDIR += libksieve

Added: head/net/libjson-rpc-cpp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libjson-rpc-cpp/Makefile	Wed Dec 12 06:17:31 2018	(r487279)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=		libjson-rpc-cpp
+DISTVERSIONPREFIX=	v
+DISTVERSION=		1.1.0
+CATEGORIES=		net www devel
+
+MAINTAINER=	greg@unrelenting.technology
+COMMENT=	C++ framework for JSON-RPC 1.0 and 2.0
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+LIB_DEPENDS=	libcurl.so:ftp/curl \
+		libmicrohttpd.so:www/libmicrohttpd \
+		libjsoncpp.so:devel/jsoncpp \
+		libargtable2.so:devel/argtable
+
+USES=		cmake:outsource pkgconfig
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	cinemast
+
+CMAKE_OFF=	COMPILE_TESTS COMPILE_EXAMPLES
+CMAKE_ON=	UNIX_DOMAIN_SOCKET_SERVER UNIX_DOMAIN_SOCKET_CLIENT \
+		FILE_DESCRIPTOR_SERVER FILE_DESCRIPTOR_CLIENT
+
+OPTIONS_DEFINE=	REDIS
+OPTIONS_SUB=	yes
+
+REDIS_CMAKE_BOOL=	REDIS_SERVER REDIS_CLIENT
+REDIS_LIB_DEPENDS=	libhiredis.so:databases/hiredis
+
+.include <bsd.port.mk>

Added: head/net/libjson-rpc-cpp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libjson-rpc-cpp/distinfo	Wed Dec 12 06:17:31 2018	(r487279)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1537865192
+SHA256 (cinemast-libjson-rpc-cpp-v1.1.0_GH0.tar.gz) = 8e699cad9f64e5db5c855ddfb6900dc55e673cc960cb9158818d652b74cb9183
+SIZE (cinemast-libjson-rpc-cpp-v1.1.0_GH0.tar.gz) = 179442

Added: head/net/libjson-rpc-cpp/files/patch-src_stubgenerator_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libjson-rpc-cpp/files/patch-src_stubgenerator_CMakeLists.txt	Wed Dec 12 06:17:31 2018	(r487279)
@@ -0,0 +1,11 @@
+--- src/stubgenerator/CMakeLists.txt.orig	2018-09-25 08:59:06 UTC
++++ src/stubgenerator/CMakeLists.txt
+@@ -46,7 +46,7 @@ if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
+         VERBATIM
+     )
+     add_custom_target(manpage ALL DEPENDS jsonrpcstub.1.gz)
+-    install(FILES ${CMAKE_BINARY_DIR}/jsonrpcstub.1.gz DESTINATION share/man/man1/)
++    install(FILES ${CMAKE_BINARY_DIR}/jsonrpcstub.1.gz DESTINATION man/man1/)
+     add_dependencies(jsonrpcstub manpage)
+ endif()
+ 

Added: head/net/libjson-rpc-cpp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libjson-rpc-cpp/pkg-descr	Wed Dec 12 06:17:31 2018	(r487279)
@@ -0,0 +1,7 @@
+A cross platform JSON-RPC (remote procedure call) framework for C++ that is
+fully JSON-RPC 2.0 & 1.0 compatible.
+
+Includes ready to use HTTP + TCP server and client implementations, as well
+as a stub class generator for C++, JavaScript and Python.
+
+WWW: https://github.com/cinemast/libjson-rpc-cpp

Added: head/net/libjson-rpc-cpp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libjson-rpc-cpp/pkg-plist	Wed Dec 12 06:17:31 2018	(r487279)
@@ -0,0 +1,64 @@
+bin/jsonrpcstub
+include/jsonrpccpp/client.h
+include/jsonrpccpp/client/batchcall.h
+include/jsonrpccpp/client/batchresponse.h
+include/jsonrpccpp/client/client.h
+include/jsonrpccpp/client/connectors/filedescriptorclient.h
+include/jsonrpccpp/client/connectors/httpclient.h
+%%REDIS%%include/jsonrpccpp/client/connectors/redisclient.h
+include/jsonrpccpp/client/connectors/unixdomainsocketclient.h
+include/jsonrpccpp/client/iclientconnector.h
+include/jsonrpccpp/common/errors.h
+include/jsonrpccpp/common/exception.h
+include/jsonrpccpp/common/jsonparser.h
+include/jsonrpccpp/common/procedure.h
+include/jsonrpccpp/common/sharedconstants.h
+include/jsonrpccpp/common/specification.h
+include/jsonrpccpp/common/specificationparser.h
+include/jsonrpccpp/common/specificationwriter.h
+include/jsonrpccpp/common/streamreader.h
+include/jsonrpccpp/common/streamwriter.h
+include/jsonrpccpp/server.h
+include/jsonrpccpp/server/abstractserver.h
+include/jsonrpccpp/server/abstractserverconnector.h
+include/jsonrpccpp/server/abstractthreadedserver.h
+include/jsonrpccpp/server/connectors/filedescriptorserver.h
+include/jsonrpccpp/server/connectors/httpserver.h
+%%REDIS%%include/jsonrpccpp/server/connectors/redisserver.h
+include/jsonrpccpp/server/connectors/unixdomainsocketserver.h
+include/jsonrpccpp/server/iclientconnectionhandler.h
+include/jsonrpccpp/server/iprocedureinvokationhandler.h
+include/jsonrpccpp/server/requesthandlerfactory.h
+include/jsonrpccpp/server/threadpool.h
+include/jsonrpccpp/stubgen/client/cppclientstubgenerator.h
+include/jsonrpccpp/stubgen/client/jsclientstubgenerator.h
+include/jsonrpccpp/stubgen/client/pyclientstubgenerator.h
+include/jsonrpccpp/stubgen/codegenerator.h
+include/jsonrpccpp/stubgen/helper/cpphelper.h
+include/jsonrpccpp/stubgen/server/cppserverstubgenerator.h
+include/jsonrpccpp/stubgen/servertemplate.h
+include/jsonrpccpp/stubgen/stubgenerator.h
+include/jsonrpccpp/stubgen/stubgeneratorfactory.h
+include/jsonrpccpp/stubgen/stubhelper.h
+include/jsonrpccpp/version.h
+lib/libjson-rpc-cpp/cmake/libjson-rpc-cppConfig.cmake
+lib/libjson-rpc-cpp/cmake/libjson-rpc-cppConfigVersion.cmake
+lib/libjson-rpc-cpp/cmake/libjson-rpc-cppTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/libjson-rpc-cpp/cmake/libjson-rpc-cppTargets.cmake
+lib/libjsonrpccpp-client.so
+lib/libjsonrpccpp-client.so.1
+lib/libjsonrpccpp-client.so.1.0.0
+lib/libjsonrpccpp-common.so
+lib/libjsonrpccpp-common.so.1
+lib/libjsonrpccpp-common.so.1.0.0
+lib/libjsonrpccpp-server.so
+lib/libjsonrpccpp-server.so.1
+lib/libjsonrpccpp-server.so.1.0.0
+lib/libjsonrpccpp-stub.so
+lib/libjsonrpccpp-stub.so.1
+lib/libjsonrpccpp-stub.so.1.0.0
+libdata/pkgconfig/libjsonrpccpp-client.pc
+libdata/pkgconfig/libjsonrpccpp-common.pc
+libdata/pkgconfig/libjsonrpccpp-server.pc
+libdata/pkgconfig/libjsonrpccpp-stub.pc
+man/man1/jsonrpcstub.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812120617.wBC6HW9A082116>