New port: www/restbed: Asynchronous RESTful functionality to C++11 applications

PR:		220912
Approved by:	tcberner (mentor, implicit)
This commit is contained in:
Yuri Victorovich 2018-03-07 04:35:32 +00:00
parent 2c86a6c7fb
commit 15a23210cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=463775
6 changed files with 87 additions and 0 deletions

View File

@ -1941,6 +1941,7 @@
SUBDIR += reportmagic
SUBDIR += repos-style
SUBDIR += resin3
SUBDIR += restbed
SUBDIR += retawq
SUBDIR += revive-adserver
SUBDIR += rnews

32
www/restbed/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $FreeBSD$
PORTNAME= restbed
DISTVERSION= 4.6
CATEGORIES= www
MAINTAINER= yuri@FreeBSD.org
COMMENT= Asynchronous RESTful functionality to C++11 applications
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:outsource compiler:c++11-lib ssl
USE_GITHUB= yes
GH_ACCOUNT= Corvusoft
GH_TUPLE= Corvusoft:asio-dependency:f5c5708:a/dependency/asio \
Corvusoft:catch-dependency:8ebe94c:c/dependency/catch \
Corvusoft:kashmir-dependency:2f3913f:k/dependency/kashmir
USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED
CMAKE_ARGS= -DCMAKE_INSTALL_LIBDIR:STRING=lib
do-test: # tests only pass when net.inet6.ip6.v6only=0, see pkg-message
@${ECHO_MSG} "===> Configuring tests in ${PKGNAME}"
@cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH}
@${ECHO_MSG} "===> Building tests in ${PKGNAME}"
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS}
@${ECHO_MSG} "===> Running tests in ${PKGNAME}"
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
.include <bsd.port.mk>

9
www/restbed/distinfo Normal file
View File

@ -0,0 +1,9 @@
TIMESTAMP = 1520395456
SHA256 (Corvusoft-restbed-4.6_GH0.tar.gz) = b2b75c39129bf667a3e1a9494b9cf0e3dcf6d2b081746918f0f6ba202f14a7e4
SIZE (Corvusoft-restbed-4.6_GH0.tar.gz) = 193911
SHA256 (Corvusoft-asio-dependency-f5c5708_GH0.tar.gz) = fd87d5f04b85dc061e94a2f293c88536ab1bcb99cbcb79cf297a524397d763dd
SIZE (Corvusoft-asio-dependency-f5c5708_GH0.tar.gz) = 1171753
SHA256 (Corvusoft-catch-dependency-8ebe94c_GH0.tar.gz) = 0b42e2a9a6558cceeb03155207a4ad5adfbc98a8ea8c6879509d5384b8aa0cc0
SIZE (Corvusoft-catch-dependency-8ebe94c_GH0.tar.gz) = 368938
SHA256 (Corvusoft-kashmir-dependency-2f3913f_GH0.tar.gz) = f5b48152f9e43dc92bf845c33799ff8c9821704a8bf275a7c6729543804d7233
SIZE (Corvusoft-kashmir-dependency-2f3913f_GH0.tar.gz) = 671082

6
www/restbed/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Restbed is a comprehensive and consistent programming model for building
applications that require seamless and secure communication over HTTP,
with the ability to model a range of business processes, designed to target
mobile, tablet, desktop and embedded production environments.
WWW: https://github.com/Corvusoft/restbed

14
www/restbed/pkg-message Normal file
View File

@ -0,0 +1,14 @@
======================================================================
You installed restbed, the framework to build RESTful applications
in C++11.
Currently restbed has the caveat that it only works correctly on
FreeBSD with this sysctl variable value: net.inet6.ip6.v6only=0.
This value is not the default.
When net.inet6.ip6.v6only=1, tests don't pass, and applications using
this library can fail.
See https://github.com/Corvusoft/restbed/issues/231 for further
information.
======================================================================

25
www/restbed/pkg-plist Normal file
View File

@ -0,0 +1,25 @@
include/corvusoft/restbed/byte.hpp
include/corvusoft/restbed/common.hpp
include/corvusoft/restbed/context_placeholder.hpp
include/corvusoft/restbed/context_placeholder_base.hpp
include/corvusoft/restbed/context_value.hpp
include/corvusoft/restbed/http.hpp
include/corvusoft/restbed/logger.hpp
include/corvusoft/restbed/request.hpp
include/corvusoft/restbed/resource.hpp
include/corvusoft/restbed/response.hpp
include/corvusoft/restbed/rule.hpp
include/corvusoft/restbed/service.hpp
include/corvusoft/restbed/session.hpp
include/corvusoft/restbed/session_manager.hpp
include/corvusoft/restbed/settings.hpp
include/corvusoft/restbed/ssl_settings.hpp
include/corvusoft/restbed/status_code.hpp
include/corvusoft/restbed/string.hpp
include/corvusoft/restbed/uri.hpp
include/corvusoft/restbed/web_socket.hpp
include/corvusoft/restbed/web_socket_message.hpp
include/restbed
lib/librestbed.so
lib/librestbed.so.4
lib/librestbed.so.4.6.0