Skip to content
Snippets Groups Projects
Commit 5c351910 authored by Stan Hu's avatar Stan Hu Committed by Natanael Copa
Browse files

main/curl: add --with-ca-path to curl build

Prior to !69012, curl automatically set --with-ca-bundle and
--with-ca-path to /etc/ssl/cert.pem and /etc/ssl/certs, respectively.
However, now if --with-ca-bundle alone is set, then --with-ca-path
will not be set. If an incomplete or wrong CA bundle were provided to
curl, curl would not be able to validate the root certificate even if
the ca-certificates package were installed. This commit effectively
restores the previous behavior by explicitly setting --with-ca-path.

fixes #16980
parent 5f00f810
No related branches found
No related tags found
1 merge request!81269main/curl: add --with-ca-path to curl build
Pipeline #306954 passed
Pipeline: aports

#306955

    ......@@ -9,7 +9,7 @@
    pkgname=curl
    pkgver=8.12.1
    pkgrel=0
    pkgrel=1
    pkgdesc="URL retrival utility and library"
    url="https://curl.se/"
    arch="all"
    ......@@ -218,6 +218,7 @@ build() {
    --with-nghttp2 \
    --with-openssl \
    --with-ca-bundle=/etc/ssl/cert.pem \
    --with-ca-path=/etc/ssl/certs \
    --with-zsh-functions-dir \
    --with-fish-functions-dir \
    --disable-ldap \
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment