update-curl.bash 809 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_16_0"
  10. readonly shortlog=false
  11. readonly paths="
  12. CMake/*
  13. CMakeLists.txt
  14. COPYING
  15. include/curl/*.h
  16. lib/*.c
  17. lib/*.h
  18. lib/CMakeLists.txt
  19. lib/Makefile.inc
  20. lib/curl_config.h.cmake
  21. lib/libcurl.rc
  22. lib/curlx/*.c
  23. lib/curlx/*.h
  24. lib/vauth/*.c
  25. lib/vauth/*.h
  26. lib/vquic/*.c
  27. lib/vquic/*.h
  28. lib/vssh/*.c
  29. lib/vssh/*.h
  30. lib/vtls/*.c
  31. lib/vtls/*.h
  32. "
  33. extract_source () {
  34. git_archive
  35. pushd "${extractdir}/${name}-reduced"
  36. rm lib/config-*.h
  37. echo "* -whitespace" > .gitattributes
  38. popd
  39. }
  40. . "${BASH_SOURCE%/*}/update-third-party.bash"