10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 20:35:19 +01:00

Curl compiled by default with insecure SSL patch

This commit is contained in:
Anthony Scemama 2015-01-12 17:24:10 +01:00
parent 1f9a128793
commit 1e60e9c920
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/tool_getparam.c.old 2015-01-12 17:18:15.149251979 +0100
+++ src/tool_getparam.c 2015-01-12 17:18:39.397148081 +0100
@@ -227,7 +227,7 @@
{"I", "head", FALSE},
{"j", "junk-session-cookies", FALSE},
{"J", "remote-header-name", FALSE},
- {"k", "insecure", FALSE},
+ {"k", "insecure", TRUE},
{"K", "config", TRUE},
{"l", "list-only", FALSE},
{"L", "location", FALSE},

View File

@ -12,6 +12,8 @@ then
${QPACKAGE_ROOT}/scripts/fetch_from_web.py ${CURL_URL} CURL.tar.gz
tar -zxf CURL.tar.gz && rm CURL.tar.gz ||exit 1
cd curl* || exit 1
cp src/tool_getparam.c src/tool_getparam.c.old
patch < ../data/curl_insecure_patch.txt
./configure && make || exit 1
ln -s ${PWD}/src/curl ${QPACKAGE_ROOT}/bin
else