git: 85bffa45072c - main - www/nginx-module-ndk: Update to 0.3.5

From: Jochen Neumeister <joneum_at_FreeBSD.org>
Date: Sun, 27 Sep 2026 07:20:11 UTC
The branch main has been updated by joneum:

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

commit 85bffa45072c25e620c5e69d8412671aabb4a366
Author:     Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2026-09-26 18:39:23 +0000
Commit:     Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2026-09-27 07:19:59 +0000

    www/nginx-module-ndk: Update to 0.3.5
    
    Switch to the openresty fork.  The repository at vision5 has seen no
    commit since February 2025, while openresty carries the fix for complex
    values with nginx 1.31.3, which www/nginx-devel needs, and is the tree
    that the CI of the modules depending on the NDK clones.
    
    Follow the layout of the other module source ports and add a pkg-message
    that explains how the nginx ports turn the sources into
    ndk_http_module.so.
    
    Sponsored by:   Netzkommune GmbH
---
 www/nginx-module-ndk/Makefile             | 12 +++++++-----
 www/nginx-module-ndk/distinfo             |  6 +++---
 www/nginx-module-ndk/files/pkg-message.in | 15 +++++++++++++++
 www/nginx-module-ndk/pkg-descr            |  3 +++
 www/nginx-module-ndk/pkg-plist            |  8 ++++----
 5 files changed, 32 insertions(+), 12 deletions(-)

diff --git a/www/nginx-module-ndk/Makefile b/www/nginx-module-ndk/Makefile
index 95d06893f744..97ee58438dd1 100644
--- a/www/nginx-module-ndk/Makefile
+++ b/www/nginx-module-ndk/Makefile
@@ -1,23 +1,25 @@
 PORTNAME=	nginx-module-ndk
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.4
+DISTVERSION=	0.3.5
 CATEGORIES=	www
 
 MAINTAINER=	joneum@FreeBSD.org
-COMMENT=	Nginx Development Kit module
-WWW=		https://github.com/vision5/ngx_devel_kit
+COMMENT=	Sources of the NDK module for the NGINX ports
+WWW=		https://github.com/openresty/ngx_devel_kit
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	vision5
+GH_ACCOUNT=	openresty
 GH_PROJECT=	ngx_devel_kit
 
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-MODULESDIR=	${LOCALBASE}/share/nginx/modules/${PORTNAME}
+SUB_FILES=	pkg-message
+
+MODULESDIR=	${PREFIX}/share/nginx/modules/${PORTNAME}
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${MODULESDIR}
diff --git a/www/nginx-module-ndk/distinfo b/www/nginx-module-ndk/distinfo
index 858a077f460b..3c7ab0d9edc2 100644
--- a/www/nginx-module-ndk/distinfo
+++ b/www/nginx-module-ndk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1788084501
-SHA256 (vision5-ngx_devel_kit-v0.3.4_GH0.tar.gz) = 14a28063294f645d457b1eb10e3c23bbba44398f1c5f021421b58b6f8ab31662
-SIZE (vision5-ngx_devel_kit-v0.3.4_GH0.tar.gz) = 66474
+TIMESTAMP = 1790356060
+SHA256 (openresty-ngx_devel_kit-v0.3.5_GH0.tar.gz) = 24d0fa12c491850004d84f0814917a2f169d1ab151f73e93b35f0da39f893088
+SIZE (openresty-ngx_devel_kit-v0.3.5_GH0.tar.gz) = 66555
diff --git a/www/nginx-module-ndk/files/pkg-message.in b/www/nginx-module-ndk/files/pkg-message.in
new file mode 100644
index 000000000000..a9a04035220d
--- /dev/null
+++ b/www/nginx-module-ndk/files/pkg-message.in
@@ -0,0 +1,15 @@
+[
+{ type: install
+  message: <<EOM
+This package contains the sources of the NDK module only.  It does not
+install a loadable module, and installing it alongside nginx does not
+add anything to a running server.
+
+The module itself is built by the nginx ports.  To use it, build
+www/nginx, www/nginx-devel or www/freenginx with the DEVEL_KIT option
+enabled, or with any option that depends on it.  Those ports pick the
+sources up from %%PREFIX%%/share/nginx/modules/nginx-module-ndk and
+produce ndk_http_module.so.
+EOM
+}
+]
diff --git a/www/nginx-module-ndk/pkg-descr b/www/nginx-module-ndk/pkg-descr
index 2576d06d276b..cfd20e684c06 100644
--- a/www/nginx-module-ndk/pkg-descr
+++ b/www/nginx-module-ndk/pkg-descr
@@ -2,3 +2,6 @@ The Nginx Development Kit (NDK) is a module that adds additional
 generic tools that module developers can use in their own modules.
 
 It is required to build several third-party nginx modules.
