From: Michael Tremer Date: Sat, 19 Dec 2015 14:12:29 +0000 (+0000) Subject: curl: Fix certificate validation X-Git-Tag: v2.17-core97~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54206b6e35cacf20218addcbaaaf50029afd6e69;p=ipfire-2.x.git 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 --- diff --git a/config/rootfiles/core/96/filelists/curl b/config/rootfiles/core/96/filelists/curl new file mode 120000 index 0000000000..4b84bef53a --- /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 7de9aa31f9..29de2802b1 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