Commit graph

40 commits

Author SHA1 Message Date
adam
93e0536fab nodejs8, nodejs10: add PYTHON_VERSIONS_ACCEPTED 2020-12-16 07:29:36 +00:00
jperkin
08b6db4599 nodejs*: Fix builds with icu-68.1. 2020-11-14 09:54:22 +00:00
ryoon
4675ccbc79 *: Recursive revbump from textproc/icu-68.1 2020-11-05 09:06:42 +00:00
adam
6bd0c30da6 Revbump for icu 2020-06-02 08:22:31 +00:00
rillig
6729997d3c lang/nodejs*: skip portability check for macOS installation scripts 2020-05-31 21:41:22 +00:00
adam
24daafa112 Recursive revision bump after textproc/icu update 2020-04-12 08:27:48 +00:00
jperkin
19524e16da nodejs*: Unbreak builds, again, this time with comment. 2020-03-11 09:22:49 +00:00
adam
c6bbb4e69e nodejs: updated to 13.10.0
Version 13.10.0 (Current):

Notable Changes

async_hooks
- introduce async-context API
stream
- support passing generator functions into pipeline()
tls
- expose SSL_export_keying_material
vm
- implement vm.measureMemory() for per-context memory measurement
2020-03-04 18:59:39 +00:00
jperkin
2dfcdec6c1 nodejs*: Consolidate python27 requirement.
It's still required as of nodejs v13.
2020-02-18 23:06:05 +00:00
jperkin
982c63fe94 *: Remove obsolete BUILDLINK_API_DEPENDS.openssl. 2020-01-25 10:45:10 +00:00
adam
c93a31520c nodejs8: cleanup and adopt to the small changes in lang/nodejs/Makefile.common 2020-01-24 18:58:12 +00:00
jperkin
13943f3046 *: Recursive revision bump for openssl 1.1.1. 2020-01-18 21:48:10 +00:00
adam
268ef8d58c nodejs8: updated to 8.17.0
Version 8.17.0 'Carbon' (LTS)
Notable changes
deps: update npm to 6.13.4
2019-12-29 15:40:32 +00:00
adam
ca7e1ae5cf nodejs8: update Makefile after recent changes to nodejs/Makefile.common 2019-12-09 20:06:43 +00:00
adam
15544184b0 nodejs8: updated to 8.16.2
Version 8.16.2 'Carbon' (LTS):

Notable changes
deps: upgrade openssl sources to 1.0.2s


Version 8.16.1 'Carbon' (LTS):

Notable changes
This is a security release.

Node.js, as well as many other implementations of HTTP/2, have been found
vulnerable to Denial of Service attacks.
See https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md
for more information.

Vulnerabilities fixed:

CVE-2019-9511 “Data Dribble”: The attacker requests a large amount of data from a specified resource over multiple streams. They manipulate window size and stream priority to force the server to queue the data in 1-byte chunks. Depending on how efficiently this data is queued, this can consume excess CPU, memory, or both, potentially leading to a denial of service.
CVE-2019-9512 “Ping Flood”: The attacker sends continual pings to an HTTP/2 peer, causing the peer to build an internal queue of responses. Depending on how efficiently this data is queued, this can consume excess CPU, memory, or both, potentially leading to a denial of service.
CVE-2019-9513 “Resource Loop”: The attacker creates multiple request streams and continually shuffles the priority of the streams in a way that causes substantial churn to the priority tree. This can consume excess CPU, potentially leading to a denial of service.
CVE-2019-9514 “Reset Flood”: The attacker opens a number of streams and sends an invalid request over each stream that should solicit a stream of RST_STREAM frames from the peer. Depending on how the peer queues the RST_STREAM frames, this can consume excess memory, CPU, or both, potentially leading to a denial of service.
CVE-2019-9515 “Settings Flood”: The attacker sends a stream of SETTINGS frames to the peer. Since the RFC requires that the peer reply with one acknowledgement per SETTINGS frame, an empty SETTINGS frame is almost equivalent in behavior to a ping. Depending on how efficiently this data is queued, this can consume excess CPU, memory, or both, potentially leading to a denial of service.
CVE-2019-9516 “0-Length Headers Leak”: The attacker sends a stream of headers with a 0-length header name and 0-length header value, optionally Huffman encoded into 1-byte or greater headers. Some implementations allocate memory for these headers and keep the allocation alive until the session dies. This can consume excess memory, potentially leading to a denial of service.
CVE-2019-9517 “Internal Data Buffering”: The attacker opens the HTTP/2 window so the peer can send without constraint; however, they leave the TCP window closed so the peer cannot actually write (many of) the bytes on the wire. The attacker then sends a stream of requests for a large response object. Depending on how the servers queue the responses, this can consume excess memory, CPU, or both, potentially leading to a denial of service.
CVE-2019-9518 “Empty Frames Flood”: The attacker sends a stream of frames with an empty payload and without the end-of-stream flag. These frames can be DATA, HEADERS, CONTINUATION and/or PUSH_PROMISE. The peer spends time processing each frame disproportionate to attack bandwidth. This can consume excess CPU, potentially leading to a denial of service.


