Skip to content

Commit

Permalink
www/nginx-devel: update from 1.22.0 to 1.23.0
Browse files Browse the repository at this point in the history
Please note: the following third-party modules are require additional
patches (marked IGNORE):
o) clojure
o) headers_more
o) http_push_stream
o) http_redis
o) http_response
o) http_upload_progress
o) http_upstream_sticky
o) http_zip
o) lua
o) naxsi
o) srcache
o) vod

<Changelog>

*) Change in internal API: now header lines are represented as linked
   lists.

*) Change: now nginx combines arbitrary header lines with identical
   names when sending to FastCGI, SCGI, and uwsgi backends, in the
   $r->header_in() method of the ngx_http_perl_module, and during lookup
   of the "$http_...", "$sent_http_...", "$sent_trailer_...",
   "$upstream_http_...", and "$upstream_trailer_..." variables.

*) Bugfix: if there were multiple "Vary" header lines in the backend
   response, nginx only used the last of them when caching.

*) Bugfix: if there were multiple "WWW-Authenticate" header lines in the
   backend response and errors with code 401 were intercepted or the
   "auth_request" directive was used, nginx only sent the first of the
   header lines to the client.

*) Change: the logging level of the "application data after close
   notify" SSL errors has been lowered from "crit" to "info".

*) Bugfix: connections might hang if nginx was built on Linux 2.6.17 or
   newer, but was used on systems without EPOLLRDHUP support, notably
   with epoll emulation layers; the bug had appeared in 1.17.5.
   Thanks to Marcus Ball.

*) Bugfix: nginx did not cache the response if the "Expires" response
   header line disabled caching, but following "Cache-Control" header
   line enabled caching.

</Changelog>
  • Loading branch information
osokin committed Jul 10, 2022
1 parent 057805f commit dc7ad82
Show file tree
Hide file tree
Showing 3 changed files with 1,440 additions and 1,697 deletions.
23 changes: 21 additions & 2 deletions www/nginx-devel/Makefile
@@ -1,8 +1,7 @@
# Created by: Sergey A. Osokin <osa@FreeBSD.org>

PORTNAME?= nginx
PORTVERSION= 1.22.0
PORTREVISION= 7
PORTVERSION= 1.23.0
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
LOCAL/osa
Expand Down Expand Up @@ -225,6 +224,11 @@ CONFIGURE_ENV+= OPTIMIZE="yes"
CFLAGS+= -DNDEBUG
.endif

# Fix build failure on clang >= 12
.if ${PORT_OPTIONS:MHTTP_PERL} && ${OSVERSION} >= 1301000
CFLAGS+= -Wno-compound-token-split-by-macro
.endif

.if empty(PORT_OPTIONS:MPCRE_ONE) && empty(PORT_OPTIONS:MPCRE_TWO)
IGNORE= required at least PCRE_ONE or PCRE_TWO \
to be defined. Please do 'make config' again
Expand All @@ -240,6 +244,21 @@ IGNORE= required HTTPV3_BORING or HTTPV3_QTLS \
NJS_CONFIGURE_ARGS= --no-pcre2
.endif

.if ${PORT_OPTIONS:MCLOJURE} || \
${PORT_OPTIONS:MHEADERS_MORE} || \
${PORT_OPTIONS:MHTTP_PUSH_STREAM} || \
${PORT_OPTIONS:MHTTP_REDIS} || \
${PORT_OPTIONS:MHTTP_RESPONSE} || \
${PORT_OPTIONS:MHTTP_UPLOAD_PROGRESS} || \
${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY} || \
${PORT_OPTIONS:MHTTP_ZIP} || \
${PORT_OPTIONS:MLUA} || \
${PORT_OPTIONS:MNAXSI} || \
${PORT_OPTIONS:MSRCACHE} || \
${PORT_OPTIONS:MVOD}
IGNORE= a patch requires
.endif

pre-everything::
@${ECHO_MSG}
.if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR}
Expand Down
6 changes: 3 additions & 3 deletions www/nginx-devel/distinfo
@@ -1,6 +1,6 @@
TIMESTAMP = 1655810549
SHA256 (nginx-1.22.0.tar.gz) = b33d569a6f11a01433a57ce17e83935e953ad4dc77cdd4d40f896c88ac26eb53
SIZE (nginx-1.22.0.tar.gz) = 1073322
TIMESTAMP = 1657479744
SHA256 (nginx-1.23.0.tar.gz) = 820acaa35b9272be9e9e72f6defa4a5f2921824709f8aa4772c78ab31ed94cd1
SIZE (nginx-1.23.0.tar.gz) = 1102940
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
SIZE (nginx_mogilefs_module-1.0.4.tar.gz) = 11208
SHA256 (nginx_mod_h264_streaming-2.2.7.tar.gz) = 6d974ba630cef59de1f60996c66b401264a345d25988a76037c2856cec756c19
Expand Down

0 comments on commit dc7ad82

Please sign in to comment.