From: Jakub Bogusz Date: Mon, 1 Apr 2024 16:15:27 +0000 (+0200) Subject: - updated to 1.28.1 X-Git-Tag: auto/th/c-ares-1.28.1-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fc-ares.git;a=commitdiff_plain;h=refs%2Fheads%2Fmaster - updated to 1.28.1 --- diff --git a/c-ares-resolv.conf-reading-is-not-fatal.patch b/c-ares-resolv.conf-reading-is-not-fatal.patch index 306f83c..9fdf0f0 100644 --- a/c-ares-resolv.conf-reading-is-not-fatal.patch +++ b/c-ares-resolv.conf-reading-is-not-fatal.patch @@ -1,34 +1,10 @@ ---- c-ares-1.22.0/src/lib/ares_sysconfig_files.c.orig 2023-11-14 13:14:37.000000000 +0100 -+++ c-ares-1.22.0/src/lib/ares_sysconfig_files.c 2023-11-14 23:04:57.557257498 +0100 -@@ -528,6 +528,7 @@ +--- c-ares-1.28.1/src/lib/ares__buf.c.orig 2024-03-22 23:59:26.000000000 +0100 ++++ c-ares-1.28.1/src/lib/ares__buf.c 2024-04-01 17:47:48.883009988 +0200 +@@ -1156,6 +1156,7 @@ ares_status_t ares__buf_load_file(const switch (error) { case ENOENT: case ESRCH: + case EACCES: - break; + status = ARES_ENOTFOUND; + goto done; default: - DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n", error, -@@ -556,6 +557,7 @@ - switch (error) { - case ENOENT: - case ESRCH: -+ case EACCES: - break; - default: - DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n", error, -@@ -586,6 +588,7 @@ - switch (error) { - case ENOENT: - case ESRCH: -+ case EACCES: - break; - default: - DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n", error, -@@ -616,6 +619,7 @@ - switch (error) { - case ENOENT: - case ESRCH: -+ case EACCES: - break; - default: - DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n", error, diff --git a/c-ares.spec b/c-ares.spec index 9204600..1400b7a 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -5,19 +5,19 @@ Summary: A library that performs asynchronous DNS operations Summary(pl.UTF-8): Biblioteka do wykonywania asynchronicznych zapytań DNS Name: c-ares -Version: 1.26.0 +Version: 1.28.1 Release: 1 License: MIT Group: Libraries -#Source0Download: https://c-ares.haxx.se/ -Source0: https://c-ares.haxx.se/download/%{name}-%{version}.tar.gz -# Source0-md5: 41b669d16226d82ffd6b0043b1a41c32 +#Source0Download: https://c-ares.org/ +Source0: https://c-ares.org/download/%{name}-%{version}.tar.gz +# Source0-md5: 2b0f0df7491538a0d10f3310e13d4b5f Patch0: %{name}-resolv.conf-reading-is-not-fatal.patch -URL: https://c-ares.haxx.se/ +URL: https://c-ares.org/ BuildRequires: autoconf >= 2.69 BuildRequires: automake >= 1:1.9.6 # for tests -#BuildRequires: libstdc++-devel >= 6:4.7 +#BuildRequires: libstdc++-devel >= 6:5 BuildRequires: libtool >= 2:2 BuildRequires: rpmbuild(macros) >= 1.527 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)