BSD Ports

devel/libnjs 1.0.2 FreeBSD

NGINX JavaScript static library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
449391e1d4
License
BSD2CLAUSE
Categories
devel, www
Package size
388.3 KiB, 1856.5 KiB installed

Description

The library of the njs scripting language. 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
FreeBSDdevel/libnjs1.0.2
NetBSDdevel/libnjs0.9.1nb3
DragonFlydevel/libnjs0.8.5

Install

Binary package:

pkg install libnjs

From the ports tree:

cd /usr/ports/devel/libnjs/ && make install clean

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

RUN_DEPENDS=	libnjs>0:devel/libnjs

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

pkg-plist 68
  • include/njs.h
  • include/njs_addr2line.h
  • include/njs_arr.h
  • include/njs_array.h
  • include/njs_array_buffer.h
  • include/njs_assert.h
  • include/njs_async.h
  • include/njs_atom.h
  • include/njs_atom_defs.h
  • include/njs_auto_config.h
  • include/njs_boolean.h
  • include/njs_buffer.h
  • include/njs_chb.h
  • include/njs_clang.h
  • include/njs_cutils.h
  • include/njs_date.h
  • include/njs_djb_hash.h
  • include/njs_dtoa.h
  • include/njs_encoding.h
  • include/njs_error.h
  • include/njs_event.h
  • include/njs_flathsh.h
  • include/njs_function.h
  • include/njs_generator.h
  • include/njs_iterator.h
  • include/njs_json.h
  • include/njs_lexer.h
  • include/njs_main.h
  • include/njs_malloc.h
  • include/njs_math.h
  • include/njs_module.h
  • include/njs_mp.h
  • include/njs_murmur_hash.h
  • include/njs_number.h
  • include/njs_object.h
  • include/njs_object_prop_declare.h
  • include/njs_parser.h
  • include/njs_promise.h
  • include/njs_queue.h
  • include/njs_random.h
  • include/njs_rbtree.h
  • include/njs_regex.h
  • include/njs_regexp.h
  • include/njs_regexp_pattern.h
  • include/njs_scope.h
  • include/njs_sprintf.h
  • include/njs_str.h
  • include/njs_string.h
  • include/njs_symbol.h
  • include/njs_trace.h
  • include/njs_typed_array.h
  • include/njs_types.h
  • include/njs_unicode.h
  • include/njs_unicode_lower_case.h
  • include/njs_unicode_upper_case.h
  • include/njs_unix.h
  • include/njs_utf16.h
  • include/njs_utf8.h
  • include/njs_utils.h
  • include/njs_value.h
  • include/njs_value_conversion.h
  • include/njs_variable.h
  • include/njs_vm.h
  • include/njs_vmcode.h
  • include/qjs.h
  • include/quickjs_compat.h
  • lib/libnjs.a
  • libdata/pkgconfig/njs.pc
distinfo 1
FileSizeSHA256
nginx-njs-1.0.2_GH0.tar.gz1.071822e+0684a114499fa6878d3ec52b99c1cf2874a91eb0d915408f418a2b1279519f09ae

Commit history 3

DateCommitCreditsLog message
449391e1d4 Jochen Neumeister devel/libnjs: 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
8c6b5aa01a Jochen Neumeister devel/libnjs: Fix CPE information
Sponsored by: Netzkommune GmbH
7f8383f82d Jochen Neumeister devel/libnjs: 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