diff --git a/data/curl_insecure_patch.txt b/data/curl_insecure_patch.txt new file mode 100644 index 00000000..e3309059 --- /dev/null +++ b/data/curl_insecure_patch.txt @@ -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}, diff --git a/scripts/install_curl.sh b/scripts/install_curl.sh index 2a899dc6..e8a69f9b 100755 --- a/scripts/install_curl.sh +++ b/scripts/install_curl.sh @@ -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