From 54206b6e35cacf20218addcbaaaf50029afd6e69 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 19 Dec 2015 14:12:29 +0000 Subject: [PATCH] curl: Fix certificate validation curl did not find the certificate bundle so that server certificates could not be verified. Fixes #10995 Signed-off-by: Michael Tremer --- config/rootfiles/core/96/filelists/curl | 1 + lfs/curl | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 config/rootfiles/core/96/filelists/curl diff --git a/config/rootfiles/core/96/filelists/curl b/config/rootfiles/core/96/filelists/curl new file mode 120000 index 000000000..4b84bef53 --- /dev/null +++ b/config/rootfiles/core/96/filelists/curl @@ -0,0 +1 @@ +../../../common/curl \ No newline at end of file diff --git a/lfs/curl b/lfs/curl index 7de9aa31f..29de2802b 100644 --- a/lfs/curl +++ b/lfs/curl @@ -70,7 +70,10 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xvf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && ./configure --prefix=/usr --disable-ipv6 + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --disable-ipv6 \ + --with-ca-bundle=/etc/ssl/certs/ca-bundle.crt cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install # Create symlink to new curl lib for old binaries -- 2.39.2