Browse Source

curl: Update script to get curl 7.56.0

Brad King 8 years ago
parent
commit
2fad0e20b6
1 changed files with 10 additions and 2 deletions
  1. 10 2
      Utilities/Scripts/update-curl.bash

+ 10 - 2
Utilities/Scripts/update-curl.bash

@@ -8,14 +8,13 @@ readonly name="curl"
 readonly ownership="Curl Upstream <[email protected]>"
 readonly ownership="Curl Upstream <[email protected]>"
 readonly subtree="Utilities/cmcurl"
 readonly subtree="Utilities/cmcurl"
 readonly repo="https://github.com/curl/curl.git"
 readonly repo="https://github.com/curl/curl.git"
-readonly tag="curl-7_54_1"
+readonly tag="curl-7_56_0"
 readonly shortlog=false
 readonly shortlog=false
 readonly paths="
 readonly paths="
   CMake/*
   CMake/*
   CMakeLists.txt
   CMakeLists.txt
   COPYING
   COPYING
   include/curl/*.h
   include/curl/*.h
-  include/curl/curlbuild.h.cmake
   lib/*.c
   lib/*.c
   lib/*.h
   lib/*.h
   lib/CMakeLists.txt
   lib/CMakeLists.txt
@@ -32,6 +31,15 @@ extract_source () {
     git_archive
     git_archive
     pushd "${extractdir}/${name}-reduced"
     pushd "${extractdir}/${name}-reduced"
     rm lib/config-*.h
     rm lib/config-*.h
+    chmod a-x lib/connect.c
+    for f in \
+      lib/cookie.c \
+      lib/krb5.c \
+      lib/security.c \
+      ; do
+        iconv -f LATIN1 -t UTF8 $f -o $f.utf-8
+        mv $f.utf-8 $f
+    done
     echo "* -whitespace" > .gitattributes
     echo "* -whitespace" > .gitattributes
     popd
     popd
 }
 }