aboutsummaryrefslogtreecommitdiff
path: root/lang/node
Commit message (Collapse)AuthorAge
...
* node: don't build on unsupported cpus, remove menuEneas U de Queiroz2019-04-26
| | | | | | | Node does not support arc or armeb systems. Moved i18 option to straight under node instead of on its own menu. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* node: update to 8.16.0Hirokazu MORIKAWA2019-04-19
| | | | | | Update to v8.16.0 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: support ppc32 muslHirokazu MORIKAWA2019-04-15
| | | | | | | support powerpc32 musl https://downloads.openwrt.org/snapshots/faillogs/powerpc_464fp/packages/node/compile.txt Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: bump to 8.15.1Hirokazu MORIKAWA2019-04-11
| | | | | | | | Several security fixes: Node.js: Slowloris HTTP Denial of Service with keep-alive (CVE-2019-5737) OpenSSL: 0-byte record padding oracle (CVE-2019-1559) Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: Update to 8.14.1Rosen Penev2018-12-24
| | | | | | | | Mainly CVE fixes. Added a patch to fix compilation without deprecated OpenSSL APIs. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* node: use system libnghttp2 libuv libhttp-parserEneas U de Queiroz2018-12-24
| | | | | | Use the openwrt system libraries instead of the ones bundled with node. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
* node: Update to 8.12.0Rosen Penev2018-11-14
| | | | | | | | Fixes several CVEs. Added PKG_CPE_ID for proper CVE tracking. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* node: bump to 8.11.3Hirokazu MORIKAWA2018-07-03
| | | | | | | Update to v8.11.3 Several security fixes: CVE-2018-7167, CVE-2018-7161, CVE-2018-1000168,CVE-2018-7158, CVE-2018-7159, CVE-2018-7160 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: Fix incorrect detection of arm_version and arm_fpuHirokazu MORIKAWA2018-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic detection of the arm architecture does not work well. http://downloads.lede-project.org/snapshots/faillogs/arm_arm1176jzf-s_vfp/packages/node/compile.txt ``` ../deps/v8/src/arm/assembler-arm.cc:176:2: error: #error "CAN_USE_ARMV7_INSTRUCTIONS should match CAN_USE_VFP3_INSTRUCTIONS" #error "CAN_USE_ARMV7_INSTRUCTIONS should match CAN_USE_VFP3_INSTRUCTIONS" ^~~~~ ``` https://github.com/openwrt/packages/issues/5728 Explicitly set cpu arch optimization flag to the compiler option so that "configure" script correctly identifies "arm version". (Raspberry Pi Zero W) Raspbian: ``` raspberrypi:~ $ echo | gcc -dM -E - | grep ARM_ARCH ``` OpenWrt (cross-env): ``` ubuntu:~ $ echo | ./arm-openwrt-linux-muslgnueabi-gcc -dM -E - | grep ARM_ARCH ``` ``` ubuntu:~ $ echo | ./arm-openwrt-linux-muslgnueabi-gcc -mcpu=arm1176jzf-s -dM -E - | grep ARM_ARCH ``` Also specifying an option lines compactly. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: fix host build failHirokazu MORIKAWA2018-05-16
| | | | | | | | | | modify patch. https://github.com/nodejs/node/pull/19196 made not to use libressl headers fix to include path not to use "host/include" Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: bump to 8.10.0Marko Ratkaj2018-03-10
| | | | | | | | | | | | | | Changes: Version bump to 8.10.0 Refreshed patches Added npx install Added 004-node_crypto-remove-std.patch Additional patch fixes node_cypto compile failure: ./src/node_crypto.cc:5626:32: error: expected unqualified-id before '(' Signed-off-by: Arturo Rinaldi <arty.net2@gmail.com> Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
* node: depends on availability of fpuYousong Zhou2018-02-09
| | | | | | | | | | | | | | | | | | | It requires either hardware or software emulated fpu, otherwise program can fail with SIGILL for fp instructions emitted by the JIT compiler See #1937, #2633, #2442, FS#1257 for details From code snippet at deps/v8/src/mips/constants-mips.h #elif(defined(__mips_soft_float) && __mips_soft_float != 0) // This flag is raised when -msoft-float is passed to the compiler. // // Although FPU is a base requirement for v8, soft-float ABI is used // // on soft-float systems with FPU kernel emulation. // const bool IsMipsSoftFloatABI = true; [1] https://bugs.chromium.org/p/v8/issues/detail?id=4704 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* node: delete unnecessary TAB characters at the end of a lineHirokazu MORIKAWA2017-09-11
| | | | Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: fix typoHirokazu MORIKAWA2017-09-07
| | | | | | https://github.com/openwrt/packages/issues/4742 Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
* node: fix path patchAdrian Panella2017-08-17
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* node: bump version and add maintainerAdrian Panella2017-08-16
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* node: bump version and tweak configAdrian Panella2017-08-16
| | | | | | | | Bump version to 6.11.0 Add ICU dependency when using i18n Tweak fpu configs Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* node: Move NPM into a separated pacakgeYgal Blum2017-04-06
| | | | | | | | | In order to reduce flash requirements and also to disallow running NPM on the target move NPM out of the default NodeJS package. In order to allow adding NPM via opkg install, move it to a separated directory Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
* treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with ↵Matthias Schiffer2017-01-10
| | | | | | | | | | | | | | | | | | $(STAGING_DIR_HOSTPKG) As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely on it. See 73b7f55424de52d8179a9ad808252fe3bf8dcc9d for more information on STAGING_DIR_HOSTPKG. STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release (it is equivalent to $(STAGING_DIR)/host), so this simple search/replace cleanup is safe to apply. Doing this cleanup now will be useful for the Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream. Also fixes a typo in the dbus Makefile ("STAGIND_DIR"). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* Merge pull request #3056 from plntyk/fix_nodeJohn Crispin2016-10-04
|\ | | | | node: fix soft/hard float compile on arm/mips
| * node: fix soft/hard float compile on arm/mipsDirk Neukirchen2016-08-13
| | | | | | | | | | | | reported by brcm2708/2709 user on IRC Signed-off-by: Dirk Neukirchen <plntyk.lede@plntyk.name>
* | node: use default host install prefixMatthias Schiffer2016-10-04
|/ | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* node,node-*: node update to v4.4.5 and Enhance CPU-arch variant.Hirokazu MORIKAWA2016-05-27
|
* node: fix undefined behaviour leading to broken code with GCC 6Matthias Schiffer2016-05-09
| | | | | | | | Fixes segfaults occuring in the node host build when GCC 6 is used. Backport of upstream commit 96198d5bc710a4e3ca49eeeb3b3fa7b8cb61547d. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* node: update to v4.4.4Matthias Schiffer2016-05-09
| | | | | | While we're at it, also enable parallel builds. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* node update v0.12.13Hirokazu MORIKAWA2016-04-21
|
* treewide: use $(STAGING_DIR)/host instead of $(STAGING_DIR_HOST), sync with ↵Felix Fietkau2016-01-20
| | | | | | changes in trunk Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* node: fix build on x86 & x86.64 targetsAlexandru Ardelean2015-12-19
| | | | | | | | | | | | | | | | | For x86 and x86_64, nodejs has some special CPU code that needs to be selected by specifying the correct CPU name (correct for nodejs). On OpenWRT x86 is i386 ; node wants ia32 for this. And x86_64 is x64 on nodejs. So, we just need to do the proper substitutions. Note: the ARCH env-var is obtained from CONFIG_ARCH, after some subtitutions are applied. So, it shouldn't affect other target archs. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* node: add python/host to HOST_BUILD_DEPENDS as wellMatthias Schiffer2015-10-28
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* node: disable MIPS16John Crispin2015-10-26
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* node: add a python/host dependencyJohn Crispin2015-10-20
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* nodejs: add 0.12 version of nodeJohn Crispin2015-10-19
add node-js 0.12 and a few gyp bindings Signed-off-by: John Crispin <blogic@openwrt.org>