Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-librhash.bash
5011 views
1
#!/usr/bin/env bash
2
3
set -e
4
set -x
5
shopt -s dotglob
6
7
readonly name="librhash"
8
readonly ownership="librhash upstream <[email protected]>"
9
readonly subtree="Utilities/cmlibrhash"
10
readonly repo="https://github.com/rhash/rhash.git"
11
readonly tag="v1.4.4" # When updating, sync version in cmVersion_Dependencies.cxx!
12
readonly shortlog=false
13
readonly exact_tree_match=false
14
readonly paths="
15
COPYING
16
librhash/algorithms.c
17
librhash/algorithms.h
18
librhash/byte_order.c
19
librhash/byte_order.h
20
librhash/hex.c
21
librhash/hex.h
22
librhash/md5.c
23
librhash/md5.h
24
librhash/rhash.c
25
librhash/rhash.h
26
librhash/sha1.c
27
librhash/sha1.h
28
librhash/sha256.c
29
librhash/sha256.h
30
librhash/sha3.c
31
librhash/sha3.h
32
librhash/sha512.c
33
librhash/sha512.h
34
librhash/ustd.h
35
librhash/util.c
36
librhash/util.h
37
"
38
39
extract_source () {
40
git_archive
41
pushd "${extractdir}/${name}-reduced"
42
echo "* -whitespace" > .gitattributes
43
popd
44
}
45
46
. "${BASH_SOURCE%/*}/update-third-party.bash"
47
48