update to 1.19.0, fixes CVE-2022-4904

This commit is contained in:
Tom Callaway 2023-02-20 09:06:29 -05:00
parent 361ea59227
commit 41a6dcd730
3 changed files with 13 additions and 7 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ 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

View File

@ -2,11 +2,11 @@
Summary: A library that performs asynchronous DNS operations
Name: c-ares
Version: 1.17.2
Release: 4%{?dist}
Version: 1.19.0
Release: 1%{?dist}
License: MIT
URL: http://c-ares.haxx.se/
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
URL: http://c-ares.org/
Source0: http://c-ares.org/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
@ -21,8 +21,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
@ -72,6 +72,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
%{_includedir}/ares.h
%{_includedir}/ares_build.h
%{_includedir}/ares_dns.h
%{_includedir}/ares_nameser.h
%{_includedir}/ares_rules.h
%{_includedir}/ares_version.h
%{_libdir}/*.so
@ -82,6 +83,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
%{_mandir}/man3/ares_*
%changelog
* 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

View File

@ -1 +1 @@
SHA512 (c-ares-1.17.2.tar.gz) = f625e0ef8508af6475d3e83b51ab29be8a4878e2a87e7f518bea046b76a74bfde7043ca6ec2a9e714c898ab9e5d4a5a678c3347a9f9eb68980438f7ca8ae3fc8
SHA512 (c-ares-1.19.0.tar.gz) = a7f5988bef393afec08a225be92f6eee54a3e67170fb26cbe00dcc5c5a457b27037bbcfeccc39fb855ed72f100196958d6cbbe251bf1ccfbdd353be18f098359