./net/libcares, Asynchronous resolver library, c-ares

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.34.3, Package name: libcares-1.34.3, Maintainer: pkgsrc-users

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.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 973.871 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-10 10:14:10 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
libcares: updated to 1.34.3

c-ares version 1.34.3 - November 9 2024

This is a bugfix release.

Changes:
* Build the release package in an automated way so we can provide
  provenance as per [SLSA3](https://slsa.dev/).

Bugfixes:
* Some upstream servers are non-compliant with EDNS options, resend queries
  without EDNS.
* Android: <=7 needs sys/system_properties.h
* Android: CMake needs `-D_GNU_SOURCE` and others.
* TSAN warns on missing lock, but lock isn't actually necessary.
* `ares_getaddrinfo()` for `AF_UNSPEC` should retry IPv4 if only IPv6 is
  received.
* `ares_send()` shouldn't return `ARES_EBADRESP`, its `ARES_EBADQUERY`.
* Fix typos in man pages.
   2024-10-16 10:51:31 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
libcares: updated to 1.34.2

c-ares version 1.34.2 - October 15 2024

This release contains a fix for downstream packages detecting the c-ares
version based on the contents of the header file rather than the
distributed pkgconf or cmake files.
   2024-10-15 00:06:30 by Thomas Klausner | Files touched by this commit (3)
Log message:
libcares: fix version string in header for CMake

Bug report filed upstream.

Bump PKGREVISION.
   2024-10-13 09:45:55 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
libcares: update to 1.34.1.

## c-ares version 1.34.1 - Octover 9 2024

This release fixes a packaging issue.

## c-ares version 1.34.0 - October 9 2024

This is a feature and bugfix release.

Features:
* adig: read arguments from adigrc.
* Add new pending write callback optimization via `ares_set_pending_write_cb`.
* New function `ares_process_fds()`.
* Failed servers should be probed rather than redirecting queries which could
  cause unexpected latency.
* adig: rework command line arguments to mimic dig from bind.
* Add new method for overriding network functions
  `ares_set_socket_function_ex()` to properly support all new functionality.
* Fix regression with custom socket callbacks due to DNS cookie support.
* ares_socket: set IP_BIND_ADDRESS_NO_PORT on ares_set_local_ip* tcp sockets
* URI parser/writer for ares_set_servers_csv()/ares_get_servers_csv().

Changes:
* Connection handling modularization.
* Expose library/utility functions to tools.
* Remove `ares__` prefix, just use `ares_` for internal functions.

Bugfixes:
* fix: potential WIN32_LEAN_AND_MEAN redefinition.
* Fix googletest v1.15 compatibility.
* Fix pkgconfig thread dependencies.
   2024-08-25 08:19:21 by Thomas Klausner | Files touched by this commit (575)
Log message:
*: replace CMAKE_ARGS with CMAKE_CONFIGURE_ARGS
   2024-04-14 10:15:59 by Thomas Klausner | Files touched by this commit (1)
Log message:
libcares: fix pkg-config file

Bump PKGREVISION.
   2024-04-05 13:17:03 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
libcares: update to 1.28.1.

c-ares version 1.28.1 - Mar 30 2024

This release contains a fix for a single significant regression introduced in \ 
c-ares 1.28.0.

    ares_search() and ares_getaddrinfo() resolution fails if no search domains \ 
are specified. Issue #737

c-ares version 1.28.0 - Mar 29 2024

This is a feature and bugfix release.

Features:

    Emit warnings when deprecated c-ares functions are used. This can be \ 
disabled by passing a compiler definition of CARES_NO_DEPRECATED. PR #732
    Add function ares_search_dnsrec() to search for records using the new DNS \ 
record data structures. PR #719
    Rework internals to pass around ares_dns_record_t instead of binary data, \ 
this introduces new public functions of ares_query_dnsrec() and \ 
ares_send_dnsrec(). PR #730

Changes:

    tests: when performing simulated queries, reduce timeouts to make tests run \ 
faster
    Replace configuration file parsers with memory-safe parser. PR #725
    Remove acountry completely, the manpage might still get installed otherwise. \ 
Issue #718

Bugfixes:

    CMake: don't overwrite global required libraries/definitions/includes which \ 
could cause build errors for projects chain building c-ares. Issue #729
    On some platforms, netinet6/in6.h is not included by netinet/in.h and needs \ 
to be included separately. PR #728
    Fix a potential memory leak in ares_init(). Issue #724
    Some platforms don't have the isascii() function. Implement as a macro. PR #721
    CMake: Fix Chain building if CMAKE runtime paths not set
    NDots configuration should allow a value of zero. PR #735
   2024-02-23 13:58:34 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
libcares: update to 1.27.0.

This is a security, feature, and bugfix release.

Security:

    Moderate. CVE-2024-25629. Reading malformatted /etc/resolv.conf,
    /etc/nsswitch.conf or the HOSTALIASES file could result in a
    crash. GHSA-mg26-v6qh-x48q

Features:

    New function ares_queue_active_queries() to retrieve number of
    in-flight queries. PR #712
    New function ares_queue_wait_empty() to wait for the number of
    in-flight queries to reach zero. PR #710
    New ARES_FLAG_NO_DEFLT_SVR for ares_init_options() to return
    a failure if no DNS servers can be found rather than attempting
    to use 127.0.0.1. This also introduces a new ares status code
    of ARES_ENOSERVER. PR #713

Changes:

    EDNS Packet size should be 1232 as per DNS Flag Day. PR #705

Bugfixes:

    Windows DNS suffix search list memory leak. PR #711
    Fix warning due to ignoring return code of write(). PR #709
    CMake: don't override target output locations if not top-level. Issue #708
    Fix building c-ares without thread support. PR #700