From owner-svn-ports-head@freebsd.org Wed Mar 7 04:35:33 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D383F29224; Wed, 7 Mar 2018 04:35:33 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F0477C581; Wed, 7 Mar 2018 04:35:33 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1BFCE1CA1F; Wed, 7 Mar 2018 04:35:33 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w274ZWkQ048872; Wed, 7 Mar 2018 04:35:32 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w274ZWol048866; Wed, 7 Mar 2018 04:35:32 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803070435.w274ZWol048866@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 7 Mar 2018 04:35:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463775 - in head/www: . restbed X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/www: . restbed X-SVN-Commit-Revision: 463775 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2018 04:35:33 -0000 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@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 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