git: b801f78a6c6d - 2026Q3 - dns/knot-resolver6: Update 6.1.0 => 6.4.2

From: Yusuf Yaman <nxjoseph_at_FreeBSD.org>
Date: Wed, 23 Sep 2026 19:18:19 UTC
The branch 2026Q3 has been updated by nxjoseph:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b801f78a6c6dc0f56b817e6b3b365b90fee1375b

commit b801f78a6c6dc0f56b817e6b3b365b90fee1375b
Author:     Yusuf Yaman <nxjoseph@FreeBSD.org>
AuthorDate: 2026-09-06 20:16:24 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-09-23 19:17:58 +0000

    dns/knot-resolver6: Update 6.1.0 => 6.4.2
    
    While here:
    - Add linked libraries as dependencies
      reported by stage-qa: net/libngtcp2{,-gnutls}.
    - Add patch regarding missing ENODATA on FreeBSD.
    
    Changes:
    - DNS-over-QUIC (DoQ) support and bugfixes.
    https://www.knot-resolver.cz/documentation/v6.4.2/NEWS.html
    
    PR:             297189
    Approved by:    freebsd@dns.company (maintainer timeout, 1+ month)
    Approved by:    osa, vvd (Mentors, implicit)
    
    (cherry picked from commit 3e421e0f4dcb22cad789d166a0eea459ab475347)
---
 dns/knot-resolver6/Makefile                          |  5 +++--
 dns/knot-resolver6/distinfo                          |  6 +++---
 dns/knot-resolver6/files/patch-daemon_quic__stream.c | 14 ++++++++++++++
 3 files changed, 20 insertions(+), 5 deletions(-)

diff --git a/dns/knot-resolver6/Makefile b/dns/knot-resolver6/Makefile
index 9a3dca310c54..41e56d216a00 100644
--- a/dns/knot-resolver6/Makefile
+++ b/dns/knot-resolver6/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	knot-resolver
-DISTVERSION=	6.1.0
-PORTREVISION=	2
+DISTVERSION=	6.4.2
 CATEGORIES=	dns
 MASTER_SITES=	https://knot-resolver.nic.cz/release/ \
 		https://dns.company/downloads/knot-resolver/
@@ -22,6 +21,8 @@ LIB_DEPENDS=	libdnssec.so:dns/knot3 \
 		libknot.so:dns/knot3 \
 		liblmdb.so:databases/lmdb0 \
 		libnghttp2.so:www/libnghttp2 \
+		libngtcp2.so:net/libngtcp2 \
+		libngtcp2_crypto_gnutls.so:net/libngtcp2-gnutls \
 		libuv.so:devel/libuv \
 		libzscanner.so:dns/knot3
 RUN_DEPENDS=	${LUA_FLAVOR}-cqueues>=20200726_1:devel/lua-cqueues@${LUA_FLAVOR}
diff --git a/dns/knot-resolver6/distinfo b/dns/knot-resolver6/distinfo
index 4c751f314648..a2d5a26e63e6 100644
--- a/dns/knot-resolver6/distinfo
+++ b/dns/knot-resolver6/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1768225823
-SHA256 (knot-resolver-6.1.0.tar.xz) = 7921df7507286d90574bbf5ae664a8a537805ce40b5fa8b15f5d0d33e2c438d0
-SIZE (knot-resolver-6.1.0.tar.xz) = 2158788
+TIMESTAMP = 1788725204
+SHA256 (knot-resolver-6.4.2.tar.xz) = 854ad23367bab66392f7d74f142f2219e3090ae81126b635430fce7b1916f1a3
+SIZE (knot-resolver-6.4.2.tar.xz) = 2372660
diff --git a/dns/knot-resolver6/files/patch-daemon_quic__stream.c b/dns/knot-resolver6/files/patch-daemon_quic__stream.c
new file mode 100644
index 000000000000..a31c63378c11
--- /dev/null
+++ b/dns/knot-resolver6/files/patch-daemon_quic__stream.c
@@ -0,0 +1,14 @@
+--- daemon/quic_stream.c.orig	2026-08-05 09:40:54 UTC
++++ daemon/quic_stream.c
+@@ -8,6 +8,11 @@
+ #include "session2.h"
+ #include <stdint.h>
+ #include "quic_stream.h"
++#include <errno.h>
++
++#ifndef ENODATA
++#define ENODATA ENOATTR
++#endif
+
+ /* forward declaration */
+ static int send_stream(struct pl_quic_stream_sess_data *stream,