pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/libcares libcares: updated to 1.16.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5d97f0436d1
branches:  trunk
changeset: 424644:c5d97f0436d1
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Mar 13 09:49:41 2020 +0000

description:
libcares: updated to 1.16.0

c-ares 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 AAAA 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

diffstat:

 net/libcares/Makefile                     |   5 ++---
 net/libcares/PLIST                        |  10 ++++++++--
 net/libcares/distinfo                     |  11 +++++------
 net/libcares/patches/patch-CMakeLists.txt |  14 --------------
 4 files changed, 15 insertions(+), 25 deletions(-)

diffs (88 lines):

diff -r 43cd1e72677d -r c5d97f0436d1 net/libcares/Makefile
--- a/net/libcares/Makefile     Fri Mar 13 09:37:45 2020 +0000
+++ b/net/libcares/Makefile     Fri Mar 13 09:49:41 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2019/05/31 08:09:41 adam Exp $
+# $NetBSD: Makefile,v 1.27 2020/03/13 09:49:41 adam Exp $
 
-DISTNAME=      c-ares-1.15.0
+DISTNAME=      c-ares-1.16.0
 PKGNAME=       ${DISTNAME:S/c-/libc/1}
-PKGREVISION=   1
 CATEGORIES=    net
 MASTER_SITES=  https://c-ares.haxx.se/download/
 
diff -r 43cd1e72677d -r c5d97f0436d1 net/libcares/PLIST
--- a/net/libcares/PLIST        Fri Mar 13 09:37:45 2020 +0000
+++ b/net/libcares/PLIST        Fri Mar 13 09:49:41 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2019/05/31 08:09:41 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2020/03/13 09:49:41 adam Exp $
 bin/acountry
 bin/adig
 bin/ahost
@@ -7,14 +7,18 @@
 include/ares_dns.h
 include/ares_rules.h
 include/ares_version.h
+lib/cmake/c-ares/c-ares-config-version.cmake
 lib/cmake/c-ares/c-ares-config.cmake
 lib/cmake/c-ares/c-ares-targets-noconfig.cmake
 lib/cmake/c-ares/c-ares-targets.cmake
 lib/libcares.so
 lib/libcares.so.2
-lib/libcares.so.2.3.0
+lib/libcares.so.2.4.0
 lib/libcares_static.a
 lib/pkgconfig/libcares.pc
+man/man1/acountry.1
+man/man1/adig.1
+man/man1/ahost.1
 man/man3/ares_cancel.3
 man/man3/ares_create_query.3
 man/man3/ares_destroy.3
@@ -26,8 +30,10 @@
 man/man3/ares_free_data.3
 man/man3/ares_free_hostent.3
 man/man3/ares_free_string.3
+man/man3/ares_freeaddrinfo.3
 man/man3/ares_get_servers.3
 man/man3/ares_get_servers_ports.3
+man/man3/ares_getaddrinfo.3
 man/man3/ares_gethostbyaddr.3
 man/man3/ares_gethostbyname.3
 man/man3/ares_gethostbyname_file.3
diff -r 43cd1e72677d -r c5d97f0436d1 net/libcares/distinfo
--- a/net/libcares/distinfo     Fri Mar 13 09:37:45 2020 +0000
+++ b/net/libcares/distinfo     Fri Mar 13 09:49:41 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.19 2019/05/31 08:11:39 adam Exp $
+$NetBSD: distinfo,v 1.20 2020/03/13 09:49:41 adam Exp $
 
-SHA1 (c-ares-1.15.0.tar.gz) = 74a50c02b7f051c4fb66c0f60f187350f196d908
-RMD160 (c-ares-1.15.0.tar.gz) = a819b9eec9864cca80bf9a2e0669d1ef4190bb91
-SHA512 (c-ares-1.15.0.tar.gz) = a1de6c5e7e1a6a13c926aae690e83d5caa51e7313d63da1cf2af6bc757c41d585aad5466bc3ba7b7f7793cb1748fa589f40972b196728851c8b059cfc8c3be50
-Size (c-ares-1.15.0.tar.gz) = 1347687 bytes
-SHA1 (patch-CMakeLists.txt) = c738eab60a4337267cf45fd9f22d0b771e5269ea
+SHA1 (c-ares-1.16.0.tar.gz) = b1f824cd7bffd3035aba58ddaa803259fd9df491
+RMD160 (c-ares-1.16.0.tar.gz) = daca1f5f40e81d768184ac58518a1a806fda38e8
+SHA512 (c-ares-1.16.0.tar.gz) = 9f5def3206d61682e66c2173b18a8dd76138e6eb53bfe06a5830408cce9a70895d2148be23064ff18e0fd25b4f4b2c3cfe77e040744cc80dcce6ffec3ea534a9
+Size (c-ares-1.16.0.tar.gz) = 1374180 bytes
diff -r 43cd1e72677d -r c5d97f0436d1 net/libcares/patches/patch-CMakeLists.txt
--- a/net/libcares/patches/patch-CMakeLists.txt Fri Mar 13 09:37:45 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2019/05/31 08:11:39 adam Exp $
-
-Install man pages.
-
---- CMakeLists.txt.orig        2019-05-26 21:44:42.000000000 +0000
-+++ CMakeLists.txt
-@@ -639,6 +639,7 @@ ENDIF ()
- IF (CARES_INSTALL)
-       SET (CARES_HEADERS ares.h ares_version.h ares_dns.h "${PROJECT_BINARY_DIR}/ares_build.h" ares_rules.h)
-       INSTALL (FILES ${CARES_HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
-+      install(FILES ${MANPAGES} DESTINATION ${CMAKE_INSTALL_MANDIR}/man3)
- ENDIF ()
- 
- # Export targets



Home | Main Index | Thread Index | Old Index