libcurl: add wolfssl as an option for TLS
PATCH 1/1 libcurl: add wolfssl as an option for TLS
Libcurl recipe allows selecting between various TLS backends. Users can already select between several options but WolfSSL was missing. WolfSSL is an efficient TLS library, it supports TLS 1.3 and is used in many embedded systems.
Add WolfSSL to libcurl "SSL/TLS library to use" choice list when WolfSSL package is enabled. When selected in the list, use libcurl --with-wolfssl configure option. Explicitly set --without-wolfssl when it is not selected.
--- package/libcurl/Config.in | 5 +++++ package/libcurl/libcurl.mk | 7 +++++++ 2 files changed, 12 insertions(+)
package/libcurl/Config.in +5 -0
@@ -51,6 +51,7 @@ config BR2_PACKAGE_LIBCURL_TLS_SUPPORT default y if BR2_PACKAGE_GNUTLS default y if BR2_PACKAGE_LIBNSS default y if BR2_PACKAGE_MBEDTLS + default y if BR2_PACKAGE_WOLFSSL choice prompt "SSL/TLS library to use"
@@ -72,6 +73,10 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS bool "mbed TLS" depends on BR2_PACKAGE_MBEDTLS +config BR2_PACKAGE_LIBCURL_WOLFSSL + bool "WolfSSL" + depends on BR2_PACKAGE_WOLFSSL + endchoice comment "A TLS library is needed for SSL/TLS support"
package/libcurl/libcurl.mk +7 -0
@@ -74,6 +74,13 @@ else LIBCURL_CONF_OPTS += --without-mbedtls endif +ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y) +LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr +LIBCURL_DEPENDENCIES += wolfssl +else +LIBCURL_CONF_OPTS += --without-wolfssl +endif + ifeq ($(BR2_PACKAGE_C_ARES),y) LIBCURL_DEPENDENCIES += c-ares LIBCURL_CONF_OPTS += --enable-ares
Signature · 1 line
2.23.0
PATCH 1/1 libcurl: add wolfssl as an option for TLS
Hi,
Any chance to get this patch merged ? Is there anything I must change ?
Regards,
Julien
Le mar. 5 nov. 2019 ? 11:07, Julien Grossholtz <[email protected]> a ?crit :
Quoted 61 lines
Libcurl recipe allows selecting between various TLS backends. Users can already select between several options but WolfSSL was missing. WolfSSL is an efficient TLS library, it supports TLS 1.3 and is used in many embedded systems.
Add WolfSSL to libcurl "SSL/TLS library to use" choice list when WolfSSL package is enabled. When selected in the list, use libcurl --with-wolfssl configure option. Explicitly set --without-wolfssl when it is not selected.
Signed-off-by Julien Grossholtz <[email protected]>--- package/libcurl/Config.in | 5 +++++ package/libcurl/libcurl.mk | 7 +++++++ 2 files changed, 12 insertions(+)package/libcurl/Config.in +5
-0@@ -51,6 +51,7 @@ config BR2_PACKAGE_LIBCURL_TLS_SUPPORT default y if BR2_PACKAGE_GNUTLS default y if BR2_PACKAGE_LIBNSS default y if BR2_PACKAGE_MBEDTLS + default y if BR2_PACKAGE_WOLFSSL choice prompt "SSL/TLS library to use"@@ -72,6 +73,10 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS bool "mbed TLS" depends on BR2_PACKAGE_MBEDTLS +config BR2_PACKAGE_LIBCURL_WOLFSSL + bool "WolfSSL" + depends on BR2_PACKAGE_WOLFSSL + endchoice comment "A TLS library is needed for SSL/TLS support"package/libcurl/libcurl.mk +7
-1@@ -74,6 +74,13 @@ else LIBCURL_CONF_OPTS += --without-mbedtls endif +ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y) +LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr +LIBCURL_DEPENDENCIES += wolfssl +else +LIBCURL_CONF_OPTS += --without-wolfssl +endif + ifeq ($(BR2_PACKAGE_C_ARES),y) LIBCURL_DEPENDENCIES += c-ares LIBCURL_CONF_OPTS += --enable-ares --2.23.0
Signature · 13 lines
*Julien Grossholtz*
Directeur de projet
julien.grossholtz at openest.io
+33 7 68 49 83 47
<https://openest.io/>
Logiciels embarqu?s pour syst?mes intelligents
15, avenue du Rhin ? 67100 Strasbourg ? www.openest.io
<http://openest.io/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191231/810c5589/attachment.html>Yann E. MORIN
AppliedPATCH 1/1 libcurl: add wolfssl as an option for TLS
In reply to Julien GrossholtzJulien, All,
On 2019-11-05 11:06 +0100, Julien Grossholtz spake thusly:
Quoted 11 lines
Libcurl recipe allows selecting between various TLS backends. Users can already select between several options but WolfSSL was missing. WolfSSL is an efficient TLS library, it supports TLS 1.3 and is used in many embedded systems.
Add WolfSSL to libcurl "SSL/TLS library to use" choice list when WolfSSL package is enabled. When selected in the list, use libcurl --with-wolfssl configure option. Explicitly set --without-wolfssl when it is not selected.
Signed-off-by Julien Grossholtz <[email protected]>
Applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 53 lines
--- package/libcurl/Config.in | 5 +++++ package/libcurl/libcurl.mk | 7 +++++++ 2 files changed, 12 insertions(+)package/libcurl/Config.in +5
-0@@ -51,6 +51,7 @@ config BR2_PACKAGE_LIBCURL_TLS_SUPPORT default y if BR2_PACKAGE_GNUTLS default y if BR2_PACKAGE_LIBNSS default y if BR2_PACKAGE_MBEDTLS + default y if BR2_PACKAGE_WOLFSSL choice prompt "SSL/TLS library to use"@@ -72,6 +73,10 @@ config BR2_PACKAGE_LIBCURL_MBEDTLS bool "mbed TLS" depends on BR2_PACKAGE_MBEDTLS +config BR2_PACKAGE_LIBCURL_WOLFSSL + bool "WolfSSL" + depends on BR2_PACKAGE_WOLFSSL + endchoice comment "A TLS library is needed for SSL/TLS support"package/libcurl/libcurl.mk +7
-0@@ -74,6 +74,13 @@ else LIBCURL_CONF_OPTS += --without-mbedtls endif +ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y) +LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr +LIBCURL_DEPENDENCIES += wolfssl +else +LIBCURL_CONF_OPTS += --without-wolfssl +endif + ifeq ($(BR2_PACKAGE_C_ARES),y) LIBCURL_DEPENDENCIES += c-ares LIBCURL_CONF_OPTS += --enable-aresSignature · 6 lines
2.23.0 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'