From 9fc32bb7e7106488408d4f6a5c0aea5c563f9b295042651a7f811dad35fda2f9 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 6 May 2022 07:52:29 +0000 Subject: [PATCH] Accepting request 973839 from home:jmoellers:branches:network OBS-URL: https://build.opensuse.org/request/show/973839 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=340 --- bind-9.18.1.tar.xz | 3 - bind-9.18.1.tar.xz.sha512.asc | 17 ------ bind-9.18.2.tar.xz | 3 + bind-9.18.2.tar.xz.sha512.asc | 17 ++++++ ...ances-of-FALLTHROUGH-and-UNREACHABLE.patch | 38 ++++++++++++ bind.changes | 58 +++++++++++++++++++ bind.spec | 3 +- 7 files changed, 118 insertions(+), 21 deletions(-) delete mode 100644 bind-9.18.1.tar.xz delete mode 100644 bind-9.18.1.tar.xz.sha512.asc create mode 100644 bind-9.18.2.tar.xz create mode 100644 bind-9.18.2.tar.xz.sha512.asc create mode 100644 bind-define-local-instances-of-FALLTHROUGH-and-UNREACHABLE.patch diff --git a/bind-9.18.1.tar.xz b/bind-9.18.1.tar.xz deleted file mode 100644 index dceaaca..0000000 --- a/bind-9.18.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57c7afd871694d615cb4defb1c1bd6ed023350943d7458414db8d493ef560427 -size 5059456 diff --git a/bind-9.18.1.tar.xz.sha512.asc b/bind-9.18.1.tar.xz.sha512.asc deleted file mode 100644 index c3995e4..0000000 --- a/bind-9.18.1.tar.xz.sha512.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Comment: GPGTools - https://gpgtools.org - -iQIzBAABCgAdFiEEqtu6UHTxQC97adVrxbTukxqfnf0FAmInMmEACgkQxbTukxqf -nf0KDhAAzQav7F0ouTLcDFz3NsTsLhodaofSFPPfBnFrq0Dxj2bInrbc8XVgQWQh -9jkqjyjIiT45/uvlcxmuuLK9mJa95Nr+DieZgyQkam8pb6pNhqNYgmzNdn1/qVuO -xNL5anl/or3FD1cnYU7Xa6K8AFWt0izNmUFmKz4lCir4tJbQxXIIY0yk7lS05OHl -+hYNvWsdtM7ry1dcixaOwY76vkFbK1H4zCLI+LM/5oDjmj/24VlZi+i4TRCfvTHG -Iss15gI+UuLtYnj/DRLjamZGWKhBqPHj/Vo2jzlhy5ID3OJ43m6QxmXZeOFUW1rr -GnL/cGKvi5aq7TcmVVY+w34kdPtdACjw9eZ/MjlTuAb0DtsI/EH4sux1/TNRwcVT -+Ojohd+QvU4f2uXjdC3iVHsuD4txaZBb096uXCk26/IQgWgWbbcJYtWqOj7Rnh5C -YUWUhYDoyL5GbwqJ7BYf6X/wIqPmugBX1DtZpS7lJnVhOckpQNVPc2mjltw5LrI4 -2nkaDsZN7JR707JiTI8gFe4czBXzCY5FYNaAAZPjLI7FvfRQIRmxkrWr6e0PYKWE -xyhrk73t0iacZfoO5uQr7lNIsrFPar7udFW3tfPCzFLfIcfUkFzeBY8ZStlSf33N -axYFNmzB8iCH/MUgfRQc+9pkWHNEQqnOUNJGl0mewoNnp+qIgcQ= -=f5BI ------END PGP SIGNATURE----- diff --git a/bind-9.18.2.tar.xz b/bind-9.18.2.tar.xz new file mode 100644 index 0000000..24e571f --- /dev/null +++ b/bind-9.18.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2e4b38779bba0a23ee634fdf7c525fd9794c41d692bfd83cda25823a2a3ed969 +size 5109916 diff --git a/bind-9.18.2.tar.xz.sha512.asc b/bind-9.18.2.tar.xz.sha512.asc new file mode 100644 index 0000000..79fce4e --- /dev/null +++ b/bind-9.18.2.tar.xz.sha512.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Comment: GPGTools - https://gpgtools.org + +iQIzBAABCgAdFiEEqtu6UHTxQC97adVrxbTukxqfnf0FAmJdcqsACgkQxbTukxqf +nf3E5xAApY6+1ckL4EJpdEJux9WHBoHKlnTFAaD1HKIGNbJUPwnfc0j9LgVgRXIH +AClkZS+9n45+CJEAwaoWcCmfAF4fUnoPukF16XhtRFcDCW4CSGSIbhXVKrN5hWkP +nhpjmLC3DVVxxCEBySK1TxUQUPeLC5cbdtozgkA/QL/LiMdm2gagBXlKRL9nVdIX +v5Fm+ZyVAU22WG639y7MpiquXdZ3P9xcmLcu4gg3A2IQ25mF4yj3C/nxNmqpZCVj +e4i3/jyrXliSEXJ5lCZ7k5JBziS67edpoEMUnQgVxEIcLabl4xB5Q114eU1RI4C+ +JX9EZdgmXClqkQrJXuIgu1usm+cjvhNkltokNz/FcpClaDUpXQptC56UNLQUfZS2 +ZBOfxUhJYR+Fzru3pO5rXgs99nZlphS6BAbwLEmvgP1Ws3x1ye7lVKWuytKCxRhM +yuNK7o5PBzMK8iW+B3h0ok9JsakhEJH1sOqlthInfrcJO1GLox1v5Ih3cGrRHNLK +CnU8AkZkFPuTtNJMGFOtkftckkufiIcisakTjF2jfr7eWkf3k/FN4+AWF+h4R7gD +vFz0YMH9I9GdfMFbikh2KUm1sU3d1RQ1mf600vEGFAsjPRuZCCe6762g3OLr9Rza +TN3/XeHFyjJep2P+RCUUdEGUcb0ry3qV9jr9wUyB/KkJNefScHE= +=A7Yz +-----END PGP SIGNATURE----- diff --git a/bind-define-local-instances-of-FALLTHROUGH-and-UNREACHABLE.patch b/bind-define-local-instances-of-FALLTHROUGH-and-UNREACHABLE.patch new file mode 100644 index 0000000..c1c859b --- /dev/null +++ b/bind-define-local-instances-of-FALLTHROUGH-and-UNREACHABLE.patch @@ -0,0 +1,38 @@ +Index: bind-9.18.2/contrib/dlz/modules/include/dlz_minimal.h +=================================================================== +--- bind-9.18.2.orig/contrib/dlz/modules/include/dlz_minimal.h ++++ bind-9.18.2/contrib/dlz/modules/include/dlz_minimal.h +@@ -27,6 +27,7 @@ + + #include + #include ++#include + + #include + #include +@@ -85,6 +86,25 @@ typedef uint32_t dns_ttl_t; + var = _u.v; \ + } while (0) + ++ ++#if !defined(__has_attribute) ++#define __has_attribute(x) 0 ++#endif /* if !defined(__has_attribute) */ ++ ++#if __GNUC__ >= 7 || __has_attribute(fallthrough) ++#define FALLTHROUGH __attribute__((fallthrough)) ++#else ++/* clang-format off */ ++#define FALLTHROUGH do {} while (0) /* FALLTHROUGH */ ++/* clang-format on */ ++#endif ++ ++#ifdef __GNUC__ ++#define UNREACHABLE() __builtin_unreachable() ++#else ++#define UNREACHABLE() abort() ++#endif ++ + /* opaque structures */ + typedef void *dns_sdlzlookup_t; + typedef void *dns_sdlzallnodes_t; diff --git a/bind.changes b/bind.changes index 9f0c2bd..9a058ec 100644 --- a/bind.changes +++ b/bind.changes @@ -1,3 +1,61 @@ +------------------------------------------------------------------- +Mon Apr 25 06:56:58 UTC 2022 - Josef Möllers + +- Upgrade to 9.18.2: + Most important bugs fixed: + * The "starting maxtime timer" message related to outgoing + zone transfers was incorrectly logged at the ERROR level + instead of DEBUG(1). + * Ensure that zone maintenance queries have a retry limit. + * When using both the `+qr` and `+y` options `dig` could + crash if the connection to the first server was not + successful. + * dig could hang in some cases involving multiple servers + in a lookup, when a request fails and the next one + refuses to start for some reason, for example if it was + an IPv4 mapped IPv6 address. + * dig +nssearch was hanging until manually interrupted. + * When an UPDATE targets a zone that is not configured, + the requested zone name is now logged in the "not + authoritative" error message, so that it is easier to + track down problematic update clients. + * Quote the dns64 prefix in error messages that complain + about problems with it, to avoid confusion with the + following dns64 ACLs. + * When encountering socket error while trying to initiate + a TCP connection to a server, dig could hang + indefinitely, when there were more servers to try. + * When timing-out or having other types of socket errors + during a query, dig wasn't trying to perform the lookup + using other servers, in case they exist. + * Resending a UDP request in the result of a timeout + could cause an assertion failure when the resent + query's result was SERVFAIL. + * Replace single TCP write timer with per-TCP write + timers. + * Invalid dnssec-policy definitions were being accepted + where the defined keys did not cover both KSK and ZSK + roles for a given algorithm. This is now checked for + and the dnssec-policy is rejected if both roles are + not present for all algorithms in use. + * Fix query context management issues in the TCP part + of dig. + + Noteworthy functional changes: + * Add new "reuseport" option to enable/disable load + balancing of sockets. + * Set the minimum MTU on UDPv6 and TCPv6 sockets and + limit TCP maximum segment size (TCP_MAXSEG) to (1220) + for both TCPv4 and TCPv6 sockets. + + Needed to define two macros in contrib code: + FALLTHOUGH is a copy of how it is defined in + + UNREACHABLE follows the model used in MacOS /usr/include/c++/v1/cstdlib + to determine if __builtin_ureachable is available + [bind-9.18.2.tar.xz, bind-9.18.2.tar.xz.sha512.asc, + bind-define-local-instances-of-FALLTHROUGH-and-UNREACHABLE.patch] + ------------------------------------------------------------------- Thu Mar 17 07:28:25 UTC 2022 - Josef Möllers diff --git a/bind.spec b/bind.spec index a34529f..826593b 100644 --- a/bind.spec +++ b/bind.spec @@ -56,7 +56,7 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: bind -Version: 9.18.1 +Version: 9.18.2 Release: 0 Summary: Domain Name System (DNS) Server (named) License: MPL-2.0 @@ -75,6 +75,7 @@ Source70: bind.conf # configuation file for systemd-sysusers Source72: named.conf Patch56: bind-ldapdump-use-valid-host.patch +Patch57: bind-define-local-instances-of-FALLTHROUGH-and-UNREACHABLE.patch BuildRequires: libcap-devel BuildRequires: libopenssl-devel BuildRequires: libtool