forked from pool/c-ares
- Update to version 1.24
Features: * Add support for IPv6 link-local DNS servers. Nameserver formats can now accept the 0face suffix, and a new ares_get_servers_csv() function was added to return servers that can contain the link-local interface name. Changes: * Unbundle GoogleTest for test cases. Package maintainers will now need torequire GoogleTest (GMock) as a build dependency if building tests. New GoogleTest versions require C++14 or later. * Replace nameserver parsing code to use new memory-safe functions. * Replace the sortlist parser with new memory-safe functions. * Various warning fixes and dead code removal. Bugfixes: * Old Linux versions require POSIX_C_SOURCE or _GNU_SOURCE to compile with thread safety support * A non-responsive DNS server that caused timeouts wouldn't increment thefailure count, this would lead to other servers not being tried. Regression introduced in 1.22.0 * Some projects that depend on c-ares expect invalid parameter option valuespassed into ares_init_options() to simply be ignored. This behavior has been restored * getrandom() can fail if the kernel doesn't support the syscall, fall back to another random source * ares_cancel() when performing ares_gethostbyname() or ares_getaddrinfo()with AF_UNSPEC, if called after one address class was returned but before the other address class, it would return ARES_SUCCESS rather than ARES_ECANCELLED - disable-live-tests.patch: dropped, not needed OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=57
This commit is contained in:
parent
45b51c91bd
commit
8a446affed
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cb614ecf78b477d35963ebffcf486fc9d55cc3d3216f00700e71b7d4868f79f5
|
|
||||||
size 1681336
|
|
@ -1,11 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQEzBAABCgAdFiEEJ+3q8i86vOtQ25oSXMkI/bceEsIFAmVogucACgkQXMkI/bce
|
|
||||||
EsIVAwf/XVZ/mrDsI954tveoq2OPLBPIfhde4lvJBXlvwwkjdJLyobwUxs6huTUl
|
|
||||||
r81QuEvQSmPYH/VADSKo/ifsAN7APAgNqqE/rorqTnBIRRMh7bGuTfvr40Pbq49W
|
|
||||||
/dEIgZ7VIRbrqJD8+X/Vop+vvDjKyHTogCiO3D/uqVEA8OMmuLaU22/91ygJm1zU
|
|
||||||
3hvgomlYamgceZZSYluRLGlycOIKcAkyUZNLX7+rACUwZWlv6gTJ/DWZQy1E70yd
|
|
||||||
gUkBrIlXi2wT0jWKwXrHQxUNqrubxZNAAW4B5UUEyF9oP931aMFZ64kK2akQYC9L
|
|
||||||
MyxIhYAwhJkj7hfL8iF3q2a+8D1cug==
|
|
||||||
=rKq3
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
c-ares-1.24.0.tar.gz
Normal file
3
c-ares-1.24.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103
|
||||||
|
size 1368749
|
11
c-ares-1.24.0.tar.gz.asc
Normal file
11
c-ares-1.24.0.tar.gz.asc
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEEJ+3q8i86vOtQ25oSXMkI/bceEsIFAmV+xpkACgkQXMkI/bce
|
||||||
|
EsJH4wf9G7ZZMh5G5rd/SRPNsDAV4DVmfiQvoaGycDPQGJW8jbN4zyBS86h4sfgw
|
||||||
|
dAy87PEPdtXktjm2Oi4/6BhX6BKpDPRmk0ZTvPJBh0glspO6dSlnwVChmSCIfRST
|
||||||
|
yA4O3od9xK/yy61L+0tFG/8PQrrz/0+idhAw3jnmQQTv8D/kDFDKcdmSRsrrhZtK
|
||||||
|
OKAsvCtIFUPOR6Xhuz3Q7fq0hf1ECuPCUozdjKtxQwmmbBZJmM/EASR4saH6oSbI
|
||||||
|
FHKIPNuEcbE908wnbYXvrBrPSRNAbMAPpwYcZ8L6KsuXdzUW0TiTtnXkC/FwNGb7
|
||||||
|
0qCGJ1tZ0lwUYjJV9btUKo2GoS1hPw==
|
||||||
|
=AeXi
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 2 11:35:57 UTC 2024 - Adam Majer <adam.majer@suse.de> - 1.24
|
||||||
|
|
||||||
|
- Update to version 1.24
|
||||||
|
Features:
|
||||||
|
* Add support for IPv6 link-local DNS servers. Nameserver formats
|
||||||
|
can now accept the 0face suffix, and a new ares_get_servers_csv()
|
||||||
|
function was added to return servers that can contain the link-local
|
||||||
|
interface name.
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
* Unbundle GoogleTest for test cases. Package maintainers will now
|
||||||
|
need torequire GoogleTest (GMock) as a build dependency if
|
||||||
|
building tests. New GoogleTest versions require C++14 or later.
|
||||||
|
* Replace nameserver parsing code to use new memory-safe functions.
|
||||||
|
* Replace the sortlist parser with new memory-safe functions.
|
||||||
|
* Various warning fixes and dead code removal.
|
||||||
|
|
||||||
|
Bugfixes:
|
||||||
|
* Old Linux versions require POSIX_C_SOURCE or _GNU_SOURCE to
|
||||||
|
compile with thread safety support
|
||||||
|
* A non-responsive DNS server that caused timeouts wouldn't
|
||||||
|
increment thefailure count, this would lead to other servers
|
||||||
|
not being tried. Regression introduced in 1.22.0
|
||||||
|
* Some projects that depend on c-ares expect invalid parameter
|
||||||
|
option valuespassed into ares_init_options() to simply be
|
||||||
|
ignored. This behavior has been restored
|
||||||
|
* getrandom() can fail if the kernel doesn't support
|
||||||
|
the syscall, fall back to another random source
|
||||||
|
* ares_cancel() when performing ares_gethostbyname() or
|
||||||
|
ares_getaddrinfo()with AF_UNSPEC, if called after one address
|
||||||
|
class was returned but before the other address class, it
|
||||||
|
would return ARES_SUCCESS rather than ARES_ECANCELLED
|
||||||
|
|
||||||
|
- disable-live-tests.patch: dropped, not needed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 1 13:04:38 UTC 2023 - Adam Majer <adam.majer@suse.de> - 1.23
|
Fri Dec 1 13:04:38 UTC 2023 - Adam Majer <adam.majer@suse.de> - 1.23
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package c-ares
|
# spec file for package c-ares
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,7 +22,7 @@
|
|||||||
%define cmake_build make -O VERBOSE=1 %{?_smp_mflags}
|
%define cmake_build make -O VERBOSE=1 %{?_smp_mflags}
|
||||||
%endif
|
%endif
|
||||||
Name: c-ares
|
Name: c-ares
|
||||||
Version: 1.23.0
|
Version: 1.24.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for asynchronous name resolves
|
Summary: Library for asynchronous name resolves
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -32,11 +32,12 @@ Source1: https://c-ares.org/download/c-ares-%{version}.tar.gz.asc
|
|||||||
Source3: c-ares.keyring
|
Source3: c-ares.keyring
|
||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
Patch0: 0001-Use-RPM-compiler-options.patch
|
Patch0: 0001-Use-RPM-compiler-options.patch
|
||||||
Patch1: disable-live-tests.patch
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
# Needed for getservbyport_r function to work properly.
|
# Needed for getservbyport_r function to work properly.
|
||||||
BuildRequires: netcfg
|
BuildRequires: netcfg
|
||||||
|
BuildRequires: gmock
|
||||||
|
BuildRequires: gtest
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -100,7 +101,7 @@ to build packages that depend on c-ares.
|
|||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
pushd build
|
pushd build
|
||||||
%cmake_build -C test
|
%cmake_build -C test
|
||||||
LD_LIBRARY_PATH=.%{_libdir}:./%{_lib} ./bin/arestest
|
LD_LIBRARY_PATH=.%{_libdir}:./%{_lib} ./bin/arestest --gtest_filter=-*.Live*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
Index: c-ares-1.18.1/test/Makefile.inc
|
|
||||||
===================================================================
|
|
||||||
--- c-ares-1.18.1.orig/test/Makefile.inc
|
|
||||||
+++ c-ares-1.18.1/test/Makefile.inc
|
|
||||||
@@ -16,7 +16,6 @@ TESTSOURCES = ares-test-main.cc \
|
|
||||||
ares-test-parse-txt.cc \
|
|
||||||
ares-test-parse-uri.cc \
|
|
||||||
ares-test-misc.cc \
|
|
||||||
- ares-test-live.cc \
|
|
||||||
ares-test-mock.cc \
|
|
||||||
ares-test-mock-ai.cc \
|
|
||||||
ares-test-internal.cc \
|
|
Loading…
Reference in New Issue
Block a user