From 282c2274437d561ce07a51ad7f70ec7ee7d9199a Mon Sep 17 00:00:00 2001 From: Asra Ali Date: Mon, 30 Nov 2020 09:14:13 -0500 Subject: [PATCH] update cares Signed-off-by: Asra Ali --- bazel/foreign_cc/BUILD | 4 ++-- bazel/repository_locations.bzl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bazel/foreign_cc/BUILD b/bazel/foreign_cc/BUILD index 43dbfe3459ae..a374a7d905de 100644 --- a/bazel/foreign_cc/BUILD +++ b/bazel/foreign_cc/BUILD @@ -91,8 +91,8 @@ envoy_cmake_external( "//conditions:default": [], }), postfix_script = select({ - "//bazel:windows_x86_64": "cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/src/lib/nameser.h $INSTALLDIR/include/nameser.h && cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/src/lib/ares_dns.h $INSTALLDIR/include/ares_dns.h", - "//conditions:default": "cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/src/lib/ares_dns.h $INSTALLDIR/include/ares_dns.h", + "//bazel:windows_x86_64": "cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/src/lib/nameser.h $INSTALLDIR/include/nameser.h && cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/include/ares_dns.h $INSTALLDIR/include/ares_dns.h", + "//conditions:default": "cp -L $EXT_BUILD_ROOT/external/com_github_c_ares_c_ares/include/ares_dns.h $INSTALLDIR/include/ares_dns.h", }), static_libraries = select({ "//bazel:windows_x86_64": ["cares.lib"], diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl index abdaa8a43206..560bc339b367 100644 --- a/bazel/repository_locations.bzl +++ b/bazel/repository_locations.bzl @@ -101,10 +101,10 @@ REPOSITORY_LOCATIONS_SPEC = dict( project_name = "c-ares", project_desc = "C library for asynchronous DNS requests", project_url = "https://c-ares.haxx.se/", - version = "c15f403875ababb1149215d49683d720b3d035c7", - sha256 = "0ad4f9748752909b00a0ca8d2b6a075e0a7a06ee922d9dcf9625d2562d7c894a", + version = "1.17.1", + sha256 = "d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40", strip_prefix = "c-ares-{version}", - urls = ["https://github.com/c-ares/c-ares/archive/{version}.tar.gz"], + urls = ["https://github.com/c-ares/c-ares/releases/download/cares-{underscore_version}/c-ares-{version}.tar.gz"], use_category = ["dataplane_core", "controlplane"], release_date = "2020-10-21", cpe = "cpe:2.3:a:c-ares_project:c-ares:*",