Compare commits

..

No commits in common. "rawhide" and "f32" have entirely different histories.

4 changed files with 34 additions and 115 deletions

16
.gitignore vendored
View file

@ -12,19 +12,3 @@ c-ares-1.7.3.tar.gz
/c-ares-1.16.0.tar.gz
/c-ares-1.16.1.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

View file

@ -0,0 +1,11 @@
diff -up c-ares-1.17.0/include/CMakeLists.txt.ares_dns c-ares-1.17.0/include/CMakeLists.txt
--- c-ares-1.17.0/include/CMakeLists.txt.ares_dns 2020-11-17 10:52:31.669935103 -0500
+++ c-ares-1.17.0/include/CMakeLists.txt 2020-11-17 10:52:42.507979110 -0500
@@ -3,6 +3,6 @@ CONFIGURE_FILE (ares_build.h.cmake ${PRO
# Headers installation target
IF (CARES_INSTALL)
- SET (CARES_HEADERS ares.h ares_version.h "${PROJECT_BINARY_DIR}/ares_build.h" ares_rules.h)
+ SET (CARES_HEADERS ares.h ares_version.h "${PROJECT_BINARY_DIR}/ares_build.h" ares_rules.h ../src/lib/ares_dns.h)
INSTALL (FILES ${CARES_HEADERS} COMPONENT Devel DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
ENDIF ()

View file

@ -2,11 +2,20 @@
Summary: A library that performs asynchronous DNS operations
Name: c-ares
Version: 1.34.6
Version: 1.17.0
Release: 1%{?dist}
License: MIT
URL: http://c-ares.org/
Source0: https://github.com/c-ares/c-ares/releases/download/v%{version}/c-ares-%{version}.tar.gz
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
# Missing from 1.17.0 tarball
# Should be fixed in 1.17.1
# https://github.com/c-ares/c-ares/issues/373
Source2: https://raw.githubusercontent.com/c-ares/c-ares/master/c-ares-config.cmake.in
Source3: https://raw.githubusercontent.com/c-ares/c-ares/master/libcares.pc.cmake
Patch0: 0001-Use-RPM-compiler-options.patch
Patch1: c-ares-1.17.0-cmake-ares_dns_h.patch
BuildRequires: gcc
%if %{use_cmake}
BuildRequires: cmake
@ -15,11 +24,10 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%endif
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
@ -33,14 +41,17 @@ compile applications or shared objects that use c-ares.
%prep
%autosetup -p1
# f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
cp %{SOURCE1} .
cp %{SOURCE2} .
cp %{SOURCE3} .
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} -DCARES_BUILD_TOOLS:BOOL=OFF
%{cmake} -DCMAKE_INSTALL_LIBDIR:PATH="%{_libdir}" -DCARES_BUILD_TOOLS:BOOL=OFF
%cmake_build
%else
autoreconf -if
@ -60,17 +71,15 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
%ldconfig_scriptlets
%files
%license LICENSE.md
%doc README.md RELEASE-NOTES.md
%license LICENSE
%doc README.cares CHANGES NEWS
%{_libdir}/*.so.*
%files devel
%{_includedir}/ares.h
%{_includedir}/ares_build.h
%{_includedir}/ares_dns.h
%{_includedir}/ares_dns_record.h
%{_includedir}/ares_nameser.h
# %%{_includedir}/ares_rules.h
%{_includedir}/ares_rules.h
%{_includedir}/ares_version.h
%{_libdir}/*.so
%if %{use_cmake}
@ -80,91 +89,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
%{_mandir}/man3/ares_*
%changelog
* Wed Dec 17 2025 Tom Callaway <spot@fedoraproject.org> - 1.34.6-1
- update to 1.34.6
- fixes CVE-2025-62408 (among other fixes)
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.34.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Apr 8 2025 Tom Callaway <spot@fedoraproject.org> - 1.34.5-1
- update to 1.34.5
* Fri Feb 14 2025 Tom Callaway <spot@fedoraproject.org> - 1.34.4-3
- fix pkgconfig file (do not need to mess with cmake for libdir)
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.34.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Dec 14 2024 Tom Callaway <spot@fedoraproject.org> - 1.34.4-1
- update to 1.34.4
* Fri Oct 18 2024 Tom Callaway <spot@fedoraproject.org> - 1.34.2-1
- update to 1.34.2
* Wed Aug 7 2024 Tom Callaway <spot@fedoraproject.org> - 1.33.0-1
- update to 1.33.0
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jul 1 2024 Tom Callaway <spot@fedoraproject.org> - 1.31.0-1
- update to 1.31.0
* Mon Jun 10 2024 Tom Callaway <spot@fedoraproject.org> - 1.30.0-1
- update to 1.30.0
* Sun Mar 31 2024 Tom Callaway <spot@fedoraproject.org> - 1.28.1-1
- update to 1.28.1
* Fri Mar 29 2024 Tom Callaway <spot@fedoraproject.org> - 1.28.0-1
- update to 1.28.0
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.25.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.25.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 10 2024 Tom Callaway <spot@fedoraproject.org> - 1.25.0-1
- update to 1.25.0
* Tue Nov 21 2023 Tom Callaway <spot@fedoraproject.org> - 1.22.1-1
- update to 1.22.1
* Sun Nov 5 2023 Tom Callaway <spot@fedoraproject.org> - 1.21.0-1
- update to 1.21.0
* Wed May 24 2023 Tom Callaway <spot@fedoraproject.org> - 1.19.1-1
- update to 1.19.1
- fixes CVE-2023-32067
* Fri Feb 17 2023 Tom Callaway <spot@fedoraproject.org> - 1.19.0-1
- update to 1.19.0
- fixes CVE-2022-4904
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Aug 16 2021 Tom Callaway <spot@fedoraproject.org> - 1.17.2-1
- update to 1.17.2
- fixes multiple security issues including CVE-2021-3672
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Nov 20 2020 Tom Callaway <spot@fedoraproject.org> - 1.17.1-1
- update to 1.17.1
* Tue Nov 17 2020 Tom Callaway <spot@fedoraproject.org> - 1.17.0-1
- update to 1.17.0

View file

@ -1 +1 @@
SHA512 (c-ares-1.34.6.tar.gz) = 826eecdb40942caf75da982b9ca57fbe7c3e7c23af43a908683c7c1523c46b06ebac68405c26db8bf4c8b0774ca415666866249a3bde663a71c278f4ec7b1827
SHA512 (c-ares-1.17.0.tar.gz) = 366a668c2c8bc089155e473a0197bc74c7ef785caa4a9eb3c2cf14e99be6d2640f4d0e3310917ad571b5f7562866671b2aa4a27adb739fb59f7e5c5e0007b5ea