From cf0265c7a1e29482efd6bc3c3717fb43160683cc Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Thu, 12 Sep 2024 20:53:47 +0200 Subject: Add patch file for libcurl --- patches/curl-force-use-cacert.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 patches/curl-force-use-cacert.patch (limited to 'patches') diff --git a/patches/curl-force-use-cacert.patch b/patches/curl-force-use-cacert.patch new file mode 100644 index 0000000..bf49ad8 --- /dev/null +++ b/patches/curl-force-use-cacert.patch @@ -0,0 +1,18 @@ +Patch buildroots libcurl makefile, so it uses the cacert bundle. + +Assumes ca-certificates is selected. (Manual!) + +--- a/package/libcurl/libcurl.mk 2024-09-11 20:35:52.369995331 +0200 ++++ b/package/libcurl/libcurl.mk 2024-09-08 20:40:51.393654807 +0200 +@@ -83,10 +83,11 @@ + LIBCURL_CONF_OPTS += --without-gnutls + endif + + ifeq ($(BR2_PACKAGE_LIBCURL_MBEDTLS),y) + LIBCURL_CONF_OPTS += --with-mbedtls=$(STAGING_DIR)/usr ++LIBCURL_CONF_OPTS += --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt + LIBCURL_DEPENDENCIES += mbedtls + else + LIBCURL_CONF_OPTS += --without-mbedtls + endif + -- cgit v1.2.3