diff --git a/build-haproxy.sh b/build-haproxy.sh index 0ddcb3c..547388e 100755 --- a/build-haproxy.sh +++ b/build-haproxy.sh @@ -3,12 +3,12 @@ set -e -HAPROXY_VERSION=1.9.7 -HAPROXY_URL=https://www.haproxy.org/download/1.9/src/haproxy-${HAPROXY_VERSION}.tar.gz +HAPROXY_VERSION=2.0.0 +HAPROXY_URL=https://www.haproxy.org/download/2.0/src/haproxy-${HAPROXY_VERSION}.tar.gz HAPROXY_SHA256_URL=${HAPROXY_URL}.sha256 HAPROXY_SRC=/tmp/haproxy -OPENSSL_VERSION=1.1.1b +OPENSSL_VERSION=1.1.1c OPENSSL_URL=https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz OPENSSL_SHA256_URL=${OPENSSL_URL}.sha256 OPENSSL_SRC=/tmp/openssl @@ -48,7 +48,7 @@ rm haproxy.tar.gz sed -e 's/OPTIONS_LDFLAGS += -lpthread/OPTIONS_LDFLAGS += -pthread/' -i "$HAPROXY_SRC/Makefile" HAPROXY_OPTIONS=" \ - TARGET=linux2628 \ + TARGET=linux-glibc \ USE_SYSTEMD=1 \ USE_LUA=1 \ LUA_INC=/usr/include/lua5.3 \