commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2020-09-14 12:11:40 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new.4249 (New) Package is "c-ares" Mon Sep 14 12:11:40 2020 rev:9 rq:833686 version:1.16.1 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2020-07-15 11:12:43.752865830 +0200 +++ /work/SRC/openSUSE:Factory/.c-ares.new.4249/c-ares.changes 2020-09-14 12:13:44.052265716 +0200 @@ -1,0 +2,13 @@ +Fri Sep 11 07:54:10 UTC 2020 - Tomáš Chvátal + +- simplify conditions bit to make it tad more readable + +--- +Thu Sep 10 01:31:11 UTC 2020 - Atri Bhattacharya + +- Implement multibuild specfile to split out tests into its own + flavor; this way we can build and run tests, which require + static lib, as well as avoid packaging the latter without issues + with the installed cmake file.. + +--- New: _multibuild Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.PE5Oac/_old 2020-09-14 12:13:48.592270354 +0200 +++ /var/tmp/diff_new_pack.PE5Oac/_new 2020-09-14 12:13:48.596270359 +0200 @@ -16,17 +16,25 @@ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "tests" +%define psuffix -tests +%bcond_without tests +%else +%bcond_with tests +%endif +%define pname c-ares %define sonum 2 %define libname libcares%{sonum} -Name: c-ares +Name: %{pname}%{?psuffix} Version:1.16.1 Release:0 Summary:Library for asynchronous name resolves License:MIT URL:https://c-ares.haxx.se/ -Source0:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz -Source1:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc -Source3:%{name}.keyring +Source0:http://c-ares.haxx.se/download/%{pname}-%{version}.tar.gz +Source1:http://c-ares.haxx.se/download/%{pname}-%{version}.tar.gz.asc +Source3:%{pname}.keyring Source4:baselibs.conf Patch0: 0001-Use-RPM-compiler-options.patch Patch1: disable-live-tests.patch @@ -80,7 +88,7 @@ to build packages that depend on c-ares. %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 -n %{pname}-%{version} # Remove bogus cflags checking sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac @@ -91,23 +99,32 @@ -DCARES_STATIC:BOOL=OFF \ -DCARES_SHARED:BOOL=ON \ -DCARES_INSTALL:BOOL=ON \ +-DCARES_BUILD_TOOLS:BOOL=ON \ +%if %{with tests} +-DCARES_STATIC:BOOL=ON \ -DCARES_BUILD_TESTS:BOOL=ON \ --DCARES_BUILD_TOOLS:BOOL=ON -%make_build +%endif +%{nil} +%cmake_build %install +%if !%{with tests} %cmake_install install -m 644 -Dt %{buildroot}%{_mandir}/man1/ *.1 install -m 644 -Dt %{buildroot}%{_mandir}/man3/ *.3 # Tests require static lib so lets remove it so it does not get in package find %{buildroot} -type f \( -name "*.la" -o -name "*.a" \) -delete -print +%endif +%if %{with tests} %check pushd build %make_build -C test export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./lib ./bin/arestest +%endif +%if !%{with tests} %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig @@ -131,5 +148,6 @@ %{_mandir}/man3/ares_*.3%{?ext_man} %{_libdir}/pkgconfig/libcares.pc %{_libdir}/cmake/c-ares/ +%endif %changelog ++ _multibuild ++ tests
commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2020-07-15 11:12:37 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new.3060 (New) Package is "c-ares" Wed Jul 15 11:12:37 2020 rev:8 rq:819671 version:1.16.1 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2020-02-14 16:36:01.419540570 +0100 +++ /work/SRC/openSUSE:Factory/.c-ares.new.3060/c-ares.changes 2020-07-15 11:12:43.752865830 +0200 @@ -1,0 +2,55 @@ +Wed Jul 8 20:35:17 UTC 2020 - Matthias Eliasson + +- Version update to 1.16.1 + Security: + * Prevent possible use-after-free and double-free in ares_getaddrinfo() if +ares_destroy() is called prior to ares_getaddrinfo() completing. + Reported by Jann Horn at Google Project Zero. + Changes: + * Allow TXT records on CHAOS qclass. Used for retriving things like +version.bind, version.server, authoris.bind, hostname.bind, and id.server. [3] + Bug fixes: + * Fix Windows Unicode incompatibilities with ares_getaddrinfo() [1] + * Silence false cast-align compiler warnings due to valid casts of struct +sockaddr to struct sockaddr_in and struct sockaddr_in6. + * MacOS should use libresolv for retrieving DNS servers, like iOS + * CMake build system should populate the INCLUDE_DIRECTORIES property of +installed targets [2] + * Correct macros in use for the ares_getaddrinfo.3 man page +- Changes in version 1.16.0 + Changes: + * Introduction of ares_getaddrinfo() API which provides similar output +(including proper sorting as per RFC 6724) to the system native API, but + utilizes different data structures in order to provide additional + information such as TTLs and all aliases. Please reference the respective + man pages for usage details. + * Parse SOA records from ns_t_any response + * CMake: Provide c-ares version in package export file + * CMake: Add CPACK functionality for DEB and RPM + * CMake: Generate PDB files during build + * CMake: Support manpage installation + Bug fixes: + * Fix bad expectation in IPv6 localhost test. + * AutoTools: use XC_CHECK_BUILD_FLAGS instead of XC_CHECK_USER_FLAGS to +prevent complaints about CPPFLAGS in CFLAGS. + * Fix .onion handling + * Command line usage was out of date for adig and ahost. + * Typos in manpages + * If ares_getenv is defined, it must return a value on all platforms + * If /etc/resolv.conf has invalid lookup values, use the defaults. + * Tests: Separate live tests from SetServers* tests as only live tests +should require internet access. + * ares_gethostbyname() should return ENODATA if no valid A or record +is found, but a CNAME was found. + * CMake: Rework library function checking to prevent unintended linking +with system libraries that aren't needed. + * Due to use of inet_addr() it was not possible to return 255.255.255.255 +from ares_gethostbyname(). + * CMake: Fix building of tests on Windows +- Drop regression.patch which have been fixed upstream +- Refresh disable-live-tests.patch +- Remove static lib since its required when doing tests and we dont want it + included in package +- Run spec-cleaner + +--- Old: c-ares-1.15.0-20200117.tar.gz regression.patch New: c-ares-1.16.1.tar.gz c-ares-1.16.1.tar.gz.asc Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.h0IqXv/_old 2020-07-15 11:12:45.360867494 +0200 +++ /var/tmp/diff_new_pack.h0IqXv/_new 2020-07-15 11:12:45.360867494 +0200 @@ -1,7 +1,7 @@ # # spec file for package c-ares # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,18 @@ %define sonum 2 %define libname libcares%{sonum} -%define realver 1.15.0-20200117 Name: c-ares -Version:1.15.0+20200117 +Version:1.16.1 Release:0 Summary:Library for asynchronous name resolves License:MIT URL:https://c-ares.haxx.se/ -#Source0:https://c-ares.haxx.se/daily-snapshot/c-ares-%{realver}.tar.gz -Source0:c-ares-%{realver}.tar.gz -#Source0:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz -#Source1:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc +Source0:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz +Source1:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc Source3:%{name}.keyring Source4:baselibs.conf
commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2020-02-14 16:35:48 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new.26092 (New) Package is "c-ares" Fri Feb 14 16:35:48 2020 rev:7 rq:770034 version:1.15.0+20200117 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2019-11-18 20:06:05.217722574 +0100 +++ /work/SRC/openSUSE:Factory/.c-ares.new.26092/c-ares.changes 2020-02-14 16:36:01.419540570 +0100 @@ -1,0 +2,23 @@ +Mon Feb 3 15:17:24 UTC 2020 - Adam Majer + +- Upgrade to latest snapshot from 2020-01-17 +- disable-live-tests.patch: refreshed +- regression.patch: fix a regression in DNS results that contain + both A and answers. + +--- +Tue Jan 28 15:52:23 UTC 2020 - Michał Rostecki + +- Add netcfg as the build requirement and runtime requirement. + ares_getaddrinfo function uses the getservbyport_r function which + requires the /etc/services file to function properly. That config + file is provided by the netcfg package. Unit tests rely on it + too, hence it has to be a build dependency as well. + +--- +Mon Jan 6 17:54:05 UTC 2020 - Todd R + +- Switch to cmake-based build. + Some packages need the cmake build files. + +--- Old: c-ares-1.15.0-20191108.tar.gz New: c-ares-1.15.0-20200117.tar.gz regression.patch Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.3u5nda/_old 2020-02-14 16:36:03.951541982 +0100 +++ /var/tmp/diff_new_pack.3u5nda/_new 2020-02-14 16:36:03.955541984 +0100 @@ -1,7 +1,7 @@ # # spec file for package c-ares # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,14 @@ # -%define libname libcares2 -%define realver 1.15.0-20191108 +%define sonum 2 +%define libname libcares%{sonum} +%define realver 1.15.0-20200117 Name: c-ares -Version:1.15.0+20191108 +Version:1.15.0+20200117 Release:0 Summary:Library for asynchronous name resolves License:MIT -Group: Development/Libraries/C and C++ URL:https://c-ares.haxx.se/ #Source0:https://c-ares.haxx.se/daily-snapshot/c-ares-%{realver}.tar.gz Source0:c-ares-%{realver}.tar.gz @@ -33,10 +33,12 @@ Source4:baselibs.conf Patch0: 0001-Use-RPM-compiler-options.patch Patch1: disable-live-tests.patch -BuildRequires: autoconf -BuildRequires: automake +Patch2: regression.patch +BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libtool +# Needed for getservbyport_r function to work properly. +BuildRequires: netcfg BuildRequires: pkgconfig %description @@ -44,18 +46,32 @@ asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT. +%packageutils +Summary:Tools for asynchronous name resolves + +%descriptionutils +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. + +This package provides some tools that make use of c-ares. + + %package -n %{libname} Summary:Library for asynchronous name resolves -Group: System/Libraries +# Needed for getservbyport_r function to work properly. +Requires: netcfg %description -n %{libname} 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. +This package provides the shared libraries for c-ares. + + %package devel -Summary:Library for asynchronous name resolves -Group: Development/Libraries/C and C++ +Summary:Development files for %{name} Requires: %{libname} = %{version} Requires: glibc-devel Provides: libcares-devel = %{version} @@ -66,6 +82,10 @@ asynchronously. c-ares is a fork of the library named 'ares', written by Greg Hudson at MIT. +This package provides the development libraries and headers needed +to build packages that depend on c-ares. + + %prep %autosetup -p1 -n %{name}-%{realver} @@ -74,35 +94,48 @@ sed -i -e '/XC_CHECK_USER_FLAGS/d' m4/xc-cc-check.m4 %build -autoreconf -fiv -%configure \ - --disable-silent-rules \ - --enable-symbol-hiding \ - --enable-nonblocking \ -
commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2019-11-18 20:05:57 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new.26869 (New) Package is "c-ares" Mon Nov 18 20:05:57 2019 rev:6 rq:748803 version:1.15.0+20191108 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2019-11-10 22:34:38.188872453 +0100 +++ /work/SRC/openSUSE:Factory/.c-ares.new.26869/c-ares.changes 2019-11-18 20:06:05.217722574 +0100 @@ -1,0 +2,6 @@ +Fri Nov 15 07:59:27 UTC 2019 - Tomáš Chvátal + +- Fix version number of the snapshot to not be downgrade: + bsc#1156601 + +--- Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.dmY18r/_old 2019-11-18 20:06:05.969722196 +0100 +++ /var/tmp/diff_new_pack.dmY18r/_new 2019-11-18 20:06:05.973722194 +0100 @@ -1,7 +1,7 @@ # # spec file for package c-ares # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,22 @@ %define libname libcares2 +%define realver 1.15.0-20191108 Name: c-ares -Version:1.15.0~20191108 +Version:1.15.0+20191108 Release:0 Summary:Library for asynchronous name resolves License:MIT Group: Development/Libraries/C and C++ -URL:http://c-ares.haxx.se/ -#Source0: https://c-ares.haxx.se/daily-snapshot/c-ares-1.15.0-20191108.tar.gz -Source0:c-ares-1.15.0-20191108.tar.gz +URL:https://c-ares.haxx.se/ +#Source0:https://c-ares.haxx.se/daily-snapshot/c-ares-%{realver}.tar.gz +Source0:c-ares-%{realver}.tar.gz #Source0:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz #Source1:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc Source3:%{name}.keyring Source4:baselibs.conf Patch0: 0001-Use-RPM-compiler-options.patch Patch1: disable-live-tests.patch -# PATCH-FIX-OPENSUSE 0010-Disable-failing-test.patch -#Patch12:0010-Disable-failing-test.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -68,7 +67,7 @@ by Greg Hudson at MIT. %prep -%autosetup -p1 -n c-ares-1.15.0-20191108 +%autosetup -p1 -n %{name}-%{realver} # Remove bogus cflags checking sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac
commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2019-11-10 22:34:34 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new.2990 (New) Package is "c-ares" Sun Nov 10 22:34:34 2019 rev:5 rq:746644 version:1.15.0~20191108 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2019-10-28 16:46:11.616687690 +0100 +++ /work/SRC/openSUSE:Factory/.c-ares.new.2990/c-ares.changes 2019-11-10 22:34:38.188872453 +0100 @@ -1,0 +2,22 @@ +Fri Nov 8 11:16:29 UTC 2019 - Adam Majer + +- Update to upstream snapshot 20191108 + * getaddrinfo - avoid infinite loop in case of NXDOMAIN + * ares_getenv - return NULL in all cases + * implement ares_getaddrinfo + +- onion-crash.patch: removed, upstreamed. +- removed upstream patches that are part of the snapshot: + 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch + 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch + 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch + 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch + 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch + 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch + 0007-getaddrinfo-enhancements-257.patch + 0008-Add-missing-limits.h-include-from-ares_getaddrinfo.c.patch + 0009-Increase-portability-of-ares-test-mock-ai.cc-235.patch + 0010-Disable-failing-test.patch +- disable-live-tests.patch - updated + +--- Old: 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch 0007-getaddrinfo-enhancements-257.patch 0008-Add-missing-limits.h-include-from-ares_getaddrinfo.c.patch 0009-Increase-portability-of-ares-test-mock-ai.cc-235.patch 0010-Disable-failing-test.patch c-ares-1.15.0.tar.gz c-ares-1.15.0.tar.gz.asc onion-crash.patch New: c-ares-1.15.0-20191108.tar.gz Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.8ktnDD/_old 2019-11-10 22:34:40.308875204 +0100 +++ /var/tmp/diff_new_pack.8ktnDD/_new 2019-11-10 22:34:40.308875204 +0100 @@ -18,39 +18,22 @@ %define libname libcares2 Name: c-ares -Version:1.15.0 +Version:1.15.0~20191108 Release:0 Summary:Library for asynchronous name resolves License:MIT Group: Development/Libraries/C and C++ URL:http://c-ares.haxx.se/ -Source0:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz -Source1:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc +#Source0: https://c-ares.haxx.se/daily-snapshot/c-ares-1.15.0-20191108.tar.gz +Source0:c-ares-1.15.0-20191108.tar.gz +#Source0:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz +#Source1:http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz.asc Source3:%{name}.keyring Source4:baselibs.conf Patch0: 0001-Use-RPM-compiler-options.patch Patch1: disable-live-tests.patch -Patch2: onion-crash.patch -# PATCH-FEATURE-UPSTREAM 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch -Patch3: 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch -# PATCH-FEATURE-UPSTREAM 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch -Patch4: 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch -# PATCH-FEATURE-UPSTREAM 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch -Patch5: 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch -# PATCH-FEATURE-UPSTREAM 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch -Patch6: 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch -# PATCH-FEATURE-UPSTREAM 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch -Patch7: 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch -# PATCH-FEATURE-UPSTREAM 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch -Patch8: 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch -# PATCH-FEATURE-UPSTREAM 0007-getaddrinfo-enhancements-257.patch -Patch9: 0007-getaddrinfo-enhancements-257.patch -# PATCH-FEATURE-UPSTREAM 0008-Add-missing-limits.h-include-from-ares_getaddrinfo.c.patch -Patch10:
commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2019-10-28 16:46:11 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new.2990 (New) Package is "c-ares" Mon Oct 28 16:46:11 2019 rev:4 rq:742209 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2019-02-24 17:06:50.956581897 +0100 +++ /work/SRC/openSUSE:Factory/.c-ares.new.2990/c-ares.changes 2019-10-28 16:46:11.616687690 +0100 @@ -1,0 +2,17 @@ +Wed Oct 23 15:11:27 UTC 2019 - Michał Rostecki + +- Add upstream patches with the ares_getaddrinfo function: + * 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch + * 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch + * 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch + * 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch + * 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch + * 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch + * 0007-getaddrinfo-enhancements-257.patch + * 0008-Add-missing-limits.h-include-from-ares_getaddrinfo.c.patch + * 0009-Increase-portability-of-ares-test-mock-ai.cc-235.patch +- Add a patch which disables test failing on OBS (but passing in + local environment): + * 0010-Disable-failing-test.patch + +--- New: 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch 0007-getaddrinfo-enhancements-257.patch 0008-Add-missing-limits.h-include-from-ares_getaddrinfo.c.patch 0009-Increase-portability-of-ares-test-mock-ai.cc-235.patch 0010-Disable-failing-test.patch Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.SFpi0Z/_old 2019-10-28 16:46:12.968689411 +0100 +++ /var/tmp/diff_new_pack.SFpi0Z/_new 2019-10-28 16:46:13.000689451 +0100 @@ -31,6 +31,26 @@ Patch0: 0001-Use-RPM-compiler-options.patch Patch1: disable-live-tests.patch Patch2: onion-crash.patch +# PATCH-FEATURE-UPSTREAM 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch +Patch3: 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch +# PATCH-FEATURE-UPSTREAM 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch +Patch4: 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch +# PATCH-FEATURE-UPSTREAM 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch +Patch5: 0003-Bugfix-for-ares_getaddrinfo-and-additional-unit-test.patch +# PATCH-FEATURE-UPSTREAM 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch +Patch6: 0004-Add-ares__sortaddrinfo-to-support-getaddrinfo-sorted.patch +# PATCH-FEATURE-UPSTREAM 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch +Patch7: 0005-getaddrinfo-avoid-infinite-loop-in-case-of-NXDOMAIN-.patch +# PATCH-FEATURE-UPSTREAM 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch +Patch8: 0006-getaddrinfo-callback-must-be-called-on-bad-domain-24.patch +# PATCH-FEATURE-UPSTREAM 0007-getaddrinfo-enhancements-257.patch +Patch9: 0007-getaddrinfo-enhancements-257.patch +# PATCH-FEATURE-UPSTREAM 0008-Add-missing-limits.h-include-from-ares_getaddrinfo.c.patch +Patch10:0008-Add-missing-limits.h-include-from-ares_getaddrinfo.c.patch +# PATCH-FEATURE-UPSTREAM 0009-Increase-portability-of-ares-test-mock-ai.cc-235.patch +Patch11:0009-Increase-portability-of-ares-test-mock-ai.cc-235.patch +# PATCH-FIX-OPENSUSE 0010-Disable-failing-test.patch +Patch12:0010-Disable-failing-test.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -65,10 +85,7 @@ by Greg Hudson at MIT. %prep -%setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 # Remove bogus cflags checking sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac ++ 0001-Add-initial-implementation-for-ares_getaddrinfo-112.patch ++ 1189 lines (skipped) ++ 0002-Remaining-queries-counter-fix-additional-unit-tests-.patch ++ >From 6697ef495521ffd80386b6ccf162db286b36375f Mon Sep 17 00:00:00 2001 From: Christian Ammer Date: Sun, 11 Nov 2018 23:25:38 +0100 Subject: [PATCH 02/10] Remaining queries counter fix, additional unit tests for `ares_getaddrinfo` (#233) Remaining queries counter fix, added tests (ParallelLookups,
commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2019-02-24 17:06:46 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new.28833 (New) Package is "c-ares" Sun Feb 24 17:06:46 2019 rev:3 rq:674654 version:1.15.0 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2018-03-01 12:06:59.375862506 +0100 +++ /work/SRC/openSUSE:Factory/.c-ares.new.28833/c-ares.changes 2019-02-24 17:06:50.956581897 +0100 @@ -1,0 +2,16 @@ +Wed Feb 13 15:44:18 UTC 2019 - adam.ma...@suse.de + +- Version update to 1.15.0: + * Add ares_init_options() configurability for path to resolv.conf file + * Ability to exclude building of tools (adig, ahost, acountry) in CMake + * Report ARES_ENOTFOUND for .onion domain names as per RFC7686 +(bsc#1125306) + * Apply the IPv6 server blacklist to all nameserver sources + * Prevent changing name servers while queries are outstanding + * ares_set_servers_csv() on failure should not leave channel in a +bad state +- enable unit tests +- disable-live-tests.patch: disable tests to live servers +- onion-crash.patch: backport fix for a crash affecting .onion TLD + +--- Old: c-ares-1.14.0.tar.gz c-ares-1.14.0.tar.gz.asc New: c-ares-1.15.0.tar.gz c-ares-1.15.0.tar.gz.asc disable-live-tests.patch onion-crash.patch Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.IxuoaD/_old 2019-02-24 17:06:52.332581242 +0100 +++ /var/tmp/diff_new_pack.IxuoaD/_new 2019-02-24 17:06:52.336581240 +0100 @@ -1,7 +1,7 @@ # # spec file for package c-ares # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define libname libcares2 Name: c-ares -Version:1.14.0 +Version:1.15.0 Release:0 Summary:Library for asynchronous name resolves License:MIT @@ -29,6 +29,8 @@ Source3:%{name}.keyring Source4:baselibs.conf Patch0: 0001-Use-RPM-compiler-options.patch +Patch1: disable-live-tests.patch +Patch2: onion-crash.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -65,6 +67,8 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 # Remove bogus cflags checking sed -i -e '/XC_CHECK_BUILD_FLAGS/d' configure.ac @@ -77,9 +81,14 @@ --enable-symbol-hiding \ --enable-nonblocking \ --enable-shared \ - --disable-static + --disable-static \ + --enable-tests make %{?_smp_mflags} +%check +make -C test %{?_smp_mflags} +./test/arestest + %install %make_install find %{buildroot} -type f -name "*.la" -delete -print ++ c-ares-1.14.0.tar.gz -> c-ares-1.15.0.tar.gz ++ 7816 lines of diff (skipped) ++ disable-live-tests.patch ++ Index: c-ares-1.15.0/test/Makefile.inc === --- c-ares-1.15.0.orig/test/Makefile.inc +++ c-ares-1.15.0/test/Makefile.inc @@ -13,7 +13,6 @@ TESTSOURCES = ares-test-main.cc \ ares-test-parse-srv.cc \ ares-test-parse-txt.cc \ ares-test-misc.cc\ - ares-test-live.cc\ ares-test-mock.cc\ ares-test-internal.cc\ dns-proto.cc \ Index: c-ares-1.15.0/test/ares-test-misc.cc === --- c-ares-1.15.0.orig/test/ares-test-misc.cc +++ c-ares-1.15.0/test/ares-test-misc.cc @@ -47,10 +47,12 @@ TEST_F(DefaultChannelTest, SetServers) { EXPECT_EQ(expected, GetNameServers(channel_)); // Change not allowed while request is pending + /* HostResult result; ares_gethostbyname(channel_, "www.google.com.", AF_INET, HostCallback, ); EXPECT_EQ(ARES_ENOTIMP, ares_set_servers(channel_, )); ares_cancel(channel_); + */ } TEST_F(DefaultChannelTest, SetServersPorts) { @@ -77,10 +79,12 @@ TEST_F(DefaultChannelTest, SetServersPor EXPECT_EQ(expected, GetNameServers(channel_)); // Change not allowed while request is pending + /* HostResult result; ares_gethostbyname(channel_,
commit c-ares for openSUSE:Factory
Hello community, here is the log from the commit of package c-ares for openSUSE:Factory checked in at 2018-03-01 12:06:58 Comparing /work/SRC/openSUSE:Factory/c-ares (Old) and /work/SRC/openSUSE:Factory/.c-ares.new (New) Package is "c-ares" Thu Mar 1 12:06:58 2018 rev:2 rq:580631 version:1.14.0 Changes: --- /work/SRC/openSUSE:Factory/c-ares/c-ares.changes2018-02-20 17:58:30.195058699 +0100 +++ /work/SRC/openSUSE:Factory/.c-ares.new/c-ares.changes 2018-03-01 12:06:59.375862506 +0100 @@ -1,0 +2,5 @@ +Tue Feb 20 13:34:46 UTC 2018 - jeng...@inai.de + +- Remove ineffective --with-pic. + +--- Other differences: -- ++ c-ares.spec ++ --- /var/tmp/diff_new_pack.d7nHvf/_old 2018-03-01 12:06:59.979840828 +0100 +++ /var/tmp/diff_new_pack.d7nHvf/_new 2018-03-01 12:06:59.983840685 +0100 @@ -77,8 +77,7 @@ --enable-symbol-hiding \ --enable-nonblocking \ --enable-shared \ - --disable-static \ - --with-pic + --disable-static make %{?_smp_mflags} %install