Version 8.16.0 'Carbon' (LTS):

Notable Changes
n-api:
add API for asynchronous functions
mark thread-safe function as stable
2019-11-24 15:52:13 +00:00
ryoon
6fc378bce9 Recursive revbump from textproc/icu 2019-04-03 00:32:25 +00:00
maya
3c1b01a5b7 nodejs8: don't invert logic for FreeBSD.
From Mike Pumford.
2018-12-15 17:27:21 +00:00
adam
16dd5de231 revbump after updating textproc/icu 2018-12-09 18:51:58 +00:00
ryoon
bdc60a0d7e Remove incorrect patch. I will investigate the problem later 2018-11-05 15:22:33 +00:00
ryoon
497d29b4f6 Fix build under NetBSD/i386 7, reported in PR pkg/53698. 2018-11-04 00:41:22 +00:00
fhajny
df49cd7417 lang/nodejs8: Update to 8.12.0.
- async_hooks:
  - rename PromiseWrap.parentId
  - remove runtime deprecation
  - deprecate unsafe emit{Before,After}
- cluster:
  - add cwd to cluster.settings
  - support windowsHide option for workers
- crypto:
  - allow passing null as IV unless required
- deps:
  - upgrade npm to 6.4.1
  - upgrade libuv to 1.19.2
  - Upgrade node-inspect to 1.11.5
- fs,net:
  - support as and as+ flags in stringToFlags()
  - emit 'ready' for fs streams and sockets
- http, http2:
  - add options to http.createServer()
  - add 103 Early Hints status code
  - add http fallback options to .createServer
- n-api:
  - take n-api out of experimental
- perf_hooks:
  - add warning when too many entries in the timeline
- src:
  - add public API for managing NodePlatform
  - allow --perf-(basic-)?prof in NODE\_OPTIONS
  - node internals' postmortem metadata
- tls:
  - expose Finished messages in TLSSocket
- trace_events:
  - add file pattern cli option
- util:
  - implement util.getSystemErrorName()
2018-09-11 14:25:41 +00:00
fhajny
5da6aaa15a lang/nodejs8: Update 8.11.4.
- buffer: Fix out-of-bounds (OOB) write in Buffer.write() for UCS-2
  encoding (CVE-2018-12115)
2018-08-16 12:51:50 +00:00
ryoon
b9c1e1d533 Recursive revbump from textproc/icu-62.1 2018-07-20 03:33:47 +00:00
fhajny
2b128025fe lang/nodejs8: Update to 8.11.3.
- buffer (CVE-2018-7167): Fixes Denial of Service vulnerability where
  calling Buffer.fill() could hang
- http2:
  - (CVE-2018-7161): Fixes Denial of Service vulnerability by updating
    the http2 implementation to not crash under certain circumstances
    during cleanup
  - (CVE-2018-1000168): Fixes Denial of Service vulnerability by
    upgrading nghttp2 to 1.32.0
2018-06-14 10:53:10 +00:00
fhajny
6d39e5a5e4 lang/nodejs8: Update to 8.11.2.
deps:
- update node-inspect to 1.11.3
- update nghttp2 to 1.29.0
http2:
- Sync with current release stream
n-api:
- Sync with current release stream
2018-05-16 18:41:54 +00:00
fhajny
600418ad9b lang/nodejs8: Fix build with GCC>=5. Patch by leot@. 2018-05-12 09:04:23 +00:00
fhajny
02d9e00033 lang/nodejs: Use pkgsrc http-parser, libuv, libcares instead of bundled versions.
Switch back to bundled nghttp2 on lang/nodejs to reconcile a conflict
of OpenSSL versions.
2018-05-12 08:59:56 +00:00
adam
1b212c9daf nodejs8: Fix building with ICU 61. 2018-05-09 12:18:03 +00:00
fhajny
a55910ca7a lang/nodejs*: Provide bl3 to nodejs packages to provide headers. 2018-05-04 14:28:32 +00:00
fhajny
e839cc63b4 lang/nodejs{6,8}: Decouple respective options.mk from main package. 2018-05-03 21:12:23 +00:00
fhajny
428f89ca81 lang/nodejs*: Remove the npm package manager from nodejs packages. Introduce nodeversion.mk framework to pick and depend on one of the supported nodejs version packages. Bump respective PKGREVISIONs. 2018-05-02 16:33:02 +00:00
adam
299d329d51 revbump after icu update 2018-04-14 07:33:52 +00:00
fhajny
ca5373467f lang/nodejs8: Update to 8.11.1.
Fixes for the following CVEs are included in this release:

