mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
www/restinio: update 0.6.18 → 0.7.2
This commit is contained in:
parent
61448b922b
commit
7f3db0b69d
@ -1,25 +1,28 @@
|
||||
PORTNAME= restinio
|
||||
DISTVERSION= 0.6.18
|
||||
DISTVERSION= 0.7.2
|
||||
CATEGORIES= www devel
|
||||
MASTER_SITES= https://github.com/Stiffstream/${PORTNAME}/releases/download/v.${DISTVERSION}/
|
||||
DISTNAME= ${PORTNAME}-${DISTVERSION}-full
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Asynchronous HTTP/WebSocket server C++14 library
|
||||
COMMENT= Asynchronous HTTP/WebSocket server C++17 library
|
||||
WWW= https://stiffstream.com/en/products/restinio.html
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/../LICENSE
|
||||
|
||||
BUILD_DEPENDS= libfmt>0:devel/libfmt \
|
||||
BUILD_DEPENDS= asio>0:net/asio \
|
||||
libfmt>0:devel/libfmt \
|
||||
sobjectizer>0:devel/sobjectizer
|
||||
LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
|
||||
libhttp_parser.so:www/http-parser \
|
||||
libllhttp.so:www/llhttp \
|
||||
libpcre2-8.so:devel/pcre2
|
||||
RUN_DEPENDS= libfmt>0:devel/libfmt \
|
||||
sobjectizer>0:devel/sobjectizer
|
||||
TEST_DEPENDS= catch2>0:devel/catch2
|
||||
|
||||
USES= cmake:testing compiler:c++14-lang localbase:ldflags tar:bz2
|
||||
USES= cmake:testing compiler:c++17-lang localbase:ldflags tar:bz2
|
||||
|
||||
EXTRACT_AFTER_ARGS= --exclude ${PORTNAME}-${DISTVERSION}/dev/asio \
|
||||
--exclude ${PORTNAME}-${DISTVERSION}/dev/asio_mxxru \
|
||||
@ -37,9 +40,15 @@ EXTRACT_AFTER_ARGS= --exclude ${PORTNAME}-${DISTVERSION}/dev/asio \
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
WRKSRC_SUBDIR= dev
|
||||
|
||||
CMAKE_ARGS= -DRESTINIO_USE_BOOST_ASIO=shared
|
||||
CMAKE_ON= RESTINIO_FIND_DEPS RESTINIO_USE_EXTERNAL_HTTP_PARSER RESTINIO_USE_EXTERNAL_SOBJECTIZER
|
||||
CMAKE_OFF= RESTINIO_BENCH RESTINIO_INSTALL_BENCHES RESTINIO_TEST
|
||||
CMAKE_ARGS= -DRESTINIO_USE_BOOST_ASIO=shared \
|
||||
-DRESTINIO_DEP_FMT=system \
|
||||
-DRESTINIO_DEP_SOBJECTIZER=find \
|
||||
-DRESTINIO_DEP_CATCH2=find \
|
||||
-DRESTINIO_DEP_LLHTTP=find
|
||||
CMAKE_ON= RESTINIO_FIND_DEPS
|
||||
CMAKE_OFF= RESTINIO_BENCH \
|
||||
RESTINIO_INSTALL_BENCHES \
|
||||
RESTINIO_TEST
|
||||
CMAKE_TESTING_ON= RESTINIO_TEST
|
||||
|
||||
OPTIONS_DEFINE= SAMPLES
|
||||
@ -52,4 +61,6 @@ SAMPLES_CMAKE_BOOL= RESTINIO_SAMPLE RESTINIO_INSTALL_SAMPLES
|
||||
SAMPLES_VARS_OFF= NO_ARCH=yes
|
||||
SAMPLES_BUILD_DEPENDS= json-dto>0:devel/json-dto
|
||||
|
||||
# many tests fail due to port being in use, see https://github.com/Stiffstream/restinio/issues/223
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1690094464
|
||||
SHA256 (restinio-0.6.18-full.tar.bz2) = ca6b05b7ae65385bf652073c9b5749968047673fee2b05f1921ed57bd7601bcb
|
||||
SIZE (restinio-0.6.18-full.tar.bz2) = 1697858
|
||||
TIMESTAMP = 1724552273
|
||||
SHA256 (restinio-0.7.2-full.tar.bz2) = cb55952210665e7dcc4ea07595dd05a94146b53067b611c36256058864f01d41
|
||||
SIZE (restinio-0.7.2-full.tar.bz2) = 1681391
|
||||
|
11
www/restinio/files/patch-CMakeLists.txt
Normal file
11
www/restinio/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- CMakeLists.txt.orig 2024-08-25 04:30:48 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -209,7 +209,7 @@ if (RESTINIO_WITH_SOBJECTIZER)
|
||||
elseif (RESTINIO_DEP_SOBJECTIZER STREQUAL "find")
|
||||
find_package(sobjectizer CONFIG REQUIRED)
|
||||
|
||||
- set(RESTINIO_SOBJECTIZER_LIB_LINK_NAME "sobjectizer::StaticLib")
|
||||
+ set(RESTINIO_SOBJECTIZER_LIB_LINK_NAME "sobjectizer::SharedLib")
|
||||
elseif (RESTINIO_DEP_SOBJECTIZER STREQUAL "system")
|
||||
if (NOT RESTINIO_SOBJECTIZER_LIB_LINK_NAME)
|
||||
message(FATAL_ERROR "The RESTINIO_SOBJECTIZER_LIB_LINK_NAME has to be "
|
@ -1,5 +1,4 @@
|
||||
%%SAMPLES%%bin/dh2048.pem
|
||||
%%SAMPLES%%bin/key.pem
|
||||
%%SAMPLES%%bin/sample.async_chained_handlers
|
||||
%%SAMPLES%%bin/sample.async_handling_with_sobjectizer
|
||||
%%SAMPLES%%bin/sample.chained_handlers
|
||||
%%SAMPLES%%bin/sample.compression
|
||||
@ -31,14 +30,13 @@
|
||||
%%SAMPLES%%bin/sample.websocket
|
||||
%%SAMPLES%%bin/sample.websocket_detailed
|
||||
%%SAMPLES%%bin/sample.websocket_wss
|
||||
%%SAMPLES%%bin/server.pem
|
||||
%%SAMPLES%%bin/test_decompression.sh
|
||||
%%SAMPLES%%bin/wss_dh2048.pem
|
||||
%%SAMPLES%%bin/wss_key.pem
|
||||
%%SAMPLES%%bin/wss_server.pem
|
||||
include/nonstd/expected.hpp
|
||||
include/restinio/all.hpp
|
||||
include/restinio/asio_include.hpp
|
||||
include/restinio/asio_timer_manager.hpp
|
||||
include/restinio/async_chain/common.hpp
|
||||
include/restinio/async_chain/fixed_size.hpp
|
||||
include/restinio/async_chain/growable_size.hpp
|
||||
include/restinio/buffers.hpp
|
||||
include/restinio/cast_to.hpp
|
||||
include/restinio/chunked_input_info.hpp
|
||||
@ -46,7 +44,9 @@ include/restinio/common_types.hpp
|
||||
include/restinio/compiler_features.hpp
|
||||
include/restinio/connection_count_limiter.hpp
|
||||
include/restinio/connection_state_listener.hpp
|
||||
include/restinio/core.hpp
|
||||
include/restinio/default_strands.hpp
|
||||
include/restinio/detect_os.hpp
|
||||
include/restinio/exception.hpp
|
||||
include/restinio/expected.hpp
|
||||
include/restinio/helpers/easy_parser.hpp
|
||||
@ -105,7 +105,6 @@ include/restinio/message_builders.hpp
|
||||
include/restinio/null_logger.hpp
|
||||
include/restinio/null_mutex.hpp
|
||||
include/restinio/null_timer_manager.hpp
|
||||
include/restinio/optional.hpp
|
||||
include/restinio/os.hpp
|
||||
include/restinio/ostream_logger.hpp
|
||||
include/restinio/path2regex/path2regex.hpp
|
||||
@ -129,10 +128,6 @@ include/restinio/string_view.hpp
|
||||
include/restinio/sync_chain/fixed_size.hpp
|
||||
include/restinio/sync_chain/growable_size.hpp
|
||||
include/restinio/tcp_connection_ctx_base.hpp
|
||||
include/restinio/third_party/expected-lite/expected.hpp
|
||||
include/restinio/third_party/optional-lite/optional.hpp
|
||||
include/restinio/third_party/string-view-lite/string_view.hpp
|
||||
include/restinio/third_party/variant-lite/variant.hpp
|
||||
include/restinio/timer_common.hpp
|
||||
include/restinio/tls.hpp
|
||||
include/restinio/tls_fwd.hpp
|
||||
@ -154,7 +149,6 @@ include/restinio/utils/tagged_scalar.hpp
|
||||
include/restinio/utils/tuple_algorithms.hpp
|
||||
include/restinio/utils/utf8_checker.hpp
|
||||
include/restinio/value_or.hpp
|
||||
include/restinio/variant.hpp
|
||||
include/restinio/version.hpp
|
||||
include/restinio/websocket/impl/utf8.hpp
|
||||
include/restinio/websocket/impl/ws_connection.hpp
|
||||
@ -163,6 +157,9 @@ include/restinio/websocket/impl/ws_parser.hpp
|
||||
include/restinio/websocket/impl/ws_protocol_validator.hpp
|
||||
include/restinio/websocket/message.hpp
|
||||
include/restinio/websocket/websocket.hpp
|
||||
lib/cmake/expected-lite/expected-lite-config-version.cmake
|
||||
lib/cmake/expected-lite/expected-lite-config.cmake
|
||||
lib/cmake/expected-lite/expected-lite-targets.cmake
|
||||
lib/cmake/restinio/restinio-config-version.cmake
|
||||
lib/cmake/restinio/restinio-config.cmake
|
||||
lib/cmake/restinio/restinio-targets.cmake
|
||||
|
Loading…
Reference in New Issue
Block a user