From owner-svn-ports-all@freebsd.org Wed Dec 12 06:17:34 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFEFA132F795; Wed, 12 Dec 2018 06:17:33 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85EBB746DB; Wed, 12 Dec 2018 06:17:33 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7672B3F84; Wed, 12 Dec 2018 06:17:33 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBC6HX3o082125; Wed, 12 Dec 2018 06:17:33 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBC6HW9A082116; Wed, 12 Dec 2018 06:17:32 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <201812120617.wBC6HW9A082116@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Wed, 12 Dec 2018 06:17:32 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/net: . libjson-rpc-cpp libjson-rpc-cpp/files X-SVN-Commit-Revision: 487279 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 85EBB746DB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-0.66 / 15.00]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.66)[-0.665,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2018 06:17:34 -0000 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 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 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