mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 03:08:35 -06:00
curl: Update script to get curl 7.56.0
This commit is contained in:
@@ -8,14 +8,13 @@ readonly name="curl"
|
|||||||
readonly ownership="Curl Upstream <curl-library@cool.haxx.se>"
|
readonly ownership="Curl Upstream <curl-library@cool.haxx.se>"
|
||||||
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user