- Update to version 1.25

Changes:
 o Rewrite ares_strsplit() as a wrapper for ares__buf_split() for memory
   safety reasons.
 o The ahost utility now uses ares_getaddrinfo() and returns both IPv4 and
   IPv6 addresses by default.
Bug Fixes:
 o Tests: Live reverse lookups for Google's public DNS servers no longer
   return results, replace with CloudFlare pubic DNS servers.
 o Connection failures should increment the server failure count first or a
   retry might be enqueued to the same server
 o On systems that don't implement the ability to enumerate network interfaces
   the stubs used the wrong prototype.
 o Fix minor warnings and documentation typos
 o Fix support for older GoogleTest versions
 o getrandom() may require sys/random.h on some systems.
 o Fix building tests with symbol hiding enabled.
- 0001-Use-RPM-compiler-options.patch: dropped, obsolete

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/c-ares?expand=0&rev=58
This commit is contained in:
Adam Majer 2024-01-08 10:22:59 +00:00 committed by Git OBS Bridge
parent 8a446affed
commit b765727bcc
7 changed files with 39 additions and 57 deletions

View File

@ -1,41 +0,0 @@
From 7dada62a77e061c752123e672e844386ff3b01ea Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh@redhat.com>
Date: Wed, 10 Apr 2013 12:32:44 -0400
Subject: [PATCH] Use RPM compiler options
---
m4/cares-compilers.m4 | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4
index 7ee8e0dbe741c1a64149a0d20b826f507b3ec620..d7708230fb5628ae80fbf1052da0d2c78ebbc160 100644
--- a/m4/cares-compilers.m4
+++ b/m4/cares-compilers.m4
@@ -143,19 +143,12 @@ AC_DEFUN([CARES_CHECK_COMPILER_GNU_C], [
gccvhi=`echo $gccver | cut -d . -f1`
gccvlo=`echo $gccver | cut -d . -f2`
compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
- flags_dbg_all="-g -g0 -g1 -g2 -g3"
- flags_dbg_all="$flags_dbg_all -ggdb"
- flags_dbg_all="$flags_dbg_all -gstabs"
- flags_dbg_all="$flags_dbg_all -gstabs+"
- flags_dbg_all="$flags_dbg_all -gcoff"
- flags_dbg_all="$flags_dbg_all -gxcoff"
- flags_dbg_all="$flags_dbg_all -gdwarf-2"
- flags_dbg_all="$flags_dbg_all -gvms"
- flags_dbg_yes="-g"
- flags_dbg_off="-g0"
- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
- flags_opt_yes="-O2"
- flags_opt_off="-O0"
+ flags_dbg_all=""
+ flags_dbg_yes=""
+ flags_dbg_off=""
+ flags_opt_all=""
+ flags_opt_yes=""
+ flags_opt_off=""
CURL_CHECK_DEF([_WIN32], [], [silent])
else
AC_MSG_RESULT([no])
--
1.8.1.4

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c517de6d5ac9cd55a9b72c1541c3e25b84588421817b5f092850ac09a8df5103
size 1368749

View File

@ -1,11 +0,0 @@
-----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-----

3
c-ares-1.25.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71832b93a48f5ff579c505f4869120c14e57b783275367207f1a98314aa724e5
size 1264129

11
c-ares-1.25.0.tar.gz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCgAdFiEEJ+3q8i86vOtQ25oSXMkI/bceEsIFAmWVHp4ACgkQXMkI/bce
EsI7GQf7BP8GV6t2Wnr8SRt+IwSEAEirTfDsTaKcRaBjMyuS3ujQ776sJtqD5yJd
TRfQ1XfM/rhWSB5k7EU400o/5IOAGCg3cLDYtGSDfUv9fuIV+RvPavt7kkt0L2OJ
Ib8NWL01z+BYs7GsKelfKp0CSj2+H6wWQCMswW2e2y6ccEhk8EXiypAyoFl12Q3m
5JkVP/hYTP5a9iXjQZ5EeOL277EgfAzxbvA+3tv+7+UMcHg+4SBiAUZD66B3N6+w
I7vxGCYwh5b8mJPUaGF8xZeZLh+Uz8CJTJE5FjaTJ6II/6zagG1V0n48c9tgKqnw
96Vi4OfT7Q8iOedZa2VFaq6rbORMNQ==
=7crm
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Jan 8 10:16:54 UTC 2024 - Adam Majer <adam.majer@suse.de> - 1.25
- Update to version 1.25
Changes:
o Rewrite ares_strsplit() as a wrapper for ares__buf_split() for memory
safety reasons.
o The ahost utility now uses ares_getaddrinfo() and returns both IPv4 and
IPv6 addresses by default.
Bug Fixes:
o Tests: Live reverse lookups for Google's public DNS servers no longer
return results, replace with CloudFlare pubic DNS servers.
o Connection failures should increment the server failure count first or a
retry might be enqueued to the same server
o On systems that don't implement the ability to enumerate network interfaces
the stubs used the wrong prototype.
o Fix minor warnings and documentation typos
o Fix support for older GoogleTest versions
o getrandom() may require sys/random.h on some systems.
o Fix building tests with symbol hiding enabled.
- 0001-Use-RPM-compiler-options.patch: dropped, obsolete
-------------------------------------------------------------------
Tue Jan 2 11:35:57 UTC 2024 - Adam Majer <adam.majer@suse.de> - 1.24

View File

@ -22,7 +22,7 @@
%define cmake_build make -O VERBOSE=1 %{?_smp_mflags}
%endif
Name: c-ares
Version: 1.24.0
Version: 1.25.0
Release: 0
Summary: Library for asynchronous name resolves
License: MIT
@ -31,7 +31,6 @@ Source0: https://c-ares.org/download/c-ares-%{version}.tar.gz
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
BuildRequires: cmake
BuildRequires: gcc-c++
# Needed for getservbyport_r function to work properly.