diff --git a/c-ares-1.23.0.tar.gz b/c-ares-1.23.0.tar.gz deleted file mode 100644 index 76485e9..0000000 --- a/c-ares-1.23.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb614ecf78b477d35963ebffcf486fc9d55cc3d3216f00700e71b7d4868f79f5 -size 1681336 diff --git a/c-ares-1.23.0.tar.gz.asc b/c-ares-1.23.0.tar.gz.asc deleted file mode 100644 index 5fc2a92..0000000 --- a/c-ares-1.23.0.tar.gz.asc +++ /dev/null @@ -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----- diff --git a/c-ares-1.24.0.tar.gz b/c-ares-1.24.0.tar.gz new file mode 100644 index 0000000..10bc299 --- /dev/null +++ b/c-ares-1.24.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103 +size 1368749 diff --git a/c-ares-1.24.0.tar.gz.asc b/c-ares-1.24.0.tar.gz.asc new file mode 100644 index 0000000..b4f1714 --- /dev/null +++ b/c-ares-1.24.0.tar.gz.asc @@ -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----- diff --git a/c-ares.changes b/c-ares.changes index 97cdced..a50a986 100644 --- a/c-ares.changes +++ b/c-ares.changes @@ -1,3 +1,39 @@ +------------------------------------------------------------------- +Tue Jan 2 11:35:57 UTC 2024 - Adam Majer - 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 - 1.23 diff --git a/c-ares.spec b/c-ares.spec index 0f38979..208ba3b 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ %define cmake_build make -O VERBOSE=1 %{?_smp_mflags} %endif Name: c-ares -Version: 1.23.0 +Version: 1.24.0 Release: 0 Summary: Library for asynchronous name resolves License: MIT @@ -32,11 +32,12 @@ Source1: https://c-ares.org/download/c-ares-%{version}.tar.gz.asc Source3: c-ares.keyring Source4: baselibs.conf Patch0: 0001-Use-RPM-compiler-options.patch -Patch1: disable-live-tests.patch BuildRequires: cmake BuildRequires: gcc-c++ # Needed for getservbyport_r function to work properly. BuildRequires: netcfg +BuildRequires: gmock +BuildRequires: gtest BuildRequires: pkgconfig %description @@ -100,7 +101,7 @@ to build packages that depend on c-ares. %if 0%{?suse_version} >= 1500 pushd build %cmake_build -C test -LD_LIBRARY_PATH=.%{_libdir}:./%{_lib} ./bin/arestest +LD_LIBRARY_PATH=.%{_libdir}:./%{_lib} ./bin/arestest --gtest_filter=-*.Live* %endif %post -n %{libname} -p /sbin/ldconfig diff --git a/disable-live-tests.patch b/disable-live-tests.patch deleted file mode 100644 index a5dd67d..0000000 --- a/disable-live-tests.patch +++ /dev/null @@ -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 \