summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus2020-11-23 00:00:46 (GMT)
committerJan Palus2020-11-23 00:00:46 (GMT)
commitce141f84407b8babb04b68d0c60896031d083e39 (patch)
tree742da3691c8ca911dbcf64d0931c4384c71b70f1
parent232d55875fd382bc189e5b7bf0ec4f594513bcb6 (diff)
downloadc-ares-auto/th/c-ares-1.17.1-1.zip
c-ares-auto/th/c-ares-1.17.1-1.tar.gz
up to 1.17.1 (security fixes)auto/th/c-ares-1.17.1-1
- fixes CVE-2020-8277 in nodejs - building tests disabled -- aclocal in test/ fails with "too many loops"
-rw-r--r--c-ares-resolv.conf-reading-is-not-fatal.patch4
-rw-r--r--c-ares.spec5
2 files changed, 5 insertions, 4 deletions
diff --git a/c-ares-resolv.conf-reading-is-not-fatal.patch b/c-ares-resolv.conf-reading-is-not-fatal.patch
index 10af031..56e239c 100644
--- a/c-ares-resolv.conf-reading-is-not-fatal.patch
+++ b/c-ares-resolv.conf-reading-is-not-fatal.patch
@@ -1,5 +1,5 @@
---- c-ares-1.11.0/ares_init.c.orig 2016-02-11 12:23:52.000000000 +0100
-+++ c-ares-1.11.0/ares_init.c 2016-02-28 10:01:24.592903895 +0100
+--- c-ares-1.11.0/src/lib/ares_init.c.orig 2016-02-11 12:23:52.000000000 +0100
++++ c-ares-1.11.0/src/lib/ares_init.c 2016-02-28 10:01:24.592903895 +0100
@@ -1292,6 +1292,7 @@
switch(error) {
case ENOENT:
diff --git a/c-ares.spec b/c-ares.spec
index 6dd7df3..00b7f9a 100644
--- a/c-ares.spec
+++ b/c-ares.spec
@@ -1,13 +1,13 @@
Summary: A library that performs asynchronous DNS operations
Summary(pl.UTF-8): Biblioteka do wykonywania asynchronicznych zapytaƄ DNS
Name: c-ares
-Version: 1.16.1
+Version: 1.17.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: 62dece8675590445d739b23111d93692
+# Source0-md5: 28f65c8ee6c097986bd902fd4f0804e2
Patch0: %{name}-resolv.conf-reading-is-not-fatal.patch
URL: https://c-ares.haxx.se/
BuildRequires: autoconf >= 2.57
@@ -66,6 +66,7 @@ Statyczna biblioteka c-ares.
%{__automake}
%configure \
--disable-silent-rules \
+ --disable-tests \
--enable-optimize="%{rpmcflags}" \
--enable-shared