Commit Graph

93 Commits

Author SHA1 Message Date
Adrian Bunk a0361dad8b nodejs: Upgrade 10.16.3 -> 10.17.0
Patch applied upstream removed.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
André Draszik 76dd3dac1f nodejs: allow use of system c-ares (and make default)
Use system c-ares via PACKAGECONFIG by default. So far,
nodejs had been built using its embedded copy of c-ares,
which we generally try to avoid, for the known reasons
(independent updates, cve & license checks, etc).

Notes:
* otherwise nodejs uses its bundled version of c-ares
* the PACKAGECONFIG variable is 'ares' so as to be in
  line with other uses of this (wget & curl recipes in
  OE core)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-01 17:22:52 -07:00
Khem Raj b4937b5d66 nodejs: Mark incompatible with risc-v
Arch is not yet supported

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07 11:29:02 -07:00
Andrej Valek a1a0e8d91e nodejs: 10.16.2 -> 10.16.3
- update nodejs to active 10.x LTS release 10.16.3
 - include fix multiple HTTP/2 vulnerabilities

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-03 07:11:04 -07:00
Martin Jansa 080532ff85 nodejs: fix QA error about /usr/bin/python dependency
* fixes:
  ERROR: QA Issue:
  /usr/lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples
  contained in package nodejs-npm requires /usr/bin/python, but no
  providers found in RDEPENDS_nodejs-npm? [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17 01:42:54 -07:00
Andrej Valek 58c865e46d nodejs: 10.16.0 -> 10.16.2
- update nodejs to active 10.x LTS release 10.16.2.
- add python running dependency due to samples.py requirements

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-11 08:58:05 -07:00
Andrej Valek 2487a1e192 nodejs: 10.15.3 -> 10.16.0
Update nodejs to active 10.x LTS release 10.16.0.
- make dependencies configurable
License checksum changed due to added bundled dependencies to:
- siphash
- large_pages
- brotli

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Brad Bishop 478c35bc01 nodejs: Update GCC 4.8 compat patch
GCC 4.8 compatibility was lost moving from 10.15.1 to 10.15.3.  Add
another wrapper for std::make_unique to restore it.

Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-26 09:43:57 -07:00
Andreas Müller 3940350b0f nodejs: upgrade 10.15.1 -> 10.15.3
* 10.15.2 was a security release for CVE-2019-5737 [1]
* 10.15.3 was a bugfix release [2]

[1] https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.2
[2] https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V10.md#10.15.3

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-22 09:33:00 -07:00
Andrej Valek f0c1ee77d9 nodejs: fix target ldflags using
- do not drop target LDFLAGS
  - even if the target LDFLAGS have been specified, tools like torque was
    linked with system libraries

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19 21:00:06 -07:00
Andrej Valek bef21ed9aa nodejs: fix additional compatibility with older gcc
- replace all occurrences of std::make_unique with wrapper
 - sync indent level

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-22 18:14:52 -08:00
Andrej Valek 1c8e4a679a nodejs 8.15.0 -> 10.15.1
Update nodejs to active 10.x LTS release 10.15.1.
- link atomic library
- make it compatible with gcc < 4.9

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-17 12:40:56 -08:00
Matthijs Vader 41817d8ae1 nodejs 8.14.0 -> 8.15.0
Update nodejs to latest 8.x stable release 8.15.0.

Signed-off-by: Matthijs Vader <mvader@victronenergy.com>
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-28 07:06:19 -08:00
Andrej Valek 7327e8aeea nodejs: 8.12.0 -> 8.14.0
Update nodejs to latest 8.x stable release 8.14.0.

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-04 10:00:48 -08:00
Khem Raj d7d0cc5227 nodejs: Enable system ICU support
Latest Chromium needs it during build

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-12 15:00:10 -07:00
Khem Raj 463fd3dff3 nodejs: Revert unintended changes (not ready yet)
We need to enable icu with intl support but this was accidentally
committed with last umip move patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-08 08:35:34 -07:00
Hongxu Jia 9254a77848 umip: fix recipe location typo
Since `36983fe umip: move to meta-networking' applied,
it was moved to invalid location.

Fix prior partial move to meta-networking

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-07 21:45:20 -07:00
Hong Liu fd805b91a7 nodejs: upgrade to 8.12.0
Upgrade nodejs from 8.11.4 to 8.12.0.

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-25 22:24:15 -07:00
Hong Liu e427280262 nodejs: 8.11.3 -> 8.11.4
Upgrade nodejs from 8.11.3 to 8.11.4

Signed-off-by: Hong Liu <hongl.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Pascal Bach a19bb52b0a nodejs: update to 8.11.3
Fixes the following CVEs:
- CVE-2018-7167
- CVE-2018-7161
- CVE-2018-1000168

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-03 17:42:25 -07:00
Pascal Bach 2ac1799a19 nodejs: 8.9.4 -> 8.11.2
Node.js > 8.10 also compile with OpenSSL 1.1

License check sum changes because typo fix in LICENSE file.
No license change.

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-08 00:57:29 -07:00
Trevor Woerner 154d1cc863 nodejs: add extra RDEPENDS for building
If you want to perform an "npm install" and a module needs to be compiled,
these additional packages need to be on the target otherwise the compile might
fail with one or more of the following error messages:

	ImportError: No module named compiler.ast
	ImportError: No module named filecmp
	ImportError: No module named multiprocessing

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-12 10:01:16 -07:00
Parthiban Nallathambi 00909ae732 nodejs: Update from 8.9.0 -> 8.9.4
Update nodejs to latest stable release 8.9.4

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:12:55 -08:00
Gunnar Mills 74880c1464 nodejs: Add support for building on ppc64le
ppc64le is a little-endian mode of ppc64.
Nodejs determines the endianness of the system and
since it already supports bi-endian ppc64, just pass
nodejs "ppc64" when the TARGET_ARCH is ppc64le.

Signed-off-by: Gunnar Mills <gmills@linux.vnet.ibm.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:12:55 -08:00
Davis, Michael 23f1ed8d4e nodejs: Update to 8.9.0
Update nodejs to latest stable release 8.9.0.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Jonathan Liu 2d3b8c99d7 nodejs: Update to 8.7.0
LICENSE checksum updated due to copyright and formatting changes.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-27 16:39:33 +00:00
Jonathan Liu 09d5d09762 nodejs: Remove unreferenced patches
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-27 16:39:33 +00:00
Jonathan Liu af0d0f8939 nodejs: Add npx to nodejs-npm package
${bindir}/npx is a symbolic link to npm-cli.js in the npm module.
This avoids the nodejs package depending on nodejs-npm.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-17 10:32:03 +00:00
Khem Raj 3f37748ee8 nodejs: Upgrade to 8.4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02:00
fan.xin aa2ca3e2d6 nodejs: update to 4.8.3
Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-06-05 11:01:46 +02:00
Pascal Bach 881ac49a9c nodejs: update to 4.8.2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26 20:13:32 +02:00
Derek Straka 7a8f7dffa6 nodejs: update to version 4.7.3
Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-02-22 13:16:55 +01:00
Oleksandr Kravchuk 17844504db nodejs: update to 4.7.2
Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-25 15:59:57 +01:00
Oleksandr Kravchuk 4fe4318c56 nodejs: upgrade to 4.7.0
Section with information regarding few third-party components has been
removed from the LICENSE file:
https://github.com/nodejs/node/commit/f7c4e9489f0d72533.

Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-10 13:12:56 +01:00
Joshua Lock efd3696e70 remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Jonathan Liu 7a491f384c nodejs: update to 4.6.1
Fixes CVE-2016-5180.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-26 10:28:41 +02:00
Jonathan Liu 00ba3c8bad nodejs: update to 4.6.0
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-25 15:31:16 +02:00
Jonathan Liu 996f2969bf nodejs: update to 4.5.0
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-05 13:30:49 +02:00
Pascal Bach c0e4ad71a4 nodejs, arm: map TUNE_FEATURES to --with-arm-fpu parameters
The same code is used in the nodejs recipe from meta-nodejs

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-31 18:21:59 +02:00
Pascal Bach dcba10c69c nodejs: use shared zlib instead of bundled one
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-31 18:21:58 +02:00
Jonathan Liu 20df863070 nodejs: update to 4.4.7
LICENSE checksum updated due to change in ESLint copyright line:
-    Copyright (c) 2013 Nicholas C. Zakas. All rights reserved.
+    Copyright jQuery Foundation and other contributors, https://jquery.org/

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-07-29 11:00:53 +02:00
Jonathan Liu 25f31a5952 nodejs: update to 4.4.5
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:24 +02:00
Jonathan Liu 2f3a4997c7 nodejs: update to 4.4.4
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-05-10 20:19:29 +02:00
Jonathan Liu fb30db691e nodejs: update to 4.4.3
LICENSE checksum has changed due to OpenSSL copyright year being
bumped from 1998-2011 to 1998-2016.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:52 +02:00
Jonathan Liu 7321fe27f3 nodejs: update to 4.4.2
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-21 21:33:16 +02:00
Jonathan Liu 99ec727201 nodejs: update to 4.4.1
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25 11:27:30 +01:00
Jonathan Liu 767dd8375c nodejs: update to 4.4.0
LICENSE checksum has changed to fix a small error in the URL for the
npm public registry, changing the URL from "https://registry.npmjs.com"
to "https://registry.npmjs.org".

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-25 11:26:57 +01:00
Jonathan Liu 7396fc6206 nodejs: update to 4.3.2
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-04 09:06:08 +01:00
Jonathan Liu 80fec0a984 nodejs: update to 4.3.1
Fixes CVE-2016-2086 and CVE-2016-2216.

LICENSE checksum changed because it was regenerated using the new
tools/license-builder.sh script but the licensing remains the same.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-02 00:03:18 +01:00
Trevor Woerner 33965e42d2 nodejs: upgrade from 4.2.4 to 4.2.6
...plus a switch to xz.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-02-15 10:15:26 +01:00