From 3c019d7861652e6936593009453512e3e58b4401 Mon Sep 17 00:00:00 2001 From: tenglei Date: Mon, 28 Jul 2025 01:14:34 -0700 Subject: [PATCH] add configure options --enable-ares to support feature -dns-servers --- curl.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/curl.spec b/curl.spec index 43d40c8..02f4249 100644 --- a/curl.spec +++ b/curl.spec @@ -7,7 +7,7 @@ Name: curl Version: 8.4.0 -Release: 18 +Release: 19 Summary: Curl is used in command lines or scripts to transfer data License: curl URL: https://curl.se/ @@ -54,7 +54,7 @@ Patch45: backport-tool_getparam-clear-sensitive-arguments-better.patch Patch46: backport-libssh-fix-freeing-of-resources-in-disconnect.patch Patch47: backport-openssl-fix-crash-on-missing-cert-password.patch -BuildRequires: automake brotli-devel coreutils gcc groff krb5-devel +BuildRequires: automake brotli-devel coreutils gcc groff krb5-devel c-ares c-ares-devel BuildRequires: libidn2-devel libnghttp2-devel libpsl-devel BuildRequires: libssh-devel make openldap-devel openssh-clients openssh-server BuildRequires: openssl-devel perl-interpreter pkgconfig python3-devel sed @@ -120,7 +120,7 @@ automake install -d build-full export common_configure_opts="--cache-file=../config.cache \ - --enable-hsts --enable-ipv6 --enable-symbol-hiding --enable-threaded-resolver \ + --enable-hsts --enable-ipv6 --enable-symbol-hiding --enable-threaded-resolver --enable-ares \ --without-zstd --with-gssapi --with-libidn2 --with-nghttp2 --with-ssl \ --with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt" @@ -238,6 +238,12 @@ rm -rf ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la %{_mandir}/man3/* %changelog +* Mon Jul 28 2025 tenglei - 8.4.0-19 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: add configure options '--enable-ares' to support feature '-dns-servers' + * Wed May 07 2025 zhouyihang - 8.4.0-18 - Type:bugfix - CVE:NA -- Gitee