cmake/Utilities/Scripts/update-curl.bash

43 lines
777 B
Bash
Raw Normal View History

2016-09-11 17:22:32 +02:00
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="curl"
2022-03-29 21:10:50 +02:00
readonly ownership="Curl Upstream <curl-library@lists.haxx.se>"
2016-09-11 17:22:32 +02:00
readonly subtree="Utilities/cmcurl"
2016-10-30 18:24:19 +01:00
readonly repo="https://github.com/curl/curl.git"
2024-11-11 15:18:55 +01:00
readonly tag="curl-8_10_1"
2016-09-11 17:22:32 +02:00
readonly shortlog=false
readonly paths="
CMake/*
CMakeLists.txt
COPYING
include/curl/*.h
lib/*.c
lib/*.h
lib/CMakeLists.txt
lib/Makefile.inc
lib/curl_config.h.cmake
lib/libcurl.rc
lib/vauth/*.c
lib/vauth/*.h
2020-08-30 11:54:41 +02:00
lib/vquic/*.c
lib/vquic/*.h
lib/vssh/*.c
lib/vssh/*.h
2016-09-11 17:22:32 +02:00
lib/vtls/*.c
lib/vtls/*.h
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
rm lib/config-*.h
2017-07-20 19:35:53 +02:00
echo "* -whitespace" > .gitattributes
2016-09-11 17:22:32 +02:00
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"