notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
libnjs NGINX JavaScript static library
0.8.3 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.8.2_1Version of this port present on the latest quarterly branch.
Maintainer: osa@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-12-16 03:33:09
Last Update: 2024-03-18 14:46:50
Commit Hash: 422dc9e
Also Listed In: www
License: BSD2CLAUSE
WWW:
https://nginx.org/en/docs/njs/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (78 items)
Collapse this list.
  1. /usr/local/share/licenses/libnjs-0.8.3/catalog.mk
  2. /usr/local/share/licenses/libnjs-0.8.3/LICENSE
  3. /usr/local/share/licenses/libnjs-0.8.3/BSD2CLAUSE
  4. include/njs_addr2line.h
  5. include/njs_arr.h
  6. include/njs_array_buffer.h
  7. include/njs_array.h
  8. include/njs_assert.h
  9. include/njs_async.h
  10. include/njs_auto_config.h
  11. include/njs_boolean.h
  12. include/njs_buffer.h
  13. include/njs_chb.h
  14. include/njs_clang.h
  15. include/njs_date.h
  16. include/njs_diyfp.h
  17. include/njs_djb_hash.h
  18. include/njs_dtoa_fixed.h
  19. include/njs_dtoa.h
  20. include/njs_encoding.h
  21. include/njs_error.h
  22. include/njs_event.h
  23. include/njs_file.h
  24. include/njs_flathsh.h
  25. include/njs_function.h
  26. include/njs_generator.h
  27. include/njs_hash.h
  28. include/njs_iterator.h
  29. include/njs_json.h
  30. include/njs_lexer_tables.h
  31. include/njs_lexer.h
  32. include/njs_lvlhsh.h
  33. include/njs_main.h
  34. include/njs_malloc.h
  35. include/njs_math.h
  36. include/njs_module.h
  37. include/njs_mp.h
  38. include/njs_murmur_hash.h
  39. include/njs_number.h
  40. include/njs_object_hash.h
  41. include/njs_object_prop_declare.h
  42. include/njs_object.h
  43. include/njs_parser.h
  44. include/njs_promise.h
  45. include/njs_queue.h
  46. include/njs_random.h
  47. include/njs_rbtree.h
  48. include/njs_regex.h
  49. include/njs_regexp_pattern.h
  50. include/njs_regexp.h
  51. include/njs_scope.h
  52. include/njs_sprintf.h
  53. include/njs_str.h
  54. include/njs_string.h
  55. include/njs_strtod.h
  56. include/njs_symbol.h
  57. include/njs_time.h
  58. include/njs_trace.h
  59. include/njs_typed_array.h
  60. include/njs_types.h
  61. include/njs_unicode_lower_case.h
  62. include/njs_unicode_upper_case.h
  63. include/njs_unicode.h
  64. include/njs_unix.h
  65. include/njs_utf16.h
  66. include/njs_utf8.h
  67. include/njs_utils.h
  68. include/njs_value_conversion.h
  69. include/njs_value.h
  70. include/njs_variable.h
  71. include/njs_vm.h
  72. include/njs_vmcode.h
  73. include/njs.h
  74. lib/libnjs.a
  75. libdata/pkgconfig/njs.pc
  76. @owner
  77. @group
  78. @mode
Collapse this list.
Dependency lines:
  • libnjs>0:devel/libnjs
To install the port:
cd /usr/ports/devel/libnjs/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/libnjs
  • pkg install libnjs
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: libnjs
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1707339379 SHA256 (nginx-njs-0.8.3_GH0.tar.gz) = 5e1341ee8c1dfce420ea6456475dafa7d5f4b9aed310faca32597cf4d221cfe0 SIZE (nginx-njs-0.8.3_GH0.tar.gz) = 735235

Packages (timestamps in pop-ups are UTC):
libnjs
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.8.30.8.3-0.8.30.8.3---
FreeBSD:13:quarterly0.8.30.8.30.7.12_10.8.30.8.30.8.2_10.8.2_10.8.2_1
FreeBSD:14:latest0.8.30.8.30.7.90.8.30.8.30.7.12_1-0.7.12_1
FreeBSD:14:quarterly0.8.2_10.8.3-0.8.2_10.8.30.8.2_10.8.2_10.8.2_1
FreeBSD:15:latest0.8.2_10.8.3n/a0.8.2_1n/a0.8.2_10.8.2_10.8.2_1
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Library dependencies:
  1. libpcre2-8.so : devel/pcre2
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_libnjs
USES:
cpe ssl
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/nginx/njs/tar.gz/0.8.3?dummy=/
Collapse this list.

