update-librhash.bash 847 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. shopt -s dotglob
  5. readonly name="librhash"
  6. readonly ownership="librhash upstream <[email protected]>"
  7. readonly subtree="Utilities/cmlibrhash"
  8. readonly repo="https://github.com/rhash/rhash.git"
  9. readonly tag="master"
  10. readonly shortlog=false
  11. readonly paths="
  12. COPYING
  13. README
  14. librhash/algorithms.c
  15. librhash/algorithms.h
  16. librhash/byte_order.c
  17. librhash/byte_order.h
  18. librhash/hex.c
  19. librhash/hex.h
  20. librhash/md5.c
  21. librhash/md5.h
  22. librhash/rhash.c
  23. librhash/rhash.h
  24. librhash/sha1.c
  25. librhash/sha1.h
  26. librhash/sha256.c
  27. librhash/sha256.h
  28. librhash/sha512.c
  29. librhash/sha512.h
  30. librhash/ustd.h
  31. librhash/util.h
  32. "
  33. extract_source () {
  34. git_archive
  35. pushd "${extractdir}/${name}-reduced"
  36. echo "* -whitespace" > .gitattributes
  37. popd
  38. }
  39. . "${BASH_SOURCE%/*}/update-third-party.bash"