libcurl: specify capath
PATCH 1/1 libcurl: specify capath
From: "Shawn J. Goff" <[email protected]>
Since openssl's path is '/etc/ssl/' (specified in our openssl package), we should also make sure that's what curl is using.
Previously, it's hasn't been specified, which means it changes depending on the host system where it's compiled.
--- package/libcurl/libcurl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/libcurl/libcurl.mk +1 -1
@@ -16,7 +16,7 @@ LIBCURL_INSTALL_STAGING = YES # probably almost never used. See # http://curl.haxx.se/docs/manpage.html#--ntlm. LIBCURL_CONF_OPT = --disable-verbose --disable-manual \ - --enable-hidden-symbols --disable-ntlm-wb + --enable-hidden-symbols --disable-ntlm-wb --with-ca-path=/etc/ssl/certs LIBCURL_CONFIG_SCRIPTS = curl-config ifeq ($(BR2_PACKAGE_OPENSSL),y)
Signature · 1 line
1.8.1.5
PATCH 1/1 libcurl: specify capath
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Shawn" == Shawn J Goff <[email protected]> writes:
Shawn> From: "Shawn J. Goff" <[email protected]>
Shawn> Since openssl's path is '/etc/ssl/' (specified in our openssl package), Shawn> we should also make sure that's what curl is using.
Shawn> Previously, it's hasn't been specified, which means it changes depending Shawn> on the host system where it's compiled.
Out of interest, how does it get this info?
Shawn> Signed-off-by: Shawn J. Goff <[email protected]> Shawn> ---
Shawn> package/libcurl/libcurl.mk | 2 +-
Shawn> 1 file changed, 1 insertion(+), 1 deletion(-)
Shawn> diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk Shawn> index a631953..75c9601 100644
Shawn> --- a/package/libcurl/libcurl.mk
Shawn> +++ b/package/libcurl/libcurl.mk
Shawn> @@ -16,7 +16,7 @@ LIBCURL_INSTALL_STAGING = YES
Shawn> # probably almost never used. See Shawn> # http://curl.haxx.se/docs/manpage.html#--ntlm. Shawn> LIBCURL_CONF_OPT = --disable-verbose --disable-manual \
Shawn> - --enable-hidden-symbols --disable-ntlm-wb
Shawn> + --enable-hidden-symbols --disable-ntlm-wb --with-ca-path=/etc/ssl/certs
It would make more sense to move this under the BR2_PACKAGE_OPENSSL conditional.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 libcurl: specify capath
Quoted 11 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Shawn" == Shawn J Goff <[email protected]> writes:
Shawn> From: "Shawn J. Goff" <[email protected]>
Shawn> Since openssl's path is '/etc/ssl/' (specified in our openssl package), Shawn> we should also make sure that's what curl is using.Shawn> Previously, it's hasn't been specified, which means it changes depending Shawn> on the host system where it's compiled.
Out of interest, how does it get this info?
"...it checks a few known paths to see where it might find the default ca-cert for that system."
from http://curl.haxx.se/mail/lib-2009-08/0223.html
Quoted 10 lines
Shawn> Signed-off-by: Shawn J. Goff <[email protected]> Shawn> ---
Shawn> package/libcurl/libcurl.mk | 2 +-Shawn> 1 file changed, 1 insertion(+), 1 deletion(-)
Shawn> diff --git
a/package/libcurl/libcurl.mkb/package/libcurl/libcurl.mkShawn> index a631953..75c9601 100644
Shawn> ---a/package/libcurl/libcurl.mk
Shawn> +++b/package/libcurl/libcurl.mk
Shawn> @@ -16,7 +16,7 @@LIBCURL_INSTALL_STAGING= YES
Quoted 8 lines
Shawn> # probably almost never used. See Shawn> # http://curl.haxx.se/docs/manpage.html#--ntlm. Shawn> LIBCURL_CONF_OPT = --disable-verbose --disable-manual \Shawn> - --enable-hidden-symbols --disable-ntlm-wb
Shawn> + --enable-hidden-symbols --disable-ntlm-wb --with-ca-path=/etc/ssl/certsIt would make more sense to move this under the
BR2_PACKAGE_OPENSSLconditional.
It would. Another patch is coming.