BSD Ports

net/libcares 1.34.8 NetBSD

Asynchronous resolver library, c-ares

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
676776ac66
License
mit
Categories
net
Package size
207.4 KiB, 1144.3 KiB installed

Description

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. The fork was made on ares 1.1.1.

In the other systems

SystemPortVersion
NetBSDnet/libcares1.34.8
OpenBSDnet/libcares1.34.9

Install

Binary package:

pkgin install libcares

From pkgsrc:

cd /usr/pkgsrc/net/libcares && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.34.8
NetBSD 10.1 aarch641.34.8
SmartOS / illumos x86_641.34.9
macOS 15 arm641.34.8

Dependencies

Commit history 4

DateCommitCreditsLog message
676776ac66 adam libcares: updated to 1.34.9
c-ares version 1.34.9 - October 19 2026 This is a security release. Security: * Memory corruption when an application cancels its lookups after a connection failure. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-wpr3-8q3r-4q8c * A DNS reply that arrived from a different server than the one queried could be accepted. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-fqh5-3x7m-wp44 * Use-after-free of a lookup after shutting down a failed connection. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-97vq-4mxv-7vhm * Use-after-free when an application cancels lookups from a callback, or shuts a channel down. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-rf6g-ww74-97qh …
155f677860 adam libcares: updated to 1.34.8
c-ares version 1.34.8 - July 7 2026 This is a bugfix release. Bugfixes: * Revert "Mark parameters in callbacks as const" which shipped in 1.34.7. Changing the parameter types of the `ares_callback`, `ares_host_callback`, and `ares_nameinfo_callback` function pointer typedefs was an unintended API break: existing applications with the historical non-const callback signatures no longer compiled, particularly in C++ where function pointer types must match exactly. The read-only nature of the callback parameters is now documented instead.
44c0fc293b wiz libcares: switch to newer commit on 1.34 branch
Fixes API breakage introduced in 1.34 (non-const -> const argument). Bump PKGREVISION.
12842eff88 wiz libcares: update to 1.34.7.
## c-ares version 1.34.7 - July 6 2026 This is a security release. Security: * CVE-2026-33630. Use-after-free / double-free in c-ares' query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-6wfj-rwm7-3542 * CPU-exhaustion denial of service via unbounded DNS name compression pointer chains. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-pjmc-gx33-gc76 * Memory-amplification denial of service via unvalidated DNS header record counts. Please see https://github.com/c-ares/c-ares/security/advisories/GHSA-jv8r-gqr9-68wj Changes: * `ares_getaddrinfo()`: handle a NULL node per POSIX and implement …