[Buildroot] [PATCH] package/libcurl: Also specify the CA bundle location
Lance Fredrickson
lancethepants at gmail.com
Thu Apr 17 19:22:54 UTC 2025
This is a patch I've carried for my project where I only keep the ca
bundle. The ca-certificates package does install the bundle and distros
like debian do specify a ca path & a ca bundle when configuring.
https://salsa.debian.org/debian/curl/-/blob/debian/unstable/debian/rules?ref_type=heads#L20
Lance
On 4/17/2025 1:05 PM, Lance Fredrickson wrote:
> From: Lance Fredrickson <lancethepants at gmail.com>
>
> Signed-off-by: Lance Fredrickson <lancethepants at gmail.com>
> ---
> package/libcurl/libcurl.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
> index 2066ba0388..509feeab64 100644
> --- a/package/libcurl/libcurl.mk
> +++ b/package/libcurl/libcurl.mk
> @@ -67,7 +67,8 @@ endif
> ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y)
> LIBCURL_DEPENDENCIES += openssl
> LIBCURL_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr \
> - --with-ca-path=/etc/ssl/certs
> + --with-ca-path=/etc/ssl/certs \
> + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
> else
> LIBCURL_CONF_OPTS += --without-openssl
> endif
More information about the buildroot
mailing list