1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

net/asio: Update 1.10.6 -> 1.16.0

PR:		245440
Approved by:	acm (maintainer's timeout 235 days)
This commit is contained in:
Yuri Victorovich 2020-11-28 21:13:24 +00:00
parent a047f9b902
commit d5391bed03
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=556527
5 changed files with 121 additions and 73 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= asio
PORTVERSION= 1.10.6
PORTREVISION= 9
DISTVERSION= 1.16.0
CATEGORIES= net devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}%20(Stable)/
@ -16,9 +15,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
RUN_DEPENDS= ${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs
USES= tar:bz2
GNU_CONFIGURE= yes
NO_BUILD= yes
NO_ARCH= yes
INSTALL_TARGET= install-data
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1497173194
SHA256 (asio-1.10.6.tar.bz2) = e0d71c40a7b1f6c1334008fb279e7361b32a063e020efd21e40d9d8ff037195e
SIZE (asio-1.10.6.tar.bz2) = 1266180
TIMESTAMP = 1586299663
SHA256 (asio-1.16.0.tar.bz2) = 14a8bfbe55410cbfff6fd97c81c760ce1a4e6cee45b49a7f293e1d7d79d17c0d
SIZE (asio-1.16.0.tar.bz2) = 1492221

View File

@ -1,10 +1,10 @@
Since we aren't compiling anything for the port, don't look for boost:
--- configure.orig 2015-03-23 20:37:48 UTC
--- configure.orig 2020-04-06 07:06:03 UTC
+++ configure
@@ -5025,7 +5025,6 @@ else
@@ -4900,7 +4900,6 @@ else
echo "Can't find boost headers. Please check the location of the boost"
echo "distribution and rerun configure using the --with-boost=DIR option."
echo "Alternatively, run with --without-boost to enable standalone build."
- exit 1
fi

View File

@ -1,25 +0,0 @@
--- include/asio/ssl/impl/context.ipp.orig 2015-03-23 20:28:30 UTC
+++ include/asio/ssl/impl/context.ipp
@@ -88,6 +88,14 @@ context::context(context::method m)
handle_ = ::SSL_CTX_new(::SSLv2_server_method());
break;
#endif // defined(OPENSSL_NO_SSL2)
+#if defined(OPENSSL_NO_SSL3)
+ case context::sslv3:
+ case context::sslv3_client:
+ case context::sslv3_server:
+ asio::detail::throw_error(
+ asio::error::invalid_argument, "context");
+ break;
+#else // defined(OPENSSL_NO_SSL3)
case context::sslv3:
handle_ = ::SSL_CTX_new(::SSLv3_method());
break;
@@ -97,6 +105,7 @@ context::context(context::method m)
case context::sslv3_server:
handle_ = ::SSL_CTX_new(::SSLv3_server_method());
break;
+#endif // defined(OPENSSL_NO_SSL3)
case context::tlsv1:
handle_ = ::SSL_CTX_new(::TLSv1_method());
break;

View File

@ -1,5 +1,8 @@
include/asio.hpp
include/asio/associated_allocator.hpp
include/asio/associated_executor.hpp
include/asio/async_result.hpp
include/asio/awaitable.hpp
include/asio/basic_datagram_socket.hpp
include/asio/basic_deadline_timer.hpp
include/asio/basic_io_object.hpp
@ -15,6 +18,7 @@ include/asio/basic_stream_socket.hpp
include/asio/basic_streambuf.hpp
include/asio/basic_streambuf_fwd.hpp
include/asio/basic_waitable_timer.hpp
include/asio/bind_executor.hpp
include/asio/buffer.hpp
include/asio/buffered_read_stream.hpp
include/asio/buffered_read_stream_fwd.hpp
@ -23,13 +27,14 @@ include/asio/buffered_stream_fwd.hpp
include/asio/buffered_write_stream.hpp
include/asio/buffered_write_stream_fwd.hpp
include/asio/buffers_iterator.hpp
include/asio/co_spawn.hpp
include/asio/completion_condition.hpp
include/asio/compose.hpp
include/asio/connect.hpp
include/asio/coroutine.hpp
include/asio/datagram_socket_service.hpp
include/asio/deadline_timer.hpp
include/asio/deadline_timer_service.hpp
include/asio/detail/addressof.hpp
include/asio/defer.hpp
include/asio/detached.hpp
include/asio/detail/array.hpp
include/asio/detail/array_fwd.hpp
include/asio/detail/assert.hpp
@ -40,10 +45,15 @@ include/asio/detail/buffer_resize_guard.hpp
include/asio/detail/buffer_sequence_adapter.hpp
include/asio/detail/buffered_stream_storage.hpp
include/asio/detail/call_stack.hpp
include/asio/detail/chrono.hpp
include/asio/detail/chrono_time_traits.hpp
include/asio/detail/completion_handler.hpp
include/asio/detail/concurrency_hint.hpp
include/asio/detail/conditionally_enabled_event.hpp
include/asio/detail/conditionally_enabled_mutex.hpp
include/asio/detail/config.hpp
include/asio/detail/consuming_buffers.hpp
include/asio/detail/cstddef.hpp
include/asio/detail/cstdint.hpp
include/asio/detail/date_time_fwd.hpp
include/asio/detail/deadline_timer_service.hpp
@ -55,18 +65,23 @@ include/asio/detail/dev_poll_reactor.hpp
include/asio/detail/epoll_reactor.hpp
include/asio/detail/event.hpp
include/asio/detail/eventfd_select_interrupter.hpp
include/asio/detail/executor_function.hpp
include/asio/detail/executor_op.hpp
include/asio/detail/fd_set_adapter.hpp
include/asio/detail/fenced_block.hpp
include/asio/detail/function.hpp
include/asio/detail/functional.hpp
include/asio/detail/future.hpp
include/asio/detail/gcc_arm_fenced_block.hpp
include/asio/detail/gcc_hppa_fenced_block.hpp
include/asio/detail/gcc_sync_fenced_block.hpp
include/asio/detail/gcc_x86_fenced_block.hpp
include/asio/detail/global.hpp
include/asio/detail/handler_alloc_helpers.hpp
include/asio/detail/handler_cont_helpers.hpp
include/asio/detail/handler_invoke_helpers.hpp
include/asio/detail/handler_tracking.hpp
include/asio/detail/handler_type_requirements.hpp
include/asio/detail/handler_work.hpp
include/asio/detail/hash_map.hpp
include/asio/detail/impl/buffer_sequence_adapter.ipp
include/asio/detail/impl/descriptor_ops.ipp
@ -78,6 +93,7 @@ include/asio/detail/impl/eventfd_select_interrupter.ipp
include/asio/detail/impl/handler_tracking.ipp
include/asio/detail/impl/kqueue_reactor.hpp
include/asio/detail/impl/kqueue_reactor.ipp
include/asio/detail/impl/null_event.ipp
include/asio/detail/impl/pipe_select_interrupter.ipp
include/asio/detail/impl/posix_event.ipp
include/asio/detail/impl/posix_mutex.ipp
@ -87,6 +103,7 @@ include/asio/detail/impl/reactive_descriptor_service.ipp
include/asio/detail/impl/reactive_serial_port_service.ipp
include/asio/detail/impl/reactive_socket_service_base.ipp
include/asio/detail/impl/resolver_service_base.ipp
include/asio/detail/impl/scheduler.ipp
include/asio/detail/impl/select_reactor.hpp
include/asio/detail/impl/select_reactor.ipp
include/asio/detail/impl/service_registry.hpp
@ -94,17 +111,17 @@ include/asio/detail/impl/service_registry.ipp
include/asio/detail/impl/signal_set_service.ipp
include/asio/detail/impl/socket_ops.ipp
include/asio/detail/impl/socket_select_interrupter.ipp
include/asio/detail/impl/strand_executor_service.hpp
include/asio/detail/impl/strand_executor_service.ipp
include/asio/detail/impl/strand_service.hpp
include/asio/detail/impl/strand_service.ipp
include/asio/detail/impl/task_io_service.hpp
include/asio/detail/impl/task_io_service.ipp
include/asio/detail/impl/throw_error.ipp
include/asio/detail/impl/timer_queue_ptime.ipp
include/asio/detail/impl/timer_queue_set.ipp
include/asio/detail/impl/win_event.ipp
include/asio/detail/impl/win_iocp_handle_service.ipp
include/asio/detail/impl/win_iocp_io_service.hpp
include/asio/detail/impl/win_iocp_io_service.ipp
include/asio/detail/impl/win_iocp_io_context.hpp
include/asio/detail/impl/win_iocp_io_context.ipp
include/asio/detail/impl/win_iocp_serial_port_service.ipp
include/asio/detail/impl/win_iocp_socket_service_base.ipp
include/asio/detail/impl/win_mutex.ipp
@ -117,15 +134,22 @@ include/asio/detail/impl/winrt_timer_scheduler.hpp
include/asio/detail/impl/winrt_timer_scheduler.ipp
include/asio/detail/impl/winsock_init.ipp
include/asio/detail/io_control.hpp
include/asio/detail/io_object_executor.hpp
include/asio/detail/io_object_impl.hpp
include/asio/detail/is_buffer_sequence.hpp
include/asio/detail/is_executor.hpp
include/asio/detail/keyword_tss_ptr.hpp
include/asio/detail/kqueue_reactor.hpp
include/asio/detail/limits.hpp
include/asio/detail/local_free_on_block_exit.hpp
include/asio/detail/macos_fenced_block.hpp
include/asio/detail/memory.hpp
include/asio/detail/mutex.hpp
include/asio/detail/non_const_lvalue.hpp
include/asio/detail/noncopyable.hpp
include/asio/detail/null_event.hpp
include/asio/detail/null_fenced_block.hpp
include/asio/detail/null_global.hpp
include/asio/detail/null_mutex.hpp
include/asio/detail/null_reactor.hpp
include/asio/detail/null_signal_blocker.hpp
@ -141,6 +165,7 @@ include/asio/detail/pipe_select_interrupter.hpp
include/asio/detail/pop_options.hpp
include/asio/detail/posix_event.hpp
include/asio/detail/posix_fd_set_adapter.hpp
include/asio/detail/posix_global.hpp
include/asio/detail/posix_mutex.hpp
include/asio/detail/posix_signal_blocker.hpp
include/asio/detail/posix_static_mutex.hpp
@ -159,21 +184,26 @@ include/asio/detail/reactive_socket_send_op.hpp
include/asio/detail/reactive_socket_sendto_op.hpp
include/asio/detail/reactive_socket_service.hpp
include/asio/detail/reactive_socket_service_base.hpp
include/asio/detail/reactive_wait_op.hpp
include/asio/detail/reactor.hpp
include/asio/detail/reactor_fwd.hpp
include/asio/detail/reactor_op.hpp
include/asio/detail/reactor_op_queue.hpp
include/asio/detail/recycling_allocator.hpp
include/asio/detail/regex_fwd.hpp
include/asio/detail/resolve_endpoint_op.hpp
include/asio/detail/resolve_op.hpp
include/asio/detail/resolve_query_op.hpp
include/asio/detail/resolver_service.hpp
include/asio/detail/resolver_service_base.hpp
include/asio/detail/scheduler.hpp
include/asio/detail/scheduler_operation.hpp
include/asio/detail/scheduler_thread_info.hpp
include/asio/detail/scoped_lock.hpp
include/asio/detail/scoped_ptr.hpp
include/asio/detail/select_interrupter.hpp
include/asio/detail/select_reactor.hpp
include/asio/detail/service_registry.hpp
include/asio/detail/shared_ptr.hpp
include/asio/detail/signal_blocker.hpp
include/asio/detail/signal_handler.hpp
include/asio/detail/signal_init.hpp
@ -187,14 +217,17 @@ include/asio/detail/socket_types.hpp
include/asio/detail/solaris_fenced_block.hpp
include/asio/detail/static_mutex.hpp
include/asio/detail/std_event.hpp
include/asio/detail/std_fenced_block.hpp
include/asio/detail/std_global.hpp
include/asio/detail/std_mutex.hpp
include/asio/detail/std_static_mutex.hpp
include/asio/detail/std_thread.hpp
include/asio/detail/strand_executor_service.hpp
include/asio/detail/strand_service.hpp
include/asio/detail/task_io_service.hpp
include/asio/detail/task_io_service_operation.hpp
include/asio/detail/task_io_service_thread_info.hpp
include/asio/detail/string_view.hpp
include/asio/detail/thread.hpp
include/asio/detail/thread_context.hpp
include/asio/detail/thread_group.hpp
include/asio/detail/thread_info_base.hpp
include/asio/detail/throw_error.hpp
include/asio/detail/throw_exception.hpp
@ -209,14 +242,14 @@ include/asio/detail/type_traits.hpp
include/asio/detail/variadic_templates.hpp
include/asio/detail/wait_handler.hpp
include/asio/detail/wait_op.hpp
include/asio/detail/weak_ptr.hpp
include/asio/detail/win_event.hpp
include/asio/detail/win_fd_set_adapter.hpp
include/asio/detail/win_fenced_block.hpp
include/asio/detail/win_global.hpp
include/asio/detail/win_iocp_handle_read_op.hpp
include/asio/detail/win_iocp_handle_service.hpp
include/asio/detail/win_iocp_handle_write_op.hpp
include/asio/detail/win_iocp_io_service.hpp
include/asio/detail/win_iocp_io_context.hpp
include/asio/detail/win_iocp_null_buffers_op.hpp
include/asio/detail/win_iocp_operation.hpp
include/asio/detail/win_iocp_overlapped_op.hpp
@ -231,11 +264,13 @@ include/asio/detail/win_iocp_socket_send_op.hpp
include/asio/detail/win_iocp_socket_service.hpp
include/asio/detail/win_iocp_socket_service_base.hpp
include/asio/detail/win_iocp_thread_info.hpp
include/asio/detail/win_iocp_wait_op.hpp
include/asio/detail/win_mutex.hpp
include/asio/detail/win_object_handle_service.hpp
include/asio/detail/win_static_mutex.hpp
include/asio/detail/win_thread.hpp
include/asio/detail/win_tss_ptr.hpp
include/asio/detail/winapp_thread.hpp
include/asio/detail/wince_thread.hpp
include/asio/detail/winrt_async_manager.hpp
include/asio/detail/winrt_async_op.hpp
@ -249,9 +284,14 @@ include/asio/detail/winrt_ssocket_service_base.hpp
include/asio/detail/winrt_timer_scheduler.hpp
include/asio/detail/winrt_utils.hpp
include/asio/detail/winsock_init.hpp
include/asio/detail/work_dispatcher.hpp
include/asio/detail/wrapped_handler.hpp
include/asio/dispatch.hpp
include/asio/error.hpp
include/asio/error_code.hpp
include/asio/execution_context.hpp
include/asio/executor.hpp
include/asio/executor_work_guard.hpp
include/asio/generic/basic_endpoint.hpp
include/asio/generic/datagram_protocol.hpp
include/asio/generic/detail/endpoint.hpp
@ -262,36 +302,62 @@ include/asio/generic/stream_protocol.hpp
include/asio/handler_alloc_hook.hpp
include/asio/handler_continuation_hook.hpp
include/asio/handler_invoke_hook.hpp
include/asio/handler_type.hpp
include/asio/high_resolution_timer.hpp
include/asio/impl/awaitable.hpp
include/asio/impl/buffered_read_stream.hpp
include/asio/impl/buffered_write_stream.hpp
include/asio/impl/co_spawn.hpp
include/asio/impl/compose.hpp
include/asio/impl/connect.hpp
include/asio/impl/defer.hpp
include/asio/impl/detached.hpp
include/asio/impl/dispatch.hpp
include/asio/impl/error.ipp
include/asio/impl/error_code.ipp
include/asio/impl/execution_context.hpp
include/asio/impl/execution_context.ipp
include/asio/impl/executor.hpp
include/asio/impl/executor.ipp
include/asio/impl/handler_alloc_hook.ipp
include/asio/impl/io_service.hpp
include/asio/impl/io_service.ipp
include/asio/impl/io_context.hpp
include/asio/impl/io_context.ipp
include/asio/impl/post.hpp
include/asio/impl/read.hpp
include/asio/impl/read_at.hpp
include/asio/impl/read_until.hpp
include/asio/impl/redirect_error.hpp
include/asio/impl/serial_port_base.hpp
include/asio/impl/serial_port_base.ipp
include/asio/impl/spawn.hpp
include/asio/impl/src.cpp
include/asio/impl/src.hpp
include/asio/impl/system_context.hpp
include/asio/impl/system_context.ipp
include/asio/impl/system_executor.hpp
include/asio/impl/thread_pool.hpp
include/asio/impl/thread_pool.ipp
include/asio/impl/use_awaitable.hpp
include/asio/impl/use_future.hpp
include/asio/impl/write.hpp
include/asio/impl/write_at.hpp
include/asio/io_context.hpp
include/asio/io_context_strand.hpp
include/asio/io_service.hpp
include/asio/io_service_strand.hpp
include/asio/ip/address.hpp
include/asio/ip/address_v4.hpp
include/asio/ip/address_v4_iterator.hpp
include/asio/ip/address_v4_range.hpp
include/asio/ip/address_v6.hpp
include/asio/ip/address_v6_iterator.hpp
include/asio/ip/address_v6_range.hpp
include/asio/ip/bad_address_cast.hpp
include/asio/ip/basic_endpoint.hpp
include/asio/ip/basic_resolver.hpp
include/asio/ip/basic_resolver_entry.hpp
include/asio/ip/basic_resolver_iterator.hpp
include/asio/ip/basic_resolver_query.hpp
include/asio/ip/basic_resolver_results.hpp
include/asio/ip/detail/endpoint.hpp
include/asio/ip/detail/impl/endpoint.ipp
include/asio/ip/detail/socket_option.hpp
@ -305,13 +371,20 @@ include/asio/ip/impl/address_v6.hpp
include/asio/ip/impl/address_v6.ipp
include/asio/ip/impl/basic_endpoint.hpp
include/asio/ip/impl/host_name.ipp
include/asio/ip/impl/network_v4.hpp
include/asio/ip/impl/network_v4.ipp
include/asio/ip/impl/network_v6.hpp
include/asio/ip/impl/network_v6.ipp
include/asio/ip/multicast.hpp
include/asio/ip/network_v4.hpp
include/asio/ip/network_v6.hpp
include/asio/ip/resolver_base.hpp
include/asio/ip/resolver_query_base.hpp
include/asio/ip/resolver_service.hpp
include/asio/ip/tcp.hpp
include/asio/ip/udp.hpp
include/asio/ip/unicast.hpp
include/asio/ip/v6_only.hpp
include/asio/is_executor.hpp
include/asio/is_read_buffered.hpp
include/asio/is_write_buffered.hpp
include/asio/local/basic_endpoint.hpp
@ -320,30 +393,26 @@ include/asio/local/datagram_protocol.hpp
include/asio/local/detail/endpoint.hpp
include/asio/local/detail/impl/endpoint.ipp
include/asio/local/stream_protocol.hpp
include/asio/packaged_task.hpp
include/asio/placeholders.hpp
include/asio/posix/basic_descriptor.hpp
include/asio/posix/basic_stream_descriptor.hpp
include/asio/posix/descriptor.hpp
include/asio/posix/descriptor_base.hpp
include/asio/posix/stream_descriptor.hpp
include/asio/posix/stream_descriptor_service.hpp
include/asio/raw_socket_service.hpp
include/asio/post.hpp
include/asio/read.hpp
include/asio/read_at.hpp
include/asio/read_until.hpp
include/asio/seq_packet_socket_service.hpp
include/asio/redirect_error.hpp
include/asio/serial_port.hpp
include/asio/serial_port_base.hpp
include/asio/serial_port_service.hpp
include/asio/signal_set.hpp
include/asio/signal_set_service.hpp
include/asio/socket_acceptor_service.hpp
include/asio/socket_base.hpp
include/asio/spawn.hpp
include/asio/ssl.hpp
include/asio/ssl/basic_context.hpp
include/asio/ssl/context.hpp
include/asio/ssl/context_base.hpp
include/asio/ssl/context_service.hpp
include/asio/ssl/detail/buffered_handshake_op.hpp
include/asio/ssl/detail/engine.hpp
include/asio/ssl/detail/handshake_op.hpp
@ -364,43 +433,45 @@ include/asio/ssl/impl/context.ipp
include/asio/ssl/impl/error.ipp
include/asio/ssl/impl/rfc2818_verification.ipp
include/asio/ssl/impl/src.hpp
include/asio/ssl/old/basic_context.hpp
include/asio/ssl/old/context_service.hpp
include/asio/ssl/old/detail/openssl_context_service.hpp
include/asio/ssl/old/detail/openssl_operation.hpp
include/asio/ssl/old/detail/openssl_stream_service.hpp
include/asio/ssl/old/stream.hpp
include/asio/ssl/old/stream_service.hpp
include/asio/ssl/rfc2818_verification.hpp
include/asio/ssl/stream.hpp
include/asio/ssl/stream_base.hpp
include/asio/ssl/stream_service.hpp
include/asio/ssl/verify_context.hpp
include/asio/ssl/verify_mode.hpp
include/asio/steady_timer.hpp
include/asio/strand.hpp
include/asio/stream_socket_service.hpp
include/asio/streambuf.hpp
include/asio/system_context.hpp
include/asio/system_error.hpp
include/asio/system_executor.hpp
include/asio/system_timer.hpp
include/asio/this_coro.hpp
include/asio/thread.hpp
include/asio/thread_pool.hpp
include/asio/time_traits.hpp
include/asio/ts/buffer.hpp
include/asio/ts/executor.hpp
include/asio/ts/internet.hpp
include/asio/ts/io_context.hpp
include/asio/ts/net.hpp
include/asio/ts/netfwd.hpp
include/asio/ts/socket.hpp
include/asio/ts/timer.hpp
include/asio/unyield.hpp
include/asio/use_awaitable.hpp
include/asio/use_future.hpp
include/asio/uses_executor.hpp
include/asio/version.hpp
include/asio/wait_traits.hpp
include/asio/waitable_timer_service.hpp
include/asio/windows/basic_handle.hpp
include/asio/windows/basic_object_handle.hpp
include/asio/windows/basic_overlapped_handle.hpp
include/asio/windows/basic_random_access_handle.hpp
include/asio/windows/basic_stream_handle.hpp
include/asio/windows/object_handle.hpp
include/asio/windows/object_handle_service.hpp
include/asio/windows/overlapped_handle.hpp
include/asio/windows/overlapped_ptr.hpp
include/asio/windows/random_access_handle.hpp
include/asio/windows/random_access_handle_service.hpp
include/asio/windows/stream_handle.hpp
include/asio/windows/stream_handle_service.hpp
include/asio/write.hpp
include/asio/write_at.hpp
include/asio/yield.hpp