diff options
Diffstat (limited to 'net/trantor')
-rw-r--r-- | net/trantor/Makefile | 24 | ||||
-rw-r--r-- | net/trantor/distinfo | 3 | ||||
-rw-r--r-- | net/trantor/pkg-descr | 10 | ||||
-rw-r--r-- | net/trantor/pkg-plist | 37 |
4 files changed, 74 insertions, 0 deletions
diff --git a/net/trantor/Makefile b/net/trantor/Makefile new file mode 100644 index 000000000000..12806dadef60 --- /dev/null +++ b/net/trantor/Makefile @@ -0,0 +1,24 @@ +PORTNAME= trantor +DISTVERSIONPREFIX= v +DISTVERSION= 1.5.24 +CATEGORIES= net + +MAINTAINER= zi@FreeBSD.org +COMMENT= Non-blocking I/O tcp network lib based on c++14/17 +WWW= https://github.com/an-tao/trantor + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/License + +USES= cmake ssl +USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= an-tao + +CMAKE_ARGS= -DTRANTOR_USE_TLS=openssl +CMAKE_OFF= C-ARES +CMAKE_ON= BUILD_SHARED_LIBS + +PLIST_SUB= PORTVERSION=${PORTVERSION} + +.include <bsd.port.mk> diff --git a/net/trantor/distinfo b/net/trantor/distinfo new file mode 100644 index 000000000000..89abca2cfd3b --- /dev/null +++ b/net/trantor/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1751652696 +SHA256 (an-tao-trantor-v1.5.24_GH0.tar.gz) = 3ffe8f6eeeef841b5550540edbed8cb3b3fda2bc5a1d536cc9c6f1809b7cb164 +SIZE (an-tao-trantor-v1.5.24_GH0.tar.gz) = 157331 diff --git a/net/trantor/pkg-descr b/net/trantor/pkg-descr new file mode 100644 index 000000000000..0bafce3f1101 --- /dev/null +++ b/net/trantor/pkg-descr @@ -0,0 +1,10 @@ +A non-blocking I/O cross-platform TCP network library, using C++14. +Drawing on the design of Muduo Library + +Featured highlights: +* Non-blocking I/O +* cross-platform +* Thread pool +* Lock free design +* Support SSL +* Server and Client diff --git a/net/trantor/pkg-plist b/net/trantor/pkg-plist new file mode 100644 index 000000000000..06361c579fea --- /dev/null +++ b/net/trantor/pkg-plist @@ -0,0 +1,37 @@ +include/trantor/exports.h +include/trantor/net/AsyncStream.h +include/trantor/net/Certificate.h +include/trantor/net/Channel.h +include/trantor/net/EventLoop.h +include/trantor/net/EventLoopThread.h +include/trantor/net/EventLoopThreadPool.h +include/trantor/net/InetAddress.h +include/trantor/net/Resolver.h +include/trantor/net/TLSPolicy.h +include/trantor/net/TcpClient.h +include/trantor/net/TcpConnection.h +include/trantor/net/TcpServer.h +include/trantor/net/callbacks.h +include/trantor/utils/AsyncFileLogger.h +include/trantor/utils/ConcurrentTaskQueue.h +include/trantor/utils/Date.h +include/trantor/utils/Funcs.h +include/trantor/utils/LockFreeQueue.h +include/trantor/utils/LogStream.h +include/trantor/utils/Logger.h +include/trantor/utils/MsgBuffer.h +include/trantor/utils/NonCopyable.h +include/trantor/utils/ObjectPool.h +include/trantor/utils/SerialTaskQueue.h +include/trantor/utils/TaskQueue.h +include/trantor/utils/TimingWheel.h +include/trantor/utils/Utilities.h +lib/cmake/Trantor/FindBotan.cmake +lib/cmake/Trantor/Findc-ares.cmake +lib/cmake/Trantor/TrantorConfig.cmake +lib/cmake/Trantor/TrantorConfigVersion.cmake +lib/cmake/Trantor/TrantorTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/Trantor/TrantorTargets.cmake +lib/libtrantor.so +lib/libtrantor.so.1 +lib/libtrantor.so.%%PORTVERSION%% |