diff --git a/.gitignore b/.gitignore index ec9915c..ad2206f 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,17 @@ c-ares-1.7.3.tar.gz /c-ares-1.17.0.tar.gz /c-ares-1.17.1.tar.gz /c-ares-1.17.2.tar.gz +/c-ares-1.19.0.tar.gz +/c-ares-1.19.1.tar.gz +/c-ares-1.21.0.tar.gz +/c-ares-1.22.1.tar.gz +/c-ares-1.25.0.tar.gz +/c-ares-1.28.0.tar.gz +/c-ares-1.28.1.tar.gz +/c-ares-1.30.0.tar.gz +/c-ares-1.31.0.tar.gz +/c-ares-1.33.0.tar.gz +/c-ares-1.34.2.tar.gz +/c-ares-1.34.4.tar.gz +/c-ares-1.34.5.tar.gz +/c-ares-1.34.6.tar.gz diff --git a/c-ares.spec b/c-ares.spec index d9c6d57..44fb72e 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -2,14 +2,11 @@ Summary: A library that performs asynchronous DNS operations Name: c-ares -Version: 1.17.2 +Version: 1.34.6 Release: 1%{?dist} License: MIT -URL: http://c-ares.haxx.se/ -Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz -# The license can be obtained at http://c-ares.haxx.se/license.html -Source1: LICENSE -Patch0: 0001-Use-RPM-compiler-options.patch +URL: http://c-ares.org/ +Source0: https://github.com/c-ares/c-ares/releases/download/v%{version}/c-ares-%{version}.tar.gz BuildRequires: gcc %if %{use_cmake} BuildRequires: cmake @@ -21,8 +18,8 @@ BuildRequires: libtool BuildRequires: make %description -c-ares is a C library that performs DNS requests and name resolves -asynchronously. c-ares is a fork of the library named 'ares', written +c-ares is a C library that performs DNS requests and name resolves +asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT. %package devel @@ -36,15 +33,14 @@ compile applications or shared objects that use c-ares. %prep %autosetup -p1 -cp %{SOURCE1} . -f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f +# f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f %build # autoreconf -if # %%configure --enable-shared --disable-static \ # --disable-dependency-tracking %if %{use_cmake} -%{cmake} -DCMAKE_INSTALL_LIBDIR:PATH="%{_libdir}" -DCARES_BUILD_TOOLS:BOOL=OFF +%{cmake} -DCARES_BUILD_TOOLS:BOOL=OFF %cmake_build %else autoreconf -if @@ -64,15 +60,17 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la %ldconfig_scriptlets %files -%license LICENSE -%doc README.cares CHANGES NEWS +%license LICENSE.md +%doc README.md RELEASE-NOTES.md %{_libdir}/*.so.* %files devel %{_includedir}/ares.h %{_includedir}/ares_build.h %{_includedir}/ares_dns.h -%{_includedir}/ares_rules.h +%{_includedir}/ares_dns_record.h +%{_includedir}/ares_nameser.h +# %%{_includedir}/ares_rules.h %{_includedir}/ares_version.h %{_libdir}/*.so %if %{use_cmake} @@ -82,6 +80,78 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la %{_mandir}/man3/ares_* %changelog +* Wed Dec 17 2025 Tom Callaway - 1.34.6-1 +- update to 1.34.6 +- fixes CVE-2025-62408 (among other fixes) + +* Wed Jul 23 2025 Fedora Release Engineering - 1.34.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Apr 8 2025 Tom Callaway - 1.34.5-1 +- update to 1.34.5 + +* Fri Feb 14 2025 Tom Callaway - 1.34.4-3 +- fix pkgconfig file (do not need to mess with cmake for libdir) + +* Thu Jan 16 2025 Fedora Release Engineering - 1.34.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Sat Dec 14 2024 Tom Callaway - 1.34.4-1 +- update to 1.34.4 + +* Fri Oct 18 2024 Tom Callaway - 1.34.2-1 +- update to 1.34.2 + +* Wed Aug 7 2024 Tom Callaway - 1.33.0-1 +- update to 1.33.0 + +* Wed Jul 17 2024 Fedora Release Engineering - 1.31.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jul 1 2024 Tom Callaway - 1.31.0-1 +- update to 1.31.0 + +* Mon Jun 10 2024 Tom Callaway - 1.30.0-1 +- update to 1.30.0 + +* Sun Mar 31 2024 Tom Callaway - 1.28.1-1 +- update to 1.28.1 + +* Fri Mar 29 2024 Tom Callaway - 1.28.0-1 +- update to 1.28.0 + +* Tue Jan 23 2024 Fedora Release Engineering - 1.25.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 1.25.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 10 2024 Tom Callaway - 1.25.0-1 +- update to 1.25.0 + +* Tue Nov 21 2023 Tom Callaway - 1.22.1-1 +- update to 1.22.1 + +* Sun Nov 5 2023 Tom Callaway - 1.21.0-1 +- update to 1.21.0 + +* Wed May 24 2023 Tom Callaway - 1.19.1-1 +- update to 1.19.1 +- fixes CVE-2023-32067 + +* Fri Feb 17 2023 Tom Callaway - 1.19.0-1 +- update to 1.19.0 +- fixes CVE-2022-4904 + +* Wed Jan 18 2023 Fedora Release Engineering - 1.17.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 1.17.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 1.17.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Aug 16 2021 Tom Callaway - 1.17.2-1 - update to 1.17.2 - fixes multiple security issues including CVE-2021-3672 diff --git a/sources b/sources index 9561349..8681ea7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (c-ares-1.17.2.tar.gz) = f625e0ef8508af6475d3e83b51ab29be8a4878e2a87e7f518bea046b76a74bfde7043ca6ec2a9e714c898ab9e5d4a5a678c3347a9f9eb68980438f7ca8ae3fc8 +SHA512 (c-ares-1.34.6.tar.gz) = 826eecdb40942caf75da982b9ca57fbe7c3e7c23af43a908683c7c1523c46b06ebac68405c26db8bf4c8b0774ca415666866249a3bde663a71c278f4ec7b1827