update-curl.bash 841 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. shopt -s dotglob
  5. readonly name="curl"
  6. readonly ownership="Curl Upstream <[email protected]>"
  7. readonly subtree="Utilities/cmcurl"
  8. readonly repo="https://github.com/curl/curl.git"
  9. readonly tag="curl-8_17_0"
  10. readonly shortlog=false
  11. readonly exact_tree_match=false
  12. readonly paths="
  13. CMake/*
  14. CMakeLists.txt
  15. COPYING
  16. include/curl/*.h
  17. lib/*.c
  18. lib/*.h
  19. lib/CMakeLists.txt
  20. lib/Makefile.inc
  21. lib/curl_config.h.cmake
  22. lib/libcurl.rc
  23. lib/curlx/*.c
  24. lib/curlx/*.h
  25. lib/vauth/*.c
  26. lib/vauth/*.h
  27. lib/vquic/*.c
  28. lib/vquic/*.h
  29. lib/vssh/*.c
  30. lib/vssh/*.h
  31. lib/vtls/*.c
  32. lib/vtls/*.h
  33. "
  34. extract_source () {
  35. git_archive
  36. pushd "${extractdir}/${name}-reduced"
  37. rm lib/config-*.h
  38. echo "* -whitespace" > .gitattributes
  39. popd
  40. }
  41. . "${BASH_SOURCE%/*}/update-third-party.bash"