Port details |
- node16 V8 JavaScript for client and server
- 16.20.1_3 www
=6 16.20.1_3Version of this port present on the latest quarterly branch.
- DEPRECATED: Upstream EOL reaches on 2023-09-11
This port expired on: 2023-09-30
- Maintainer: otis@FreeBSD.org
- Port Added: 2021-10-23 11:03:08
- Last Update: 2024-03-17 15:01:35
- Commit Hash: ff92351
- People watching this port, also watch:: p5-CGI, git, libxml2, libsodium, pkg
- License: MIT
- WWW:
- https://nodejs.org/
- Description:
- Node.js is a JavaScript runtime built on Chrome's V8 JavaScript
engine. Node.js uses an event-driven, non-blocking I/O model that
makes it lightweight and efficient. Node.js' package ecosystem,
npm, is the largest ecosystem of open source libraries in the world.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- Conflicts:
- CONFLICTS_INSTALL:
- No installation instructions:
- This port has been deleted.
- PKGNAME: node16
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1688645982
SHA256 (node-v16.20.1.tar.gz) = 2bb075fc4e8d75ca7955bca33e39ce67c041d53bcfff779210b62af3ac1ba385
SIZE (node-v16.20.1.tar.gz) = 66844951
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- brotli>=1.0.9,1 : archivers/brotli
- c-ares>=1.17.2 : dns/c-ares
- libnghttp2>=1.45.1 : www/libnghttp2
- libuv>=1.42.0 : devel/libuv
- objdump : devel/binutils
- icu>=69.1 : devel/icu
- gmake>=4.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- python3.9 : lang/python39
- Runtime dependencies:
-
- ca_root_nss>=0 : security/ca_root_nss
- Library dependencies:
-
- libbrotlidec.so : archivers/brotli
- libcares.so : dns/c-ares
- libnghttp2.so : www/libnghttp2
- libuv.so : devel/libuv
- libicui18n.so : devel/icu
- NOTE: dependencies for deleted ports are notoriously suspect
- This port is required by:
- for Build
-
Deleted ports which required this port:
- for Run
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options:
- ===> The following configuration options are available for node16-16.20.1_3:
BUNDLED_SSL=off: Use node.js's bundled OpenSSL implementation
COREPACK=on: Build and install corepack package manager
DOCS=on: Build and/or install documentation
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
- Options name:
- www_node16
- USES:
- compiler:c++11-lib gmake localbase pkgconfig python:build shebangfix ssl
- pkg-message:
- For install:
- Note: If you need npm (Node Package Manager), please install www/npm.
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
16.20.1_3 17 Mar 2024 15:01:35 |
Muhammad Moinur Rahman (bofh) |
www/node16: Remove expired port |
16.20.1_3 05 Jan 2024 21:04:25 |
Piotr Kubaj (pkubaj) |
www/node16: remove ELFv1 support |
16.20.1_3 18 Nov 2023 00:27:06 |
Yasuhiro Kimura (yasu) |
www/node16: Remove DTrace support to fix build with upcoming binutils 2.41
* With binutils 2.41 build fails as following.
LD_LIBRARY_PATH=/wrkdirs/usr/ports/www/node16/work/node-v16.20.1/out/Release/lib.host:/wrkdirs/usr/ports/www/node16/work/node-v16.20.1/out/Release/lib.target:$LD_LIBRARY_PATH;
export LD_LIBRARY_PATH; cd ../.; mkdir -p
/wrkdirs/usr/ports/www/node16/work/node-v16.20.1/out/Release/obj.target/libnode/src;
dtrace -64
"-I/wrkdirs/usr/ports/www/node16/work/node-v16.20.1/out/Release/obj/gen" -Isrc
-C -G -s src/v8ustack.d -o
"/wrkdirs/usr/ports/www/node16/work/node-v16.20.1/out/Release/obj.target/libnode/src/node_dtrace_ustack.o"
dtrace: failed to compile script src/v8ustack.d: line 1: failed to resolve
V8DBG_SMITAG: Unknown variable name
* This is because behaviour of objdump has changes with binutils 2.41. [1][2]
* On upstream DTrace support itself has been removed with Node.js 19.x.
* There is a pull request that says it fixes build error. [3] I tried
it but unfortunately it doesn't work as is expected.
* Upstream suggests me to remove DTrace support. [4]
Reference: https://github.com/nodejs/node/issues/49991#issue-1920717730 [1]
Reference: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0a3137ce4c4b38ee8
[2]
Reference: https://github.com/nodejs/node/pull/49992 [3]
Reference: https://github.com/nodejs/node/pull/49992#issuecomment-1784231190 [4]
PR: 274846
Approved by: maintainer timeout |
16.20.1_2 17 Nov 2023 11:46:00 |
Jan Beich (jbeich) |
devel/icu: update to 74.1
Changes: https://github.com/unicode-org/icu/releases/tag/release-74-1
Reported by: GitHub (watch releases)
PR: 274317
Exp-run by: antoine (incomplete)
Approved by: fluffy |
16.20.1_1 08 Aug 2023 09:55:14 |
Muhammad Moinur Rahman (bofh) |
www/node16: Mark DEPRECATED
nodejs comunity has decided to change the End-of-life date to match the
end of life date of OpenSSL 1.1.1 which is on 2023-09-11. Based on that
mark this port DEPRECATED and set to expire by the end of this quarterly
on 2023-09-30.
See also:
https://nodejs.org/en/blog/announcements/nodejs16-eol
Approved by: portmgr (blanket) |
16.20.1 26 Jul 2023 00:48:20 |
Muhammad Moinur Rahman (bofh) |
*/*: Fix build with llvm16 on 13.2-STABLE
As like as HEAD(14.0-RELEASE) llvm16 was merged in base for 13.2-STABLE
with the OSVERSION 1302507.
- Utilize USE_CXXSTD=c++14 or similar solution where applicable
- Update conditionals to addtionally check for OSVERSION greater than
1302507 and less than 1400000
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
16.20.1 06 Jul 2023 14:17:30 |
Juraj Lutter (otis) |
www/node16: Update to 16.20.1 |
16.20.0_1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
16.20.0_1 23 Jun 2023 19:30:41 |
Muhammad Moinur Rahman (bofh) |
www/node16: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation |
16.20.0_1 13 Jun 2023 06:38:20 |
Juraj Lutter (otis) |
www/node16: Fix build with OpenSSL 3
- This was tested only with OpenSSL 3 from base but not with openssl30
or openssl31 ports.
- Regen patches
PR: 271656 |
16.20.0_1 13 Apr 2023 00:56:37 |
Jan Beich (jbeich) |
devel/icu: update to 73.1
- Temporarily switch to GitHub auto archive (release artifacts are N/A atm)
Changes: https://github.com/unicode-org/icu/releases/tag/release-73-1
Reported by: GitHub (watch releases)
PR: 270422
Exp-run by: antoine |
16.20.0 31 Mar 2023 15:55:14 |
Juraj Lutter (otis) |
www/node16: Fix pkg-plist with COREPACK enabled
Reported by: Jonathan Chen <jonc@chen.org.nz> |
16.20.0 30 Mar 2023 06:26:31 |
Juraj Lutter (otis) |
www/node16: Update to 16.20.0
Changelog: https://github.com/nodejs/node/releases/tag/v16.20.0 |
16.19.1 21 Feb 2023 11:10:35 |
Juraj Lutter (otis) |
www/node16: Update to 16.19.1 and use ccache if available
- Update to 16.19.1
- Set CC_host and CXX_host to also use ccache when available. This helps
to speed up the build significantly.
And while here, also portclippy/portfmt a bit.
PR: 269491 |
16.19.0 20 Feb 2023 22:08:51 |
Matthias Andree (mandree) Author: Juraj Lutter |
www/node16: Use ccache if available
Set CC_host and CXX_host to also use ccache when available. This helps
to speed up the build significantly.
And while here, also portclippy/portfmt a bit.
PR: 269491 |
16.19.0 30 Jan 2023 14:20:38 |
Po-Chuan Hsieh (sunpoet) |
Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn}
The current USES=nodejs has the following issues:
- www/node is not the default version while www/node16 is.
- It also means inconsistent naming of node ports.
- www/npm duplicates with www/npm-node16.
- www/yarn duplicates with www/yarn-node16.
The notable changes are introduced to fix the above issues:
- Rewrite Mk/Uses/nodejs.mk.
- Add new LTS version of nodejs (www/noe18).
- Add new current version of nodejs (www/node19).
- Change default nodejs version from 16 to 18 (latest LTS).
- Use consistent naming for all supported node versions.
- Convert www/node, www/npm and www/yarn to meta ports.
After this commit:
- All supported node versions are named as node{14,16,18,19}
- www/node is a meta port which depends on the default version (e.g. www/node18)
- www/npm is a meta port which depends on the default version (e.g.
www/npm-node18)
- www/yarn is a meta port which depends on the default version (e.g.
www/yarn-node18)
- Bump PORTREVISION of dependent ports for dependency change (from www/node16 to
www/node18)
Discussed with: jrm, otis, pizzamig |
16.19.0 23 Dec 2022 22:27:11 |
Juraj Lutter (otis) |
www/node16: Allow build with Python 3.11
PR: 268466 |
16.19.0 13 Dec 2022 16:28:17 |
Juraj Lutter (otis) |
www/node16: Update to 16.19.0
Changelog: https://github.com/nodejs/node/releases/tag/v16.19.0 |
16.18.1 19 Nov 2022 08:13:56 |
Po-Chuan Hsieh (sunpoet) |
www/node16: Remove no-op OPTIONS_DEFAULT+=${OPTIONS_DEFAULT_${OPSYS}_${OSREL:R}}
Approved by: portmgr (blanket) |
16.18.1 12 Nov 2022 19:01:03 |
Juraj Lutter (otis) |
www/node16: Update to 16.18.1
The following CVE is fixed in this release:
CVE-2022-43548: DNS rebinding in --inspect via invalid octal IP
address (Medium)
Changelog: https://github.com/nodejs/node/releases/tag/v16.18.1 |
16.17.1_1 19 Oct 2022 08:10:29 |
Jan Beich (jbeich) |
devel/icu: update to 72.1
Changes: https://github.com/unicode-org/icu/releases/tag/release-72-1
Reported by: GitHub (watch releases)
PR: 266582
Exp-run by: antoine |
16.17.1 16 Oct 2022 16:19:49 |
Matthias Fechner (mfechner) Author: Juraj Lutter |
www/node16: Security update to 16.17.1
Changelog: https://github.com/nodejs/node/releases/tag/v16.17.1
The following CVEs are fixed in this release:
CVE-2022-32212: DNS rebinding in --inspect on macOS
CVE-2022-32213: bypass via obs-fold mechanic
CVE-2022-35255: Weak randomness in WebCrypto keygen
CVE-2022-35256: HTTP Request Smuggling - Incorrect Parsing of Header Fields
PR: 266595
Approved by: (maintainer timeout)
MFH: 2022Q4
Differential Revision: https://reviews.freebsd.org/D36692 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
16.16.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
16.16.0 08 Aug 2022 16:55:03 |
Felix Palmen (zirias) |
www/node16: Fix pkg-plist with BUNDLED_SSL
PR: 264568
Approved by: maintainer (timeout), tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36068 |
16.16.0 30 Jul 2022 06:01:00 |
Po-Chuan Hsieh (sunpoet) |
www/node16: Update to 16.16.0
Changes: https://nodejs.org/en/blog/release/v16.16.0/
PR: 265160
Approved by: maintainer (timeout, 18 days)
Security: b9210706-feb0-11ec-81fa-1c697a616631 |
16.15.1 09 Jun 2022 11:00:39 |
Po-Chuan Hsieh (sunpoet) |
www/node16: Update USES=python
from configure:
acceptable_pythons = ((3, 10), (3, 9), (3, 8), (3, 7), (3, 6))
Approved by: portmgr (blanket) |
16.15.1 04 Jun 2022 08:16:08 |
Juraj Lutter (otis) |
www/node16: Update to 16.15.1
Changelog:
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V16.md#16.15.1 |
16.14.2_2 19 Apr 2022 16:42:44 |
Mikael Urankar (mikael) |
www/node16: Fix build on armv7
PR: 260651
Approved by: portmgr (build fix blanket) |
16.14.2_2 16 Apr 2022 04:19:52 |
Po-Chuan Hsieh (sunpoet) |
www/node16: Fix COREPACK option in cd47c658d43fbd29cb569b2230a05a1682ad3360
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: bin/corepack
Error: Orphaned: lib/node_modules/corepack/LICENSE.md
Error: Orphaned: lib/node_modules/corepack/README.md
Error: Orphaned: lib/node_modules/corepack/dist/corepack.js
Error: Orphaned: lib/node_modules/corepack/dist/npm.js
Error: Orphaned: lib/node_modules/corepack/dist/npx.js
Error: Orphaned: lib/node_modules/corepack/dist/pnpm.js
Error: Orphaned: lib/node_modules/corepack/dist/pnpx.js
Error: Orphaned: lib/node_modules/corepack/dist/vcc.js
Error: Orphaned: lib/node_modules/corepack/dist/yarn.js (Only the first 15 lines of the commit message are shown above ) |
16.14.2_1 07 Apr 2022 00:39:10 |
Jan Beich (jbeich) |
devel/icu: update to 71.1
Changes: https://github.com/unicode-org/icu/releases/tag/release-71-1
Reported by: GitHub (watch releases)
PR: 262654
Exp-run by: antoine
Approved by: fluffy |
16.14.2 02 Apr 2022 15:43:19 |
Juraj Lutter (otis) |
www/node16: Update to 16.14.2
- Update to 16.14.2
- Add COREPACK option
Reported by: Boris Korzun <drtr0jan@yandex.ru>, pi
PR: 261789
Differential Revision: https://reviews.freebsd.org/D34413 |
16.13.0 23 Nov 2021 22:11:40 |
Stefan Eßer (se) |
*/*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Approved by: portmgr (blanket) |
16.13.0 29 Oct 2021 13:40:59 |
Bradley T. Hughes (bhughes) |
www/node16: Update 16.12.0_1 -> 16.13.0
This release marks the transition of Node.js 16.x into Long Term Support
(LTS) with the codename 'Gallium'. The 16.x release line now moves into
"Active LTS" and will remain so until October 2022. After that time, it
will move into "Maintenance" until end of life in April 2024.
https://nodejs.org/en/blog/release/v16.13.0/
While here, fix the pkg-plist to allow building www/node16 with the
BUNDLED_SSL option enabled.
MFH: 2021Q4
Sponsored by: Miles AS |
16.12.0_1 28 Oct 2021 16:37:30 |
Jan Beich (jbeich) |
devel/icu: update to 70.1
Changes: https://github.com/unicode-org/icu/releases/tag/release-70-1
Reported by: GitHub (watch releases)
PR: 258794
Exp-run by: antoine |
16.12.0 26 Oct 2021 12:39:58 |
Piotr Kubaj (pkubaj) |
www/node: enable sampler on powerpc64le |
16.12.0 23 Oct 2021 11:00:34 |
Bradley T. Hughes (bhughes) |
www/node16: copy from www/node, update 16.11.1 -> 16.12.0
Create a new port for the latest Node.js v16.x release, which will
become the v16.x LTS release line. Update CONFLICTS for the existing
Node.js ports to include the new node16 port and remove non-existent ports.
https://nodejs.org/en/blog/release/v16.12.0/
MFH: 2021Q4
Sponsored by: Miles AS |