The NetBSD Project

CVS log for pkgsrc/lang/nodejs/Makefile.common

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / nodejs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 18 16:24:37 2019 UTC (3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD
Changes since 1.26: +4 -1 lines
Diff to previous 1.26 (colored)

nodejs: Ensure largefile is enabled on SunOS.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 10 13:02:41 2019 UTC (3 months, 1 week ago) by ryoon
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Fix build under NetBSD/earmv7hf-el

Revision 1.25 / (download) - annotate - [select for diffs], Sat Dec 15 21:12:21 2018 UTC (4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

*: update email for fhajny

Revision 1.24 / (download) - annotate - [select for diffs], Wed Nov 28 08:36:04 2018 UTC (4 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

nodejs: updated to 10.14.0

Version 10.14.0 'Dubnium' (LTS):

This is a security release. All Node.js users should consult the security release summary at:
https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
for details on patched vulnerabilities.

Fixes for the following CVEs are included in this release:
* Node.js: Denial of Service with large HTTP headers (CVE-2018-12121)
* Node.js: Slowloris HTTP Denial of Service (CVE-2018-12122 / Node.js)
* Node.js: Hostname spoofing in URL parser for javascript protocol (CVE-2018-12123)
* OpenSSL: Timing vulnerability in DSA signature generation (CVE-2018-0734)
* OpenSSL: Timing vulnerability in ECDSA signature generation (CVE-2019-0735)

Notable Changes
* deps: Upgrade to OpenSSL 1.1.0j, fixing CVE-2018-0734 and CVE-2019-0735
* http:
  - Headers received by HTTP servers must not exceed 8192 bytes in total to prevent possible Denial of Service attacks. Reported by Trevor Norris. (CVE-2018-12121 / Matteo Collina)
  - A timeout of 40 seconds now applies to servers receiving HTTP headers. This value can be adjusted with server.headersTimeout. Where headers are not completely received within this period, the socket is destroyed on the next received chunk. In conjunction with server.setTimeout(), this aids in protecting against excessive resource retention and possible Denial of Service. Reported by Jan Maybach (liebdich.com). (CVE-2018-12122 / Matteo Collina)
* url: Fix a bug that would allow a hostname being spoofed when parsing URLs with url.parse() with the 'javascript:' protocol.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Sep 27 19:27:57 2018 UTC (6 months, 3 weeks ago) by tnn
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 (colored)

nodejs: unbreak previous for nodejs6 & nodejs8, add comments

Revision 1.22 / (download) - annotate - [select for diffs], Thu Sep 27 19:15:59 2018 UTC (6 months, 3 weeks ago) by tnn
Branch: MAIN
Changes since 1.21: +2 -3 lines
Diff to previous 1.21 (colored)

nodejs: SUBST paxctl in the correct Makefile

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 3 05:03:22 2018 UTC (9 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

extend PYTHON_VERSIONS_ for Python 3.7

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 12 08:59:56 2018 UTC (11 months, 1 week ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

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.

Revision 1.19 / (download) - annotate - [select for diffs], Thu May 3 21:19:16 2018 UTC (11 months, 2 weeks ago) by fhajny
Branch: MAIN
Changes since 1.18: +1 -4 lines
Diff to previous 1.18 (colored)

lang/nodejs: Update to 10.0.0.

Use bundled OpenSSL until pkgsrc provides the required 1.1.x.

### Notable Changes

- Assert
  - Calling `assert.fail()` with more than one argument is deprecated.
  - Calling `assert.ok()` with no arguments will now throw.
  - Calling `assert.ifError()` will now throw with any argument other
    than `undefined` or `null`. Previously the method would throw with
    any truthy value.
  - The `assert.rejects()` and `assert.doesNotReject()` methods have
    been added for working with async functions.
- Async_hooks
  - Older experimental async_hooks APIs have been removed.
- Buffer
  - Uses of `new Buffer()` and `Buffer()` outside of the
    `node_modules` directory will now emit a runtime deprecation
warning.
  - `Buffer.isEncoding()` now returns `undefined` for falsy values,
    including an empty string.
  - `Buffer.fill()` will throw if an attempt is made to fill with an
    empty `Buffer`.
- Child Process
  - Undefined properties of env are ignored.
- Console
  - The `console.table()` method has been added.
- Crypto
  - The `crypto.createCipher()` and `crypto.createDecipher()` methods
    have been deprecated. Please use `crypto.createCipheriv()` and
`crypto.createDecipheriv()` instead.
  - The `decipher.finaltol()` method has been deprecated.
  - The `crypto.DEFAULT_ENCODING` property has been deprecated.
  - The `ECDH.convertKey()` method has been added.
  - The `crypto.fips` property has been deprecated.
- Dependencies
  - V8 has been updated to 6.6.
  - OpenSSL has been updated to 1.1.0h.
- EventEmitter
  - The `EventEmitter.prototype.off()` method has been added as an
    alias for `EventEmitter.prototype.removeListener()`.
- File System
  - The `fs/promises` API provides experimental promisified versions
    of the `fs` functions.
  - Invalid path errors are now thrown synchronously.
  - The `fs.readFile()` method now partitions reads to avoid thread
    pool exhaustion.
- HTTP
  - Processing of HTTP Status codes `100`, `102-199` has been
    improved.
  - Multi-byte characters in URL paths are now forbidden.
- N-API
  - The n-api is no longer experimental.
- Net
  - The `'close'` event will be emitted after `'end'`.
- Perf_hooks
  - The `PerformanceObserver` class is now an `AsyncResource` and can
    be monitored using `async_hooks`.
  - Trace events are now emitted for performance events.
  - The `performance` API has been simplified.
  - Performance milestone marks will be emitted as trace events.
- Process
  - Using non-string values for `process.env` is deprecated.
  - The `process.assert()` method is deprecated.
- REPL
  - REPL now experimentally supports top-level await when using the
    `--experimental-repl-await` flag.
  - The previously deprecated "magic mode" has been removed.
  - The previously deprecated `NODE_REPL_HISTORY_FILE` environment
    variable has been removed.
  - Proxy objects are shown as Proxy objects when inspected.
- Streams
  - The `'readable'` event is now always deferred with nextTick.
  - A new `pipeline()` method has been provided for building
    end-to-data stream pipelines.
  - Experimental support for async for-await has been added to
    `stream.Readable`.
- Timers
  - The `enroll()` and `unenroll()` methods have been deprecated.
- TLS
  - The `tls.convertNPNProtocols()` method has been deprecated.
  - Support for NPN (next protocol negotiation) has been dropped.
  - The `ecdhCurve` default is now `'auto'`.
- Trace Events
  - A new `trace_events` top-level module allows trace event
    categories to be enabled/disabled at runtime.
- URL
  - The WHATWG URL API is now a global.
- Util
  - `util.types.is[` type checks have been added.
  - Support for bigint formatting has been added to `util.inspect()`.

#### Deprecations:

The following APIs have been deprecated in Node.js 10.0.0

- Passing more than one argument to `assert.fail()` will emit a
  runtime deprecation warning.
- Previously deprecated legacy async_hooks APIs have reached
  end-of-life and have been removed.
- Using `require()` to access several of Node.js' own internal
  dependencies will emit a runtime deprecation.
- The `crypto.createCipher()` and `crypto.createDecipher()` methods
  have been deprecated in documentation.
- Using the `Decipher.finaltol()` method will emit a runtime
  deprecation warning.
- Using the `crypto.DEFAULT_ENCODING` property will emit a runtime
  deprecation warning.
- Use by native addons of the `MakeCallback()` variant that passes a
  `Domain` will emit a runtime deprecation warning.
- Previously deprecated internal getters/setters on `net.Server` has
  reached end-of-life and have been removed.
- Use of non-string values for `process.env` has been deprecated in
  documentation.
- Use of `process.assert()` will emit a runtime deprecation warning.
- Previously deprecated `NODE_REPL_HISTORY_FILE` environment variable
  has reached end-of-life and has been removed.
- Use of the `timers.enroll()` and `timers.unenroll()` methods will
  emit a runtime deprecation warning.
- Use of the `tls.convertNPNProtocols()` method will emit a runtime
  deprecation warning. Support for NPN has been removed from Node.js.
- The `crypto.fips` property has been deprecated in documentation.

Revision 1.18 / (download) - annotate - [select for diffs], Wed May 2 16:33:02 2018 UTC (11 months, 2 weeks ago) by fhajny
Branch: MAIN
Changes since 1.17: +3 -12 lines
Diff to previous 1.17 (colored)

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.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Nov 1 12:07:31 2017 UTC (17 months, 2 weeks ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

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

Revision 1.16 / (download) - annotate - [select for diffs], Sun Sep 3 08:53:09 2017 UTC (19 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Follow some redirects.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Aug 2 17:31:45 2017 UTC (20 months, 2 weeks ago) by fhajny
Branch: MAIN
Changes since 1.14: +6 -1 lines
Diff to previous 1.14 (colored)

Update lang/nodejs to 8.2.1.

8.2.1

- configure:
  - add mips64el to valid_arch
- crypto:
  - Updated root certificates based on NSS 3.30
- deps:
  - upgrade OpenSSL to version 1.0.2.l
- http:
  - parse errors are now reported when NODE_DEBUG=http
  - Agent construction can now be envoked without `new`
- zlib:
  - node will now throw an Error when zlib rejects the value of
    windowBits, instead of crashing


8.2.0

- Async Hooks
  - Multiple improvements to Promise support in `async_hooks` have
    been made.
- Build
  - The compiler version requirement to build Node with GCC has been
    raised to GCC 4.9.4.
- Cluster
  - Users now have more fine-grained control over the inspector port
    used by individual cluster workers. Previously, cluster workers were
    restricted to incrementing from the master's debug port.
- DNS
  - The server used for DNS queries can now use a custom port.
  - Support for `dns.resolveAny()` has been added.
- npm
  - The `npm` CLI has been updated to version 5.3.0. In particular, it
    now comes with the `npx` binary, which is also shipped with Node.

Revision 1.14 / (download) - annotate - [select for diffs], Fri May 12 20:55:40 2017 UTC (23 months, 1 week ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.13: +1 -3 lines
Diff to previous 1.13 (colored)

Only node.js 7.x builds with icu>=0.59. Go back to use limited/embedded icu for lang/nodejs4 and lang/nodejs6.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 1 14:43:45 2017 UTC (2 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Add python-3.6 to incompatible versions.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 26 13:00:20 2016 UTC (2 years, 5 months ago) by pho
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.11: +6 -7 lines
Diff to previous 1.11 (colored)

Fix the path to mksnapshot.target.mk

It's incorrect at least for nodejs-7.0.0
Also, use the subst framework rather than a hand-written target.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 25 19:54:39 2016 UTC (2 years, 5 months ago) by fhajny
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Make note if include file used

Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 27 18:12:01 2016 UTC (2 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.9: +13 -1 lines
Diff to previous 1.9 (colored)

Disable W^X for node itself and the mksnapshot binary used during
bootstrap.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 9 13:03:53 2016 UTC (2 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Remove python33: adapt all packages that refer to it.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Jun 2 09:57:32 2016 UTC (2 years, 10 months ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.7: +3 -1 lines
Diff to previous 1.7 (colored)

Remove the nodejs icu option and make nodejs use a system ICU
package by default. Expand existing patch to fix NetBSD 6 build.
Fixes PR pkg/51172.

Bump PKGREVISION for lang/nodejs and lang/nodejs4.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 27 15:03:10 2016 UTC (2 years, 11 months ago) by fhajny
Branch: MAIN
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored)

Update lang/nodejs to 6.0.0.

This release will become the new LTS later in 2016.

The following significant changes have been made since the
previous Node.js v5.0.0 release.

Buffer
- New Buffer constructors have been added #4682 and #5833.
- Existing Buffer() and SlowBuffer() constructors have been
  deprecated in docs #4682 and #5833.
- Previously deprecated Buffer APIs are removed #5048, #4594.
- Improved error handling #4514.
- The Buffer.prototype.lastIndexOf() method has been added #4846.

Cluster
- Worker emitted as first argument in 'message' event #5361.
- The worker.exitedAfterDisconnect property replaces
  worker.suicide #3743.

Console
- Calling console.timeEnd() with an unknown label now emits a
  process warning rather than throwing #5901.

Crypto
- Improved error handling #3100, #5611.
- Simplified Certificate class bindings #5382.
- Improved control over FIPS mode #5181.
- pbkdf2 digest overloading is deprecated #4047.

Dependencies
- Reintroduce shared c-ares build support #5775.
- V8 updated to 5.0.71.35 #6372.

DNS
- Add dns.resolvePtr() API to query plain DNS PTR records #4921.

Domains
- Clear stack when no error handler #4659.

Events
- The EventEmitter.prototype._events object no longer inherits
  from Object.prototype #6092.
- The EventEmitter.prototype.prependListener() and
  EventEmitter.prototype.prependOnceListener() methods have been
  added #6032.

File System
- The fs.realpath() and fs.realpathSync() methods have been
  updated to use a more efficient libuv-based implementation. This
  change includes the removal of the cache argument and the method
  can throw new errors #3594.
- FS apis can now accept and return paths as Buffers #5616.
- Error handling and type checking improvements #5616, #5590,
  #4518, #3917.
- fs.read's string interface is deprecated #4525.

HTTP
- 'clientError' can now be used to return custom errors from an
  HTTP server #4557.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 18 11:39:18 2016 UTC (3 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

Ensure we don't try to use gold on Linux if it doesn't exist.  Fixes
64-bit build on CentOS.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Mar 12 12:34:44 2016 UTC (3 years, 1 month ago) by tnn
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

Needs pthreads. set PTHREAD_AUTO_VARS. Fixes build on NetBSD.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 25 14:42:56 2016 UTC (3 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.3: +3 -5 lines
Diff to previous 1.3 (colored)

Use OPSYSVARS.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 21 11:45:30 2016 UTC (3 years, 3 months ago) by fhajny
Branch: MAIN
Changes since 1.2: +1 -13 lines
Diff to previous 1.2 (colored)

Update lang/nodejs to 5.5.0.

* events: make sure console functions exist (Dave) #4479
* fs: add autoClose option to fs.createWriteStream (Saquib) #3679
* http: improves expect header handling (Daniel Sellers) #4501
* node: allow preload modules with -i (Evan Lucas) #4696
* v8,src: expose statistics about heap spaces (v8.getHeapSpaceStatistics())
  (Ben Ripkens) #4463
* Minor performance improvements:
  - lib: Use arrow functions instead of bind where possible (Minwoo Jung)
    #3622.
  - module: cache stat() results more aggressively (Ben Noordhuis) #4575
  - querystring: improve parse() performance (Brian White) #4675

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 5 21:25:47 2015 UTC (3 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Extend PYTHON_VERSIONS_INCOMPATIBLE to 35

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 9 20:19:35 2015 UTC (3 years, 5 months ago) by fhajny
Branch: MAIN

Update lang/nodejs to 5.0.0.

Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.

Notable Changes in 5.0.0:

* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
  from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
  3 decimals of accuracy added
* fs:
  - fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
    accept a file descriptor as their first argument
  - (Breaking) In fs.readFile(), if an encoding is specified and
    the internal toString() fails the error is no longer thrown but is
    passed to the callback
  - (Breaking) In fs.read() (using the fs.read(fd, length, position,
    encoding, callback) form), if the internal toString() fails the
    error is no longer thrown but is passed to the callback
* http:
  - Fixed a bug where pipelined http requests would stall
  - (Breaking) When parsing HTTP, don't add duplicates of the
    following headers: Retry-After, ETag, Last-Modified, Server, Age,
    Expires.
  - (Breaking) The callback argument to OutgoingMessage#setTimeout()
    must be a function or a TypeError is thrown
  - (Breaking) HTTP methods and header names must now conform to
    the RFC 2616 "token" rule, a list of allowed characters that
    excludes control characters and a number of separator characters.
* node:
  - (Breaking) Deprecated the _linklist module
  - (Breaking) Removed require.paths and require.registerExtension(),
    both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
  - Added ALPN Support
  - TLS options can now be passed in an object to createSecurePair()
  - (Breaking) The default minimum DH key size for tls.connect() is
    now 1024 bits and a warning is shown when DH key size is less
    than 2048 bits.
* util:
  - (Breaking) util.p() was deprecated for years, and has now been
    removed
  - (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
  - Implements the spread operator
  - Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
  end of file)

See full release notes with more information at:

  https://nodejs.org/en/blog/release/v5.0.0/

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>