FreeBSD Bugzilla – Attachment 197510 Details for
Bug 231735
[NEW PORT] net/libjson-rpc-cpp: C++ library for JSON-RPC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libjson-rpc-cpp.patch
libjson-rpc-cpp.patch (text/plain), 5.61 KB, created by
Val Packett
on 2018-09-26 12:11:35 UTC
(
hide
)
Description:
libjson-rpc-cpp.patch
Filename:
MIME Type:
Creator:
Val Packett
Created:
2018-09-26 12:11:35 UTC
Size:
5.61 KB
patch
obsolete
>diff --git c/net/libjson-rpc-cpp/Makefile i/net/libjson-rpc-cpp/Makefile >new file mode 100644 >index 000000000000..886983700a16 >--- /dev/null >+++ i/net/libjson-rpc-cpp/Makefile >@@ -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> >diff --git c/net/libjson-rpc-cpp/distinfo i/net/libjson-rpc-cpp/distinfo >new file mode 100644 >index 000000000000..accf2702ffa4 >--- /dev/null >+++ i/net/libjson-rpc-cpp/distinfo >@@ -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 >diff --git c/net/libjson-rpc-cpp/files/patch-src_stubgenerator_CMakeLists.txt i/net/libjson-rpc-cpp/files/patch-src_stubgenerator_CMakeLists.txt >new file mode 100644 >index 000000000000..d6dc0e93955a >--- /dev/null >+++ i/net/libjson-rpc-cpp/files/patch-src_stubgenerator_CMakeLists.txt >@@ -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() >+ >diff --git c/net/libjson-rpc-cpp/pkg-descr i/net/libjson-rpc-cpp/pkg-descr >new file mode 100644 >index 000000000000..de2e1ee25c1c >--- /dev/null >+++ i/net/libjson-rpc-cpp/pkg-descr >@@ -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 >diff --git c/net/libjson-rpc-cpp/pkg-plist i/net/libjson-rpc-cpp/pkg-plist >new file mode 100644 >index 000000000000..7cdacb580843 >--- /dev/null >+++ i/net/libjson-rpc-cpp/pkg-plist >@@ -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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231735
: 197510