git: fde143d86b68 - main - www/nginx: add third-party zstd module
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Nov 2025 19:33:47 UTC
The branch main has been updated by joneum:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fde143d86b688cd85c979a269d439b2f8907ed5b
commit fde143d86b688cd85c979a269d439b2f8907ed5b
Author: Jochen Neumeister <joneum@FreeBSD.org>
AuthorDate: 2025-11-09 19:32:16 +0000
Commit: Jochen Neumeister <joneum@FreeBSD.org>
CommitDate: 2025-11-09 19:33:37 +0000
www/nginx: add third-party zstd module
PR: 284075
Sponsored by: Netzkommune GmbH
---
www/nginx/Makefile | 2 +-
www/nginx/Makefile.extmod | 8 +++++++-
www/nginx/Makefile.options.desc | 1 +
www/nginx/distinfo | 4 +++-
www/nginx/pkg-plist | 2 ++
5 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index d9ea0c28db1d..e21a6c07c8dc 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -1,6 +1,6 @@
PORTNAME= nginx
PORTVERSION= 1.28.0
-PORTREVISION= 6
+PORTREVISION= 7
PORTEPOCH= 3
CATEGORIES= www
MASTER_SITES= https://nginx.org/download/ \
diff --git a/www/nginx/Makefile.extmod b/www/nginx/Makefile.extmod
index 83ffe8e4a801..eee8241b5fed 100644
--- a/www/nginx/Makefile.extmod
+++ b/www/nginx/Makefile.extmod
@@ -13,7 +13,7 @@ OPTIONS_GROUP_THIRDPARTYGRP= AJP AWS_AUTH BROTLI CACHE_PURGE \
HTTP_UPSTREAM_STICKY HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP ICONV LET LINK LUA LUASTREAM \
MEMC MODSECURITY3 NAXSI PASSENGER POSTGRES RDS_CSV RDS_JSON \
REDIS2 RTMP SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE SRCACHE STS \
- VOD VTS XSS WEBSOCKIFY
+ VOD VTS XSS WEBSOCKIFY ZSTD
AJP_GH_TUPLE= msva:nginx_ajp_module:fcbb2cc:ajp
AJP_VARS= DSO_EXTMODS+=ajp
@@ -321,3 +321,9 @@ XSS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-xss-nginx-module-config
WEBSOCKIFY_GH_TUPLE= tg123:websockify-nginx-module:c11bc9a:websockify
WEBSOCKIFY_VARS= DSO_EXTMODS+=websockify
+
+ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
+ZSTD_CONFIGURE_ENV= ZSTD_INC=${LOCALBASE}/include \
+ ZSTD_LIB=${LOCALBASE}/lib
+ZSTD_GH_TUPLE= tokers:zstd-nginx-module:f4ba115:zstd
+ZSTD_VARS= DSO_EXTMODS+=zstd
diff --git a/www/nginx/Makefile.options.desc b/www/nginx/Makefile.options.desc
index 9ab1054b57ef..f2b3924b69f8 100644
--- a/www/nginx/Makefile.options.desc
+++ b/www/nginx/Makefile.options.desc
@@ -115,3 +115,4 @@ VTS_DESC= 3rd party vts module
WWW_DESC= Enable html sample files
XSS_DESC= 3rd party xss module
WEBSOCKIFY_DESC= 3rd party websockify module
+ZSTD_DESC= 3rd party zstd module
diff --git a/www/nginx/distinfo b/www/nginx/distinfo
index 09cdfbe63705..19b87215caa6 100644
--- a/www/nginx/distinfo
+++ b/www/nginx/distinfo
@@ -1,4 +1,4 @@
-TIMESTAMP = 1762713374
+TIMESTAMP = 1762716494
SHA256 (nginx-1.28.0.tar.gz) = c6b5c6b086c0df9d3ca3ff5e084c1d0ef909e6038279c71c1c3e985f576ff76a
SIZE (nginx-1.28.0.tar.gz) = 1280111
SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae
@@ -137,3 +137,5 @@ SHA256 (tg123-websockify-nginx-module-c11bc9a_GH0.tar.gz) = aca454bffcee2476dc92
SIZE (tg123-websockify-nginx-module-c11bc9a_GH0.tar.gz) = 14646
SHA256 (openresty-xss-nginx-module-v0.06_GH0.tar.gz) = 0b12bbc53a41f3e3d6df419c173b8c87434be3e6cd255a8193aa91345a2de6cf
SIZE (openresty-xss-nginx-module-v0.06_GH0.tar.gz) = 12448
+SHA256 (tokers-zstd-nginx-module-f4ba115_GH0.tar.gz) = 20045e8ac80e2cc9fd3659573153cb1f22d98a653a10fe939a4be0e90160826a
+SIZE (tokers-zstd-nginx-module-f4ba115_GH0.tar.gz) = 55848
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist
index 516147771913..3b1820473890 100644
--- a/www/nginx/pkg-plist
+++ b/www/nginx/pkg-plist
@@ -81,6 +81,8 @@
%%DSO%%%%VTS%%libexec/nginx/ngx_http_vhost_traffic_status_module.so
%%DSO%%%%WEBSOCKIFY%%libexec/nginx/ngx_http_websockify_module.so
%%DSO%%%%XSS%%libexec/nginx/ngx_http_xss_filter_module.so
+%%DSO%%%%ZSTD%%libexec/nginx/ngx_http_zstd_filter_module.so
+%%DSO%%%%ZSTD%%libexec/nginx/ngx_http_zstd_static_module.so
%%HTTP_PERL%%%%SITE_ARCH%%/auto/nginx/nginx.so
%%HTTP_PERL%%%%SITE_ARCH%%/nginx.pm
sbin/nginx