From 823a32d21bb3820d3c9272dd28b21090263655b8 Mon Sep 17 00:00:00 2001 From: Sascha Greuel Date: Thu, 25 Apr 2024 17:58:04 +0200 Subject: [PATCH 1/3] Fixed zlib installation On aarch64, zlib installation fails, because of a leftover in the code. --- nginx-build.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/nginx-build.sh b/nginx-build.sh index 61b8cab..79538aa 100755 --- a/nginx-build.sh +++ b/nginx-build.sh @@ -577,7 +577,6 @@ _download_zlib() { echo "### downloading zlib latest ###" rm -rf zlib curl -sL http://zlib.net/current/zlib.tar.gz | /bin/tar zxf - -C "$DIR_SRC" - mv zlib-1.2.13 zlib fi } >>/tmp/nginx-ee.log 2>&1; then From bb14d4a345c670e47bb62f1dd26d52af601516e9 Mon Sep 17 00:00:00 2001 From: Sascha Greuel Date: Thu, 25 Apr 2024 18:02:33 +0200 Subject: [PATCH 2/3] Update nginx-build.sh --- nginx-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx-build.sh b/nginx-build.sh index 79538aa..9543e80 100755 --- a/nginx-build.sh +++ b/nginx-build.sh @@ -575,8 +575,9 @@ _download_zlib() { ./configure --prefix=/usr/local/zlib-cf else echo "### downloading zlib latest ###" - rm -rf zlib + rm -rf zlib-* curl -sL http://zlib.net/current/zlib.tar.gz | /bin/tar zxf - -C "$DIR_SRC" + mv zlib-* zlib fi } >>/tmp/nginx-ee.log 2>&1; then From b9f6cbb5bed54a22e27ca6bbe268fc822505d920 Mon Sep 17 00:00:00 2001 From: Sascha Greuel Date: Thu, 25 Apr 2024 18:03:22 +0200 Subject: [PATCH 3/3] Update nginx-build.sh --- nginx-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx-build.sh b/nginx-build.sh index 9543e80..baf6a1d 100755 --- a/nginx-build.sh +++ b/nginx-build.sh @@ -575,9 +575,9 @@ _download_zlib() { ./configure --prefix=/usr/local/zlib-cf else echo "### downloading zlib latest ###" - rm -rf zlib-* + rm -rf zlib* curl -sL http://zlib.net/current/zlib.tar.gz | /bin/tar zxf - -C "$DIR_SRC" - mv zlib-* zlib + mv zlib* zlib fi } >>/tmp/nginx-ee.log 2>&1; then