Skip to contentSkip to conversation

libcurl: specify capath

PATCH New Shawn J. Goff 2 participants 2 messages Apr 17, 2013 – Apr 21, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 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.

---

Moved the option inside the BR2_PACKAGE_OPENSSL conditional.

 package/libcurl/libcurl.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/libcurl/libcurl.mk +3 -1
index a631953..f0236d9 100644
@@ -27,7 +27,9 @@ LIBCURL_CONF_ENV += ac_cv_lib_crypto_CRYPTO_lock=yes
 # Fix it by setting LD_LIBRARY_PATH to something sensible so those libs
 # are found first.
 LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/lib:/usr/lib
-LIBCURL_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr --with-random=/dev/urandom
+LIBCURL_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr \
+	--with-random=/dev/urandom \
+	--with-ca-path=/etc/ssl/certs
 else
 LIBCURL_CONF_OPT += --without-ssl
 endif
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH v2 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 Shawn> package), we should also make sure that's what curl is using.

Shawn> Previously, it's hasn't been specified, which means it changes Shawn> depending on the host system where it's compiled.

Shawn> Signed-off-by: Shawn J. Goff <[email protected]> Shawn> ---

Shawn> Moved the option inside the BR2_PACKAGE_OPENSSL conditional.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard