New port: net/rsocket-cpp: C++ implementation of RSocket
This commit is contained in:
parent
d7da42933c
commit
453754d00d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504382
6 changed files with 191 additions and 0 deletions
|
@ -1179,6 +1179,7 @@
|
|||
SUBDIR += ripe-whois
|
||||
SUBDIR += routinator
|
||||
SUBDIR += rp-pppoe
|
||||
SUBDIR += rsocket-cpp
|
||||
SUBDIR += rsplib
|
||||
SUBDIR += rsync
|
||||
SUBDIR += rsync-bpc
|
||||
|
|
38
net/rsocket-cpp/Makefile
Normal file
38
net/rsocket-cpp/Makefile
Normal file
|
@ -0,0 +1,38 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= rsocket-cpp
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.10.0-942
|
||||
DISTVERSIONSUFFIX= -g3d878b1e
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= C++ implementation of RSocket
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libboost_atomic.so:devel/boost-libs \
|
||||
libdouble-conversion.so:devel/double-conversion \
|
||||
libevent.so:devel/libevent \
|
||||
libfolly.so:devel/folly \
|
||||
libgflags.so:devel/gflags \
|
||||
libglog.so:devel/glog \
|
||||
liblz4.so:archivers/liblz4 \
|
||||
libsnappy.so:archivers/snappy \
|
||||
libsodium.so:security/libsodium \
|
||||
libunwind.so:devel/libunwind \
|
||||
libzstd.so:archivers/zstd
|
||||
|
||||
USES= cmake compiler:c++14-lang ssl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= rsocket
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CMAKE_ON= BUILD_SHARED_LIBS
|
||||
CMAKE_OFF= BUILD_TESTS BUILD_EXAMPLES
|
||||
|
||||
post-install: # https://github.com/rsocket/rsocket-cpp/issues/890
|
||||
@cd ${STAGEDIR}${LOCALBASE} && ${RM} -r include/rsocket/examples include/rsocket/test include/yarpl/cmake include/yarpl/perf include/yarpl/test
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/rsocket-cpp/distinfo
Normal file
3
net/rsocket-cpp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1560730851
|
||||
SHA256 (rsocket-rsocket-cpp-v0.10.0-942-g3d878b1e_GH0.tar.gz) = 578b0c5b3fc91b22dc6611d766136a6a21fc7114ca3b7441a8891387fb2325f1
|
||||
SIZE (rsocket-rsocket-cpp-v0.10.0-942-g3d878b1e_GH0.tar.gz) = 1798622
|
11
net/rsocket-cpp/files/patch-CMakeLists.txt
Normal file
11
net/rsocket-cpp/files/patch-CMakeLists.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- CMakeLists.txt.orig 2019-06-17 00:26:16 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -171,7 +171,7 @@ if (COMPILER_HAS_W_NOEXCEPT_TYPE)
|
||||
endif()
|
||||
|
||||
if (NOT MSVC)
|
||||
- set(EXTRA_CXX_FLAGS ${EXTRA_CXX_FLAGS} -Werror)
|
||||
+# set(EXTRA_CXX_FLAGS ${EXTRA_CXX_FLAGS} -Werror)
|
||||
endif()
|
||||
|
||||
if("${BUILD_TYPE_LOWER}" MATCHES "debug")
|
11
net/rsocket-cpp/pkg-descr
Normal file
11
net/rsocket-cpp/pkg-descr
Normal file
|
@ -0,0 +1,11 @@
|
|||
RSocket is a binary protocol for use on byte stream transports such as TCP,
|
||||
WebSockets, and Aeron.
|
||||
|
||||
It enables the following symmetric interaction models via async message passing
|
||||
over a single connection:
|
||||
* request/response (stream of 1)
|
||||
* request/stream (finite stream of many)
|
||||
* fire-and-forget (no response)
|
||||
* channel (bi-directional streams)
|
||||
|
||||
WWW: http://rsocket.io/
|
127
net/rsocket-cpp/pkg-plist
Normal file
127
net/rsocket-cpp/pkg-plist
Normal file
|
@ -0,0 +1,127 @@
|
|||
include/rsocket/ColdResumeHandler.h
|
||||
include/rsocket/ConnectionAcceptor.h
|
||||
include/rsocket/ConnectionFactory.h
|
||||
include/rsocket/DuplexConnection.h
|
||||
include/rsocket/Payload.h
|
||||
include/rsocket/RSocket.h
|
||||
include/rsocket/RSocketClient.h
|
||||
include/rsocket/RSocketConnectionEvents.h
|
||||
include/rsocket/RSocketErrors.h
|
||||
include/rsocket/RSocketException.h
|
||||
include/rsocket/RSocketParameters.h
|
||||
include/rsocket/RSocketRequester.h
|
||||
include/rsocket/RSocketResponder.h
|
||||
include/rsocket/RSocketServer.h
|
||||
include/rsocket/RSocketServerState.h
|
||||
include/rsocket/RSocketServiceHandler.h
|
||||
include/rsocket/RSocketStats.h
|
||||
include/rsocket/ResumeManager.h
|
||||
include/rsocket/benchmarks/Fixture.h
|
||||
include/rsocket/benchmarks/Latch.h
|
||||
include/rsocket/benchmarks/Throughput.h
|
||||
include/rsocket/framing/ErrorCode.h
|
||||
include/rsocket/framing/Frame.h
|
||||
include/rsocket/framing/FrameFlags.h
|
||||
include/rsocket/framing/FrameHeader.h
|
||||
include/rsocket/framing/FrameProcessor.h
|
||||
include/rsocket/framing/FrameSerializer.h
|
||||
include/rsocket/framing/FrameSerializer_v1_0.h
|
||||
include/rsocket/framing/FrameTransport.h
|
||||
include/rsocket/framing/FrameTransportImpl.h
|
||||
include/rsocket/framing/FrameType.h
|
||||
include/rsocket/framing/FramedDuplexConnection.h
|
||||
include/rsocket/framing/FramedReader.h
|
||||
include/rsocket/framing/Framer.h
|
||||
include/rsocket/framing/ProtocolVersion.h
|
||||
include/rsocket/framing/ResumeIdentificationToken.h
|
||||
include/rsocket/framing/ScheduledFrameProcessor.h
|
||||
include/rsocket/framing/ScheduledFrameTransport.h
|
||||
include/rsocket/internal/Allowance.h
|
||||
include/rsocket/internal/ClientResumeStatusCallback.h
|
||||
include/rsocket/internal/Common.h
|
||||
include/rsocket/internal/ConnectionSet.h
|
||||
include/rsocket/internal/KeepaliveTimer.h
|
||||
include/rsocket/internal/ScheduledRSocketResponder.h
|
||||
include/rsocket/internal/ScheduledSingleObserver.h
|
||||
include/rsocket/internal/ScheduledSingleSubscription.h
|
||||
include/rsocket/internal/ScheduledSubscriber.h
|
||||
include/rsocket/internal/ScheduledSubscription.h
|
||||
include/rsocket/internal/SetupResumeAcceptor.h
|
||||
include/rsocket/internal/StackTraceUtils.h
|
||||
include/rsocket/internal/SwappableEventBase.h
|
||||
include/rsocket/internal/WarmResumeManager.h
|
||||
include/rsocket/statemachine/ChannelRequester.h
|
||||
include/rsocket/statemachine/ChannelResponder.h
|
||||
include/rsocket/statemachine/ConsumerBase.h
|
||||
include/rsocket/statemachine/FireAndForgetResponder.h
|
||||
include/rsocket/statemachine/PublisherBase.h
|
||||
include/rsocket/statemachine/RSocketStateMachine.h
|
||||
include/rsocket/statemachine/RequestResponseRequester.h
|
||||
include/rsocket/statemachine/RequestResponseResponder.h
|
||||
include/rsocket/statemachine/StreamFragmentAccumulator.h
|
||||
include/rsocket/statemachine/StreamRequester.h
|
||||
include/rsocket/statemachine/StreamResponder.h
|
||||
include/rsocket/statemachine/StreamStateMachineBase.h
|
||||
include/rsocket/statemachine/StreamsWriter.h
|
||||
include/rsocket/tck-test/BaseSubscriber.h
|
||||
include/rsocket/tck-test/FlowableSubscriber.h
|
||||
include/rsocket/tck-test/MarbleProcessor.h
|
||||
include/rsocket/tck-test/SingleSubscriber.h
|
||||
include/rsocket/tck-test/TestFileParser.h
|
||||
include/rsocket/tck-test/TestInterpreter.h
|
||||
include/rsocket/tck-test/TestSuite.h
|
||||
include/rsocket/tck-test/TypedCommands.h
|
||||
include/rsocket/transports/RSocketTransport.h
|
||||
include/rsocket/transports/tcp/TcpConnectionAcceptor.h
|
||||
include/rsocket/transports/tcp/TcpConnectionFactory.h
|
||||
include/rsocket/transports/tcp/TcpDuplexConnection.h
|
||||
include/yarpl/Common.h
|
||||
include/yarpl/Disposable.h
|
||||
include/yarpl/Flowable.h
|
||||
include/yarpl/Observable.h
|
||||
include/yarpl/Refcounted.h
|
||||
include/yarpl/Single.h
|
||||
include/yarpl/examples/FlowableExamples.h
|
||||
include/yarpl/flowable/CancelingSubscriber.h
|
||||
include/yarpl/flowable/DeferFlowable.h
|
||||
include/yarpl/flowable/EmitterFlowable.h
|
||||
include/yarpl/flowable/Flowable.h
|
||||
include/yarpl/flowable/FlowableConcatOperators.h
|
||||
include/yarpl/flowable/FlowableDoOperator.h
|
||||
include/yarpl/flowable/FlowableObserveOnOperator.h
|
||||
include/yarpl/flowable/FlowableOperator.h
|
||||
include/yarpl/flowable/FlowableTimeoutOperator.h
|
||||
include/yarpl/flowable/Flowable_FromObservable.h
|
||||
include/yarpl/flowable/Flowables.h
|
||||
include/yarpl/flowable/PublishProcessor.h
|
||||
include/yarpl/flowable/Subscriber.h
|
||||
include/yarpl/flowable/Subscription.h
|
||||
include/yarpl/flowable/TestSubscriber.h
|
||||
include/yarpl/observable/DeferObservable.h
|
||||
include/yarpl/observable/Observable.h
|
||||
include/yarpl/observable/ObservableConcatOperators.h
|
||||
include/yarpl/observable/ObservableDoOperator.h
|
||||
include/yarpl/observable/ObservableOperator.h
|
||||
include/yarpl/observable/Observables.h
|
||||
include/yarpl/observable/Observer.h
|
||||
include/yarpl/observable/Subscription.h
|
||||
include/yarpl/observable/TestObserver.h
|
||||
include/yarpl/single/Single.h
|
||||
include/yarpl/single/SingleObserver.h
|
||||
include/yarpl/single/SingleObservers.h
|
||||
include/yarpl/single/SingleOperator.h
|
||||
include/yarpl/single/SingleSubscription.h
|
||||
include/yarpl/single/SingleSubscriptions.h
|
||||
include/yarpl/single/SingleTestObserver.h
|
||||
include/yarpl/single/Singles.h
|
||||
include/yarpl/test_utils/Mocks.h
|
||||
include/yarpl/test_utils/Tuple.h
|
||||
include/yarpl/utils/credits.h
|
||||
lib/cmake/rsocket/rsocket-config.cmake
|
||||
lib/cmake/rsocket/rsocket-exports-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/rsocket/rsocket-exports.cmake
|
||||
lib/cmake/yarpl/yarpl-config.cmake
|
||||
lib/cmake/yarpl/yarpl-exports-%%CMAKE_BUILD_TYPE%%.cmake
|
||||
lib/cmake/yarpl/yarpl-exports.cmake
|
||||
lib/libReactiveSocket.so
|
||||
lib/libyarpl.so
|
Loading…
Reference in a new issue