update-curl.bash 776 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_8_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/vauth/*.c
  23. lib/vauth/*.h
  24. lib/vquic/*.c
  25. lib/vquic/*.h
  26. lib/vssh/*.c
  27. lib/vssh/*.h
  28. lib/vtls/*.c
  29. lib/vtls/*.h
  30. "
  31. extract_source () {
  32. git_archive
  33. pushd "${extractdir}/${name}-reduced"
  34. rm lib/config-*.h
  35. echo "* -whitespace" > .gitattributes
  36. popd
  37. }
  38. . "${BASH_SOURCE%/*}/update-third-party.bash"