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 <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2015-12-19 14:12:29 +00:00
parent 4d7f9a81ac
commit 54206b6e35
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1 @@
../../../common/curl

View File

@@ -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