* [Buildroot] [PATCH v2 next] package/unbound: enable tfo-client for uClibc-ng systems
@ 2024-08-13 4:48 Waldemar Brodkorb
2024-08-14 21:45 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2024-08-13 4:48 UTC (permalink / raw)
To: buildroot
uClibc-ng systems have MSG_FASTOPEN since 2018 so no need
to disable support for TCP fastopen client mode.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
v1->v2:
- split patches this one goes to next, suggested by Thomas P.
---
package/unbound/unbound.mk | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/package/unbound/unbound.mk b/package/unbound/unbound.mk
index ff0262bef1..04386e8d5b 100644
--- a/package/unbound/unbound.mk
+++ b/package/unbound/unbound.mk
@@ -18,18 +18,11 @@ UNBOUND_CONF_OPTS = \
--with-pidfile=/var/run/unbound.pid \
--with-rootkey-file=/etc/unbound/root.key \
--enable-tfo-server \
+ --enable-tfo-client \
--with-libevent=$(STAGING_DIR)/usr \
--with-libexpat=$(STAGING_DIR)/usr \
--with-ssl=$(STAGING_DIR)/usr
-# uClibc-ng does not have MSG_FASTOPEN
-# so TCP Fast Open client mode disabled for it
-ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
-UNBOUND_CONF_OPTS += --disable-tfo-client
-else
-UNBOUND_CONF_OPTS += --enable-tfo-client
-endif
-
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
UNBOUND_CONF_OPTS += --with-pthreads
else
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH v2 next] package/unbound: enable tfo-client for uClibc-ng systems
2024-08-13 4:48 [Buildroot] [PATCH v2 next] package/unbound: enable tfo-client for uClibc-ng systems Waldemar Brodkorb
@ 2024-08-14 21:45 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-14 21:45 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot
On Tue, 13 Aug 2024 06:48:42 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:
> uClibc-ng systems have MSG_FASTOPEN since 2018 so no need
> to disable support for TCP fastopen client mode.
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> v1->v2:
> - split patches this one goes to next, suggested by Thomas P.
> ---
> package/unbound/unbound.mk | 9 +--------
> 1 file changed, 1 insertion(+), 8 deletions(-)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-14 21:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-13 4:48 [Buildroot] [PATCH v2 next] package/unbound: enable tfo-client for uClibc-ng systems Waldemar Brodkorb
2024-08-14 21:45 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox