From d06529686f89074fd4fa574ac6012f8a873e7857 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 17 Nov 2023 20:23:56 +0000 Subject: Prepare for 2.3.7.0; ignore link-local addresses in /etc/hosts Signed-off-by: Laurent Bercot --- INSTALL | 2 +- NEWS | 9 +++++++++ doc/index.html | 4 ++-- doc/s6-dns-hosts-compile.html | 5 +++++ doc/upgrade.html | 7 +++++++ package/deps.mak | 6 +++--- package/info | 2 +- src/clients/s6-dnsip.c | 13 +++---------- src/clients/s6-dnsip4.c | 13 +++---------- src/clients/s6-dnsip6.c | 13 +++---------- src/clients/s6-dnsname.c | 9 ++------- src/include/s6-dns/s6dns.h | 5 ++++- src/libs6dns/s6dns_hosts_compile.c | 26 +++++++++++++++++--------- src/libs6dns/s6dns_hosts_compile.txt | 18 +++++++++--------- src/libs6dns/s6dns_init.c | 4 ++-- 15 files changed, 71 insertions(+), 65 deletions(-) diff --git a/INSTALL b/INSTALL index f7fbbd6..12604fc 100644 --- a/INSTALL +++ b/INSTALL @@ -6,7 +6,7 @@ Build Instructions - A POSIX-compliant C development environment - GNU make version 3.81 or later - - skalibs version 2.14.0.0 or later: https://skarnet.org/software/skalibs/ + - skalibs version 2.14.0.1 or later: https://skarnet.org/software/skalibs/ This software will run on any operating system that implements POSIX.1-2008, available at: diff --git a/NEWS b/NEWS index 8aa47f6..669b8ce 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,14 @@ Changelog for s6-dns. +In 2.3.7.0 +---------- + + - New s6dns_init_options() function, +to choose whether to support /etc/hosts or not. + - Properly ignore link-local addresses in /etc/hosts +instead of erroring out on them. + + In 2.3.6.0 ---------- diff --git a/doc/index.html b/doc/index.html index 1c3e2a2..1b5a7cb 100644 --- a/doc/index.html +++ b/doc/index.html @@ -58,7 +58,7 @@ to the s6 ecosystem.
  • A POSIX-compliant system with a standard C development environment
  • GNU make, version 3.81 or later
  • skalibs version -2.14.0.0 or later. It's a build-time requirement. It's also a run-time +2.14.0.1 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library.
  • @@ -72,7 +72,7 @@ requirement if you link against the shared version of the skalibs library.

    Download

    diff --git a/doc/upgrade.html b/doc/upgrade.html index b6c1b67..db26b1c 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,13 @@

    What has changed in s6-dns

    +

    in 2.3.7.0

    + + +

    in 2.3.6.0