From nobody Mon Sep 05 17:09:13 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MLw3Y3N9cz1HPnq; Mon, 5 Sep 2022 17:09:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MLw3Y2sktz46hn; Mon, 5 Sep 2022 17:09:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662397753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K7jj9g+6g8d76G8l4XA39GkDS6svG29nKpWnhnw3ZLo=; b=wCpbZG6IqhQHYCwiDbpPFMepm80ZNZ7nljpj9yRtK7lAUrIz0Ik9np2VZOEOhe4u9U8nS9 g/h+Nwr7scHSXUHAXguABCYKfRCjUcmYXVYYI/aV9ePekvbUzofiJ0i57wnOJ5J14QAXVY IaYj/EGluIxmDQWlUG8CWpV5QWtX5fUzwSPOvlFRrkC2/Xa/0zk9Sg3wh5Vshptt0QWfZL 8zHqNzwk8+f1OiKs0t0kQWrnhchKGKA9xCo5l6X1m3cP0iDQs/1HtU4fAVG1BbK7Orz9YC bve/JdtVIURtg/FzTrFIrHLVki70UR0kuWwcQ4bMo+Ig3gfBFxPpM+B3JlIvog== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MLw3Y1xPZztSh; Mon, 5 Sep 2022 17:09:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 285H9DoN063306; Mon, 5 Sep 2022 17:09:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 285H9Dln063305; Mon, 5 Sep 2022 17:09:13 GMT (envelope-from git) Date: Mon, 5 Sep 2022 17:09:13 GMT Message-Id: <202209051709.285H9Dln063305@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: b8913b6c0cbf - main - devel/malloy: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8913b6c0cbf578b8930924729aa31b21b66281d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662397753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=K7jj9g+6g8d76G8l4XA39GkDS6svG29nKpWnhnw3ZLo=; b=rUI89px3Exd4+EmDl3vXnfdgi1CBuSErsgx6ScX+xPMio0XU8E+iMYmR5NID7Uy7ayHR53 3o9tNQIzfzzcEQfn10HxkKJTkNJEaVzq/M/1nSI86lzmXDwdlSF3/5OPriX2GCl3XdWPXU HeefOOtPRueIA7/04oXlxazmjFPh2FwRzSZI4Dz0gErAegYElUCw7mt9WA419rfk0YorUd qmhbfzOilt1zuO0o6K7hHjhQEKiH2yoZ9U62R5tJtaBmL1LYOP2bkPGQP/zI0FYM3oBX/8 duD9UEQM25bwuItIadMhRpqCbdxx++IsykgFTwpR0Rz7MTHTYiIXlgdoQ4bhug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662397753; a=rsa-sha256; cv=none; b=MIYYbf1txpT1SO+7gyWWFBfD+PR430qT08qqnSlvwkmxBY+oyLENxSEjJr+HtZg1rNPlY1 F9Mg8KaZg9IyT5pE2vy/ATRNVRdMCFzkOEeUoXFJ0d1IL66imGl33yz2fwGPi1psACew3B lKWsatZk1IGwHwGZbv8FC7Nv4xDPBjnojgCN+4UlOMiNAs7CzjsGg7W0nuMgerg3NSCW9w RAFDnZ5z8ssHNW6JNbiMvWy/TkTET8WyvnP46NlLa1HkNwjL1F6yKukrdJt8js8dumjsc3 XfFMQsU2F1JeoUlNxIccxd18LLmD5Tje/jKKrnePnp0NpZsPdFurVHfJq0v5uQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8913b6c0cbf578b8930924729aa31b21b66281d commit b8913b6c0cbf578b8930924729aa31b21b66281d Author: Joel Bodenmann AuthorDate: 2022-07-20 18:32:00 +0000 Commit: Felix Palmen CommitDate: 2022-09-05 17:07:40 +0000 devel/malloy: Add new port Embeddable HTTP(S) and WS(S) components for C++20. PR: 265077 Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D36460 --- devel/Makefile | 1 + devel/malloy/Makefile | 63 ++++++++++++++++++++++++++++ devel/malloy/distinfo | 3 ++ devel/malloy/pkg-descr | 7 ++++ devel/malloy/pkg-plist | 110 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 184 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 26bf46a6bc48..c462dc161ebd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1501,6 +1501,7 @@ SUBDIR += magit-devel SUBDIR += make++ SUBDIR += makedepend + SUBDIR += malloy SUBDIR += marisa-trie SUBDIR += marl SUBDIR += mate-common diff --git a/devel/malloy/Makefile b/devel/malloy/Makefile new file mode 100644 index 000000000000..10924ec560c8 --- /dev/null +++ b/devel/malloy/Makefile @@ -0,0 +1,63 @@ +PORTNAME= malloy +DISTVERSION= 0.5.1 +CATEGORIES= devel + +MAINTAINER= jbo@insane.engineer +COMMENT= Embeddable HTTP(S) and WS(S) client/server components for C++ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/license.txt + +BROKEN_FreeBSD_12= some C++20 STL headers are missing on 12.3,\ + see https://bugs.freebsd.org/255374 + +BUILD_DEPENDS= boost-libs>1.74.0:devel/boost-libs +LIB_DEPENDS= libfmt.so:devel/libfmt \ + libspdlog.so:devel/spdlog + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= tectu + +CMAKE_ON= MALLOY_BUILD_SHARED +CMAKE_OFF= MALLOY_BUILD_EXAMPLES \ + MALLOY_DEPENDENCY_FMT_DOWNLOAD \ + MALLOY_DEPENDENCY_SPDLOG_DOWNLOAD + +OPTIONS_DEFINE= DOCS EXAMPLES HTML TEST TLS +OPTIONS_DEFAULT= CLIENT DOCS EXAMPLES HTML SERVER TLS +OPTIONS_MULTI= HTTP +OPTIONS_MULTI_HTTP= CLIENT SERVER +OPTIONS_SUB= yes +CLIENT_DESC= HTTP client support +HTML_DESC= HTML features +SERVER_DESC= HTTP server support + +CLIENT_CMAKE_BOOL= MALLOY_FEATURE_CLIENT +DOCS_BUILD_DEPENDS= doxygen:devel/doxygen +DOCS_PORTDOCS= * +HTML_CMAKE_BOOL= MALLOY_FEATURE_HTML +SERVER_CMAKE_BOOL= MALLOY_FEATURE_SERVER +TEST_IMPLIES= CLIENT HTML SERVER +TEST_CMAKE_BOOL= MALLOY_BUILD_TESTS +TLS_USES= ssl +TLS_CMAKE_BOOL= MALLOY_FEATURE_TLS + +post-build-DOCS-on: + (cd ${WRKSRC} && ${LOCALBASE}/bin/doxygen) + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/readme.md ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC}/doc/doxygen && \ + ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + +do-test-TEST-on: + ${TEST_WRKSRC}/bin/malloy-tests + +.include diff --git a/devel/malloy/distinfo b/devel/malloy/distinfo new file mode 100644 index 000000000000..c71275a85983 --- /dev/null +++ b/devel/malloy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1657217605 +SHA256 (tectu-malloy-0.5.1_GH0.tar.gz) = 5126f2eada548bb1e8bb39abfe15a25beafc475d488fb916c83c328836e62087 +SIZE (tectu-malloy-0.5.1_GH0.tar.gz) = 188078 diff --git a/devel/malloy/pkg-descr b/devel/malloy/pkg-descr new file mode 100644 index 000000000000..58969904de15 --- /dev/null +++ b/devel/malloy/pkg-descr @@ -0,0 +1,7 @@ +Malloy is a C++ library providing embeddable server & client components for +both HTTP(S) and WebSocket(Secure). + +The library is written in C++20 and provides easy-to-use high-level interfaces +for creating server and client applications painlessly. + +WWW: https://github.com/tectu/malloy diff --git a/devel/malloy/pkg-plist b/devel/malloy/pkg-plist new file mode 100644 index 000000000000..23ac164eb6b3 --- /dev/null +++ b/devel/malloy/pkg-plist @@ -0,0 +1,110 @@ +%%CLIENT%%include/malloy/client/controller.hpp +%%CLIENT%%include/malloy/client/http/connection.hpp +%%CLIENT%%include/malloy/client/http/connection_plain.hpp +%%CLIENT%%include/malloy/client/http/connection_tls.hpp +%%CLIENT%%include/malloy/client/type_traits.hpp +%%CLIENT%%include/malloy/client/websocket/connection.hpp +include/malloy/core/controller.hpp +include/malloy/core/detail/action_queue.hpp +include/malloy/core/detail/controller_run_result.hpp +include/malloy/core/detail/version_checks.hpp +include/malloy/core/error.hpp +%%HTML%%include/malloy/core/html/form.hpp +%%HTML%%include/malloy/core/html/form_renderer.hpp +%%HTML%%include/malloy/core/html/html.hpp +%%HTML%%include/malloy/core/html/multipart_parser.hpp +include/malloy/core/http/cookie.hpp +include/malloy/core/http/filters/file.hpp +include/malloy/core/http/generator.hpp +include/malloy/core/http/http.hpp +include/malloy/core/http/request.hpp +include/malloy/core/http/response.hpp +include/malloy/core/http/session/manager.hpp +include/malloy/core/http/session/session.hpp +include/malloy/core/http/session/storage.hpp +include/malloy/core/http/session/storage_memory.hpp +include/malloy/core/http/session/types.hpp +include/malloy/core/http/type_traits.hpp +include/malloy/core/http/types.hpp +include/malloy/core/http/utils.hpp +%%TLS%%include/malloy/core/tls/manager.hpp +include/malloy/core/type_traits.hpp +include/malloy/core/utils.hpp +include/malloy/core/websocket/connection.hpp +include/malloy/core/websocket/stream.hpp +include/malloy/core/websocket/websocket.hpp +%%SERVER%%include/malloy/server/auth/basic.hpp +%%SERVER%%include/malloy/server/http/connection.hpp +%%SERVER%%include/malloy/server/http/connection_detector.hpp +%%SERVER%%include/malloy/server/http/connection_plain.hpp +%%SERVER%%include/malloy/server/http/connection_t.hpp +%%SERVER%%include/malloy/server/http/connection_tls.hpp +%%SERVER%%include/malloy/server/http/preflight_config.hpp +%%SERVER%%include/malloy/server/http/request_generator_t.hpp +%%SERVER%%include/malloy/server/listener.hpp +%%SERVER%%include/malloy/server/routing/endpoint.hpp +%%SERVER%%include/malloy/server/routing/endpoint_http.hpp +%%SERVER%%include/malloy/server/routing/endpoint_http_files.hpp +%%SERVER%%include/malloy/server/routing/endpoint_http_redirect.hpp +%%SERVER%%include/malloy/server/routing/endpoint_http_regex.hpp +%%SERVER%%include/malloy/server/routing/endpoint_websocket.hpp +%%SERVER%%include/malloy/server/routing/router.hpp +%%SERVER%%include/malloy/server/routing/type_traits.hpp +%%SERVER%%include/malloy/server/routing_context.hpp +%%SERVER%%include/malloy/server/websocket/connection.hpp +lib/cmake/malloy/malloy-config-version.cmake +lib/cmake/malloy/malloy-config.cmake +lib/cmake/malloy/malloy-targets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/malloy/malloy-targets.cmake +%%CLIENT%%lib/libmalloy-client.so +%%CLIENT%%lib/libmalloy-client.so.0.5.1 +lib/libmalloy-core.so +lib/libmalloy-core.so.0.5.1 +%%SERVER%%lib/libmalloy-server.so +%%SERVER%%lib/libmalloy-server.so.0.5.1 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/example.cmake +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http-custom-filter/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http-custom-filter/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http-file-download/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http-file-download/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http_plain/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http_plain/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http_tls/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/http_tls/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/websocket_plain/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/websocket_plain/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/websocket_secure/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/client/websocket_secure/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.hpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/basic/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/basic/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/custom-request-filter/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/custom-request-filter/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/example.cmake +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/html_form/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/html_form/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/files/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/files/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/policies/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/policies/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/preflights/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/preflights/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/regex/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/regex/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/subrouters/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/routing/subrouters/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/session/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/session/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/ssl/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/ssl/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/static_content/file2.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/static_content/index.html +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/static_content/malloy.cert +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/static_content/malloy.key +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/websocket/CMakeLists.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/server/websocket/main.cpp +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ws_handlers.hpp