head 1.19;
access;
symbols
pkgsrc-2026Q3:1.13.0.2
pkgsrc-2026Q3-base:1.13
pkgsrc-2026Q2:1.9.0.2
pkgsrc-2026Q2-base:1.9
pkgsrc-2026Q1:1.2.0.2
pkgsrc-2026Q1-base:1.2;
locks; strict;
comment @# @;
1.19
date 2026.11.11.11.56.15; author wiz; state Exp;
branches;
next 1.18;
commitid ibfBdhxkigxin23H;
1.18
date 2026.11.10.22.56.34; author osa; state Exp;
branches;
next 1.17;
commitid IdZjCYXm8y4B5Y2H;
1.17
date 2026.10.16.14.23.22; author osa; state Exp;
branches;
next 1.16;
commitid JE5jyEgE4Hwk3IZG;
1.16
date 2026.10.16.14.10.16; author osa; state Exp;
branches;
next 1.15;
commitid N0sgTtSPoOWTYHZG;
1.15
date 2026.09.29.06.08.04; author wiz; state Exp;
branches;
next 1.14;
commitid qal4xgy1mkCzPtXG;
1.14
date 2026.09.27.11.39.05; author tnn; state Exp;
branches;
next 1.13;
commitid QJQtnAYom0oZIfXG;
1.13
date 2026.09.02.19.04.58; author wiz; state Exp;
branches;
next 1.12;
commitid vXszxoxOqka005UG;
1.12
date 2026.09.02.17.20.44; author osa; state Exp;
branches;
next 1.11;
commitid pJRaDdCGtRdVr4UG;
1.11
date 2026.07.16.19.05.40; author wiz; state Exp;
branches;
next 1.10;
commitid FQnRlmCjzrRuxUNG;
1.10
date 2026.07.08.19.19.00; author osa; state Exp;
branches;
next 1.9;
commitid if3WeiPckpsLTSMG;
1.9
date 2026.06.03.13.46.38; author osa; state Exp;
branches;
next 1.8;
commitid opE2sfYzgWmLbmIG;
1.8
date 2026.05.21.10.37.15; author osa; state Exp;
branches;
next 1.7;
commitid wn3whcLw7H8syFGG;
1.7
date 2026.05.21.10.27.50; author osa; state Exp;
branches;
next 1.6;
commitid w2oisVFAfpgwvFGG;
1.6
date 2026.05.10.12.02.49; author osa; state Exp;
branches;
next 1.5;
commitid ZgIvAvJvZN73ogFG;
1.5
date 2026.04.23.15.38.10; author osa; state Exp;
branches;
next 1.4;
commitid r5PXHLNtEjjA76DG;
1.4
date 2026.04.14.14.42.57; author osa; state Exp;
branches;
next 1.3;
commitid CVobKfMib67w6WBG;
1.3
date 2026.04.14.14.38.09; author osa; state Exp;
branches;
next 1.2;
commitid SeehnLCVxzUB4WBG;
1.2
date 2026.01.07.08.49.18; author wiz; state Exp;
branches;
next 1.1;
commitid 1wQ3ICD8eebefrpG;
1.1
date 2025.12.25.18.57.20; author osa; state Exp;
branches;
next ;
commitid Pml9OrlYISR13PnG;
desc
@@
1.19
log
@*: recursive bump for icu 79
@
text
@# $NetBSD: Makefile,v 1.18 2026/11/10 22:56:34 osa Exp $
DISTNAME= freenginx-1.30.2
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= https://freenginx.org/download/
DISTFILES= ${DEFAULT_DISTFILES}
MAINTAINER= osa@@NetBSD.org
HOMEPAGE= https://freenginx.org/
COMMENT= Lightweight HTTP server and mail proxy server
LICENSE= 2-clause-bsd
CONFLICTS= freenginx-devel-[0-9]* nginx-[0-9]* nginx-devel-[0-9]*
.include "../../mk/bsd.prefs.mk"
NGINX_USER?= nginx
NGINX_GROUP?= nginx
NGINX_DATADIR?= ${VARBASE}/db/nginx
NGINX_LOGDIR?= ${VARBASE}/log/nginx
NGINX_PIDDIR?= ${VARBASE}/run
BUILD_DEFS+= NGINX_DATADIR NGINX_LOGDIR NGINX_PIDDIR VARBASE
PKG_USERS_VARS+= NGINX_USER
PKG_GROUPS_VARS+= NGINX_GROUP
PKG_GROUPS= ${NGINX_GROUP}
PKG_USERS= ${NGINX_USER}:${NGINX_GROUP}
PKG_GECOS.${NGINX_USER}= NGINX server user
PKG_HOME.${NGINX_USER}= ${NGINX_DATADIR}
PKG_SHELL.${NGINX_USER}= ${NOLOGIN}
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --user=${NGINX_USER}
CONFIGURE_ARGS+= --group=${NGINX_GROUP}
CONFIGURE_ARGS+= --with-ld-opt=-L${PREFIX}/lib\ ${COMPILER_RPATH_FLAG}${PREFIX}/lib
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --sbin-path=${PREFIX}/sbin
CONFIGURE_ARGS+= --conf-path=${PKG_SYSCONFDIR}/nginx.conf
CONFIGURE_ARGS+= --pid-path=${NGINX_PIDDIR}/nginx.pid
CONFIGURE_ARGS+= --lock-path=${NGINX_DATADIR}/nginx.lock
CONFIGURE_ARGS+= --error-log-path=${NGINX_LOGDIR}/error.log
CONFIGURE_ARGS+= --http-log-path=${NGINX_LOGDIR}/access.log
CONFIGURE_ARGS+= --http-client-body-temp-path=${NGINX_DATADIR}/client_body_temp
CONFIGURE_ARGS+= --http-proxy-temp-path=${NGINX_DATADIR}/proxy_temp
CONFIGURE_ARGS+= --http-fastcgi-temp-path=${NGINX_DATADIR}/fstcgi_temp
CONFIGURE_ARGS+= --http-scgi-temp-path=${NGINX_DATADIR}/scgi_temp
CONFIGURE_ARGS+= --with-pcre
SUBST_CLASSES+= fix-pcre2
SUBST_STAGE.fix-pcre2= pre-configure
SUBST_FILES.fix-pcre2= auto/lib/pcre/conf
SUBST_SED.fix-pcre2= -e 's,/usr/pkg,${BUILDLINK_PREFIX.pcre2},g'
SUBST_NOOP_OK.fix-pcre2= yes
PKG_SYSCONFSUBDIR= nginx
.include "options.mk"
EGDIR= ${PREFIX}/share/examples/freenginx
EGFILES+= fastcgi.conf fastcgi_params koi-utf koi-win \
mime.types nginx.conf win-utf
.for file in ${EGFILES}
CONF_FILES+= ${EGDIR}/conf/${file} ${PKG_SYSCONFDIR}/${file}
. if !empty(PKG_OPTIONS:Mnginx-naxsi)
CONF_FILES+= ${EGDIR}/conf/naxsi_core.rules ${PKG_SYSCONFDIR}/naxsi_core.rules
. endif
.endfor
RCD_SCRIPTS= nginx
INSTALLATION_DIRS+= ${PKGMANDIR}/man8 sbin share/examples/freenginx/conf \
share/examples/freenginx/html
MAKE_DIRS+= ${NGINX_PIDDIR}
OWN_DIRS= ${NGINX_LOGDIR}
OWN_DIRS_PERMS+= ${NGINX_DATADIR} ${NGINX_USER} ${NGINX_GROUP} 0700
BUILD_TARGET= build
SUBST_CLASSES+= paths
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= conf/nginx.conf
SUBST_SED.paths= -e 's,%%PKG_SYSCONFDIR%%,${PKG_SYSCONFDIR},g'
SUBST_SED.paths+= -e 's,%%NGINX_LOGDIR%%,${NGINX_LOGDIR},g'
SUBST_SED.paths+= -e 's,%%NGINX_PIDDIR%%,${NGINX_PIDDIR},g'
SUBST_SED.paths+= -e 's,%%NGINX_USER%%,${NGINX_USER},g'
SUBST_SED.paths+= -e 's,%%NGINX_GROUP%%,${NGINX_GROUP},g'
MESSAGE_SUBST+= NGINX_LOGDIR=${NGINX_LOGDIR}
MESSAGE_SUBST+= NGINX_PIDDIR=${NGINX_PIDDIR}
MESSAGE_SUBST+= NGINX_USER=${NGINX_USER}
MESSAGE_SUBST+= NGINX_GROUP=${NGINX_GROUP}
.if ${OPSYS} == "Darwin"
SOEXT= bundle
.else
SOEXT= so
.endif
PLIST_SUBST+= SOEXT=${SOEXT}
post-patch:
.if !empty(PKG_OPTIONS:Mnginx-brotli)
cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-ngx_brotli_filter_config
.endif
.if !empty(PKG_OPTIONS:Mnginx-gssapi)
${SED} -i.bak '4d;5d;6d' ${WRKDIR}/${GSSAPI_DISTNAME}/config
.endif
.if !empty(PKG_OPTIONS:Mnginx-naxsi)
${SED} -i.bak '308,309s/MSIZE/NAXSI_MSIZE/g' \
${WRKSRC}/..${NAXSI_SUBDIR}/libinjection/src/libinjection_sqli.c
.endif
.if !empty(PKG_OPTIONS:Mnginx-njs)
cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-njs-quickjs
.endif
.if !empty(PKG_OPTIONS:Mnginx-upload)
cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-ngx_http_upload_module.c
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/objs/nginx ${DESTDIR}${PREFIX}/sbin/nginx
.for file in ${EGFILES}
${INSTALL_DATA} ${WRKSRC}/conf/${file} ${DESTDIR}${EGDIR}/conf/${file}
.endfor
${INSTALL_DATA} ${WRKSRC}/html/50x.html ${DESTDIR}${EGDIR}/html/50x.html
${INSTALL_DATA} ${WRKSRC}/html/index.html ${DESTDIR}${EGDIR}/html/index.html
${INSTALL_MAN} ${WRKSRC}/objs/nginx.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.if !empty(PKG_OPTIONS:Mnginx-naxsi)
${INSTALL_DATA} ${WRKDIR}/naxsi_rules/naxsi_core.rules ${DESTDIR}${EGDIR}/conf
.endif
.if !empty(PKG_OPTIONS:Mnginx-perl)
${INSTALL_LIB_DIR} ${DESTDIR}${PERL5_INSTALLVENDORARCH}/auto/nginx
${INSTALL_LIB} ${WRKSRC}/objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.${SOEXT} \
${DESTDIR}${PERL5_INSTALLVENDORARCH}/auto/nginx
${INSTALL_DATA} ${WRKSRC}/objs/src/http/modules/perl/blib/lib/nginx.pm \
${DESTDIR}${PERL5_INSTALLVENDORARCH}
.endif
.if !empty(PKG_OPTIONS:Mnginx-dso)
${INSTALL_LIB_DIR} ${DESTDIR}${PREFIX}/libexec/freenginx
(cd ${WRKSRC}/objs/ && ${FIND} . -name '*.so' -maxdepth 1 -type f \
-exec ${INSTALL_PROGRAM} {} ${DESTDIR}${PREFIX}/libexec/freenginx \;)
.endif
.include "../../devel/pcre2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@
1.18
log
@www/freenginx: update: 1.30.1 -> 1.30.2
While I'm here fix fetch echo third-party module.
Sponsored by: tipi.work
*) Security: one of the keys was left uninitialized when using automatic
rotation of TLS session ticket keys, making it possible to forge a
session and bypass client certificate verification (CVE-2026-97629);
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2026/10/16 14:23:22 osa Exp $
d4 1
@
1.17
log
@www/freenginx: security update: ngx_http_cache_purge to 3.0.4
ChangeLog: https://github.com/nginx-modules/ngx_cache_purge/compare/3.0.2...3.0.4
Bump PKGREVISION.
Sponsored by: tipi.work
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2026/10/16 14:10:16 osa Exp $
d3 1
a3 2
DISTNAME= freenginx-1.30.1
PKGREVISION= 8
@
1.16
log
@www/freenginx: update njs 1.0.1 -> 1.0.2
Bump PKGREVISION.
Sponsored by: tipi.work
nginx modules:
*) Bugfix: fixed response body framing and keepalive connection reuse
in ngx.fetch(). Responses with conflicting Content-Length fields,
with both Transfer-Encoding and Content-Length, or with 1xx status
codes are now rejected.
*) Bugfix: fixed enforcement of max_response_body_size for chunked
responses in ngx.fetch().
*) Bugfix: fixed parsing of js_periodic options following
worker_affinity in HTTP and Stream configurations.
*) Bugfix: fixed memory leaks and false unhandled promise rejection
reports when formatting rejection reasons in the QuickJS engine.
Core:
*) Security: fixed a memory leak when parsing malformed XML in the
njs engine. Repeated malformed input could exhaust worker process
memory.
*) Security: fixed incomplete XML attribute values containing entity
references. JavaScript accessors could return values different
from those used by XML canonicalization, affecting signed XML
validation.
*) Feature: added XMLNode.getAttributeNS() and XMLNode.getChildNS()
methods for namespace-aware attribute and child element lookup.
*) Improvement: reduced compilation memory consumption in the njs
engine and released temporary parser and generator data after
compilation.
*) Improvement: switched to constant-time HMAC signature verification
in WebCrypto.
*) Change: XML node mutation and canonicalization now reject detached
nodes, and a removed child node has an undefined $parent.
Text and attribute values must be primitive strings; null and
undefined retain their deletion semantics for these values.
addChild() and $tags reject source trees with namespaces.
Assigning to $tag$name now throws TypeError in the QuickJS engine;
deletion is still supported.
*) Change: the "test262" make target was renamed to "js_test".
The "test262" target now runs the official Test262 suite and
requires NJS_TEST262_DIR.
*) Bugfix: fixed stale XML node references after tree mutations and
a crash when repeatedly modifying a node in the QuickJS engine.
*) Bugfix: fixed XML node methods being hidden by child elements with
matching names in the QuickJS engine.
*) Bugfix: fixed XML document leaks during property existence checks
in the QuickJS engine.
*) Bugfix: fixed out-of-bounds reads and invalid frees when formatting
unhandled promise rejection reasons in the QuickJS shell.
*) Bugfix: fixed crashes and incorrect error reporting when importing
modules after a failed module compilation in the njs engine.
*) Bugfix: fixed oversized Buffer allocation lengths being truncated
instead of rejected in the QuickJS engine.
*) Bugfix: fixed use of invalidated zlib dictionary memory during
argument conversion in the QuickJS engine.
*) Bugfix: fixed UTC Date setters applying the local timezone offset
in the njs engine.
*) Bugfix: fixed Promise.any() with empty input resolving with
AggregateError instead of rejecting in the njs engine.
*) Bugfix: fixed excessive execution time and memory consumption in
Array.prototype.sort() with huge sparse arrays in the njs engine.
This closes #1095 issue on Github.
*) Bugfix: fixed Array.prototype.concat() with sparse arrays in the
njs engine.
This closes #1095 issue on Github.
*) Bugfix: fixed initialization of array literals with more than
32760 elements in the njs engine.
*) Bugfix: fixed invalid memory accesses when enumerating typed arrays
with Object.values() and Object.entries() in the njs engine.
This closes #1098 issue on Github.
*) Bugfix: fixed invalid memory accesses in Object.defineProperty()
with reentrant property descriptors in the njs engine.
This closes #1089 issue on Github.
*) Bugfix: fixed object-to-primitive conversion when user code
replaced the input value during conversion in the njs engine.
This closes #1094 issue on Github.
*) Bugfix: fixed memory corruption in RegExp replace and split
operations with custom exec() results in the njs engine.
This closes #1090, #1091, #1092, #1093, #1096, and #1097 issues
on Github.
*) Bugfix: fixed out-of-bounds reads in RegExp replacement with
inconsistent match objects in the njs engine.
Thanks to Basavaraj S m.
*) Bugfix: fixed out-of-bounds reads in RegExp named capture lookup
in the njs engine.
This closes #1088 issue on Github.
*) Bugfix: fixed parsing of for loop initializers and preservation of
lexical bindings across nested declarations in the njs engine.
*) Bugfix: prevented stack overflow when compiling deeply nested
expressions in the njs engine by limiting recursive analysis.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2026/09/29 06:08:04 wiz Exp $
d4 1
a4 1
PKGREVISION= 7
@
1.15
log
@*: recursive bump for pcre2 10.49
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2026/09/27 11:39:05 tnn Exp $
d4 1
a4 1
PKGREVISION= 6
@
1.14
log
@*: revbump for pcre2 symbol versioning change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2026/09/02 19:04:58 wiz Exp $
d4 1
a4 1
PKGREVISION= 5
@
1.13
log
@*: recursive bump for pcre2 10.48
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2026/09/02 17:20:44 osa Exp $
d4 1
a4 1
PKGREVISION= 4
@
1.12
log
@www/freenginx: update njs 1.0.0 -> 1.0.1
Bump PKGREVISION.
Sponsored by: tipi.work
nginx modules:
*) Security: fixed an access control bypass in js_access when an
asynchronous request body continuation threw an exception or
produced an unhandled rejection. Previously, nginx could continue
processing the request as though the js_access check had succeeded.
Thanks to Ta Duc Thien.
*) Security: fixed a worker process crash when reading
Response.statusText after an upstream server returned a status
line with an empty reason phrase.
*) Bugfix: fixed unhandled promise rejection tracking in reused
QuickJS contexts.
*) Bugfix: fixed SharedDict.pop() returning undefined for unexpired
entries in shared dictionaries with a timeout.
*) Bugfix: fixed validation and replacement of Fetch Headers values.
This also fixed dangling header names in the QuickJS engine.
*) Bugfix: fixed missing validation of r.headersOut names and values,
and of redirect targets passed to r.return().
*) Bugfix: fixed use-after-free, worker aborts, and leaks caused by
cyclic references involving Fetch, HTTP request, and Stream session
objects in the QuickJS engine.
*) Bugfix: fixed QuickJS context reuse after internal redirects and
when pending jobs remained after request teardown.
*) Bugfix: fixed cleanup of partially initialized JavaScript contexts
when request setup failed.
Core:
*) Security: fixed a heap buffer overflow while parsing namespace
prefix lists passed to XML exclusive canonicalization.
Thanks to Vladimir Vulnerability Research Tech Lead @@ Cyera,
evilgensec.
*) Bugfix: fixed a stack buffer overflow when exporting RSA keys
larger than 4096 bits to JWK in WebCrypto.
Thanks to Vaibhav Rajput.
*) Bugfix: fixed RSA-OAEP encryption and decryption with SHA-256 and
SHA-384 digests in WebCrypto.
*) Bugfix: fixed compatibility with quickjs-ng 0.16.0 and later.
*) Bugfix: fixed empty stack traces for QuickJS errors created by
host callbacks.
*) Feature: added btoa() and atob() global functions to the QuickJS
engine and aligned their behavior between both engines.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2026/07/16 19:05:40 wiz Exp $
d4 1
a4 1
PKGREVISION= 3
@
1.11
log
@*: recursive bump for perl5 5.44.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2026/07/08 19:19:00 osa Exp $
d4 1
a4 1
PKGREVISION= 2
@
1.10
log
@www/freenginx: third-party modules management (+)
Update cache_purge module and njs modules to their recent versions (merge
changes from www/freenginx-devel).
Bump PKGREVISION.
Sponsored by: tipi.work
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2026/06/03 13:46:38 osa Exp $
d4 1
a4 1
PKGREVISION= 1
@
1.9
log
@www/freenginx: update: 1.30.0 -> 1.30.1
Sponsored by: tipi.work
*) Change: the logging level of the "invalid ccs message", "not on
record boundary", "required compression algorithm missing", and some
"record layer failure" SSL errors has been lowered from "crit" to
"info".
*) Bugfix: a segmentation fault might occur in a worker process if the
"rewrite" directive was used to change request arguments and other
directives of the ngx_http_rewrite_module were executed afterwards.
*) Bugfix: a segmentation fault might occur in a worker process if
nested captures were used in the "rewrite" directive.
*) Bugfix: a segmentation fault might occur in a worker process if the
ngx_http_charset_module was used to convert responses from UTF-8.
*) Bugfix: a segmentation fault might occur in a worker process if the
"ssl_ocsp" directive was used.
*) Bugfix: a segmentation fault might occur in a worker process if the
"scgi_pass" or "uwsgi_pass" directives were used.
*) Bugfix: in HTTP/3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2026/05/21 10:37:15 osa Exp $
d4 1
d117 1
a117 1
cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/extra-patch-auto-quickjs
@
1.8
log
@www/freenginx*: update third-party nchan module to 1.3.8
Bump PKGREVISIONs.
ChangeLog: https://github.com/slact/nchan/compare/v1.3.7...v1.3.8
Sponsored by: tipi.work
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2026/05/21 10:27:50 osa Exp $
d3 1
a3 2
DISTNAME= freenginx-1.30.0
PKGREVISION= 4
@
1.7
log
@www/freenginx: update njs 0.9.8 -> 0.9.9
Bump PKGREVISION.
Sponsored by: tipi.work
nginx modules:
*) Security: a heap buffer overflow might occur in a worker process
when the "js_fetch_proxy" directive value contains nginx
variables derived from the client request ($http_*, $arg_*,
$cookie_*, etc.) and the location's JS handler invokes
ngx.fetch(). The issue was introduced in dea83189 (0.9.4).
*) Feature: added js_access directive.
*) Feature: added r.readRequestText(), r.readRequestArrayBuffer(),
and r.readRequestJSON() - async methods that read the request
body, available in js_access and js_content directives.
*) Feature: added r.readRequestForm() - async method that parses
the request body submitted from an HTML form
(application/x-www-form-urlencoded and multipart/form-data) and
returns a structured accessor object. The method is available
in js_access and js_content directives.
*) Feature: added jsVarNames() method. The method returns the
names of variables declared with js_var.
Core:
*) Bugfix: fixed evaluation order of call arguments with side
effects. Previously, an earlier argument could observe a later
argument's mutation, e.g. f(a, a = 2) passed 2 as both
arguments.
The issue was introduced in fd5e523f (0.9.7).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2026/05/10 12:02:49 osa Exp $
d4 1
a4 1
PKGREVISION= 3
@
1.6
log
@www/freenginx: update njs 0.9.7 -> 0.9.8
Bump PKGREVISION.
Sponsored by: tipi.work
nginx modules:
*) Bugfix: fixed loading of the built-in "crypto" module.
The issue was introduced in 3185ce81 (0.9.7).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2026/04/23 15:38:10 osa Exp $
d4 1
a4 1
PKGREVISION= 2
@
1.5
log
@www/freenginx: sync with www/freenginx-devel
- update third-party modules
- enable quickjs for njs
Bump PKGREVISION.
Sponsored by: tipi.work
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2026/04/14 14:42:57 osa Exp $
d4 1
a4 1
PKGREVISION= 1
@
1.4
log
@www/freenginx: update: 1.28.0 -> 1.30.0
Sponsored by: tipi.work
*) 1.30.x stable branch.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2026/04/14 14:38:09 osa Exp $
d4 1
d116 3
@
1.3
log
@www/freenginx: update third-party njs module: 0.9.4 -> 0.9.6
Bump PKGREVISION.
Sponsored by: tipi.work
Changes with njs 0.9.6 03 Mar 2026
nginx modules:
*) Bugfix: fixed expire field truncation in shared dict state files.
Millisecond timestamps were silently truncated to 10 digits,
making restored entries appear expired on restart.
The issue has been present since eca03622 (0.9.1).
*) Bugfix: suppressed slab log_nomem for evict shared dict zones.
When evict is enabled, memory allocation failures are expected
and handled by evicting old entries.
*) Bugfix: fixed stack trace for native fetch exceptions for QuickJS
engine.
Core:
*) Feature: added optional chaining support.
*) Feature: added nullish coalescing assignment operator (??=).
*) Feature: added logical assignment operators (||= and &&=).
*) Improvement: aligned SyntaxError reporting with other JS engines.
Previously, file name was a part of the error message. Now it is
reported as "stack" property.
*) Improvement: improved Error.stack traces.
Stack traces are now attached in error constructors. Performance
of Error.stack is improved by ~100 times.
*) Bugfix: fixed string offset map corruption in scope values hash.
The issue caused SEGV/SIGBUS crashes for multi-byte UTF-8 string
constants with more than 32 characters when accessing a character
at index >= 32 (e.g. via .replace() or bracket notation).
The issue was introduced in e7caa46d (0.9.5).
*) Bugfix: fixed heap-buffer-overflow in atom hash caused by
Symbol().
*) Bugfix: fixed WebCrypto importKey() crash with mismatched JWK key
type.
*) Bugfix: fixed interactive mode detection for piped stdin.
The issue was introduced in 4988565c (0.8.0).
*) Bugfix: fixed build on MacOS.
*) Bugfix: fixed PTR macro compatibility with newer BFD library.
*) Bugfix: auto/cc: use portable 'command -v' instead of 'which'.
Thanks to Zurab Kvachadze.
Changes with njs 0.9.5 13 Jan 2026
nginx modules:
*) Feature: added native module support for QuickJS engine.
The following directives were added: js_load_http_native_module,
js_load_stream_native_module.
*) Bugfix: fixed js_body_filter with multiple chunks for QuickJS
engine.
*) Bugfix: fixed buffer_type inheritance in if blocks for js_body_filter.
Previously, when js_body_filter was used inside an if block,
the data parameter received Buffer type instead of the expected
String type.
*) Bugfix: fixed js_body_filter when data is not in memory.
Previously, when upstream data was delivered from nginx cache,
js_body_filter was not able to process it correctly.
*) Bugfix: improved r.subrequest() error handling.
Fixed a problem of a lost write event when the njs handler
making r.subrequest() is called from a lua handler as a
subrequest.
Core:
*) Bugfix: fixed XMLAttr object.
Pointer to xmlAttr could become invalid when the parent XMLNode
was modified.
*) Bugfix: fixed XMLNode update.
*) Bugfix: fixed ArrayBuffer with detached buffers.
*) Bugfix: added missing detached array checks.
*) Bugfix: fixed fs.mkdir() and friends.
*) Bugfix: fixed path restoration in fs.mkdir() and friends on
error.
*) Bugfix: fixed missed allocation check in promise code.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2026/01/07 08:49:18 wiz Exp $
d3 1
a3 2
DISTNAME= freenginx-1.28.0
PKGREVISION= 2
@
1.2
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2025/12/25 18:57:20 osa Exp $
d4 1
a4 1
PKGREVISION= 1
@
1.1
log
@www/freenginx: add new port, freenginx stable version 1.28.0
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
@