svn commit: r463775 - in head/www: . restbed

Yuri Victorovich yuri at FreeBSD.org
Wed Mar 7 04:35:33 UTC 2018


Author: yuri
Date: Wed Mar  7 04:35:32 2018
New Revision: 463775
URL: https://svnweb.freebsd.org/changeset/ports/463775

Log:
  New port: www/restbed: Asynchronous RESTful functionality to C++11 applications
  
  PR:		220912
  Approved by:	tcberner (mentor, implicit)

Added:
  head/www/restbed/
  head/www/restbed/Makefile   (contents, props changed)
  head/www/restbed/distinfo   (contents, props changed)
  head/www/restbed/pkg-descr   (contents, props changed)
  head/www/restbed/pkg-message   (contents, props changed)
  head/www/restbed/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Mar  7 02:04:48 2018	(r463774)
+++ head/www/Makefile	Wed Mar  7 04:35:32 2018	(r463775)
@@ -1941,6 +1941,7 @@
     SUBDIR += reportmagic
     SUBDIR += repos-style
     SUBDIR += resin3
+    SUBDIR += restbed
     SUBDIR += retawq
     SUBDIR += revive-adserver
     SUBDIR += rnews

Added: head/www/restbed/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/restbed/Makefile	Wed Mar  7 04:35:32 2018	(r463775)
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME=	restbed
+DISTVERSION=	4.6
+CATEGORIES=	www
+
+MAINTAINER=	yuri at 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>

Added: head/www/restbed/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/restbed/distinfo	Wed Mar  7 04:35:32 2018	(r463775)
@@ -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

Added: head/www/restbed/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/restbed/pkg-descr	Wed Mar  7 04:35:32 2018	(r463775)
@@ -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

Added: head/www/restbed/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/restbed/pkg-message	Wed Mar  7 04:35:32 2018	(r463775)
@@ -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.
+======================================================================

Added: head/www/restbed/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/restbed/pkg-plist	Wed Mar  7 04:35:32 2018	(r463775)
@@ -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


More information about the svn-ports-head mailing list