+
+This port only installs the module sources.  The module itself is built
+by the nginx ports when their DEVEL_KIT option is enabled.
diff --git a/www/nginx-module-ndk/pkg-plist b/www/nginx-module-ndk/pkg-plist
index 20b3d9fb667f..2663623c5a06 100644
--- a/www/nginx-module-ndk/pkg-plist
+++ b/www/nginx-module-ndk/pkg-plist
@@ -11,6 +11,8 @@ share/nginx/modules/nginx-module-ndk/objs/ndk_palloc.h
 share/nginx/modules/nginx-module-ndk/src/hash/md5.h
 share/nginx/modules/nginx-module-ndk/src/hash/murmurhash2.c
 share/nginx/modules/nginx-module-ndk/src/hash/sha.h
+share/nginx/modules/nginx-module-ndk/src/ndk.c
+share/nginx/modules/nginx-module-ndk/src/ndk.h
 share/nginx/modules/nginx-module-ndk/src/ndk_buf.c
 share/nginx/modules/nginx-module-ndk/src/ndk_buf.h
 share/nginx/modules/nginx-module-ndk/src/ndk_complex_path.c
@@ -25,9 +27,9 @@ share/nginx/modules/nginx-module-ndk/src/ndk_encoding.c
 share/nginx/modules/nginx-module-ndk/src/ndk_encoding.h
 share/nginx/modules/nginx-module-ndk/src/ndk_hash.c
 share/nginx/modules/nginx-module-ndk/src/ndk_hash.h
-share/nginx/modules/nginx-module-ndk/src/ndk_http_headers.h
 share/nginx/modules/nginx-module-ndk/src/ndk_http.c
 share/nginx/modules/nginx-module-ndk/src/ndk_http.h
+share/nginx/modules/nginx-module-ndk/src/ndk_http_headers.h
 share/nginx/modules/nginx-module-ndk/src/ndk_log.c
 share/nginx/modules/nginx-module-ndk/src/ndk_log.h
 share/nginx/modules/nginx-module-ndk/src/ndk_parse.h
@@ -41,12 +43,10 @@ share/nginx/modules/nginx-module-ndk/src/ndk_rewrite.c
 share/nginx/modules/nginx-module-ndk/src/ndk_rewrite.h
 share/nginx/modules/nginx-module-ndk/src/ndk_set_var.c
 share/nginx/modules/nginx-module-ndk/src/ndk_set_var.h
-share/nginx/modules/nginx-module-ndk/src/ndk_string_util.h
 share/nginx/modules/nginx-module-ndk/src/ndk_string.c
 share/nginx/modules/nginx-module-ndk/src/ndk_string.h
+share/nginx/modules/nginx-module-ndk/src/ndk_string_util.h
 share/nginx/modules/nginx-module-ndk/src/ndk_upstream_list.c
 share/nginx/modules/nginx-module-ndk/src/ndk_upstream_list.h
 share/nginx/modules/nginx-module-ndk/src/ndk_uri.c
 share/nginx/modules/nginx-module-ndk/src/ndk_uri.h
-share/nginx/modules/nginx-module-ndk/src/ndk.c
-share/nginx/modules/nginx-module-ndk/src/ndk.h