]> git.ipfire.org Git - people/jschlag/ipfire-2.x.git/commitdiff
curl: Fix certificate validation
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Dec 2015 14:12:29 +0000 (14:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 19 Dec 2015 14:12:29 +0000 (14:12 +0000)
curl did not find the certificate bundle so that server
certificates could not be verified.

Fixes #10995

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/96/filelists/curl [new symlink]
lfs/curl

diff --git a/config/rootfiles/core/96/filelists/curl b/config/rootfiles/core/96/filelists/curl
new file mode 120000 (symlink)
index 0000000..4b84bef
--- /dev/null
@@ -0,0 +1 @@
+../../../common/curl
\ No newline at end of file
index 7de9aa31f9eb3fc4d22954156f2d1d03f87645c1..29de2802b18e0e48592bf6756571d3ef52441c6a 100644 (file)
--- 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