git: ea8f620c11fb - main - www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 12 Oct 2026 20:55:14 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ea8f620c11fbf534481af65a23f538c4b9b87bb8
commit ea8f620c11fbf534481af65a23f538c4b9b87bb8
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-10-12 20:54:15 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-10-12 20:55:05 +0000
www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
- Announce the removal of the HTTP_NOTICE option after 2026-12-31.
nginx can return a fixed body itself.
- Announce the removal of the HTTP_UPSTREAM_STICKY option after
2026-12-31 in nginx and nginx-devel. nginx has its own sticky
directive since 1.29.6, freenginx does not.
Sponsored by: Netzkommune GmbH
---
www/freenginx/Makefile | 6 ++++++
www/nginx-devel/Makefile | 12 ++++++++++++
www/nginx/Makefile | 12 ++++++++++++
3 files changed, 30 insertions(+)
diff --git a/www/freenginx/Makefile b/www/freenginx/Makefile
index 9a91988e20a0..83ee307c8ba8 100644
--- a/www/freenginx/Makefile
+++ b/www/freenginx/Makefile
@@ -261,6 +261,12 @@ NJS_CONFIGURE_ARGS+= --cc-opt="${CFLAGS} -I${LOCALBASE}/include/quickjs" \
pre-everything::
@${ECHO_MSG}
+.if ${PORT_OPTIONS:MHTTP_NOTICE}
+ @${ECHO_MSG} "${PORTNAME} can return a fixed body itself. HTTP_NOTICE will be"
+ @${ECHO_MSG} "removed after 2026-12-31: replace notice with return 200 and the"
+ @${ECHO_MSG} "text, and notice_type with default_type. Unlike a static file,"
+ @${ECHO_MSG} "return answers every request method."
+.endif
.if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR}
@${ECHO_MSG} "${PORTNAME} can balance by least connections itself. HTTP_UPSTREAM_FAIR"
@${ECHO_MSG} "will be removed after 2026-12-31: replace fair; with least_conn;, and"
diff --git a/www/nginx-devel/Makefile b/www/nginx-devel/Makefile
index 5611bf524315..c7d40c8ef9cc 100644
--- a/www/nginx-devel/Makefile
+++ b/www/nginx-devel/Makefile
@@ -268,6 +268,12 @@ NJS_CONFIGURE_ARGS+= --cc-opt="${CFLAGS} -I${LOCALBASE}/include/quickjs" \
pre-everything::
@${ECHO_MSG}
+.if ${PORT_OPTIONS:MHTTP_NOTICE}
+ @${ECHO_MSG} "${PORTNAME} can return a fixed body itself. HTTP_NOTICE will be"
+ @${ECHO_MSG} "removed after 2026-12-31: replace notice with return 200 and the"
+ @${ECHO_MSG} "text, and notice_type with default_type. Unlike a static file,"
+ @${ECHO_MSG} "return answers every request method."
+.endif
.if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR}
@${ECHO_MSG} "${PORTNAME} can balance by least connections itself. HTTP_UPSTREAM_FAIR"
@${ECHO_MSG} "will be removed after 2026-12-31: replace fair; with least_conn;, and"
@@ -275,6 +281,12 @@ pre-everything::
@${ECHO_MSG} "each server."
@${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support"
.endif
+.if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY}
+ @${ECHO_MSG} "${PORTNAME} has its own sticky directive since 1.29.6, and the module"
+ @${ECHO_MSG} "defines the same name. HTTP_UPSTREAM_STICKY will be removed after"
+ @${ECHO_MSG} "2026-12-31: drop the option and use the built-in sticky, which takes"
+ @${ECHO_MSG} "domain=, path=, expires= and samesite=."
+.endif
.if ${PORT_OPTIONS:MNJS}
@${ECHO_MSG} "The built-in njs scripting engine is EOL, deprecated since njs 1.0.0."
@${ECHO_MSG} "Upstream recommends the QuickJS engine instead: enable the NJS_QJS"
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index d0726718a27d..c99192be2907 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -261,6 +261,12 @@ NJS_CONFIGURE_ARGS+= --cc-opt="${CFLAGS} -I${LOCALBASE}/include/quickjs" \
pre-everything::
@${ECHO_MSG}
+.if ${PORT_OPTIONS:MHTTP_NOTICE}
+ @${ECHO_MSG} "${PORTNAME} can return a fixed body itself. HTTP_NOTICE will be"
+ @${ECHO_MSG} "removed after 2026-12-31: replace notice with return 200 and the"
+ @${ECHO_MSG} "text, and notice_type with default_type. Unlike a static file,"
+ @${ECHO_MSG} "return answers every request method."
+.endif
.if ${PORT_OPTIONS:MHTTP_UPSTREAM_FAIR}
@${ECHO_MSG} "${PORTNAME} can balance by least connections itself. HTTP_UPSTREAM_FAIR"
@${ECHO_MSG} "will be removed after 2026-12-31: replace fair; with least_conn;, and"
@@ -268,6 +274,12 @@ pre-everything::
@${ECHO_MSG} "each server."
@${ECHO_MSG} "Enable http_ssl module to build upstream_fair with SSL support"
.endif
+.if ${PORT_OPTIONS:MHTTP_UPSTREAM_STICKY}
+ @${ECHO_MSG} "${PORTNAME} has its own sticky directive since 1.29.6, and the module"
+ @${ECHO_MSG} "defines the same name. HTTP_UPSTREAM_STICKY will be removed after"
+ @${ECHO_MSG} "2026-12-31: drop the option and use the built-in sticky, which takes"
+ @${ECHO_MSG} "domain=, path=, expires= and samesite=."
+.endif
.if ${PORT_OPTIONS:MNJS}
@${ECHO_MSG} "The built-in njs scripting engine is EOL, deprecated since njs 1.0.0."
@${ECHO_MSG} "Upstream recommends the QuickJS engine instead: enable the NJS_QJS"