655367
Summary: A library that performs asynchronous DNS operations
655367
Name: c-ares
655367
Version: 1.10.0
0b2dfd
Release: 3%{?dist}.1
655367
License: MIT
655367
Group: System Environment/Libraries
655367
URL: http://c-ares.haxx.se/
655367
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
655367
# The license can be obtained at http://c-ares.haxx.se/license.html
655367
Source1: LICENSE
655367
Patch0: 0001-Use-RPM-compiler-options.patch
655367
Patch1: c-ares-1.10.0-multilib.patch
0b2dfd
Patch2: 0002-CVE-2023-32067.patch
655367
655367
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
655367
655367
BuildRequires: autoconf
655367
BuildRequires: automake
655367
BuildRequires: libtool
655367
655367
%description
655367
c-ares is a C library that performs DNS requests and name resolves 
655367
asynchronously. c-ares is a fork of the library named 'ares', written 
655367
by Greg Hudson at MIT.
655367
655367
%package devel
655367
Summary: Development files for c-ares
655367
Group: Development/Libraries
655367
Requires: %{name} = %{version}-%{release}
655367
Requires: pkgconfig
655367
655367
%description devel
655367
This package contains the header files and libraries needed to
655367
compile applications or shared objects that use c-ares.
655367
655367
%prep
655367
%setup -q
655367
%patch0 -p1 -b .optflags
655367
%patch1 -p1 -b .multilib
0b2dfd
%patch2 -p1 -b .udp
655367
655367
cp %{SOURCE1} .
655367
f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
655367
655367
%build
655367
autoreconf -if
655367
%configure --enable-shared --disable-static \
655367
           --disable-dependency-tracking
655367
%{__make} %{?_smp_mflags}
655367
655367
%install
655367
rm -rf $RPM_BUILD_ROOT
655367
make DESTDIR=$RPM_BUILD_ROOT install
655367
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
655367
655367
%clean
655367
rm -rf $RPM_BUILD_ROOT
655367
655367
%post -p /sbin/ldconfig
655367
%postun -p /sbin/ldconfig
655367
655367
%files
655367
%defattr(-, root, root)
655367
%doc README README.cares CHANGES NEWS LICENSE
655367
%{_libdir}/*.so.*
655367
655367
%files devel
655367
%defattr(-, root, root, 0755)
655367
%{_includedir}/ares.h
655367
%{_includedir}/ares_build.h
655367
%{_includedir}/ares_dns.h
655367
%{_includedir}/ares_rules.h
655367
%{_includedir}/ares_version.h
655367
%{_libdir}/*.so
655367
%{_libdir}/pkgconfig/libcares.pc
655367
%{_mandir}/man3/ares_*
655367
655367
%changelog
0b2dfd
* Thu Jun 15 2023 Alexey Tikhonov <atikhono@redhat.com> - 1.10.0-3.1
0b2dfd
- Resolves: rhbz#2209503 - CVE-2023-32067 c-ares: 0-byte UDP payload Denial of Service [rhel-7.9.z]
0b2dfd
9fe099
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.10.0-3
9fe099
- Mass rebuild 2014-01-24
9fe099
9fe099
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.10.0-2
9fe099
- Mass rebuild 2013-12-27
9fe099
655367
* Mon May 13 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.10.1-1
655367
- New upstream release 1.10
655367
- Obsolete upstreamed patches
655367
- Amend the multilib patch, there's no need to patch configure since we
655367
  are running autoreconf anyways
655367
- https://raw.github.com/bagder/c-ares/cares-1_10_0/RELEASE-NOTES
655367
655367
* Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-6
655367
- Apply an upstream patch to override AC_CONFIG_MACRO_DIR only conditionally
655367
655367
* Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-5
655367
- Apply a patch by Stephen Gallagher to patch autoconf, not configure to
655367
  allow optflags to be passed in by build environment
655367
- Run autoreconf before configure
655367
- git rm obsolete patches
655367
- Apply upstream patch to stop overriding AC_CONFIG_MACRO_DIR
655367
655367
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-4
655367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
655367
655367
* Wed Aug 8 2012 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-3
655367
- Include URL to the license text
655367
655367
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
655367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
655367
655367
* Mon Jun 25 2012 Tom Callaway <spot@fedoraproject.org> - 1.9.1-1
655367
- update to 1.9.1
655367
655367
* Sat Apr 28 2012 Tom Callaway <spot@fedoraproject.org> - 1.8.0-1
655367
- update to 1.8.0
655367
- fix multilib patch (thanks to Paul Howarth)
655367
655367
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-2
655367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
655367
655367
* Wed Aug 17 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.5-1
655367
- New upstream release 1.7.5
655367
- Obsoletes patch #2
655367
- Rebase patch #1 (optflags) to match the 1.7.5 code
655367
- Fixed Source0 URL to point at the upstream tarball
655367
655367
* Mon Apr 11 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.4-3
655367
- Apply upstream patch to fix rhbz#695424
655367
655367
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
655367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
655367
655367
* Fri Dec 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-1
655367
- update to 1.7.4
655367
655367
* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-3
655367
- Actually apply the patches
655367
655367
* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-2
655367
- apply couple of patches from upstream
655367
655367
* Tue Jun 15 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-1
655367
- Upgrade to new upstream release 1.7.3 (obsoletes search/domain patch)
655367
- Fix conflict of -devel packages on multilib architectures (#602880)
655367
655367
* Thu Jun 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-2
655367
- Use last instance of search/domain, not the first one (#597286)
655367
655367
* Tue Mar 23 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-1
655367
- update to 1.7.1 which contains the IPv6 nameserver patch
655367
655367
* Sun Mar  7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-3
655367
- Change IPv6 nameserver patch according to upstream changes
655367
  (upstream revisions 1199,1201,1202)
655367
655367
* Wed Mar  3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-2
655367
- Add a patch to allow usage of IPv6 nameservers
655367
655367
* Tue Dec  1 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.0-1
655367
- update to 1.7.0
655367
655367
* Sat Jul 25 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.0-3
655367
- Patch to make upstream build system honor our CFLAGS and friends.
655367
- Don't bother building throwaway static libs.
655367
- Disable autotools dependency tracking for cleaner build logs and possible
655367
  slight build speedup.
655367
- Convert docs to UTF-8.
655367
- Update URLs.
655367
655367
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
655367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
655367
655367
* Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-1
655367
- update to 1.6.0
655367
655367
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
655367
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
655367
655367
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.3-1
655367
- update to 1.5.3
655367
655367
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-2
655367
- Autorebuild for GCC 4.3
655367
655367
* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.1-1
655367
- update to 1.5.1
655367
655367
* Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-2
655367
- rebuild for ppc32
655367
655367
* Wed Jun 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-1
655367
- bump to 1.4.0 (resolves bugzilla 243591)
655367
- get rid of static library (.a)
655367
655367
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.2-1
655367
- bump to 1.3.2
655367
655367
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-2
655367
- FC-6 bump
655367
655367
* Mon Jul 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-1
655367
- bump to 1.3.1
655367
655367
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-2
655367
- bump for FC-5 rebuild
655367
655367
* Sun Sep  4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-1
655367
- include LICENSE text
655367
- bump to 1.3.0
655367
655367
* Tue May 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-4
655367
- use dist tag to prevent EVR overlap
655367
655367
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-2
655367
- fix license (MIT, not LGPL)
655367
- get rid of libcares.la
655367
655367
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
655367
- initial package creation
655367