download checksum for haproxy
This commit is contained in:
parent
b96117b7c0
commit
025a4d25aa
|
@ -5,7 +5,7 @@ set -e
|
|||
|
||||
HAPROXY_VERSION=1.9.4
|
||||
HAPROXY_URL=https://www.haproxy.org/download/1.9/src/haproxy-${HAPROXY_VERSION}.tar.gz
|
||||
HAPROXY_SHA256=8483fe12b30256f83d542b3f699e165d8f71bf2dfac8b16bb53716abce4ba74f
|
||||
HAPROXY_SHA256_URL=${HAPROXY_URL}.sha256
|
||||
HAPROXY_SRC=/tmp/haproxy
|
||||
|
||||
OPENSSL_VERSION=1.1.1b
|
||||
|
@ -36,6 +36,7 @@ popd
|
|||
#
|
||||
# build haproxy
|
||||
#
|
||||
HAPROXY_SHA256=$(wget -O - "$HAPROXY_SHA256_URL" | awk '{ print $1 }')
|
||||
wget -O haproxy.tar.gz "$HAPROXY_URL"
|
||||
echo "$HAPROXY_SHA256 *haproxy.tar.gz" | sha256sum -c
|
||||
|
||||
|
|
Loading…
Reference in New Issue