- CVE-2018-7158
- CVE-2018-7159
- CVE-2018-7160

Notable Changes

- Fix for inspector DNS rebinding vulnerability (CVE-2018-7160): A
  malicious website could use a DNS rebinding attack to trick a web
  browser to bypass same-origin-policy checks and allow HTTP connections
  to localhost or to hosts on the local network, potentially to an open
  inspector port as a debugger, therefore gaining full code execution
  access. The inspector now only allows connections that have a browser
  Host value of localhost or localhost6.
- Fix for 'path' module regular expression denial of service
  (CVE-2018-7158): A regular expression used for parsing POSIX paths
  could be used to cause a denial of service if an attacker were able to
  have a specially crafted path string passed through one of the
  impacted 'path' module functions.
- Reject spaces in HTTP Content-Length header values (CVE-2018-7159):
  The Node.js HTTP parser allowed for spaces inside Content-Length
  header values. Such values now lead to rejected connections in the
  same way as non-numeric values.
- Update root certificates: 5 additional root certificates have been
  added to the Node.js binary and 30 have been removed.
2018-04-04 10:37:44 +00:00
fhajny
9d4f315986 lang/nodejs8: Update to 8.10.0
deps:
- update V8 to 6.2.414.46
- revert ABI breaking changes in V8 6.2
- upgrade libuv to 1.19.1
- re land npm 5.6.0
- ICU 60 bump
crypto:
- Support both OpenSSL 1.1.0 and 1.0.2
- warn on invalid authentication tag length
async_hooks:
- update defaultTriggerAsyncIdScope for perf
- use typed array stack as fast path
- use scope for defaultTriggerAsyncId
- separate missing from default context
- rename initTriggerId
- deprecate undocumented API
- add destroy event for gced AsyncResources
- add trace events to async_hooks
- set HTTPParser trigger to socket
- add provider types for net server
n-api:
- add helper for addons to get the event loop
cli:
- add --stack-trace-limit to NODE_OPTIONS
console:
- add support for console.debug
module:
- add builtinModules
- replace default paths in require.resolve()
src:
- add helper for addons to get the event loop
- add process.ppid
http:
- support generic `Duplex` streams
- add rawPacket in err of `clientError` event
- better support for IPv6 addresses
net:
- remove ADDRCONFIG DNS hint on Windows
process:
- fix reading zero-length env vars on win32
tls:
- unconsume stream on destroy
process:
- improve unhandled rejection message
stream:
- remove usage of *State.highWaterMark
trace_events:
- add executionAsyncId to init events
2018-03-07 11:45:05 +00:00
fhajny
4beceab68f Update lang/nodejs8 to 8.9.4.
- deps: upgrade npm to 5.6.0
- build: configure can now be run from any directory
2018-01-05 15:00:25 +00:00
fhajny
3d0a00cf77 Update lang/nodejs8 to 8.9.3.
- buffer: buffer allocated with an invalid content will now be zero
  filled (CVE-2017-15897)
- deps: openssl updated to 1.0.2n
2017-12-09 17:55:35 +00:00
fhajny
d163c6b47c Update lang/nodejs8 to 8.9.2.
- console: avoid adding infinite error listeners
- http2: improve errors thrown in header validation
2017-12-07 21:59:24 +00:00
adam
8977d31a36 Revbump after textproc/icu update 2017-11-30 16:45:00 +00:00
fhajny
91085d9b27 Update lang/nodejs8 to 8.9.1.
- openssl: upgrade openssl sources to 1.0.2m
- Revert "https: refactor to use http internals"
2017-11-08 17:44:02 +00:00
fhajny
4ead62abd1 Import nodejs-8.9.0 (LTS) as lang/nodejs8.
Changes since nodejs 8.8.1:

- doc: add Gibson Fahnestock to Release team
- deps: update npm to 5.5.1
- http2: The exposed http2 socket is no longer manipulatable
- module: support custom paths to require.resolve()
- util: util.TextEncoder and util.TextDecoder are no longer experimental.
  There will no longer be a warning when they are used
2017-11-01 12:07:31 +00:00