www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
Build the let, slowfs_cache, websockify and zstd modules from their own
source ports instead of fetching them with GH_TUPLE.
Sponsored by: Netzkommune GmbH
www/nginx-module-websockify: Add New Port
Sources of the websockify module for the NGINX ports. The module
translates between a WebSocket connection and a plain TCP connection, so
a browser can reach a service that speaks no WebSocket of its own. The
payload travels base64 encoded or in binary frames, which is what noVNC
expects of a VNC server behind it.
Sponsored by: Netzkommune GmbH
www/nginx-module-zstd: Add New Port
Sources of the zstd modules for the NGINX ports. The filter module
compresses responses on the fly for clients that announce zstd in
Accept-Encoding, the static module serves a pre-compressed .zst file
from disk when one sits beside the requested file.
Sponsored by: Netzkommune GmbH
www/nginx-module-slowfs-cache: Add New Port
Sources of the slowfs_cache module for the NGINX ports. The module
caches files from a slow filesystem the way nginx caches upstream
responses, so a request that finds a cached copy no longer touches the
slow device.
Sponsored by: Netzkommune GmbH
www/nginx-module-let: Add New Port
Sources of the let module for the NGINX ports. The module adds a let
directive that computes an expression and assigns the result to a
variable, with arithmetic, string concatenation and functions such as
length, substr, hash, md5 and sha1.
Sponsored by: Netzkommune GmbH
tests/libc: only build brk_test where libc provides sbrk
Replace the exclusion list with an allowlist of the architectures
whose libc exports brk/sbrk: amd64, i386, arm and powerpc.
On aarch64, riscv and loongarch libc does not export those symbols
and the test cannot run, so do not build it there. New architectures
now default to not building the test unless brk support is added.
MFC after: 1 week
Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007 at gmail.com>
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D60357
tests/libc: only build brk_test where libc provides sbrk
Replace the exclusion list with an allowlist of the architectures
whose libc exports brk/sbrk: amd64, i386, arm and powerpc.
On aarch64, riscv and loongarch libc does not export those symbols
and the test cannot run, so do not build it there. New architectures
now default to not building the test unless brk support is added.
MFC after: 1 week
Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007 at gmail.com>
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D60357
tests/libc: use an allowlist for sbrk in NetBSD-derived tests
sbrk is obsolete and libc only provides it on amd64, arm, i386 and
powerpc. Replace the growing exclusion lists in t_dir.c and t_mlock.c
with a single positive HAVE_SBRK definition per file, so architectures
without sbrk need not be enumerated as they are added.
Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007 at gmail.com>
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D60358
tests/libc: use an allowlist for sbrk in NetBSD-derived tests
sbrk is obsolete and libc only provides it on amd64, arm, i386 and
powerpc. Replace the growing exclusion lists in t_dir.c and t_mlock.c
with a single positive HAVE_SBRK definition per file, so architectures
without sbrk need not be enumerated as they are added.
Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007 at gmail.com>
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D60358