Skip to contentSkip to conversation

package/libcurl: add bearssl support

PATCH New Fabrice Fontaine 2 participants 2 messages Mar 15, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libcurl: add bearssl support

bearssl support is available since version 7.68.0 and
https://github.com/curl/curl/commit/9b879160df01e7ddbb4770904391d3b74114302b

---
 package/libcurl/Config.in  | 4 ++++
 package/libcurl/libcurl.mk | 7 +++++++
 2 files changed, 11 insertions(+)
package/libcurl/Config.in +4 -0
index d05cbedf77..b89c46f5ef 100644
@@ -52,6 +52,10 @@ config BR2_PACKAGE_LIBCURL_OPENSSL
 	bool "OpenSSL"
 	depends on BR2_PACKAGE_OPENSSL
 
+config BR2_PACKAGE_LIBCURL_BEARSSL
+	bool "BearSSL"
+	depends on BR2_PACKAGE_BEARSSL
+
 config BR2_PACKAGE_LIBCURL_GNUTLS
 	bool "GnuTLS"
 	depends on BR2_PACKAGE_GNUTLS
package/libcurl/libcurl.mk +7 -0
index 16b11ca944..5de2591178 100644
@@ -51,6 +51,13 @@ else
 LIBCURL_CONF_OPTS += --without-ssl
 endif
 
+ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y)
+LIBCURL_CONF_OPTS += --with-bearssl=$(STAGING_DIR)/usr
+LIBCURL_DEPENDENCIES += bearssl
+else
+LIBCURL_CONF_OPTS += --without-bearssl
+endif
+
 ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y)
 LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \
 	--with-ca-fallback
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/libcurl: add bearssl support

Fabrice, All,

On 2020-03-15 15:41 +0100, Fabrice Fontaine spake thusly:

Quoted 4 lines

bearssl support is available since version 7.68.0 and
https://github.com/curl/curl/commit/9b879160df01e7ddbb4770904391d3b74114302b

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 45 lines
---
 package/libcurl/Config.in  | 4 ++++
 package/libcurl/libcurl.mk | 7 +++++++
 2 files changed, 11 insertions(+)
package/libcurl/Config.in +4 -0
index d05cbedf77..b89c46f5ef 100644
@@ -52,6 +52,10 @@ config BR2_PACKAGE_LIBCURL_OPENSSL
 	bool "OpenSSL"
 	depends on BR2_PACKAGE_OPENSSL
 
+config BR2_PACKAGE_LIBCURL_BEARSSL
+	bool "BearSSL"
+	depends on BR2_PACKAGE_BEARSSL
+
 config BR2_PACKAGE_LIBCURL_GNUTLS
 	bool "GnuTLS"
 	depends on BR2_PACKAGE_GNUTLS
package/libcurl/libcurl.mk +7 -0
index 16b11ca944..5de2591178 100644
@@ -51,6 +51,13 @@ else
 LIBCURL_CONF_OPTS += --without-ssl
 endif
 
+ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y)
+LIBCURL_CONF_OPTS += --with-bearssl=$(STAGING_DIR)/usr
+LIBCURL_DEPENDENCIES += bearssl
+else
+LIBCURL_CONF_OPTS += --without-bearssl
+endif
+
 ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y)
 LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \
 	--with-ca-fallback
Signature · 6 lines
2.25.1

_______________________________________________
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.  |
'------------------------------^-------^------------------^--------------------'