git: 67c02a34db12 - main - www/freenginx-devel: third-party modules management (+)

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Sat, 05 Sep 2026 16:11:29 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67c02a34db12d6b6437240f54e92480c2046ad72

commit 67c02a34db12d6b6437240f54e92480c2046ad72
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2026-09-05 16:10:43 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2026-09-05 16:10:43 +0000

    www/freenginx-devel: third-party modules management (+)
    
    - update ngx-http-auth-jwt module to 2.5.0
    
    Bump PORTREVISION.
    
    Sponsored by:   tipi.work
---
 www/freenginx-devel/Makefile                         |  2 +-
 www/freenginx-devel/Makefile.extmod                  |  3 +--
 www/freenginx-devel/distinfo                         |  6 +++---
 .../files/extra-patch-ngx_http_auth_jwt_module.c     | 20 --------------------
 4 files changed, 5 insertions(+), 26 deletions(-)

diff --git a/www/freenginx-devel/Makefile b/www/freenginx-devel/Makefile
index e3aac799dc9f..688ea48eb285 100644
--- a/www/freenginx-devel/Makefile
+++ b/www/freenginx-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	freenginx
 PORTVERSION=	${NGINX_VERSION}
 .include "version.mk"
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www
 MASTER_SITES=	https://freenginx.org/download/ \
 		LOCAL/osa
diff --git a/www/freenginx-devel/Makefile.extmod b/www/freenginx-devel/Makefile.extmod
index fdfd5905c769..4c0ce1f4c2be 100644
--- a/www/freenginx-devel/Makefile.extmod
+++ b/www/freenginx-devel/Makefile.extmod
@@ -87,8 +87,7 @@ HTTP_ACCEPT_LANGUAGE_VARS=	DSO_EXTMODS+=accept_language
 HTTP_AUTH_DIGEST_GH_TUPLE=	atomx:nginx-http-auth-digest:ac91c88:auth_digest
 HTTP_AUTH_DIGEST_VARS=		DSO_EXTMODS+=auth_digest
 
-HTTP_AUTH_JWT_GH_TUPLE=		TeslaGov:ngx-http-auth-jwt-module:2.4.0:http_auth_jwt
-HTTP_AUTH_JWT_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-ngx_http_auth_jwt_module.c
+HTTP_AUTH_JWT_GH_TUPLE=		TeslaGov:ngx-http-auth-jwt-module:2.5.0:http_auth_jwt
 HTTP_AUTH_JWT_LIB_DEPENDS=	libjansson.so:devel/jansson \
 				libjwt.so:www/libjwt
 HTTP_AUTH_JWT_PREVENTS=		AUTH_JWT
diff --git a/www/freenginx-devel/distinfo b/www/freenginx-devel/distinfo
index 2570e2f87917..201307aff737 100644
--- a/www/freenginx-devel/distinfo
+++ b/www/freenginx-devel/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1788623736
+TIMESTAMP = 1788624298
 SHA256 (freenginx-1.31.4.tar.gz) = 23d784d93e13ac8febf6dd209631e056bc8c4046769804c6ef3c56d401734e27
 SIZE (freenginx-1.31.4.tar.gz) = 1256428
 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
@@ -43,8 +43,8 @@ SHA256 (dvershinin-nginx_accept_language_module-5683967_GH0.tar.gz) = a58feb576f
 SIZE (dvershinin-nginx_accept_language_module-5683967_GH0.tar.gz) = 3425
 SHA256 (atomx-nginx-http-auth-digest-ac91c88_GH0.tar.gz) = 31b2a737d3d5d118a286a0b8a6e2637eda313dba07a9a5824e4c6e33ea6e2b80
 SIZE (atomx-nginx-http-auth-digest-ac91c88_GH0.tar.gz) = 17890
-SHA256 (TeslaGov-ngx-http-auth-jwt-module-2.4.0_GH0.tar.gz) = c98c4aa7ea33061f474060041666e4e5b9d188b43bb923fc4c8786e4a04463ba
-SIZE (TeslaGov-ngx-http-auth-jwt-module-2.4.0_GH0.tar.gz) = 31288
+SHA256 (TeslaGov-ngx-http-auth-jwt-module-2.5.0_GH0.tar.gz) = 6691e04320da6da82c20d5aae978304e060e0f0839f87e09d7a95a0787c6adc6
+SIZE (TeslaGov-ngx-http-auth-jwt-module-2.5.0_GH0.tar.gz) = 31831
 SHA256 (stnoonan-spnego-http-auth-nginx-module-v1.1.3_GH0.tar.gz) = 0e1e54f8ab7d76f922881f13d870edf8b820ef645b19013774c825110d011640
 SIZE (stnoonan-spnego-http-auth-nginx-module-v1.1.3_GH0.tar.gz) = 32975
 SHA256 (kvspb-nginx-auth-ldap-241200e_GH0.tar.gz) = d3aa3a5ead311b34059d6ab1b6d2cf3ac8269c47a87b768523c07381229db470
diff --git a/www/freenginx-devel/files/extra-patch-ngx_http_auth_jwt_module.c b/www/freenginx-devel/files/extra-patch-ngx_http_auth_jwt_module.c
deleted file mode 100644
index 0af58880bf2d..000000000000
--- a/www/freenginx-devel/files/extra-patch-ngx_http_auth_jwt_module.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ../ngx-http-auth-jwt-module-2.4.0/src/ngx_http_auth_jwt_module.c.orig	2025-02-04 20:24:57.122767000 -0500
-+++ ../ngx-http-auth-jwt-module-2.4.0/src/ngx_http_auth_jwt_module.c	2025-02-04 20:25:14.922658000 -0500
-@@ -866,17 +866,10 @@
-     jwt_location.data += strlen(COOKIE_PREFIX);
-     jwt_location.len -= strlen(COOKIE_PREFIX);
- 
--#ifndef NGX_LINKED_LIST_COOKIES
--    if (ngx_http_parse_multi_header_lines(&r->headers_in.cookies, &jwt_location, &jwtCookieVal) != NGX_DECLINED)
--    {
--      has_cookie = true;
--    }
--#else
-     if (ngx_http_parse_multi_header_lines(r, r->headers_in.cookie, &jwt_location, &jwtCookieVal) != NULL)
-     {
-       has_cookie = true;
-     }
--#endif
- 
-     if (has_cookie == true)
-     {