summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nodejs
Commit message (Collapse)AuthorAgeFilesLines
...
* nodejs: ensure to use correct compiler & flags alwaysAndré Draszik2019-11-132-25/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | NodeJS comes with an embedded, patched, version of gyp. Normally, gyp supports compiling for the build machine, e.g. native tools that need to be compiled to run during the build, and for the host, using different variables, e.g. CC and CC.host, etc. Most of this has been patched out in the NodeJS version of gyp, and essentially it only supports compiling using one compiler - ${CC}. This modification excludes LDFLAGS for native tools, and those still evaluate LDFLAGS.host (only). While this modified behaviour is OK for the OE use-case of building native and target tools separately, it means that this recipe can not work as-is with standard gyp, and wrong LDFLAGS are being used for some of the tools compiled (torque) in either case. By setting the make variables that gyp-generated makefiles inspect, we support use of unpatched gyp, and we ensure that all tools are compiled with correct LDFLAGS in either case. This now also allows us to drop the patch that had been applied to work-around this problem. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nodejs: allow use of system nghttp2André Draszik2019-11-071-0/+1
| | | | | | | | | | | We can't enable this by default, though, as nghttp2 is in the meta-networking layer, which might not be enabled. At least this gives people a simple way to do so if they want. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nodejs: allow use of system libuv (and make default)André Draszik2019-11-011-1/+2
| | | | | | | | | | Use system libuv via PACKAGECONFIG by default. So far, nodejs had been built using its embedded copy of libuv, which we generally try to avoid, for the known reasons (independent updates, cve & license checks, etc). Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nodejs: Upgrade 10.16.3 -> 10.17.0Adrian Bunk2019-11-012-125/+2
| | | | | | | Patch applied upstream removed. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nodejs: allow use of system c-ares (and make default)André Draszik2019-11-011-2/+3
| | | | | | | | | | | | | | | | 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>
* nodejs: Mark incompatible with risc-vKhem Raj2019-09-071-0/+3
| | | | | | Arch is not yet supported Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nodejs: 10.16.2 -> 10.16.3Andrej Valek2019-09-031-2/+2
| | | | | | | | - 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>
* nodejs: fix QA error about /usr/bin/python dependencyMartin Jansa2019-08-171-1/+1
| | | | | | | | | | | * 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>
* nodejs: 10.16.0 -> 10.16.2Andrej Valek2019-08-111-3/+3
| | | | | | | | - 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>
* nodejs: 10.15.3 -> 10.16.0Andrej Valek2019-07-101-6/+11
| | | | | | | | | | | | 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>
* nodejs: Update GCC 4.8 compat patchBrad Bishop2019-03-261-0/+23
| | | | | | | | 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>
* nodejs: upgrade 10.15.1 -> 10.15.3Andreas Müller2019-03-221-2/+2
| | | | | | | | | | | * 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>
* nodejs: fix target ldflags usingAndrej Valek2019-03-192-0/+25
| | | | | | | | | - 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>
* nodejs: fix additional compatibility with older gccAndrej Valek2019-02-221-8/+28
| | | | | | | | - 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>
* nodejs 8.15.0 -> 10.15.1Andrej Valek2019-02-176-17/+230
| | | | | | | | | 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>
* nodejs 8.14.0 -> 8.15.0Matthijs Vader2019-01-281-2/+2
| | | | | | | | 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>
* nodejs: 8.12.0 -> 8.14.0Andrej Valek2018-12-041-2/+2
| | | | | | | 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>
* nodejs: Enable system ICU supportKhem Raj2018-10-121-2/+4
| | | | | | Latest Chromium needs it during build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nodejs: Revert unintended changes (not ready yet)Khem Raj2018-10-081-1/+1
| | | | | | | 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>
* umip: fix recipe location typoHongxu Jia2018-10-071-1/+1
| | | | | | | | | | 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>
* nodejs: upgrade to 8.12.0Hong Liu2018-09-251-2/+2
| | | | | | | 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>
* nodejs: 8.11.3 -> 8.11.4Hong Liu2018-08-281-2/+2
| | | | | | | 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>
* nodejs: update to 8.11.3Pascal Bach2018-07-031-2/+2
| | | | | | | | | | 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>
* nodejs: 8.9.4 -> 8.11.2Pascal Bach2018-06-081-4/+4
| | | | | | | | | | 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>
* nodejs: add extra RDEPENDS for buildingTrevor Woerner2018-03-121-1/+2
| | | | | | | | | | | | | 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>
* nodejs: Update from 8.9.0 -> 8.9.4Parthiban Nallathambi2018-03-011-3/+3
| | | | | | | 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>
* nodejs: Add support for building on ppc64leGunnar Mills2018-03-011-1/+1
| | | | | | | | | | 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>
* nodejs: Update to 8.9.0Davis, Michael2017-11-151-3/+3
| | | | | | Update nodejs to latest stable release 8.9.0. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* nodejs: Update to 8.7.0Jonathan Liu2017-10-271-3/+3
| | | | | | | 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>
* nodejs: Remove unreferenced patchesJonathan Liu2017-10-272-88/+0
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: Add npx to nodejs-npm packageJonathan Liu2017-10-171-1/+1
| | | | | | | | ${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>
* nodejs: Upgrade to 8.4.0Khem Raj2017-08-313-6/+65
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.8.3fan.xin2017-06-051-2/+2
| | | | | Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.8.2Pascal Bach2017-04-261-2/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to version 4.7.3Derek Straka2017-02-221-2/+2
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.7.2Oleksandr Kravchuk2017-01-251-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <oleksandr.kravchuk@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: upgrade to 4.7.0Oleksandr Kravchuk2017-01-101-3/+3
| | | | | | | | | 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>
* remove True option to getVar callsJoshua Lock2016-12-021-1/+1
| | | | | | | | | 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>
* nodejs: update to 4.6.1Jonathan Liu2016-10-261-2/+2
| | | | | | | Fixes CVE-2016-5180. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.6.0Jonathan Liu2016-10-251-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.5.0Jonathan Liu2016-09-051-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs, arm: map TUNE_FEATURES to --with-arm-fpu parametersPascal Bach2016-08-311-1/+5
| | | | | | | 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>
* nodejs: use shared zlib instead of bundled onePascal Bach2016-08-311-2/+2
| | | | | Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.4.7Jonathan Liu2016-07-291-3/+3
| | | | | | | | | 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>
* nodejs: update to 4.4.5Jonathan Liu2016-06-081-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.4.4Jonathan Liu2016-05-101-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.4.3Jonathan Liu2016-04-211-3/+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>
* nodejs: update to 4.4.2Jonathan Liu2016-04-211-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.4.1Jonathan Liu2016-03-251-2/+2
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* nodejs: update to 4.4.0Jonathan Liu2016-03-251-3/+3
| | | | | | | | | 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>