From 23e6d024bdd8cfae08d03192457774592b03c64e Mon Sep 17 00:00:00 2001 From: Felipe Zipitria Date: Mon, 22 Apr 2024 11:08:12 -0300 Subject: [PATCH] fix: use new upstream sources Signed-off-by: Felipe Zipitria --- nginx/Dockerfile | 4 ++-- nginx/Dockerfile-alpine | 4 ++-- openresty/Dockerfile-alpine | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/nginx/Dockerfile b/nginx/Dockerfile index 5745d98..aa19535 100644 --- a/nginx/Dockerfile +++ b/nginx/Dockerfile @@ -44,7 +44,7 @@ RUN set -eux; \ strip /usr/local/lib/liblmdb*.so* RUN set -eux; \ - git clone https://github.com/SpiderLabs/ModSecurity --branch "v${MODSEC3_VERSION}" --depth 1 --recursive; \ + git clone https://github.com/owasp-modsecurity/ModSecurity --branch "v${MODSEC3_VERSION}" --depth 1 --recursive; \ cd ModSecurity; \ ARCH=$(gcc -print-multiarch); \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/ssdeep.m4; \ @@ -56,7 +56,7 @@ RUN set -eux; \ # We use master RUN set -eux; \ - git clone -b master --depth 1 https://github.com/SpiderLabs/ModSecurity-nginx.git; \ + git clone -b master --depth 1 https://github.com/owasp-modsecurity/ModSecurity-nginx.git; \ curl -sSL https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz -o nginx-${NGINX_VERSION}.tar.gz; \ tar -xzf nginx-${NGINX_VERSION}.tar.gz; \ cd ./nginx-${NGINX_VERSION}; \ diff --git a/nginx/Dockerfile-alpine b/nginx/Dockerfile-alpine index f30e249..404ef12 100644 --- a/nginx/Dockerfile-alpine +++ b/nginx/Dockerfile-alpine @@ -42,7 +42,7 @@ RUN set -eux; \ WORKDIR /sources RUN set -eux; \ - git clone https://github.com/SpiderLabs/ModSecurity --branch "v${MODSEC3_VERSION}" --depth 1 --recursive; \ + git clone https://github.com/owasp-modsecurity/ModSecurity --branch "v${MODSEC3_VERSION}" --depth 1 --recursive; \ cd ModSecurity; \ ARCH=$(gcc -print-multiarch); \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/ssdeep.m4; \ @@ -54,7 +54,7 @@ RUN set -eux; \ # We use master RUN set -eux; \ - git clone -b master --depth 1 https://github.com/SpiderLabs/ModSecurity-nginx.git; \ + git clone -b master --depth 1 https://github.com/owasp-modsecurity/ModSecurity-nginx.git; \ wget --quiet http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz; \ tar -xzf nginx-${NGINX_VERSION}.tar.gz; \ cd ./nginx-${NGINX_VERSION}; \ diff --git a/openresty/Dockerfile-alpine b/openresty/Dockerfile-alpine index 3eb2140..b456731 100644 --- a/openresty/Dockerfile-alpine +++ b/openresty/Dockerfile-alpine @@ -47,7 +47,7 @@ WORKDIR /sources # Download ModSecurity and compile it. RUN set -eux; \ - git clone https://github.com/SpiderLabs/ModSecurity --branch "v${MODSEC3_VERSION}" --depth 1 --recursive; \ + git clone https://github.com/owasp-modsecurity/ModSecurity --branch "v${MODSEC3_VERSION}" --depth 1 --recursive; \ cd ModSecurity; \ ARCH=$(gcc -print-multiarch); \ sed -ie "s/i386-linux-gnu/${ARCH}/g" build/ssdeep.m4; \ @@ -61,7 +61,7 @@ RUN set -eux; \ # Download Openresty bundle for the specific version. We can then get the compilation options for nginx from the installed Openresty in the docker image to be used with the 'configure' script inside the openresty bundle to configure the ModSecurity-nginx module and then build it. I did not find the configure script inside the Openresty Docker image. # Specify the LUAJIT_LIB and LUAJIT_INC that are already installed in the base image. RUN set -eux; \ - git clone -b master --depth 1 https://github.com/SpiderLabs/ModSecurity-nginx.git; \ + git clone -b master --depth 1 https://github.com/owasp-modsecurity/ModSecurity-nginx.git; \ wget --quiet https://openresty.org/download/openresty-"${OPENRESTY_VERSION}".tar.gz; \ tar -xzf openresty-"${OPENRESTY_VERSION}".tar.gz; \ cd ./openresty-"${OPENRESTY_VERSION}"/bundle/nginx-${NGINX_VERSION}; \