Compare commits

...
Sign in to create a new pull request.

44 commits

Author SHA1 Message Date
Tom spot Callaway
d3b57fda76 update to 1.34.6, fixes CVE-2025-62408 (among other fixes) 2025-12-17 12:26:36 -05:00
Fedora Release Engineering
5b080ad8c8 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 18:00:14 +00:00
Tom spot Callaway
6cb1f37cea 1.34.5 2025-04-08 13:55:06 -04:00
Tom spot Callaway
4a4ff91a9a fix pkgconfig file (do not need to mess with cmake for libdir) 2025-02-14 13:32:09 -05:00
Fedora Release Engineering
a1121f851c Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 13:07:22 +00:00
Tom Callaway
57f99144c9 1.34.4 2024-12-14 15:40:52 -05:00
Tom Callaway
3d6cc63359 1.34.2 2024-10-18 12:41:55 -04:00
Tom Callaway
76a10d7707 1.33.0 2024-08-07 14:28:09 -04:00
Fedora Release Engineering
6862bdcabe Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 18:47:48 +00:00
Tom Callaway
0a419528f8 1.31.0 2024-07-01 10:20:34 -04:00
Tom Callaway
d7274882cc update to 1.30.0 2024-06-10 11:47:43 -04:00
Tom Callaway
389cd93e33 1.28.1 2024-03-31 10:59:14 -04:00
Tom Callaway
ed0d4b3b7b 1.28.0 2024-03-29 12:03:37 -04:00
Fedora Release Engineering
41a1a5d6ec Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 01:02:40 +00:00
Fedora Release Engineering
1d010f8896 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:53:44 +00:00
Tom Callaway
8a9a3bfaf2 1.25.0 2024-01-10 10:14:55 -05:00
Tom Callaway
80a06f28c9 1.22.1 2023-11-21 09:55:33 -05:00
Tom Callaway
36c6ef2277 1.21.0 2023-11-05 09:39:39 -05:00
Tom Callaway
e65adb586d 1.19.1 2023-05-24 08:59:00 -04:00
Tom Callaway
41a6dcd730 update to 1.19.0, fixes CVE-2022-4904 2023-02-20 09:06:29 -05:00
Fedora Release Engineering
361ea59227 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 23:21:24 +00:00
Fedora Release Engineering
6b7a827d83 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:26:09 +00:00
Fedora Release Engineering
cce3641867 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:45:31 +00:00
Tom spot Callaway
b4df9ed533 update to 1.17.2, fixes multiple security issues including CVE-2021-3672 2021-08-16 15:18:46 -04:00
Fedora Release Engineering
b6baca863d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:01:40 +00:00
Fedora Release Engineering
3f5ea31b1d - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:04:23 +00:00
Fedora Release Engineering
503688dbdc - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:32:08 +00:00
Tom Stellard
b53e2416a7 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-19 05:11:40 +00:00
Tom spot Callaway
fcb6e5afb0 1.17.1 2020-11-20 10:50:14 -05:00
Tom spot Callaway
bf057fcd81 update to 1.17.0 2020-11-17 10:54:33 -05:00
Fedora Release Engineering
ab3b24b570 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:32:32 +00:00
Tom Stellard
147e0a6b27 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-13 18:43:56 +00:00
Igor Raits
bcd0dbcad6
Improve compatibility with new CMake macro
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
2020-07-04 20:46:12 +02:00
Tom Callaway
28dc2c4b1f 1.16.1 2020-05-11 15:32:55 -04:00
Tom Callaway
228acfd157 1.16.0 2020-03-13 09:44:12 -04:00
Fedora Release Engineering
e3709186be - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 13:29:19 +00:00
Fedora Release Engineering
e11b95a98d - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:45:25 +00:00
Tom Callaway
e3d358eca4 add BR:gcc 2019-03-12 14:51:43 -04:00
Tom Callaway
4f75e1c62e switch to cmake so we get cmake helper files, bz1687844 2019-03-12 14:13:10 -04:00
Fedora Release Engineering
a9edfcee9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 15:06:15 +00:00
Igor Gnatenko
4eb0ca36e1 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:57 +01:00
Igor Gnatenko
f9802fee51
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:38:34 +01:00
Jakub Hrozek
ee20716e13 Update to the latest upstream 2018-11-13 08:25:42 +01:00
Jakub Hrozek
75fce61909 Update to the latest upstream
Resolves: rhbz#1624499 - RFE: New c-ares release 1.14.0 available
2018-09-03 10:04:49 +02:00
6 changed files with 222 additions and 58 deletions

21
.gitignore vendored
View file

@ -7,3 +7,24 @@ c-ares-1.7.3.tar.gz
/c-ares-1.11.0.tar.gz
/c-ares-1.12.0.tar.gz
/c-ares-1.13.0.tar.gz
/c-ares-1.14.0.tar.gz
/c-ares-1.15.0.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

