Skip to content

Commit

Permalink
fix(kong-ngx-build) use SourceForge mirror for PCRE downloads
Browse files Browse the repository at this point in the history
It appears that ftp.pcre.org is no longer online and the
[official website for PCRE](http://pcre.org) now recommends downloading from the SourceForge mirror
instead.
  • Loading branch information
dndx committed Nov 5, 2021
1 parent e1028ef commit 5f3561b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openresty-build-tools/kong-ngx-build
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ main() {
PCRE_DOWNLOAD=$DOWNLOAD_CACHE/pcre-$PCRE_VER
if [ ! -d $PCRE_DOWNLOAD ]; then
warn "PCRE source not found, downloading..."
curl -sSLO https://ftp.pcre.org/pub/pcre/pcre-${PCRE_VER}.tar.gz
curl -sSLO https://downloads.sourceforge.net/project/pcre/pcre/${PCRE_VER}/pcre-${PCRE_VER}.tar.gz
if [ ! -z ${PCRE_SHA+x} ]; then
echo "$PCRE_SHA pcre-${PCRE_VER}.tar.gz" | sha256sum -c -
fi
Expand Down

0 comments on commit 5f3561b

Please sign in to comment.