Hello community, here is the log from the commit of package libcares2 for openSUSE:Factory checked in at 2016-06-13 21:51:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcares2 (Old) and /work/SRC/openSUSE:Factory/.libcares2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcares2" Changes: -------- --- /work/SRC/openSUSE:Factory/libcares2/libcares2.changes 2014-11-24 11:11:12.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libcares2.new/libcares2.changes 2016-06-13 21:51:30.000000000 +0200 @@ -1,0 +2,13 @@ +Thu Jun 9 20:41:26 UTC 2016 - [email protected] + +- update to 1.11.0: + * Allow multiple -s options to the ahost command + * api: Expose the ares_library_initialized() function + * api: Add ares_set_sortlist(3) entrypoint + * api: Add entrypoints to allow use of per-server ports + * api: introduce `ares_parse_txt_reply_ext` + * api: Add ares_set_socket_configure_callback() + * Add -t u option to ahost + * collection of bug fixes + +------------------------------------------------------------------- Old: ---- c-ares-1.10.0.tar.gz c-ares-1.10.0.tar.gz.asc New: ---- c-ares-1.11.0.tar.gz c-ares-1.11.0.tar.gz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcares2.spec ++++++ --- /var/tmp/diff_new_pack.jqLxhM/_old 2016-06-13 21:51:31.000000000 +0200 +++ /var/tmp/diff_new_pack.jqLxhM/_new 2016-06-13 21:51:31.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libcares2 # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -18,7 +18,7 @@ %define pkg_name c-ares Name: libcares2 -Version: 1.10.0 +Version: 1.11.0 Release: 0 Summary: Library for asynchronous name resolves License: MIT @@ -32,8 +32,9 @@ Patch1: 0001-Use-RPM-compiler-options.patch BuildRequires: autoconf BuildRequires: automake +BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -72,11 +73,13 @@ make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make %{?_smp_mflags} DESTDIR=%{buildroot} install find %{buildroot} -type f -name "*.la" -delete -print -%post -p /sbin/ldconfig +%check +make %{?_smp_mflags} check +%post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files ++++++ c-ares-1.10.0.tar.gz -> c-ares-1.11.0.tar.gz ++++++ ++++ 65919 lines of diff (skipped) ++++++ cares-1.9.1-ocloexec.patch ++++++ --- /var/tmp/diff_new_pack.jqLxhM/_old 2016-06-13 21:51:32.000000000 +0200 +++ /var/tmp/diff_new_pack.jqLxhM/_new 2016-06-13 21:51:32.000000000 +0200 @@ -1,8 +1,8 @@ -diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c -index 4b4c8a7..6896a91 100644 ---- a/ares_gethostbyaddr.c -+++ b/ares_gethostbyaddr.c -@@ -222,7 +222,7 @@ static int file_lookup(struct ares_addr *addr, struct hostent **host) +Index: c-ares-1.11.0/ares_gethostbyaddr.c +=================================================================== +--- c-ares-1.11.0.orig/ares_gethostbyaddr.c ++++ c-ares-1.11.0/ares_gethostbyaddr.c +@@ -215,7 +215,7 @@ static int file_lookup(struct ares_addr return ARES_ENOTFOUND; #endif @@ -11,11 +11,11 @@ if (!fp) { error = ERRNO; -diff --git a/ares_gethostbyname.c b/ares_gethostbyname.c -index 4869402..bfc54b6 100644 ---- a/ares_gethostbyname.c -+++ b/ares_gethostbyname.c -@@ -380,7 +380,7 @@ static int file_lookup(const char *name, int family, struct hostent **host) +Index: c-ares-1.11.0/ares_gethostbyname.c +=================================================================== +--- c-ares-1.11.0.orig/ares_gethostbyname.c ++++ c-ares-1.11.0/ares_gethostbyname.c +@@ -376,7 +376,7 @@ static int file_lookup(const char *name, return ARES_ENOTFOUND; #endif @@ -24,20 +24,20 @@ if (!fp) { error = ERRNO; -diff --git a/ares_init.c b/ares_init.c -index 0c1d545..b9b9508 100644 ---- a/ares_init.c -+++ b/ares_init.c -@@ -1173,7 +1173,7 @@ - if (ARES_CONFIG_CHECK(channel)) - return ARES_SUCCESS; +Index: c-ares-1.11.0/ares_init.c +=================================================================== +--- c-ares-1.11.0.orig/ares_init.c ++++ c-ares-1.11.0/ares_init.c +@@ -1262,7 +1262,7 @@ static int init_by_resolv_conf(ares_chan + /* Only update search domains if they're not already specified */ + update_domains = (channel->ndomains == -1); - fp = fopen(PATH_RESOLV_CONF, "r"); + fp = fopen(PATH_RESOLV_CONF, "re"); if (fp) { while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) { -@@ -1215,7 +1215,7 @@ +@@ -1304,7 +1304,7 @@ static int init_by_resolv_conf(ares_chan if ((status == ARES_EOF) && (!channel->lookups)) { /* Many systems (Solaris, Linux, BSD's) use nsswitch.conf */ @@ -46,7 +46,7 @@ if (fp) { while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) -@@ -1245,7 +1245,7 @@ +@@ -1334,7 +1334,7 @@ static int init_by_resolv_conf(ares_chan if ((status == ARES_EOF) && (!channel->lookups)) { /* Linux / GNU libc 2.x and possibly others have host.conf */ @@ -55,7 +55,7 @@ if (fp) { while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) -@@ -1275,7 +1275,7 @@ +@@ -1365,7 +1365,7 @@ static int init_by_resolv_conf(ares_chan if ((status == ARES_EOF) && (!channel->lookups)) { /* Tru64 uses /etc/svc.conf */ @@ -64,7 +64,7 @@ if (fp) { while ((status = ares__read_line(fp, &line, &linesize)) == ARES_SUCCESS) -@@ -1908,7 +1908,7 @@ +@@ -2018,7 +2018,7 @@ static void randomize_key(unsigned char* } #else /* !WIN32 */ #ifdef RANDOM_FILE @@ -73,20 +73,20 @@ if(f) { counter = aresx_uztosi(fread(key, 1, key_data_len, f)); fclose(f); -diff --git a/ares_process.c b/ares_process.c -index 5de1ae6..1b85640 100644 ---- a/ares_process.c -+++ b/ares_process.c -@@ -877,7 +877,7 @@ +Index: c-ares-1.11.0/ares_process.c +=================================================================== +--- c-ares-1.11.0.orig/ares_process.c ++++ c-ares-1.11.0/ares_process.c +@@ -907,7 +907,7 @@ static int configure_socket(ares_socket_ - setsocknonblock(s, TRUE); + (void)setsocknonblock(s, TRUE); -#if defined(FD_CLOEXEC) && !defined(MSDOS) +#if !defined(SOCK_CLOEXEC) && defined(FD_CLOEXEC) && !defined(MSDOS) /* Configure the socket fd as close-on-exec. */ if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1) - return -1; -@@ -964,7 +964,7 @@ + return -1; /* LCOV_EXCL_LINE */ +@@ -1004,7 +1004,7 @@ static int open_tcp_socket(ares_channel } /* Acquire a socket. */ @@ -95,7 +95,7 @@ if (s == ARES_SOCKET_BAD) return -1; -@@ -1056,7 +1056,7 @@ +@@ -1115,7 +1115,7 @@ static int open_udp_socket(ares_channel } /* Acquire a socket. */ @@ -104,11 +104,11 @@ if (s == ARES_SOCKET_BAD) return -1; -diff --git a/ares_search.c b/ares_search.c -index 1877c19..387a16f 100644 ---- a/ares_search.c -+++ b/ares_search.c -@@ -256,7 +256,7 @@ static int single_domain(ares_channel channel, const char *name, char **s) +Index: c-ares-1.11.0/ares_search.c +=================================================================== +--- c-ares-1.11.0.orig/ares_search.c ++++ c-ares-1.11.0/ares_search.c +@@ -251,7 +251,7 @@ STATIC_TESTABLE int single_domain(ares_c hostaliases = getenv("HOSTALIASES"); if (hostaliases) {
