Skip to content

Commit

Permalink
AU: 1 updated - nginx-service
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Oct 20, 2022
1 parent 8ebf642 commit b6294a4
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 14 deletions.
7 changes: 5 additions & 2 deletions nginx-service/nginx-service.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<!-- == PACKAGE SPECIFIC SECTION == -->
<id>nginx-service</id>
<version>1.22.0</version>
<version>1.22.1</version>
<packageSourceUrl>https://github.com/Pilskalns/choco-au-packages/tree/master/nginx-service</packageSourceUrl>
<owners>Andzs Pilskalns</owners>
<!-- == SOFTWARE SPECIFIC SECTION == -->
Expand Down Expand Up @@ -57,7 +57,10 @@ On default, the service will autostart with Windows. To disable this use Service
See the [nginx.org](https://nginx.org) for more detailed documentation.
]]></description>
<releaseNotes><![CDATA[*) 1.22.x stable branch.]]></releaseNotes>
<releaseNotes><![CDATA[*) Security: processing of a specially crafted mp4 file by the
ngx_http_mp4_module might cause a worker process crash, worker
process memory disclosure, or might have potential other impact
(CVE-2022-41741, CVE-2022-41742).]]></releaseNotes>
<dependencies>
<dependency id="nssm" version="2.24.0" />
</dependencies>
Expand Down
36 changes: 30 additions & 6 deletions nginx-service/nginx-service.nuspec.mainline
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<!-- == PACKAGE SPECIFIC SECTION == -->
<id>nginx-service</id>
<version>1.21.6-mainline</version>
<version>1.23.2-mainline</version>
<packageSourceUrl>https://github.com/Pilskalns/choco-au-packages/tree/master/nginx-service</packageSourceUrl>
<owners>Andzs Pilskalns</owners>
<!-- == SOFTWARE SPECIFIC SECTION == -->
Expand Down Expand Up @@ -57,13 +57,37 @@ On default, the service will autostart with Windows. To disable this use Service
See the [nginx.org](https://nginx.org) for more detailed documentation.
]]></description>
<releaseNotes><![CDATA[*) Bugfix: when using EPOLLEXCLUSIVE on Linux client connections were
unevenly distributed among worker processes.
<releaseNotes><![CDATA[*) Security: processing of a specially crafted mp4 file by the
ngx_http_mp4_module might cause a worker process crash, worker
process memory disclosure, or might have potential other impact
(CVE-2022-41741, CVE-2022-41742).
*) Bugfix: nginx returned the "Connection: keep-alive" header line in
responses during graceful shutdown of old worker processes.
*) Feature: the "$proxy_protocol_tlv_..." variables.
*) Bugfix: in the "ssl_session_ticket_key" when using TLSv1.3.]]></releaseNotes>
*) Feature: TLS session tickets encryption keys are now automatically
rotated when using shared memory in the "ssl_session_cache"
directive.
*) Change: the logging level of the "bad record type" SSL errors has
been lowered from "crit" to "info".
Thanks to Murilo Andrade.
*) Change: now when using shared memory in the "ssl_session_cache"
directive the "could not allocate new session" errors are logged at
the "warn" level instead of "alert" and not more often than once per
second.
*) Bugfix: nginx/Windows could not be built with OpenSSL 3.0.x.
*) Bugfix: in logging of the PROXY protocol errors.
Thanks to Sergey Brester.
*) Workaround: shared memory from the "ssl_session_cache" directive was
spent on sessions using TLS session tickets when using TLSv1.3 with
OpenSSL.
*) Workaround: timeout specified with the "ssl_session_timeout"
directive did not work when using TLSv1.3 with OpenSSL or BoringSSL.]]></releaseNotes>
<dependencies>
<dependency id="nssm" version="2.24.0" />
</dependencies>
Expand Down
7 changes: 5 additions & 2 deletions nginx-service/nginx-service.nuspec.stable
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<!-- == PACKAGE SPECIFIC SECTION == -->
<id>nginx-service</id>
<version>1.22.0</version>
<version>1.22.1</version>
<packageSourceUrl>https://github.com/Pilskalns/choco-au-packages/tree/master/nginx-service</packageSourceUrl>
<owners>Andzs Pilskalns</owners>
<!-- == SOFTWARE SPECIFIC SECTION == -->
Expand Down Expand Up @@ -57,7 +57,10 @@ On default, the service will autostart with Windows. To disable this use Service
See the [nginx.org](https://nginx.org) for more detailed documentation.
]]></description>
<releaseNotes><![CDATA[*) 1.22.x stable branch.]]></releaseNotes>
<releaseNotes><![CDATA[*) Security: processing of a specially crafted mp4 file by the
ngx_http_mp4_module might cause a worker process crash, worker
process memory disclosure, or might have potential other impact
(CVE-2022-41741, CVE-2022-41742).]]></releaseNotes>
<dependencies>
<dependency id="nssm" version="2.24.0" />
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions nginx-service/tools/VERIFICATION.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Invoke-WebRequest "https://nginx.org/keys/mdounin.key" -UseBasicParsing -OutFile

# Get original signature from
# https://nginx.org/en/download.html
Invoke-WebRequest "https://nginx.org/download/nginx-1.22.0.zip.asc" -UseBasicParsing -OutFile "$toolsDir\..\bin\nginx-1.22.0.zip.asc"
Invoke-WebRequest "https://nginx.org/download/nginx-1.22.1.zip.asc" -UseBasicParsing -OutFile "$toolsDir\..\bin\nginx-1.22.1.zip.asc"

### Preperation
# Check that we have GPG
Expand All @@ -27,4 +27,4 @@ choco install gpg4win -y | out-null
### Verify
# Import keys and verify ZIP file against the signature
gpg --import "$toolsDir\..\bin\mdounin.key"
gpg --verify "$toolsDir\..\bin\nginx-1.22.0.zip.asc" "$toolsDir\..\bin\nginx.zip"
gpg --verify "$toolsDir\..\bin\nginx-1.22.1.zip.asc" "$toolsDir\..\bin\nginx.zip"
4 changes: 2 additions & 2 deletions nginx-service/tools/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ VERIFICATION
Nginx for each release provide a ZIP file and .asc signature file.
Files are listed on the official page http://nginx.org/en/download.html

This package bin\ content includes the release ZIP file, obtained from https://nginx.org/download/nginx-1.22.0.zip
This package bin\ content includes the release ZIP file, obtained from https://nginx.org/download/nginx-1.22.1.zip

Package also includes VERIFICATION.ps1, which essentially does the following:

1. Downloads Maxim Dounin’s publick key from https://nginx.org/en/pgp_keys.html
2. Downloads signature for this release: https://nginx.org/download/nginx-1.22.0.zip.asc
2. Downloads signature for this release: https://nginx.org/download/nginx-1.22.1.zip.asc
3. Verifies signature authenticity against bin\nginx.zip

File 'LICENSE.txt' is obtained from <https://nginx.org/LICENSE>
Expand Down

0 comments on commit b6294a4

Please sign in to comment.