- update to 1.30.2 * Fixed co_spawn to correctly propagate exceptions resulting from cancellation to the completion handler. * Added calls to std::launder to fix undefined behaviour in awaitable<> internal storage. * Added missing handling of the file_base::append flag in the Windows implementation of file support. * Updated the socket and descriptor implementations to add more cases where they will fall back to fcntl if a call to ioctl fails. * Fixed a compile error that occurred when channels and experimental::coro were both used in the same translation unit. * Added missing CancellationSlot type requirements to documentation. * Minor documentation updates. - update to 1.30.1 * Fixed the async_result primary template's concept checking to correctly handle lvalue-qualified completion signatures. * Fixed some compile errors that could arise when using the bind_allocator, bind_executor, bind_immediate_executor and bind_cancellation_slot completion token adapters to adapt each other. * Changed the experimental::ranged_parallel_group operation so that it moves the completion_order vector when invoking the completion handler. * Fixed the asio/experimental/parallel_group.hpp header so that it is self-contained. * Fixed some warnings about deprecated implicit copy constructors on ip::basic_resolver_query, io_context::strand, and coroutine. * Updated the version specification used to initialise Winsock. * Fixed the documentation hyperlinks for the deduced return types of asynchronous operations' initiating functions. - update to 1.30.0 * Fixed compatibility between any_completion_handler and compilation using ASIO_USE_TS_EXECUTOR_AS_DEFAULT. * Fixed a crash that may occur when attempting to access a default-constructed any_completion_handler object's associators. * Fixed ssl::stream<> class's async_handshake operation so that it works with a defaulted completion token. * Updated all examples to use C++11 as the minimum language standard. - update to 1.29.0 * Changed to require C++11 as the minimum language standard. * Removed deprecated functionality from the asio::execution namespace. * Removed deprecated invocation and allocation hooks. * Added compatibility between Asio's placeholders and std::bind. * Added try_send_via_dispatch and try_send_n_via_dispatch functions to channels. * Improved C++11 support for multi-signature channels. * Fixed compatibility between channel asynchronous operations and any_completion_handler. * Added missing equality operators for mixed property types belonging to the same category. OBS-URL: https://build.opensuse.org/request/show/1183573 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/asio?expand=0&rev=32
77 lines
2.2 KiB
RPMSpec
77 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package asio
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: asio
|
|
Version: 1.30.2
|
|
Release: 0
|
|
Summary: A cross-platform C++ library for network and low-level I/O programming
|
|
License: BSD-3-Clause
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://think-async.com/Asio/
|
|
Source0: https://sourceforge.net/projects/asio/files/asio/%{version}%%20%%28Stable%%29/asio-%{version}.tar.bz2
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libboost_headers-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
BuildRequires: pkgconfig(libssl)
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
%description
|
|
Asio is a cross-platform C++ library for network and low-level I/O
|
|
programming that provides developers with a consistent asynchronous I/O
|
|
model using a modern C++ approach.
|
|
|
|
%package devel
|
|
Summary: A cross-platform C++ library for network and low-level I/O programming
|
|
Group: Development/Libraries/C and C++
|
|
Requires: boost-devel
|
|
Requires: openssl-devel
|
|
|
|
%description devel
|
|
Asio is a cross-platform C++ library for network and low-level I/O
|
|
programming that provides developers with a consistent asynchronous I/O
|
|
model using a modern C++ approach.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
# Upstream generate them quite creatively, so refresh
|
|
autoreconf -fvi
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%check
|
|
%make_build check
|
|
|
|
%files devel
|
|
%license COPYING LICENSE_1_0.txt
|
|
%doc doc/*
|
|
%dir %{_includedir}/asio
|
|
%{_includedir}/asio/*
|
|
%{_includedir}/asio.hpp
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|