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.
WWW: https://nodejs.org/
===> The following configuration options are available for node8-8.17.0:
BUNDLED_SSL=off: Use node.js's bundled OpenSSL implementation
DOCS=on: Build and/or install documentation
DTRACE=on: Build with DTrace probes
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
Remove expired ports:
2019-12-31 www/node8: Node.js 8.x has reached end-of-life, see
https://github.com/nodejs/Release
www/npm-node8, slave of www/node8
www/yarn-node8, slave of www/node8
www/node12: copy from www/node
Create a new port for the latest Node.js 12.13.0 LTS release. Update
CONFLICTS for the existing Node.js ports to include the new node12 port.
https://nodejs.org/en/blog/release/v12.13.0/
Sponsored by: Miles AS
Drop C++11 workaround for GCC < 6 after r449590
lang/gcc5 will expire in ~1 month. If someone still uses lang/gcc48
they should backport C++11 fix instead. QA on GCC architecuters is
currently limited to powerpc64 which uses GCC_DEFAULT.
PR: 193528
www/node8: Update 8.16.0 -> 8.16.1
This is a security release. All Node.js users should consult the security
release summary at
https://nodejs.org/en/blog/vulnerability/aug-2019-security-releases/
for details on patched vulnerabilities.
MFH: 2019Q3
Security: c97a940b-c392-11e9-bb38-000d3ab229d6
Sponsored by: Miles AS
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Remove www/node6
This port reached end-of-life upstream on 2019-04-30. Remove node6-*
from CONFLICTS for the remaining www/node* ports.
Sponsored by: Miles AS
www/node*: specify minimum versions of dependencies in BUILD_DEPENDS
Add BUILD_DEPENDS for all LIB_DEPENDS, specifying the minimum version as
the version bundled with a particlar version of Node.js. This should help
people building from ports with out-of-date dependencies with a helpful
message instead of build failures.
Reported by: freebsd-ports@
Sponsored by: Miles AS
www/node8:set environment variables for host build
The Node.js build system supports cross-compilation via node-gyp, which
picks up CC, CXX, LINK, C*FLAGS, and LDFLAGS from the environment for the
target build, but not for the host. We need to set the environment variables
for the "host" build.
Sponsored by: Miles AS
Differential Revision: https://reviews.freebsd.org/D19250
www/node8: Update 8.15.0 -> 8.15.1
This is a security release. All Node.js users should consult the security
release summary at
https://nodejs.org/en/blog/vulnerability/february-2019-security-releases/
for details on patched vulnerabilities.
MFH: 2019Q1
Security: b71d7193-3c54-11e9-a3f9-00155d006b02
Sponsored by: Miles AS
www/node*: fix build on non-amd64/-i386 when BUNDLED_SSL is unset
The --openssl-no-asm configure option should only be set
when BUNDLED_SSL is enabled.
PR: 235311
Reported by: jbeich
Sponsored by: Miles AS
www/node8: Update 8.14.0_1 -> 8.15.0
The 8.14.0 security release introduced some unexpected breakages on the
8.x release line. This is a special release to fix a regression in the
HTTP binary upgrade response body and add a missing CLI flag to adjust
the max header size of the http parser.
https://nodejs.org/en/blog/release/v8.15.0/
Sponsored by: Miles AS
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
www/node10: copy from www/node, update 10.12.0_1 -> 10.13.0 (LTS)
Create a new port for the latest Node.js 10.13.0 LTS release. Update
CONFLICTS for the existing Node.js ports to include the new node10 port
and remove non-existent ports.
https://nodejs.org/en/blog/release/v10.13.0/
Sponsored by: Miles AS
www/node8: Update 8.11.4_1 -> 8.12.0
- drop b8f47b27571f.patch, which has been applied upstream
- refresh patches with `make makepatch`
https://nodejs.org/en/blog/release/v8.12.0/
Sponsored by: Miles AS
www/node8: add dependency on www/libnghttp2
... instead of using the bundled version. Bump PORTREVISION due to the
new dependency.
Sponsored by: Miles AS
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
www/node8: unbreak with ICU 61
../src/node_i18n.cc:526:12: error: use of undeclared identifier 'TimeZone'; did
you mean 'icu::TimeZone'?
return TimeZone::getTZDataVersion(*status);
^~~~~~~~
icu::TimeZone
/usr/local/include/unicode/timezone.h:131:18: note: 'icu::TimeZone' declared
here
class U_I18N_API TimeZone : public UObject {
^
https://ssl.icu-project.org/trac/changeset/40705
PR: 227042
Reported by: antoine (via exp-run)
Obtained from: upstream
www/node8: Update 8.11.0 -> 8.11.1
No changes from the previous verison. This release ensures that the
hosted binaries from the Node.js project adhere to the platform support
contract, which does not apply to the FreeBSD port and packages.
MFH: 2018Q2
www/node8: Update 8.9.4 -> 8.10.0
This release comes with a lot of big changes. There are updates to V8,
libuv, and ICU, a bugfix in npm, and support for building with OpenSSL
1.1.0.
https://nodejs.org/en/blog/release/v8.10.0/
www/node,www/node8,www/node6: disable dtrace usdt on armv[67]
Disable the DTRACE option by default on armv[67] since Node.js fails to
build on armv[67] with the following error:
dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820):
arm not implemented
PR: 224271
Submitted by: mikael.urankar@gmail.com
www/node8: copy from www/node, update 8.8.1 -> 8.9.0 (LTS)
Create a new port for the latest Node.js 8.9.0 LTS release. Update
CONFLICTS for the existing Node.js ports to include the new node8 port
and remove non-existent ports.
https://nodejs.org/en/blog/release/v8.9.0/
Approved by: robak (mentor)
Differential Revision: https://reviews.freebsd.org/D12930