All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/inadyn: fix mbedtls support
@ 2026-10-05 13:28 Yegor Yefremov via buildroot
  2026-10-07  5:49 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-10-05 13:28 UTC (permalink / raw)
  To: buildroot; +Cc: Joachim Wiberg

From: Yegor Yefremov <yegorslists@googlemail.com>

Since commit 6bab22ca41 ("package/inadyn: bump to v2.10.0"), the
mbedtls condition is written as "$BR2_PACKAGE_MBEDTLS", which make
expands as the variable $B followed by "R2_PACKAGE_MBEDTLS", so the
condition is never true. Without OpenSSL and GnuTLS, inadyn was built
with --disable-ssl even when mbedtls was enabled.

In addition, inadyn uses GnuTLS by default and needs --enable-mbedtls
to use mbedtls, which was never passed.

Fix the condition and pass --enable-mbedtls.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Assisted-by: Claude:claude-opus-5
---

 package/inadyn/inadyn.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk
index a8891debb3..68a28eabfa 100644
--- a/package/inadyn/inadyn.mk
+++ b/package/inadyn/inadyn.mk
@@ -15,7 +15,8 @@ INADYN_CONF_OPTS += --enable-openssl
 INADYN_DEPENDENCIES += openssl
 else ifeq ($(BR2_PACKAGE_GNUTLS),y)
 INADYN_DEPENDENCIES += gnutls
-else ifeq ($BR2_PACKAGE_MBEDTLS, y)
+else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
+INADYN_CONF_OPTS += --enable-mbedtls
 INADYN_DEPENDENCIES += mbedtls
 else
 INADYN_CONF_OPTS += --disable-ssl
-- 
2.34.1

_______________________________________________
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] package/inadyn: fix mbedtls support
  2026-10-05 13:28 [Buildroot] [PATCH] package/inadyn: fix mbedtls support Yegor Yefremov via buildroot
@ 2026-10-07  5:49 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2026-10-07  5:49 UTC (permalink / raw)
  To: Yegor Yefremov via buildroot; +Cc: Joachim Wiberg

>>>>> "Yegor" == Yegor Yefremov via buildroot <buildroot@buildroot.org> writes:

 > From: Yegor Yefremov <yegorslists@googlemail.com>
 > Since commit 6bab22ca41 ("package/inadyn: bump to v2.10.0"), the
 > mbedtls condition is written as "$BR2_PACKAGE_MBEDTLS", which make
 > expands as the variable $B followed by "R2_PACKAGE_MBEDTLS", so the
 > condition is never true. Without OpenSSL and GnuTLS, inadyn was built
 > with --disable-ssl even when mbedtls was enabled.

 > In addition, inadyn uses GnuTLS by default and needs --enable-mbedtls
 > to use mbedtls, which was never passed.

 > Fix the condition and pass --enable-mbedtls.

 > Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
 > Assisted-by: Claude:claude-opus-5

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
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:[~2026-10-07  6:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 13:28 [Buildroot] [PATCH] package/inadyn: fix mbedtls support Yegor Yefremov via buildroot
2026-10-07  5:49 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.