Skip to content

Commit 5f61eef

Browse files
ltning0mp
authored andcommitted
www/nginx: Add support for 3rd party stream-lua-nginx-module
PR: 277719 Approved by: maintainer timeout Reported by: Eirik Oeverby <ltning-freebsd@anduin.net> Sponsored by: Modirum MDPay Sponsored by: Klara, Inc. Co-authored-by: Xavier Beaudouin <kiwi@oav.net> (cherry picked from commit edac05f)
1 parent 06aa8bb commit 5f61eef

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

‎www/nginx/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PORTNAME= nginx
22
PORTVERSION= 1.24.0
3-
PORTREVISION?= 16
3+
PORTREVISION?= 17
44
PORTEPOCH= 3
55
CATEGORIES= www
66
MASTER_SITES= https://nginx.org/download/ \

‎www/nginx/Makefile.extmod‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ OPTIONS_GROUP_THIRDPARTYGRP= AJP AWS_AUTH BROTLI CACHE_PURGE CLOJURE COOKIE_FLAG
1010
HTTP_JSON_STATUS HTTP_MOGILEFS HTTP_MP4_H264 HTTP_NOTICE HTTP_PROXY_CONNECT HTTP_PUSH \
1111
HTTP_PUSH_STREAM HTTP_REDIS HTTP_SLICE_AHEAD HTTP_SUBS_FILTER HTTP_TARANTOOL \
1212
HTTP_UPLOAD HTTP_UPLOAD_PROGRESS HTTP_UPSTREAM_CHECK HTTP_UPSTREAM_FAIR \
13-
HTTP_UPSTREAM_STICKY HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP ICONV LET LINK LUA MEMC \
13+
HTTP_UPSTREAM_STICKY HTTP_VIDEO_THUMBEXTRACTOR HTTP_ZIP ICONV LET LINK LUA LUASTREAM MEMC \
1414
MODSECURITY3 NAXSI PASSENGER POSTGRES RDS_CSV RDS_JSON REDIS2\
1515
RTMP SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE SRCACHE STS VOD VTS \
1616
XSS WEBSOCKIFY
@@ -229,6 +229,14 @@ LUA_CONFIGURE_ENV= LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \
229229
LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.26:lua
230230
LUA_VARS= DSO_EXTMODS+=lua
231231

232+
LUASTREAM_IMPLIES= DEVEL_KIT
233+
LUASTREAM_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
234+
LUASTREAM_RUN_DEPENDS= lua-resty-core>0:www/lua-resty-core
235+
LUASTREAM_CONFIGURE_ENV=LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \
236+
LUAJIT_LIB=${LOCALBASE}/lib
237+
LUASTREAM_GH_TUPLE= openresty:stream-lua-nginx-module:v0.0.14:luastream
238+
LUASTREAM_VARS= DSO_EXTMODS+=luastream
239+
232240
LINK_GH_TUPLE= Taymindis:nginx-link-function:3.2.4:link
233241
LINK_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nginx-link-function-config \
234242
${PATCHDIR}/extra-patch-ngx_link_func_module.c

‎www/nginx/Makefile.options.desc‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ IPV6_DESC= Enable IPv6 support
8282
LET_DESC= 3rd party let module
8383
LINK_DESC= 3rd party link function module
8484
LUA_DESC= 3rd party lua module
85+
LUASTREAM_DESC= 3rd party lua stream module
8586
MAILGRP_DESC= Modules that require MAIL module
8687
MAIL_DESC= Enable IMAP4/POP3/SMTP proxy module
8788
MAIL_IMAP_DESC= Enable IMAP4 proxy module

‎www/nginx/distinfo‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,5 @@ SHA256 (tg123-websockify-nginx-module-c11bc9a_GH0.tar.gz) = aca454bffcee2476dc92
143143
SIZE (tg123-websockify-nginx-module-c11bc9a_GH0.tar.gz) = 14646
144144
SHA256 (openresty-xss-nginx-module-v0.06_GH0.tar.gz) = 0b12bbc53a41f3e3d6df419c173b8c87434be3e6cd255a8193aa91345a2de6cf
145145
SIZE (openresty-xss-nginx-module-v0.06_GH0.tar.gz) = 12448
146+
SHA256 (openresty-stream-lua-nginx-module-v0.0.14_GH0.tar.gz) = 8e2ff6ad5f91127da3c01757e7e654f1addf9769450d9159601d2cc153953c47
147+
SIZE (openresty-stream-lua-nginx-module-v0.0.14_GH0.tar.gz) = 381313

‎www/nginx/pkg-plist‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
%%DSO%%%%LET%%libexec/nginx/ngx_http_let_module.so
6464
%%DSO%%%%LINK%%libexec/nginx/ngx_http_link_func_module.so
6565
%%DSO%%%%LUA%%libexec/nginx/ngx_http_lua_module.so
66+
%%DSO%%%%LUASTREAM%%libexec/nginx/ngx_stream_lua_module.so
6667
%%DSO%%%%MAIL%%libexec/nginx/ngx_mail_module.so
6768
%%DSO%%%%MAIL%%%%CT%%libexec/nginx/ngx_mail_ssl_ct_module.so
6869
%%DSO%%%%MEMC%%libexec/nginx/ngx_http_memc_module.so

0 commit comments

Comments
 (0)