Squashed 'gitstatus/' changes from f81313e2..1a80249d

1a80249d build: verify libgit2 tarball sha256
74c3d56f bash: call mktemp only once and avoid `mktemp -u`
b139dec4 install: use mktemp if available
9f594d24 bash: block SIGQUIT and SIGTSTP in daemon
73f47ea3 add sha256 verification for downloaded gitstatusd; enable gitee mirror

git-subtree-dir: gitstatus
git-subtree-split: 1a80249d2b6a53fd076ae846f8fcc501183ca5a5
This commit is contained in:
romkatv 2020-05-13 09:40:53 +02:00
commit a6009c74a9
6 changed files with 201 additions and 134 deletions

View file

@ -5,8 +5,8 @@
# ./install) when gitstatusd is from ./usrbin.
gitstatus_version="v1.0.0"
# libgit2 is a build time dependency of gitstatusd. The value of
# libgit2_version is read by ./build.
# libgit2 is a build time dependency of gitstatusd. The values of
# libgit2_version and libgit2_sha256 are read by ./build.
#
# If ./deps/libgit2-${libgit2_version}.tar.gz doesn't exist, build
# downloads it from the following location:
@ -15,4 +15,8 @@ gitstatus_version="v1.0.0"
#
# Once downloaded, the tarball is stored at the path indicated
# above so that repeated builds don't consume network bandwidth.
#
# If sha256 of ./deps/libgit2-${libgit2_version}.tar.gz doesn't match,
# build gets aborted.
libgit2_version="tag-005f77dca6dbe8788e55139fa1199fc94cc04f9a"
libgit2_sha256="6af7c839640ed5474fef9761a80b5c24bcdd87abc771406e31d5c2bf27f48be5"