mirror of
https://github.com/LCPQ/quantum_package
synced 2024-08-25 05:51:46 +02:00
Curl compiled by default with insecure SSL patch
This commit is contained in:
parent
1f9a128793
commit
1e60e9c920
11
data/curl_insecure_patch.txt
Normal file
11
data/curl_insecure_patch.txt
Normal 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},
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user