From 8d8bf73737e92c021861c5a59dcff17529710c0c Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Wed, 16 Oct 2024 22:09:00 -0700 Subject: [PATCH] Bootstrap gzip on linux generic target The distro's version does not support the `-k` option. --- .../linux/build/Dockerfile-linux.template | 1 + integration/linux/build/_bootstrap/gzip.sh | 35 ++++++++++++++++++ integration/linux/build/centos-7/Dockerfile | 35 ++++++++++++++++++ integration/linux/build/centos-8/Dockerfile | 35 ++++++++++++++++++ .../linux/build/debian-bookworm/Dockerfile | 35 ++++++++++++++++++ .../linux/build/debian-bullseye/Dockerfile | 35 ++++++++++++++++++ .../linux/build/debian-buster/Dockerfile | 35 ++++++++++++++++++ integration/linux/build/fedora-40/Dockerfile | 35 ++++++++++++++++++ .../linux/build/linux-aarch64/Dockerfile | 36 +++++++++++++++++++ .../linux/build/linux-x86_64/Dockerfile | 36 +++++++++++++++++++ .../linux/build/linuxmusl-aarch64/Dockerfile | 35 ++++++++++++++++++ .../linux/build/linuxmusl-x86_64/Dockerfile | 35 ++++++++++++++++++ .../linux/build/rockylinux-9/Dockerfile | 35 ++++++++++++++++++ .../linux/build/ubuntu-bionic/Dockerfile | 35 ++++++++++++++++++ .../linux/build/ubuntu-focal/Dockerfile | 35 ++++++++++++++++++ .../linux/build/ubuntu-hirsute/Dockerfile | 35 ++++++++++++++++++ .../linux/build/ubuntu-jammy/Dockerfile | 35 ++++++++++++++++++ .../linux/build/ubuntu-noble/Dockerfile | 35 ++++++++++++++++++ 18 files changed, 598 insertions(+) create mode 100755 integration/linux/build/_bootstrap/gzip.sh diff --git a/integration/linux/build/Dockerfile-linux.template b/integration/linux/build/Dockerfile-linux.template index e4d2cd7..4c55b11 100644 --- a/integration/linux/build/Dockerfile-linux.template +++ b/integration/linux/build/Dockerfile-linux.template @@ -84,6 +84,7 @@ RUN set -ex \ && /_bootstrap/python.sh \ && /_bootstrap/git.sh \ && /_bootstrap/patchelf.sh \ + && /_bootstrap/gzip.sh \ && /_bootstrap/tar.sh \ && /_bootstrap/pkgconf.sh \ && /_bootstrap/rust.sh \ diff --git a/integration/linux/build/_bootstrap/gzip.sh b/integration/linux/build/_bootstrap/gzip.sh new file mode 100755 index 0000000..e0e1d46 --- /dev/null +++ b/integration/linux/build/_bootstrap/gzip.sh @@ -0,0 +1,35 @@ +#!/usr/bin/env bash + +set -ex + +: ${GZIP_VERSION:=1.13} + +GZIP_KEYS=( + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE +) + +mkdir -p /usr/src/gzip +cd /usr/src + +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz" +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig" + +for key in "${GZIP_KEYS[@]}"; do + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key" +done + +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz +rm -f gzip.tar.gz.sign + +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz +rm -f gzip.tar.gz + +cd /usr/src/gzip +./configure \ + --bindir=/usr/local/bin/ \ + --libexecdir=/usr/local/sbin/ +make -j $(nproc) +make install +cd /usr/src +rm -rf /usr/src/gzip diff --git a/integration/linux/build/centos-7/Dockerfile b/integration/linux/build/centos-7/Dockerfile index a178d18..5a2ad2b 100644 --- a/integration/linux/build/centos-7/Dockerfile +++ b/integration/linux/build/centos-7/Dockerfile @@ -290,6 +290,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/centos-8/Dockerfile b/integration/linux/build/centos-8/Dockerfile index 30efc74..d433120 100644 --- a/integration/linux/build/centos-8/Dockerfile +++ b/integration/linux/build/centos-8/Dockerfile @@ -286,6 +286,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/debian-bookworm/Dockerfile b/integration/linux/build/debian-bookworm/Dockerfile index cc8fb67..e63e442 100644 --- a/integration/linux/build/debian-bookworm/Dockerfile +++ b/integration/linux/build/debian-bookworm/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/debian-bullseye/Dockerfile b/integration/linux/build/debian-bullseye/Dockerfile index 316f9e6..f212394 100644 --- a/integration/linux/build/debian-bullseye/Dockerfile +++ b/integration/linux/build/debian-bullseye/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/debian-buster/Dockerfile b/integration/linux/build/debian-buster/Dockerfile index 708d77a..29a7209 100644 --- a/integration/linux/build/debian-buster/Dockerfile +++ b/integration/linux/build/debian-buster/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/fedora-40/Dockerfile b/integration/linux/build/fedora-40/Dockerfile index e2acb12..133c3b5 100644 --- a/integration/linux/build/fedora-40/Dockerfile +++ b/integration/linux/build/fedora-40/Dockerfile @@ -283,6 +283,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/linux-aarch64/Dockerfile b/integration/linux/build/linux-aarch64/Dockerfile index 1578a49..32a15d3 100644 --- a/integration/linux/build/linux-aarch64/Dockerfile +++ b/integration/linux/build/linux-aarch64/Dockerfile @@ -299,6 +299,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ @@ -666,6 +701,7 @@ RUN set -ex \ && /_bootstrap/python.sh \ && /_bootstrap/git.sh \ && /_bootstrap/patchelf.sh \ + && /_bootstrap/gzip.sh \ && /_bootstrap/tar.sh \ && /_bootstrap/pkgconf.sh \ && /_bootstrap/rust.sh \ diff --git a/integration/linux/build/linux-x86_64/Dockerfile b/integration/linux/build/linux-x86_64/Dockerfile index 166f67e..bfb3709 100644 --- a/integration/linux/build/linux-x86_64/Dockerfile +++ b/integration/linux/build/linux-x86_64/Dockerfile @@ -299,6 +299,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ @@ -666,6 +701,7 @@ RUN set -ex \ && /_bootstrap/python.sh \ && /_bootstrap/git.sh \ && /_bootstrap/patchelf.sh \ + && /_bootstrap/gzip.sh \ && /_bootstrap/tar.sh \ && /_bootstrap/pkgconf.sh \ && /_bootstrap/rust.sh \ diff --git a/integration/linux/build/linuxmusl-aarch64/Dockerfile b/integration/linux/build/linuxmusl-aarch64/Dockerfile index e98aa79..5c107ec 100644 --- a/integration/linux/build/linuxmusl-aarch64/Dockerfile +++ b/integration/linux/build/linuxmusl-aarch64/Dockerfile @@ -274,6 +274,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/linuxmusl-x86_64/Dockerfile b/integration/linux/build/linuxmusl-x86_64/Dockerfile index e98aa79..5c107ec 100644 --- a/integration/linux/build/linuxmusl-x86_64/Dockerfile +++ b/integration/linux/build/linuxmusl-x86_64/Dockerfile @@ -274,6 +274,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/rockylinux-9/Dockerfile b/integration/linux/build/rockylinux-9/Dockerfile index 7779c02..1853331 100644 --- a/integration/linux/build/rockylinux-9/Dockerfile +++ b/integration/linux/build/rockylinux-9/Dockerfile @@ -287,6 +287,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/ubuntu-bionic/Dockerfile b/integration/linux/build/ubuntu-bionic/Dockerfile index 99f1058..00f7ff6 100644 --- a/integration/linux/build/ubuntu-bionic/Dockerfile +++ b/integration/linux/build/ubuntu-bionic/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/ubuntu-focal/Dockerfile b/integration/linux/build/ubuntu-focal/Dockerfile index 765a762..fd78f80 100644 --- a/integration/linux/build/ubuntu-focal/Dockerfile +++ b/integration/linux/build/ubuntu-focal/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/ubuntu-hirsute/Dockerfile b/integration/linux/build/ubuntu-hirsute/Dockerfile index acf8106..afff10c 100644 --- a/integration/linux/build/ubuntu-hirsute/Dockerfile +++ b/integration/linux/build/ubuntu-hirsute/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/ubuntu-jammy/Dockerfile b/integration/linux/build/ubuntu-jammy/Dockerfile index eb5bd4b..56c8b06 100644 --- a/integration/linux/build/ubuntu-jammy/Dockerfile +++ b/integration/linux/build/ubuntu-jammy/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\ diff --git a/integration/linux/build/ubuntu-noble/Dockerfile b/integration/linux/build/ubuntu-noble/Dockerfile index cd63581..3e229ac 100644 --- a/integration/linux/build/ubuntu-noble/Dockerfile +++ b/integration/linux/build/ubuntu-noble/Dockerfile @@ -256,6 +256,41 @@ RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ \n\ set -ex\n\ \n\ +: ${GZIP_VERSION:=1.13}\n\ +\n\ +GZIP_KEYS=(\n\ + 155D3FC500C834486D1EEA677FD9FCCB000BEEEE\n\ +)\n\ +\n\ +mkdir -p /usr/src/gzip\n\ +cd /usr/src\n\ +\n\ +curl -fsSLo gzip.tar.gz "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz"\n\ +curl -fsSLo gzip.tar.gz.sign "https://ftp.gnu.org/gnu/gzip/gzip-${GZIP_VERSION}.tar.gz.sig"\n\ +\n\ +for key in "${GZIP_KEYS[@]}"; do\n\ + gpg --batch --keyserver hkps://keyserver.ubuntu.com --recv-keys "$key" \\\n\ + || gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$key"\n\ +done\n\ +\n\ +gpg --batch --verify gzip.tar.gz.sign gzip.tar.gz\n\ +rm -f gzip.tar.gz.sign\n\ +\n\ +tar -xzC /usr/src/gzip --strip-components=1 -f gzip.tar.gz\n\ +rm -f gzip.tar.gz\n\ +\n\ +cd /usr/src/gzip\n\ +./configure \\\n\ + --bindir=/usr/local/bin/ \\\n\ + --libexecdir=/usr/local/sbin/\n\ +make -j $(nproc)\n\ +make install\n\ +cd /usr/src\n\ +rm -rf /usr/src/gzip\n\' >/_bootstrap/gzip.sh; chmod +x /_bootstrap/gzip.sh +RUN mkdir -p '_bootstrap'; /bin/echo -e '#!/usr/bin/env bash\n\ +\n\ +set -ex\n\ +\n\ : ${MESON_VERSION:=1.5.2}\n\ \n\ mkdir -p /usr/src/meson\n\