./www/unit, Dynamic web application server

[ Image CVSweb ] [ Image Homepage ] [ Image RSS ] [ Image Required by ] [ Image Add to tracker ]


Branch: CURRENT, Version: 1.35.0nb1, Package name: unit-1.35.0nb1, Maintainer: pkgsrc-users

NGINX Unit is a lightweight dynamic open-source server for diverse
web applications.

Built from scratch, Unit can run web apps in different language
versions; fully configurable in runtime with zero interruption, it
enables on-the-fly granular management for engineering and operations.



Package options: inet6, pcre2, ssl

Master sites:

Filesize: 1041.383 KB

Version history: (Expand)


CVS history: (Expand)


   2026-01-04 15:13:22 by Thomas Klausner | Files touched by this commit (1)
Log message:
unit: fix pattern for ruby so files

Fixes build of unit-ruby.
   2025-10-25 03:45:28 by Sergey A. Osokin | Files touched by this commit (1)
Log message:
www/unit: release maintainership
   2025-10-23 22:40:24 by Thomas Klausner | Files touched by this commit (2999)
Log message:
*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by \ 
/usr/pkg/lib/libglib-2.0.so.0 not defined
   2025-09-18 13:19:06 by Sergey A. Osokin | Files touched by this commit (7) | Package updated
Log message:
*/*unit*: update NGINX Unit: 1.34.2 -> 1.35.0

Going forward, NGINX Unit will no longer receive new features or
enhancements from the project maintainers.

NGINX Unit is still open to community contributions.

The team is focusing its limited capacity to keep NGINX Unit stable,
secure and high-quality. Its focus will be on critical maintenance, such
as for security issues, dependency upgrades, and resolving crashes or
undefined behavior.

<ChangeLog>

*) Security: fix missing websocket payload length validation in the Java
   language module which could lead to Java language module processes
   consuming excess CPU. (CVE-2025-1695).

*) Change: if building with njs, version 0.9.0 or later is now required.

*) Feature: HTTP compression.

*) Feature: PHP 8.5 compatibility.

*) Feature: Ruby 3.4 compatibility.

*) Feature: Django 5.x compatibility.

*) Feature: Python Litestar WebSockets compatibility.

*) Feature: GCC 15 compatibility.

*) Bugfix: set SERVER_PORT to the actual value.

*) Bugfix: fix issue in node.js with duplicate headers in response.

*) Bugfix: fix WebSockets with Firefox.

*) Bugfix: fix incorrect websocket payload length calculation in the
   Java language module.

*) Bugfix: fix instability issues due to OpenTelemetry (OTEL) support.

*) Bugfix: fix issues with building OpenTelemetry (OTEL) support on
   various platforms, including macOS.

</ChangeLog>
   2025-07-10 22:54:15 by Sergey A. Osokin | Files touched by this commit (11) | Package updated
Log message:
*/*: update NGINX JavaScript 0.9.0 -> 0.9.1

Bump PKGREVISION for www/nginx, www/nginx-devel, www/unit.

<ChangeLog>

nginx modules:

*) Feature: added Fetch API for QuickJS engine.

*) Feature: added state file for a shared dictionary.

*) Bugfix: fixed handling of Content-Length header when
   a body is provided for Fetch API.

*) Bugfix: fixed qjs engine after bellard/quickjs@458c34d2.

*) Bugfix: fixed NULL pointer dereference when processing
   If-* headers.

Core:

*) Feature: added ECDH support for WebCrypto.

*) Improvement: reduced memory consumption by the object hash.
   The new hash uses 42% less memory per element.

*) Improvement: reduced memory consumption for concatenation of
   numbers and strings.

*) Improvement: reduced memory consumption of
   String.prototype.concat() with scalar values.

*) Bugfix: fixed segfault in njs_property_query().
   The issue was introduced in b28e50b1 (0.9.0).

*) Bugfix: fixed Function constructor template injection.

*) Bugfix: fixed GCC compilation with O3 optimization level.

*) Bugfix: fixed constant is too large for 'long' warning
   on MIPS -mabi=n32.

*) Bugfix: fixed compilation with GCC 4.1.

*) Bugfix: fixed %TypedArray%.from() with the buffer is detached
   by the mapper.

*) Bugfix: fixed %TypedArray%.prototype.slice() with overlapping
   buffers.

*) Bugfix: fixed handling of detached buffers for typed arrays.

*) Bugfix: fixed frame saving for async functions with
   closures.

*) Bugfix: fixed RegExp compilation of patterns with
   escaped '[' characters.

</ChangeLog>
   2025-06-04 00:59:20 by Sergey A. Osokin | Files touched by this commit (15) | Package updated
Log message:
*/*: update NGINX JavaScript 0.8.9 -> 0.9.0

Bump PKGREVISION for www/nginx, www/nginx-devel, www/unit.

<ChangeLog>

 Core:

 *) Feature: refactored working with built-in strings, symbols
    and small integers.
    Performance improvements (arewefastyet/benchmarks/v8-v7 benchmark):
    Richards: +57% (631 → 989)
    Crypto: +7% (1445 → 1551)
    RayTrace: +37% (562 → 772)
    NavierStokes: +20% (2062 → 2465)
    Overall score: +29% (1014 → 1307)

*) Bugfix: fixed regexp undefined value of captured group.

*) Bugfix: fixed GCC 15 build with -Wunterminated-string-initialization.

</ChangeLog>
   2025-03-03 20:58:25 by Sergey A. Osokin | Files touched by this commit (2) | Package updated
Log message:
*/*unit*: security update NGINX Unit from 1.34.1 to 1.34.2

<ChangeLog>

*) Security: fix missing websocket payload length validation in the Java
   language module which could lead to Java language module processes
   consuming excess CPU. (CVE-2025-1695).

*) Bugfix: fix incorrect websocket payload length calculation in the
   Java language module.

</ChangeLog>
   2025-02-08 05:08:59 by Takahiro Kambe | Files touched by this commit (4)
Log message:
multiple PHP support

* Use PHP_BASE_VERS in DEPENDS if required.
* Use REPLACE_PHP.

Bump PKGREVISION.