diff options
| author | adam <adam@pkgsrc.org> | 2020-03-13 09:49:41 +0000 |
|---|---|---|
| committer | adam <adam@pkgsrc.org> | 2020-03-13 09:49:41 +0000 |
| commit | 950c8ba08348f98bb474dc9f0b743e07db33d225 (patch) | |
| tree | bb74073afee2a7298e5969307d2032b4f6b41f21 /net/libcares | |
| parent | 18a83a749d7e475f5a7e98fa70f5264b0a4fa91d (diff) | |
| download | pkgsrc-950c8ba08348f98bb474dc9f0b743e07db33d225.tar.gz | |
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 (limited to 'net/libcares')
| -rw-r--r-- | net/libcares/Makefile | 5 | ||||
| -rw-r--r-- | net/libcares/PLIST | 10 | ||||
| -rw-r--r-- | net/libcares/distinfo | 11 | ||||
| -rw-r--r-- | net/libcares/patches/patch-CMakeLists.txt | 14 |
4 files changed, 15 insertions, 25 deletions
diff --git a/net/libcares/Makefile b/net/libcares/Makefile index 790e8814c07..4da5c7008b8 100644 --- a/net/libcares/Makefile +++ b/net/libcares/Makefile @@ -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 --git a/net/libcares/PLIST b/net/libcares/PLIST index ef97bffc69d..804c4636c72 100644 --- a/net/libcares/PLIST +++ b/net/libcares/PLIST @@ -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_build.h 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_fds.3 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 --git a/net/libcares/distinfo b/net/libcares/distinfo index dc99a8f63a0..f05bacc7d4c 100644 --- a/net/libcares/distinfo +++ b/net/libcares/distinfo @@ -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 --git a/net/libcares/patches/patch-CMakeLists.txt b/net/libcares/patches/patch-CMakeLists.txt deleted file mode 100644 index 21983e8581c..00000000000 --- a/net/libcares/patches/patch-CMakeLists.txt +++ /dev/null @@ -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 |