Number of commits found: 14

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.8.3
18 Mar 2024 14:46:50
commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057commit hash: 422dc9e9d5812cbff37f8f64a5b27df75a581057 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.8.2 -> 0.8.3 (+)

<ChangeLog>

    nginx modules:

    *) Bugfix: fixed Headers.set().

    *) Bugfix: fixed js_set with Buffer values.

    *) Bugfix: fixed clear() method of a shared dictionary when
       a timeout is not specified.

    *) Bugfix: fixed stub_status statistics when js_periodic is
       enabled.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.8.2_1
26 Oct 2023 15:56:18
commit hash: c2205ac0a162628b536c382c6b8dfd4ae86c4750commit hash: c2205ac0a162628b536c382c6b8dfd4ae86c4750commit hash: c2205ac0a162628b536c382c6b8dfd4ae86c4750commit hash: c2205ac0a162628b536c382c6b8dfd4ae86c4750 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
devel/libnjs: change order for the include directories

The change helps to build package when its previous version is
installed.

Bump PORTREVISION.
0.8.2
24 Oct 2023 12:44:18
commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7commit hash: 33d962f83d36fc12ddd64bf310ac4004fa91c6b7 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.8.1 -> 0.8.2 (+)

<ChangeLog>

nginx modules:

*) Feature: introduced console object. The following methods
   were introduced: error(), info(), log(), time(), timeEnd(),
   warn().

*) Bugfix: fixed HEAD response handling with large Content-Length
   in fetch API.

*) Bugfix: fixed items() method for a shared dictionary.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.8.1
16 Sep 2023 17:34:55
commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9commit hash: 586a94981355618809e3cac8ba0e56bb4f21dba9 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.8.0 -> 0.8.1 (+)

<ChangeLog>

nginx modules:

*) Feature: introduced js_periodic directive.
    The directive specifies a JS handler to run at regular intervals.

*) Feature: implemented items() method for a shared dictionary.
   The method returns all the non-expired key-value pairs.

*) Bugfix: fixed size() and keys() methods of a shared dictionary.

*) Bugfix: fixed erroneous exception in r.internalRedirect()
   introduced in 0.8.0.

Core:

*) Bugfix: fixed incorrect order of keys in
   Object.getOwnPropertyNames().

</ChangeLog>
0.8.0_2
13 Sep 2023 15:30:57
commit hash: 4fd25f1452ad64c38ad4ce0bb3d82cfabb28bd25commit hash: 4fd25f1452ad64c38ad4ce0bb3d82cfabb28bd25commit hash: 4fd25f1452ad64c38ad4ce0bb3d82cfabb28bd25commit hash: 4fd25f1452ad64c38ad4ce0bb3d82cfabb28bd25 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
devel/libnjs: fix %%LOCALBASE%% substitution

Bump PORTREVISION.
0.8.0_1
12 Jul 2023 02:31:31
commit hash: 1bfd8f025069b06f89e348ac797d34d9301ec45acommit hash: 1bfd8f025069b06f89e348ac797d34d9301ec45acommit hash: 1bfd8f025069b06f89e348ac797d34d9301ec45acommit hash: 1bfd8f025069b06f89e348ac797d34d9301ec45a files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
devel/libnjs: fix NGINX JavaScript library exposion (+)

Bump PORTREVISION.
0.8.0
12 Jul 2023 02:20:38
commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659commit hash: 30ba18e2a5f12cfd52d8ea1f732f4602a0ba4659 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript: 0.7.12 -> 0.8.0 (+)

<ChangeLog>

nginx modules:

*) Change: removed special treatment of forbidden headers in Fetch API
   introduced in 0.7.10.

*) Change: removed deprecated since 0.5.0 r.requestBody and
   r.responseBody in HTTP module.

*) Change: throwing an exception in r.internalRedirect() while
   filtering in HTTP module.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.12_1
