Skip to contentSkip to conversation

package/inadyn: fix mbedtls support

PATCH Applied Yegor Yefremov via buildroot 2 participants 3 messages Oct 5 – Oct 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/inadyn: fix mbedtls support

From: Yegor Yefremov <[email protected]>

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.

Assisted-by Claude:claude-opus-5

---

 package/inadyn/inadyn.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/inadyn/inadyn.mk +2 -1
index a8891debb3..68a28eabfa 100644
@@ -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
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov via buildroot <[email protected]> writes:

From: Yegor Yefremov <[email protected]>
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.

Quoted 7 lines

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.

Assisted-by Claude:claude-opus-5

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Yegor Yefremov via buildroot

In reply of:

Quoted 6 lines

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.

Quoted 7 lines

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.

Assisted-by Claude:claude-opus-5

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 10 lines

---

 package/inadyn/inadyn.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/inadyn/inadyn.mk +0 -0
index a8891debb3..68a28eabfa 100644

package/inadyn/inadyn.mk INADYN_CONF_OPTS += --enable-openssl · line 22

Quoted 9 lines
package/inadyn/inadyn.mk +2 -1
@@ -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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot