BSD Ports

lang/njs 1.0.2 FreeBSD

NGINX JavaScript command line utility

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
ecee3afc18
License
BSD2CLAUSE
Categories
lang, www
Package size
326.0 KiB, 964.4 KiB installed

Description

njs scripting language, or just njs, is a subset of the JavaScript language that allows extending nginx functionality. njs is created in compliance with ECMAScript 5.1 (strict mode) with some ECMAScript 6 and later extensions. The compliance is still evolving.

In the other systems

SystemPortVersion
FreeBSDlang/njs1.0.2
OpenBSDlang/njs0.9.1p0
NetBSDlang/njs0.9.1nb3
DragonFlylang/njs0.8.5

Install

Binary package:

pkg install njs

From the ports tree:

cd /usr/ports/lang/njs/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	njs>0:lang/njs

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.11.0.10.7.90.9.11.0.2
FreeBSD:14:quarterly1.0.11.0.1n/a0.9.0_11.0.1
FreeBSD:15:latest1.0.11.0.2n/a0.9.10.9.1
FreeBSD:15:quarterly1.0.11.0.1n/an/an/a
FreeBSD:16:latest1.0.11.0.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

USES
compiler:c11 cpe ssl
Service scripts
none

Files

distinfo 1
FileSizeSHA256
nginx-njs-1.0.2_GH0.tar.gz1.071822e+0684a114499fa6878d3ec52b99c1cf2874a91eb0d915408f418a2b1279519f09ae

Commit history 2

DateCommitCreditsLog message
ecee3afc18 Jochen Neumeister lang/njs: Update to 1.0.2
Fixes memory corruption in RegExp operations, crashes after a failed module compilation, and excessive resource usage when sorting huge sparse arrays. Sponsored by: Netzkommune GmbH
5d6f5ace9b Jochen Neumeister lang/njs: Update to 1.0.1
This release contains security fixes: a heap buffer overflow while parsing namespace prefix lists in XML exclusive canonicalization and a stack buffer overflow when exporting RSA keys larger than 4096 bits to JWK in WebCrypto. Upstream has not assigned CVE numbers. Changes: https://nginx.org/en/docs/njs/changes.html Sponsored by: Netzkommune GmbH