[packages/c-ares] - updated to 1.28.1

qboosh qboosh at pld-linux.org
Mon Apr 1 18:41:26 CEST 2024


commit a2383a5a577de51fbf118c870f0c3a08be49b739
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 1 18:15:27 2024 +0200

    - updated to 1.28.1

 c-ares-resolv.conf-reading-is-not-fatal.patch | 34 ++++-----------------------
 c-ares.spec                                   | 12 +++++-----
 2 files changed, 11 insertions(+), 35 deletions(-)
---
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)
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,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/c-ares.git/commitdiff/a2383a5a577de51fbf118c870f0c3a08be49b739



More information about the pld-cvs-commit mailing list