Skip to content

Commit

Permalink
Bump nginx to 1.27.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ari-wg-gitbot committed Oct 8, 2024
1 parent 866c032 commit 3566adb
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions config/blobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ nginx/newrelic_nginx_agent-1.2.1.tar.gz:
size: 5222
object_id: c63358f6-574a-4e20-9d2b-7e1450368b6d
sha: sha256:a5a7f9b3a7e20302943b1dd448d9b725cf3cb28d774d79f618aab7c4ddeea52b
nginx/nginx-1.27.1.tar.gz:
size: 1245244
object_id: e7028095-e709-4222-7c3b-2eb810ec577b
sha: sha256:bd7ba68a6ce1ea3768b771c7e2ab4955a59fb1b1ae8d554fedb6c2304104bdfc
nginx/nginx-1.27.2.tar.gz:
size: 1258098
object_id: cc331840-d34a-411b-7159-c057f4a48245
sha: sha256:a91ecfc3a0b3a2c1413afca627bd886d76e0414b81cad0fb7872a9655a1b25fa
nginx/nginx-dav-ext-module-3.0.0.tar.gz:
size: 14558
object_id: 44648d53-c24b-45e4-4434-007713aa5fe7
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ The files can be downloaded from the following locations:

| Filename | Download URL |
|----------------------------------|-------------------------------------------------------------------------------------------------------------------|
| nginx-1.27.1.tar.gz | [nginx.org](http://nginx.org/download/nginx-1.27.1.tar.gz) |
| nginx-1.27.2.tar.gz | [nginx.org](http://nginx.org/download/nginx-1.27.2.tar.gz) |
| nginx-upload-module-2.3.0.tar.gz | [github.com/vkholodkov/nginx-upload-module](https://github.com/fdintino/nginx-upload-module/archive/2.3.0.tar.gz)
| pcre-8.45.tar.gz | [pcre.org](ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.45.tar.gz) |
12 changes: 6 additions & 6 deletions packages/nginx/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ pushd nginx-upload-module-2.3.0
popd

echo "Extracting nginx..."
tar xzvf nginx/nginx-1.27.1.tar.gz
tar xzvf nginx/nginx-1.27.2.tar.gz

sed -i 's@"nginx/"@"-/"@g' nginx-1.27.1/src/core/nginx.h
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.1/src/http/ngx_http_header_filter_module.c
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.1/src/http/v2/ngx_http_v2_filter_module.c
sed -i 's@<hr><center>nginx</center>@@g' nginx-1.27.1/src/http/ngx_http_special_response.c
sed -i 's@"nginx/"@"-/"@g' nginx-1.27.2/src/core/nginx.h
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.2/src/http/ngx_http_header_filter_module.c
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.2/src/http/v2/ngx_http_v2_filter_module.c
sed -i 's@<hr><center>nginx</center>@@g' nginx-1.27.2/src/http/ngx_http_special_response.c

echo "Building nginx..."
pushd nginx-1.27.1
pushd nginx-1.27.2
./configure \
--prefix=${BOSH_INSTALL_TARGET} \
--with-pcre=../pcre-8.45 \
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx/spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: nginx
files:
- nginx/nginx-1.27.1.tar.gz
- nginx/nginx-1.27.2.tar.gz
- nginx/pcre-8.45.tar.gz
- nginx/nginx-upload-module-2.3.0.tar.gz
- nginx/upload_module_put_support.patch
Expand Down
12 changes: 6 additions & 6 deletions packages/nginx_webdav/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ echo "Extracting pcre..."
tar xzvf nginx/pcre-8.45.tar.gz

echo "Extracting nginx..."
tar xzvf nginx/nginx-1.27.1.tar.gz
tar xzvf nginx/nginx-1.27.2.tar.gz

echo "Extracting webdav extensions"
tar xzvf nginx/nginx-dav-ext-module-3.0.0.tar.gz

sed -i 's@"nginx/"@"-/"@g' nginx-1.27.1/src/core/nginx.h
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.1/src/http/ngx_http_header_filter_module.c
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.1/src/http/v2/ngx_http_v2_filter_module.c
sed -i 's@<hr><center>nginx</center>@@g' nginx-1.27.1/src/http/ngx_http_special_response.c
sed -i 's@"nginx/"@"-/"@g' nginx-1.27.2/src/core/nginx.h
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.2/src/http/ngx_http_header_filter_module.c
sed -i 's@r->headers_out.server == NULL@0@g' nginx-1.27.2/src/http/v2/ngx_http_v2_filter_module.c
sed -i 's@<hr><center>nginx</center>@@g' nginx-1.27.2/src/http/ngx_http_special_response.c

echo "Building nginx..."
pushd nginx-1.27.1
pushd nginx-1.27.2
./configure \
--prefix=${BOSH_INSTALL_TARGET} \
--with-ld-opt="-L /usr/local/lib" \
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx_webdav/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
name: nginx_webdav
files:
- expat/expat-2.5.0.tar.bz2
- nginx/nginx-1.27.1.tar.gz
- nginx/nginx-1.27.2.tar.gz
- nginx/pcre-8.45.tar.gz
- nginx/nginx-dav-ext-module-3.0.0.tar.gz

0 comments on commit 3566adb

Please sign in to comment.