12 May 2023 14:26:39
commit hash: 3eafde277e28167a6727bd70e537dc8f4f4d1459commit hash: 3eafde277e28167a6727bd70e537dc8f4f4d1459commit hash: 3eafde277e28167a6727bd70e537dc8f4f4d1459commit hash: 3eafde277e28167a6727bd70e537dc8f4f4d1459 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
devel/libnjs: update build target to libnjs and install njs.pc

Make portlint(1) happy by moving LIB_DEPENDS up.
Bump PORTREVISION.
0.7.12
10 Apr 2023 21:10:30
commit hash: 58b083f0d756acccc30a30997585d85dc23f5114commit hash: 58b083f0d756acccc30a30997585d85dc23f5114commit hash: 58b083f0d756acccc30a30997585d85dc23f5114commit hash: 58b083f0d756acccc30a30997585d85dc23f5114 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.11 -> 0.7.12

<ChangeLog>

nginx modules:
*) Bugfix: fixed Headers() constructor in Fetch API.

Core:
*) Feature: added Hash.copy() method in "crypto" module.
*) Feature: added "zlib" module.
*) Improvement: added support for export {name as default}
   statement.
*) Bugfix: fixed Number constructor according to the spec.

</ChangeLog>
0.7.11
09 Mar 2023 23:39:06
commit hash: ea54114ca5fac09640c1074c4c69472781b27995commit hash: ea54114ca5fac09640c1074c4c69472781b27995commit hash: ea54114ca5fac09640c1074c4c69472781b27995commit hash: ea54114ca5fac09640c1074c4c69472781b27995 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.10 -> 0.7.11

While I'm here drop pcre flavor support for lang/njs.

Bump PORTREVISION for www/nginx-devel.

<ChangeLog>
nginx modules:

*) Bugfix: added missed linking with libxml2 for the dynamic module.
   The bug was introduced in 0.7.10.

Core:

*) Feature: added XMLNode API to modify XML documents.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.10
07 Feb 2023 23:49:06
commit hash: d1b04483c52a818a56054ddb3bbe8b706e3f3cd7commit hash: d1b04483c52a818a56054ddb3bbe8b706e3f3cd7commit hash: d1b04483c52a818a56054ddb3bbe8b706e3f3cd7commit hash: d1b04483c52a818a56054ddb3bbe8b706e3f3cd7 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
*/*: update NGINX JavaScript 0.7.9 -> 0.7.10

Bump PORTREVISION for www/nginx-devel.

<ChangeLog>
nginx modules:

*) Feature: added Request, Response and Headers ctors in Fetch API.

*) Bugfix: fixed nginx logger callback for calls in master process.

Core:

*) Feature: added signal support in CLI.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.7.9
18 Dec 2022 17:06:56
commit hash: ecf6c6babd9ca9c35ef0c9d77bbaec9644558eb1commit hash: ecf6c6babd9ca9c35ef0c9d77bbaec9644558eb1commit hash: ecf6c6babd9ca9c35ef0c9d77bbaec9644558eb1commit hash: ecf6c6babd9ca9c35ef0c9d77bbaec9644558eb1 files touched by this commit
Sergey A. Osokin (osa) search for other commits by this committer
devel/libnjs: fix build

Do not bump PORTREVISION, the port has no successful builds.
0.7.9
16 Dec 2022 08:14:51
commit hash: 73c9df8a5968f30c63d0c80bf9e986ce6d3d69c9commit hash: 73c9df8a5968f30c63d0c80bf9e986ce6d3d69c9commit hash: 73c9df8a5968f30c63d0c80bf9e986ce6d3d69c9commit hash: 73c9df8a5968f30c63d0c80bf9e986ce6d3d69c9 files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
devel/libnjs: fix bulk build


[00:01:21] Warning: (devel/libnjs): Error: devel/libnjs has incorrect
CATEGORIES, first should be 'devel'.  Please contact maintainer of the port to
fix this.
16 Dec 2022 03:32:21
commit hash: 65e729092681ede8724a0d8768db4517d0d18ec5commit hash: 65e729092681ede8724a0d8768db4517d0d18ec5commit hash: 65e729092681ede8724a0d8768db4517d0d18ec5commit hash: 65e729092681ede8724a0d8768db4517d0d18ec5 files touched by this commit Sanity Test Failure Refresh
Sergey A. Osokin (osa) search for other commits by this committer
devel/libnjs: add NGINX JavaScript static library

Number of commits found: 14