From 8cb1d16d7e99bd96c3aa2b2e39faba832f6c5349 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 6 Nov 2021 20:24:16 -0400 Subject: [PATCH] fix: update pcre and pull from new location ftp.pcre.org is no longer supported --- bin/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index d1f5795..d39b69b 100755 --- a/bin/compile +++ b/bin/compile @@ -4,7 +4,7 @@ set -eo pipefail; [[ $TRACE ]] && set -x NGINX_VERSION="1.17.0" NGINX_TARBALL="nginx-${NGINX_VERSION}.tar.gz" -PCRE_VERSION="8.43" +PCRE_VERSION="8.45" PCRE_TARBALL="pcre-${PCRE_VERSION}.tar.gz" SIGIL_VERSION="0.4.0" SIGIL_TARBALL="sigil_${SIGIL_VERSION}_Linux_x86_64.tgz" @@ -54,7 +54,7 @@ fi if [[ ! -d "${PCRE_TARBALL%.tar.gz}" ]]; then echo "-----> Download and unzip pcre ${PCRE_VERSION} via http" - curl -sSL "https://ftp.pcre.org/pub/pcre/${PCRE_TARBALL}" -o "${PCRE_TARBALL}" + curl -sSL "https://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VERSION}/${PCRE_TARBALL} -o "${PCRE_TARBALL}" tar xzf "${PCRE_TARBALL}" && rm -f "${PCRE_TARBALL}" fi