pkgsrc/net/libcares/Makefile
adam 25ba966594 libcares: updated to 1.16.1
c-ares version 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.

Bug fixes:
* Fix Windows Unicode incompatibilities with ares_getaddrinfo()
* 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
* Correct macros in use for the ares_getaddrinfo.3 man page
2020-06-01 19:11:37 +00:00

16 lines
389 B
Makefile

# $NetBSD: Makefile,v 1.28 2020/06/01 19:11:37 adam Exp $
DISTNAME= c-ares-1.16.1
PKGNAME= ${DISTNAME:S/c-/libc/1}
CATEGORIES= net
MASTER_SITES= https://c-ares.haxx.se/download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://c-ares.haxx.se/
COMMENT= Asynchronous resolver library, c-ares
LICENSE= mit
USE_CMAKE= yes
CMAKE_ARGS+= -DCARES_STATIC=ON
.include "../../mk/bsd.pkg.mk"