@ -1,30 +0,0 @@
diff -up c-ares-1.10.0/ares_build.h.in.multilib c-ares-1.10.0/ares_build.h.in
--- c-ares-1.10.0/ares_build.h.in.multilib 2013-05-13 11:40:22.697814087 +0200
+++ c-ares-1.10.0/ares_build.h.in 2013-05-13 11:40:26.236813966 +0200
@@ -96,7 +96,14 @@
#endif
/* The size of `long', as computed by sizeof. */
-#undef CARES_SIZEOF_LONG
+#include <bits/wordsize.h>
+#if __WORDSIZE == 32
+#define CARES_SIZEOF_LONG 4
+#elif __WORDSIZE == 64
+#define CARES_SIZEOF_LONG 8
+#else
+#error "Unknown word size"
+#endif
/* Integral data type used for ares_socklen_t. */
#undef CARES_TYPEOF_ARES_SOCKLEN_T
diff -up c-ares-1.10.0/configure.ac.multilib c-ares-1.10.0/configure.ac
--- c-ares-1.10.0/configure.ac.multilib 2013-05-13 11:41:00.480812797 +0200
+++ c-ares-1.10.0/configure.ac 2013-05-13 11:41:17.210812226 +0200
@@ -457,7 +457,6 @@ AC_CHECK_SIZEOF(size_t)
AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(short)
-CARES_CONFIGURE_LONG
AC_CHECK_SIZEOF(time_t)
AC_CHECK_TYPE(long long,

21
c-ares-config.cmake.in Normal file
View file

@ -0,0 +1,21 @@
@PACKAGE_INIT@
set_and_check(c-ares_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
include("${CMAKE_CURRENT_LIST_DIR}/c-ares-config-version.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/c-ares-targets.cmake")
set(c-ares_LIBRARY c-ares::cares)
if(@CARES_SHARED@)
add_library(c-ares::cares_shared INTERFACE IMPORTED)
set_target_properties(c-ares::cares_shared PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares")
set(c-ares_SHARED_LIBRARY c-ares::cares_shared)
elseif(@CARES_STATIC@)
add_library(c-ares::cares_static INTERFACE IMPORTED)
set_target_properties(c-ares::cares_static PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares")
endif()
if(@CARES_STATIC@)
set(c-ares_STATIC_LIBRARY c-ares::cares_static)
endif()

View file

@ -1,73 +1,205 @@
%global use_cmake 1
Summary: A library that performs asynchronous DNS operations
Name: c-ares
Version: 1.13.0
Release: 5%{?dist}
Version: 1.34.6
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
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
Patch1: c-ares-1.10.0-multilib.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
%else
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
Summary: Development files for c-ares
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains the header files and libraries needed to
compile applications or shared objects that use c-ares.
%prep
%setup -q
%patch0 -p1 -b .optflags
#%patch1 -p1 -b .multilib
%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} -DCARES_BUILD_TOOLS:BOOL=OFF
%cmake_build
%else
autoreconf -if
%configure --enable-shared --disable-static \
--disable-dependency-tracking
%{__make} %{?_smp_mflags}
%endif
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%if %{use_cmake}
%cmake_install
%else
%make_install
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%doc README.cares CHANGES NEWS LICENSE
%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}
%{_libdir}/cmake/c-ares/
%endif
%{_libdir}/pkgconfig/libcares.pc
%{_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
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1.16.1-2
- Use make macros
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
* Mon May 11 2020 Tom Callaway <spot@fedoraproject.org> - 1.16.1-1
- update to 1.16.1
* Fri Mar 13 2020 Tom Callaway <spot@fedoraproject.org> - 1.16.0-1
- update to 1.16.0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Mar 12 2019 Tom Callaway <spot@fedoraproject.org> - 1.15.0-3
- use cmake to build so we get cmake helpers (bz1687844)
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Nov 13 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.16.0-1
- Update to the latest upstream
* Mon Sep 3 2018 Jakub Hrozek <jhrozek@redhat.com> - 1.14.0-1
- Update to the latest upstream
- Resolves: rhbz#1624499 - RFE: New c-ares release 1.14.0 available
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

20
libcares.pc.cmake Normal file
View file

@ -0,0 +1,20 @@
#***************************************************************************
# Project ___ __ _ _ __ ___ ___
# / __|____ / _` | '__/ _ \/ __|
# | (_|_____| (_| | | | __/\__ \
# \___| \__,_|_| \___||___/
#
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}/@CMAKE_INSTALL_BINDIR@
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
Name: c-ares
URL: https://c-ares.haxx.se/
Description: asynchronous DNS lookup library
Version: @CARES_VERSION@
Requires:
Requires.private:
Cflags: -I${includedir} @CPPFLAG_CARES_STATICLIB@
Libs: -L${libdir} -lcares
Libs.private: @CARES_PRIVATE_LIBS@

View file

@ -1 +1 @@
SHA512 (c-ares-1.13.0.tar.gz) = 4a7942e754673f5b8d55a7471e31b0f390e8324b14c12077580c956147fad4d165c7fe8a3190199b1add95c710ceeb1a7957706d4f0d6299d39c5dddc719bd9d
SHA512 (c-ares-1.34.6.tar.gz) = 826eecdb40942caf75da982b9ca57fbe7c3e7c23af43a908683c7c1523c46b06ebac68405c26db8bf4c8b0774ca415666866249a3bde663a71c278f4ec7b1827