git: ce0933f8cf5b - main - www/nginx-module-cache-purge: Update to 3.0.2.20260524

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Wed, 09 Sep 2026 16:37:57 UTC
The branch main has been updated by joneum:

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

commit ce0933f8cf5ba275422d5ab80afbf1f2ed502715
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-09-09 16:36:02 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-09-09 16:37:46 +0000

    www/nginx-module-cache-purge: Update to 3.0.2.20260524
    
    Snapshot of the current upstream tree.  It fixes 404 responses on
    non-PURGE requests when an "if" block is present, either at server
    level or inside the location.
    
    Sponsored by:   Netzkommune GmbH
---
 www/nginx-module-cache-purge/Makefile                               | 4 ++--
 www/nginx-module-cache-purge/distinfo                               | 6 +++---
 .../files/patch-ngx__cache__purge__module.c                         | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/www/nginx-module-cache-purge/Makefile b/www/nginx-module-cache-purge/Makefile
index f1a2b2ea91e9..8badc78ebe03 100644
--- a/www/nginx-module-cache-purge/Makefile
+++ b/www/nginx-module-cache-purge/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	nginx-module-cache-purge
-DISTVERSION=	3.0.2
-PORTREVISION=	1
+DISTVERSION=	3.0.2.20260524
 CATEGORIES=	www
 
 MAINTAINER=	joneum@FreeBSD.org
@@ -13,6 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USE_GITHUB=	yes
 GH_ACCOUNT=	nginx-modules
 GH_PROJECT=	ngx_cache_purge
+GH_TAGNAME=	285354eddd56
 
 NO_ARCH=	yes
 NO_BUILD=	yes
diff --git a/www/nginx-module-cache-purge/distinfo b/www/nginx-module-cache-purge/distinfo
index 41642dcbac18..565dbd032e7e 100644
--- a/www/nginx-module-cache-purge/distinfo
+++ b/www/nginx-module-cache-purge/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788743565
-SHA256 (nginx-modules-ngx_cache_purge-3.0.2_GH0.tar.gz) = 627f60bfd514bbe6de7af1bfcb4c69271d4588348d5e359cbd26679adf0f2fb0
-SIZE (nginx-modules-ngx_cache_purge-3.0.2_GH0.tar.gz) = 42151
+TIMESTAMP = 1788963821
+SHA256 (nginx-modules-ngx_cache_purge-3.0.2.20260524-285354eddd56_GH0.tar.gz) = af5a28c86240e138860eb8db85869a925ed67a4c1e6188b94e03a6acd3dded84
+SIZE (nginx-modules-ngx_cache_purge-3.0.2.20260524-285354eddd56_GH0.tar.gz) = 43719
diff --git a/www/nginx-module-cache-purge/files/patch-ngx__cache__purge__module.c b/www/nginx-module-cache-purge/files/patch-ngx__cache__purge__module.c
index 2490f1ee2939..ba6e723fc8f1 100644
--- a/www/nginx-module-cache-purge/files/patch-ngx__cache__purge__module.c
+++ b/www/nginx-module-cache-purge/files/patch-ngx__cache__purge__module.c
@@ -1,8 +1,8 @@
---- ngx_cache_purge_module.c.orig	2026-05-05 11:30:59 UTC
+--- ngx_cache_purge_module.c.orig	2026-05-24 00:15:06 UTC
 +++ ngx_cache_purge_module.c
-@@ -1789,7 +1789,7 @@ typedef struct {
+@@ -1782,7 +1782,7 @@ typedef struct {
      ngx_array_t               *headers_source;
-     /* FIX (#52): nginx 1.29.4 inserted host_set here — without this guard
+     /* FIX (#52): nginx 1.29.4 inserted host_set here -- without this guard
       * every subsequent field is at the wrong offset, causing a segfault. */
 -#  if (nginx_version >= 1029004)
 +#  if (nginx_version >= 1029004) && !defined(freenginx)