diff options
Diffstat (limited to 'www/freenginx-devel')
| -rw-r--r-- | www/freenginx-devel/Makefile | 1 | ||||
| -rw-r--r-- | www/freenginx-devel/Makefile.extmod | 16 | ||||
| -rw-r--r-- | www/freenginx-devel/Makefile.ignore | 36 | ||||
| -rw-r--r-- | www/freenginx-devel/distinfo | 18 | ||||
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-ngx_http_echo_timer.c | 14 | ||||
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-ngx_http_lua_subrequest.c | 26 | ||||
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-ngx_http_lua_time.c | 24 | ||||
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-ngx_http_upload_module.c | 26 | ||||
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-ngx_http_vhost_traffic_status_module.c | 14 | ||||
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-ngx_otel_module.cpp | 14 | ||||
| -rw-r--r-- | www/freenginx-devel/files/extra-patch-passenger-Configuration.c | 20 | ||||
| -rw-r--r-- | www/freenginx-devel/files/nginx.in | 3 |
12 files changed, 148 insertions, 64 deletions
diff --git a/www/freenginx-devel/Makefile b/www/freenginx-devel/Makefile index f6c640990f29..ddc5e1a8a4ec 100644 --- a/www/freenginx-devel/Makefile +++ b/www/freenginx-devel/Makefile @@ -1,6 +1,7 @@ PORTNAME= freenginx PORTVERSION= ${NGINX_VERSION} .include "version.mk" +PORTREVISION= 12 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 a9ce4011126c..82e9f638d348 100644 --- a/www/freenginx-devel/Makefile.extmod +++ b/www/freenginx-devel/Makefile.extmod @@ -30,7 +30,7 @@ BROTLI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_brotli_filter_config CACHE_PURGE_GH_TUPLE= nginx-modules:ngx_cache_purge:a84b0f3:cache_purge CACHE_PURGE_VARS= DSO_EXTMODS+=cache_purge -ECHO_GH_TUPLE= openresty:echo-nginx-module:4eeda3c:echo +ECHO_GH_TUPLE= openresty:echo-nginx-module:b0f344b:echo ECHO_VARS= DSO_EXTMODS+=echo DRIZZLE_LIB_DEPENDS= libdrizzle.so:databases/libdrizzle @@ -158,6 +158,7 @@ HTTP_TARANTOOL_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_tarantool-config HTTP_UPLOAD_GH_TUPLE= fdintino:nginx-upload-module:96e6460:upload HTTP_UPLOAD_VARS= DSO_EXTMODS+=upload +HTTP_UPLOAD_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_upload_module.c HTTP_UPLOAD_PROGRESS_GH_TUPLE= masterzen:nginx-upload-progress-module:v0.9.3:uploadprogress HTTP_UPLOAD_PROGRESS_VARS= DSO_EXTMODS+=uploadprogress @@ -197,15 +198,17 @@ LUA_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty LUA_RUN_DEPENDS= lua-resty-core>0:www/lua-resty-core LUA_CONFIGURE_ENV= LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \ LUAJIT_LIB=${LOCALBASE}/lib -LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.28:lua +LUA_GH_TUPLE= openresty:lua-nginx-module:v0.10.29:lua LUA_VARS= DSO_EXTMODS+=lua +LUA_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_lua_time.c \ + ${PATCHDIR}/extra-patch-ngx_http_lua_subrequest.c LUASTREAM_IMPLIES= DEVEL_KIT LUASTREAM_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty LUASTREAM_RUN_DEPENDS= lua-resty-core>0:www/lua-resty-core LUASTREAM_CONFIGURE_ENV=LUAJIT_INC=${LOCALBASE}/include/luajit-2.1 \ LUAJIT_LIB=${LOCALBASE}/lib -LUASTREAM_GH_TUPLE= openresty:stream-lua-nginx-module:v0.0.16:luastream +LUASTREAM_GH_TUPLE= openresty:stream-lua-nginx-module:v0.0.17:luastream LUASTREAM_VARS= DSO_EXTMODS+=luastream LINK_GH_TUPLE= Taymindis:nginx-link-function:3.2.4:link @@ -232,7 +235,7 @@ NAXSI_VARS= DSO_EXTMODS+=naxsi NAXSI_SUBDIR=/naxsi_src NAXSI_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-naxsi-libinjection__sqli_c \ ${PATCHDIR}/extra-patch-naxsi_config -NJS_GH_TUPLE= nginx:njs:0.9.1:njs +NJS_GH_TUPLE= nginx:njs:0.9.4:njs NJS_CONFIGURE_ON= --with-cc-opt="-I ${LOCALBASE}/include/quickjs" NJS_LIB_DEPENDS= libquickjs.so:lang/quickjs \ libxml2.so:textproc/libxml2 \ @@ -252,6 +255,7 @@ OTEL_LIB_DEPENDS= libabsl_base.so:devel/abseil \ libre2.so:devel/re2 OTEL_BUILD_DEPENDS= ${LOCALBASE}/include/opentelemetry/proto/common/v1/common.proto:devel/opentelemetry-proto OTEL_CONFIGURE_ENV+= NGX_OTEL_PROTO_DIR=${PREFIX}/include +OTEL_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_otel_module.cpp PASSENGER_NGINX_VER= 6.0.27 PASSENGER_CATEGORIES= ruby @@ -263,7 +267,8 @@ PASSENGER_DISTFILES= passenger-${PASSENGER_NGINX_VER}.tar.gz:passenger PASSENGER_VARS= WRKSRC_passenger=${WRKDIR}/passenger-${PASSENGER_NGINX_VER} \ DSO_EXTDIRS+=passenger-${PASSENGER_NGINX_VER}/src/nginx_module PASSENGER_EXTRA_PATCHES=${PATCHDIR}/extra-patch-passenger-build-nginx.rb \ - ${PATCHDIR}/extra-patch-passenger-disable-telemetry + ${PATCHDIR}/extra-patch-passenger-disable-telemetry \ + ${PATCHDIR}/extra-patch-passenger-Configuration.c POSTGRES_USES= pgsql POSTGRES_GH_TUPLE= konstruxi:ngx_postgres:8aa7359:postgres @@ -313,6 +318,7 @@ VOD_VARS= DSO_EXTMODS+=vod VTS_GH_TUPLE= vozlt:nginx-module-vts:c382342:vts VTS_VARS= DSO_EXTMODS+=vts +VTS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ngx_http_vhost_traffic_status_module.c XSS_GH_TUPLE= openresty:xss-nginx-module:de2d87a:xss XSS_VARS= DSO_EXTMODS+=xss diff --git a/www/freenginx-devel/Makefile.ignore b/www/freenginx-devel/Makefile.ignore index 2fcd24c282bb..e28b60dd751c 100644 --- a/www/freenginx-devel/Makefile.ignore +++ b/www/freenginx-devel/Makefile.ignore @@ -1,39 +1,3 @@ -.if ${PORT_OPTIONS:MECHO} -IGNORE= echo module: patching is required -.endif - -.if ${PORT_OPTIONS:MHTTP_UPLOAD} -IGNORE= upload module: patching is required -.endif - -.if ${PORT_OPTIONS:MLUA} -IGNORE= lua module: patching is required -.endif - .if ${PORT_OPTIONS:MLUASTREAM} IGNORE= lua stream module: patching is required .endif - -.if ${PORT_OPTIONS:MOTEL} -IGNORE= otel module: patching is required -.endif - -.if ${PORT_OPTIONS:MPASSENGER} -IGNORE= passenger module: patching is required -.endif - -.if ${PORT_OPTIONS:MSET_MISC} -IGNORE= set_misc module: patching is required -.endif - -.if ${PORT_OPTIONS:MSTS} -IGNORE= sts module: patching is required -.endif - -.if ${PORT_OPTIONS:MVOD} -IGNORE= vod module: patching is required -.endif - -.if ${PORT_OPTIONS:MVTS} -IGNORE= vts module: patching is required -.endif diff --git a/www/freenginx-devel/distinfo b/www/freenginx-devel/distinfo index 2b86aa7775b8..8c83df6f4eab 100644 --- a/www/freenginx-devel/distinfo +++ b/www/freenginx-devel/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1760882414 +TIMESTAMP = 1762060812 SHA256 (freenginx-1.29.2.tar.gz) = b2645b829146bf509937423c993d1596214df46c4afdd146543f379151aaed59 SIZE (freenginx-1.29.2.tar.gz) = 1241366 SHA256 (nginx_mogilefs_module-1.0.4.tar.gz) = 7ac230d30907f013dff8d435a118619ea6168aa3714dba62c6962d350c6295ae @@ -19,8 +19,8 @@ SHA256 (openresty-drizzle-nginx-module-c631276_GH0.tar.gz) = 215ebeb3bad3a907f13 SIZE (openresty-drizzle-nginx-module-c631276_GH0.tar.gz) = 51675 SHA256 (ZigzagAK-ngx_dynamic_upstream-ab67fe7_GH0.tar.gz) = 4610da3ce9c35e3eef0e6d12a6285b9c8020f6d44fb094b4af94c1275bc01156 SIZE (ZigzagAK-ngx_dynamic_upstream-ab67fe7_GH0.tar.gz) = 22991 -SHA256 (openresty-echo-nginx-module-4eeda3c_GH0.tar.gz) = 64093d606c7bc61a26ca49bfa7c4a2dacec6013ce158463a377592a6f7224444 -SIZE (openresty-echo-nginx-module-4eeda3c_GH0.tar.gz) = 53544 +SHA256 (openresty-echo-nginx-module-b0f344b_GH0.tar.gz) = d10b5b2e58065e79e28b1c4e572196f0b8b53acc2e1ee6902a667faec72d7885 +SIZE (openresty-echo-nginx-module-b0f344b_GH0.tar.gz) = 53548 SHA256 (openresty-encrypted-session-nginx-module-7ffe4ec_GH0.tar.gz) = 1848ee88be81350326918930463e0f2be2013ab76ae589d01f00fd81c5da0c07 SIZE (openresty-encrypted-session-nginx-module-7ffe4ec_GH0.tar.gz) = 11899 SHA256 (ogarrett-nginx-fips-check-module-6cb4270_GH0.tar.gz) = d52fbb0f2819cd91b710ad85e6c8b452fdca6a5d81b0694d6637adba3fc2382c @@ -89,10 +89,10 @@ SHA256 (baysao-nginx-let-module-c1f23aa_GH0.tar.gz) = 7393809d5d8877812da1bd5b5f SIZE (baysao-nginx-let-module-c1f23aa_GH0.tar.gz) = 20617 SHA256 (Taymindis-nginx-link-function-3.2.4_GH0.tar.gz) = 20c3679199ba7efe1598f03b2fa0b13591226363c8dd7930d7f02702cd5abada SIZE (Taymindis-nginx-link-function-3.2.4_GH0.tar.gz) = 139656 -SHA256 (openresty-lua-nginx-module-v0.10.28_GH0.tar.gz) = 634827d54de6216cb0502d14f76610788b3a3e33160e91d5578d6db0d9a34a20 -SIZE (openresty-lua-nginx-module-v0.10.28_GH0.tar.gz) = 869217 -SHA256 (openresty-stream-lua-nginx-module-v0.0.16_GH0.tar.gz) = 3b1103cf5ee940ea94711eae1a7ccc1a161273ec9a08eb415f1d45ad385f967d -SIZE (openresty-stream-lua-nginx-module-v0.0.16_GH0.tar.gz) = 395259 +SHA256 (openresty-lua-nginx-module-v0.10.29_GH0.tar.gz) = ca2c2122b909529bf9d1a89e9a5763835a2bd2629def8cb279c550f638f0a78f +SIZE (openresty-lua-nginx-module-v0.10.29_GH0.tar.gz) = 892502 +SHA256 (openresty-stream-lua-nginx-module-v0.0.17_GH0.tar.gz) = 09cf5b90904a575b90c16d5cf861b978ef2dbe6d5340e5eb3707e2d2a3ac5cdc +SIZE (openresty-stream-lua-nginx-module-v0.0.17_GH0.tar.gz) = 413563 SHA256 (openresty-memc-nginx-module-v0.20_GH0.tar.gz) = a42dd56dd6e2144755a127bcd2a6cc1a488258dc5cdb751d6a3e5dd5b6989239 SIZE (openresty-memc-nginx-module-v0.20_GH0.tar.gz) = 34736 SHA256 (owasp-modsecurity-ModSecurity-nginx-fd28e6a_GH0.tar.gz) = deafee4e4145a73b9369999e261368b34d4f7ff1be2596a559abd9e1d5df5526 @@ -103,8 +103,8 @@ SHA256 (wargio-naxsi-1.7_GH0.tar.gz) = adee817da71913f64a9fb0fca142d9520bb0e5014 SIZE (wargio-naxsi-1.7_GH0.tar.gz) = 1132392 SHA256 (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 7812e1316b61a7a7d3a65a57a07c6d5235ac40fe35e6edda983f31a44661a38e SIZE (libinjection-libinjection-b9fcaaf_GH0.tar.gz) = 2218207 -SHA256 (nginx-njs-0.9.1_GH0.tar.gz) = 61365eea69c6862fc8a5b5df531503ae49499f6bcd5af932496b84850a2824a4 -SIZE (nginx-njs-0.9.1_GH0.tar.gz) = 966480 +SHA256 (nginx-njs-0.9.4_GH0.tar.gz) = 7b3a9f14b0f09311d9031c2a252cb0e23c06baac2e586a7d12c75aa6cba4ca0e +SIZE (nginx-njs-0.9.4_GH0.tar.gz) = 939082 SHA256 (osokin-nginx-otel-3a655df_GH0.tar.gz) = 71ee1561303c289d4562148f8719b60796c36abe16de1b3c10d10b8e6f03a952 SIZE (osokin-nginx-otel-3a655df_GH0.tar.gz) = 27169 SHA256 (konstruxi-ngx_postgres-8aa7359_GH0.tar.gz) = c69ad4495de7c7883ebc23e1e6c4cc83a4ac6a7fddd4d5c12e49d33b65f7c50b diff --git a/www/freenginx-devel/files/extra-patch-ngx_http_echo_timer.c b/www/freenginx-devel/files/extra-patch-ngx_http_echo_timer.c deleted file mode 100644 index 572581a0f1b6..000000000000 --- a/www/freenginx-devel/files/extra-patch-ngx_http_echo_timer.c +++ /dev/null @@ -1,14 +0,0 @@ ---- ../echo-nginx-module-4eeda3c/src/ngx_http_echo_timer.c.orig 2025-10-21 16:47:54.085370000 -0400 -+++ ../echo-nginx-module-4eeda3c/src/ngx_http_echo_timer.c 2025-10-21 16:50:55.878182000 -0400 -@@ -32,9 +32,8 @@ - ngx_http_set_ctx(r, ctx, ngx_http_echo_module); - } - -- if (ctx->timer_begin.sec == 0) { -- ctx->timer_begin.sec = r->start_sec; -- ctx->timer_begin.msec = (ngx_msec_t) r->start_msec; -+ if (ctx->timer_begin.time == 0) { -+ ctx->timer_begin.time = r->start_time; - } - - /* force the ngx timer to update */ diff --git a/www/freenginx-devel/files/extra-patch-ngx_http_lua_subrequest.c b/www/freenginx-devel/files/extra-patch-ngx_http_lua_subrequest.c new file mode 100644 index 000000000000..16a33862ee26 --- /dev/null +++ b/www/freenginx-devel/files/extra-patch-ngx_http_lua_subrequest.c @@ -0,0 +1,26 @@ +--- ../lua-nginx-module-0.10.29/src/ngx_http_lua_subrequest.c.orig 2025-11-01 23:46:33.237622000 -0400 ++++ ../lua-nginx-module-0.10.29/src/ngx_http_lua_subrequest.c 2025-11-01 23:52:42.602198000 -0400 +@@ -1373,7 +1373,9 @@ + ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **psr, + ngx_http_post_subrequest_t *ps, ngx_uint_t flags) + { ++#if !defined freenginx + ngx_time_t *tp; ++#endif + ngx_connection_t *c; + ngx_http_request_t *sr; + ngx_http_core_srv_conf_t *cscf; +@@ -1501,9 +1503,13 @@ + sr->subrequests = r->subrequests - 1; + #endif + ++#if defined freenginx ++ sr->start_time = ngx_current_msec; ++#else + tp = ngx_timeofday(); + sr->start_sec = tp->sec; + sr->start_msec = tp->msec; ++#endif + + r->main->count++; + diff --git a/www/freenginx-devel/files/extra-patch-ngx_http_lua_time.c b/www/freenginx-devel/files/extra-patch-ngx_http_lua_time.c new file mode 100644 index 000000000000..cc330b2e3c5c --- /dev/null +++ b/www/freenginx-devel/files/extra-patch-ngx_http_lua_time.c @@ -0,0 +1,24 @@ +--- ../lua-nginx-module-0.10.29/src/ngx_http_lua_time.c.orig 2025-01-17 00:24:35.000000000 -0500 ++++ ../lua-nginx-module-0.10.29/src/ngx_http_lua_time.c 2025-11-02 00:11:45.551096000 -0400 +@@ -28,7 +28,21 @@ + double + ngx_http_lua_ffi_req_start_time(ngx_http_request_t *r) + { ++#if defined freenginx ++ ngx_time_t *tp; ++ ++ tp = ngx_timeofday(); ++ tp->sec -= (ngx_current_msec - r->start_time) / 1000; ++ tp->msec -= (ngx_current_msec - r->start_time) % 1000; ++ if (tp->msec > NGX_MAX_INT_T_VALUE) { ++ tp->msec += 1000; ++ tp->sec -= 1; ++ } ++ ++ return tp->sec + tp->msec / 1000.0; ++#else + return r->start_sec + r->start_msec / 1000.0; ++#endif + } + + diff --git a/www/freenginx-devel/files/extra-patch-ngx_http_upload_module.c b/www/freenginx-devel/files/extra-patch-ngx_http_upload_module.c new file mode 100644 index 000000000000..36649990a8f0 --- /dev/null +++ b/www/freenginx-devel/files/extra-patch-ngx_http_upload_module.c @@ -0,0 +1,26 @@ +--- ../nginx-upload-module-96e6460/ngx_http_upload_module.c.orig 2025-11-02 20:25:39.277074000 -0500 ++++ ../nginx-upload-module-96e6460/ngx_http_upload_module.c 2025-11-02 20:31:22.912698000 -0500 +@@ -989,7 +989,11 @@ + if (u->limit_rate) { + remaining = ((ssize_t) r->headers_in.content_length_n) - u->received; + next_buf_size = (buf_read_size > remaining) ? remaining : buf_read_size; ++#if defined freenginx && nginx_version >= 1029000 ++ limit = u->limit_rate * (ngx_time() - ((ngx_current_msec - r->start_time) / 1000) + 1) - (u->received + next_buf_size); ++#else + limit = u->limit_rate * (ngx_time() - r->start_sec + 1) - (u->received + next_buf_size); ++#endif + if (limit < 0) { + rev->delayed = 1; + ngx_add_timer(rev, (ngx_msec_t) ((limit * -1000 / u->limit_rate) + 1)); +@@ -3370,7 +3373,11 @@ + } + + if (u->limit_rate) { ++#if defined freenginx && nginx_version >= 1029000 ++ limit = u->limit_rate * (ngx_time() - ((ngx_current_msec - r->start_time) / 1000) + 1) - u->received; ++#else + limit = u->limit_rate * (ngx_time() - r->start_sec + 1) - u->received; ++#endif + + if (limit < 0) { + c->read->delayed = 1; diff --git a/www/freenginx-devel/files/extra-patch-ngx_http_vhost_traffic_status_module.c b/www/freenginx-devel/files/extra-patch-ngx_http_vhost_traffic_status_module.c new file mode 100644 index 000000000000..50eca3992c88 --- /dev/null +++ b/www/freenginx-devel/files/extra-patch-ngx_http_vhost_traffic_status_module.c @@ -0,0 +1,14 @@ +--- ../nginx-module-vts-c382342/src/ngx_http_vhost_traffic_status_module.c.orig 2025-11-02 09:49:45.010029000 -0500 ++++ ../nginx-module-vts-c382342/src/ngx_http_vhost_traffic_status_module.c 2025-11-02 09:56:01.011946000 -0500 +@@ -354,7 +354,11 @@ + tp = ngx_timeofday(); + + ms = (ngx_msec_int_t) ++#if (defined freenginx && nginx_version >= 1029000) ++ (tp->sec * 1000 + tp->msec - r->start_time); ++#else + ((tp->sec - r->start_sec) * 1000 + (tp->msec - r->start_msec)); ++#endif + return ngx_max(ms, 0); + } + diff --git a/www/freenginx-devel/files/extra-patch-ngx_otel_module.cpp b/www/freenginx-devel/files/extra-patch-ngx_otel_module.cpp new file mode 100644 index 000000000000..0024171deaec --- /dev/null +++ b/www/freenginx-devel/files/extra-patch-ngx_otel_module.cpp @@ -0,0 +1,14 @@ +--- ../nginx-otel-3a655df/src/ngx_otel_module.cpp.orig 2024-12-19 17:07:23.000000000 -0500 ++++ ../nginx-otel-3a655df/src/ngx_otel_module.cpp 2025-10-31 11:50:12.604868000 -0400 +@@ -512,7 +512,11 @@ + try { + BatchExporter::SpanInfo info{ + getSpanName(r), ctx->current, ctx->parent.spanId, ++#if defined freenginx ++ (toNanoSec(now->sec, now->msec) - ((ngx_current_msec - r->start_time) * 1000000)), ++#else + toNanoSec(r->start_sec, r->start_msec), ++#endif + toNanoSec(now->sec, now->msec)}; + + bool ok = gExporter->add(info, [r](BatchExporter::Span& span) { diff --git a/www/freenginx-devel/files/extra-patch-passenger-Configuration.c b/www/freenginx-devel/files/extra-patch-passenger-Configuration.c new file mode 100644 index 000000000000..1c53ea086717 --- /dev/null +++ b/www/freenginx-devel/files/extra-patch-passenger-Configuration.c @@ -0,0 +1,20 @@ +--- ../passenger-6.0.27/src/nginx_module/Configuration.c.orig 2013-10-26 20:00:00.000000000 -0400 ++++ ../passenger-6.0.27/src/nginx_module/Configuration.c 2025-11-02 20:09:05.651562000 -0500 +@@ -224,7 +224,7 @@ + + conf->upstream_config.send_lowat = NGX_CONF_UNSET_SIZE; + conf->upstream_config.buffer_size = NGX_CONF_UNSET_SIZE; +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + conf->upstream_config.limit_rate = NGX_CONF_UNSET_PTR; + #elif NGINX_VERSION_NUM >= 1007007 + conf->upstream_config.limit_rate = NGX_CONF_UNSET_SIZE; +@@ -467,7 +467,7 @@ + prev->upstream_config.buffer_size, + 16 * 1024); + +- #if NGINX_VERSION_NUM >= 1027000 ++ #if NGINX_VERSION_NUM >= 1027000 && !defined freenginx + ngx_conf_merge_ptr_value(conf->upstream_config.limit_rate, + prev->upstream_config.limit_rate, NULL); + #elif NGINX_VERSION_NUM >= 1007007 diff --git a/www/freenginx-devel/files/nginx.in b/www/freenginx-devel/files/nginx.in index 7da8670ba17e..4ebb8e3886ae 100644 --- a/www/freenginx-devel/files/nginx.in +++ b/www/freenginx-devel/files/nginx.in @@ -47,6 +47,8 @@ _tmpprefix="%%NGINX_TMPDIR%%" required_files=%%PREFIX%%/etc/freenginx/nginx.conf extra_commands="reload configtest upgrade gracefulstop" +: ${nginx_svcj_options:="net_basic"} + [ -z "$nginx_enable" ] && nginx_enable="NO" [ -z "$nginxlimits_enable" ] && nginxlimits_enable="NO" [ -z "$nginxlimits_args" ] && nginxlimits_args="-e -U %%WWWOWN%%" @@ -67,6 +69,7 @@ if [ -n "$2" ]; then required_files="${nginx_configfile}" eval nginx_enable="\${nginx_${profile}_enable:-${nginx_enable}}" eval nginx_flags="\${nginx_${profile}_flags:-${nginx_flags}}" + eval nginx_svcj_options="\${nginx_${profile}_svcj_options:-${nginx_svcj_options}}" eval nginxlimits_enable="\${nginxlimits_${profile}_enable:-${nginxlimits_enable}}" eval nginxlimits_args="\${nginxlimits_${profile}_args:-${nginxlimits_args}}" nginx_flags="-c ${nginx_configfile} -g \"pid ${pidfile};\" ${nginx_flags}" |
