]> git.pld-linux.org Git - packages/c-ares.git/commitdiff
- updated to 1.28.1 master auto/th/c-ares-1.28.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Apr 2024 16:15:27 +0000 (18:15 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 1 Apr 2024 16:15:27 +0000 (18:15 +0200)
c-ares-resolv.conf-reading-is-not-fatal.patch
c-ares.spec

index 306f83c359b9343cd8910f0c6466e2d262bd04a0..9fdf0f0e6ff3a7acf6ea260edba7102df43310a8 100644 (file)
@@ -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,
index 9204600ccde8e5e4a4651c0853898af0c9f6585c..1400b7ae69a5a77e54616c1cc95dd4621a82d970 100644 (file)
@@ -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)
This page took 0.195936 seconds and 4 git commands to generate.