summaryrefslogtreecommitdiffstats
path: root/package/nodejs
Commit message (Collapse)AuthorAgeFilesLines
* nodejs: unbreak 0.10.x host buildPeter Korsgaard2017-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/833/8334631b54fdfd43d38ca00f42e4d5a98e3a70c4/ http://autobuild.buildroot.net/results/9c0/9c08e0b745fab671123facb4a46f60eec5afd718/ Commit 24d90db52a74 (package/nodejs: disable icu support for host build) added --with-intl=none to host configure flags to fix an issue related to icu. The 0.10.x version unfortunately doesn't understand this configure flag and errors out when provided, breaking the build: configure: error: no such option: --with-intl The 0.10.x version doesn't seem to have this icu issue (E.G. no autobuilder issues before this commit and unable to reproduce locally), so fix it by only passing --with-intl=none for the 6.9.x version. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: disable icu support for host buildZoltan Gyarmati2017-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/1d6/1d6bbef2cb0c8c2e00b6d7511814ff9ddb2e3073/ http://autobuild.buildroot.net/results/4c7/4c7fc92a42405e25f41394fa44f5bdc27a4538c4/ Apperently if both icu and nodejs are enabled during the nodejs host build the nodejs buildsystem gets confused by the icu version installed by Buildroot (icu 58.2) and the one bundled with the nodejs source tree(icu 57), which ends up in linking-time errors as: """ undefined reference to `icu_58::NumberFormat::format(icu_58::StringPiece, icu_58::UnicodeString&, icu_58::FieldPositionIterator*, UErrorCode&) const' """ (note the icu_58 in the symbol name while the bundled icu version is 57) This patch disables the (not used) i18n support in the nodejs host build config in order to fix the issue. The issue doesn't affect the target build of nodejs. [Peter: add autobuilder references] Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: add support for building on aarch64 architecturesDaniel Mack2017-01-132-2/+4
| | | | | Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: bump to version 6.9.4Peter Korsgaard2017-01-094-3/+3
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: re-add 6.x patchesPeter Korsgaard2017-01-092-0/+0
| | | | | | | Commit 3fd9c062e (nodejs: bump to version 6.9.2) bumped the 6.x version but forgot to rename the patch directory, so the patches were no longer used. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: bump to version 6.9.2Peter Korsgaard2016-12-222-3/+3
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: security bump 0.10.x series to 0.10.48Peter Korsgaard2016-12-036-3/+3
| | | | | | | | c-ares: fix for single-byte buffer overwrite, CVE-2016-5180, more information at https://c-ares.haxx.se/adv_20160929.html Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 6.9.1Patrick Devlin2016-11-144-3/+3
| | | | | | | | | https://nodejs.org/en/blog/release/v6.9.1/ The patches from 6.7.0 have been copied to 6.9.1. Signed-off-by: Patrick Devlin <cloudyparts@icloud.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* MIPS: replace every BR2_mips_* with the new MIPS CPU optionsVicente Olivert Riera2016-10-151-3/+3
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump version to 6.7.0Martin Bark2016-09-304-3/+38
| | | | | | | | | | | | | https://nodejs.org/en/blog/release/v6.7.0/ The patches from 6.2.1 have been copied to 6.7.0 with the following changes: - Add 0002-inspector-don-t-build-when-ssl-support-is-disabled.patch to disable the new V8 inspector when openssl is not included. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump version to 0.10.47Martin Bark2016-09-306-3/+3
| | | | | | | https://nodejs.org/en/blog/release/v0.10.47/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: remove the menu ... endmenuThomas Petazzoni2016-07-041-4/+0
| | | | | | | | The only menu was "Module Selection", even though it contained options (like "NPM for target") which are not related to selecting modules. This commit therefore removes the menu ... endmenu. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: remove icu support from 0.10.xMartin Bark2016-06-091-0/+3
| | | | | | | | | | | | | icu support was added to nodejs in commit 7d0702a, however, 0.10.x does not have support for icu. The 0.10.x configure script will error if it is passed the --with-intl option. This commit removes icu support from 0.10.x. Fixes: http://autobuild.buildroot.net/results/932e4ec24623592255f234a098f7a90ef2ad8063 Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Update npm to use NODEJS_CONF_OPTSMartin Bark2016-06-041-1/+4
| | | | | | Signed-off-by: Martin Bark <martin@barkynet.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Update openssl to use NODEJS_CONF_OPTSMartin Bark2016-06-041-1/+3
| | | | | | Signed-off-by: Martin Bark <martin@barkynet.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Update icu to use NODEJS_CONF_OPTSMartin Bark2016-06-041-1/+3
| | | | | | Signed-off-by: Martin Bark <martin@barkynet.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Add NODEJS_CONF_OPTSMartin Bark2016-06-041-5/+8
| | | | | | | | | Most packages in buildroot pass a FOO_CONF_OPTS variable into the configure script. Transition nodejs to follow this convention. Signed-off-by: Martin Bark <martin@barkynet.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 6.2.1Martin Bark2016-06-033-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v6.2.1/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: add icu supportMartin Bark2016-06-031-0/+5
| | | | | Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 0.10.45Martin Bark2016-05-096-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v0.10.45/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 6.1.0Martin Bark2016-05-093-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v6.1.0/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 6.0.0Martin Bark2016-04-286-106/+3
| | | | | | | | | | | | | | | | See https://nodejs.org/en/blog/release/v6.0.0/ The patches from 5.11.0 have been copied to 6.0.0 with the following changes: - Removed 0001-Remove-dependency-on-Python-bz2-module.patch, 0003-Fix-va_list-not-declared.patch and 0004-Fix-support-for-uClibc-ng.patch as all 3 have been fixed upstream - Renamed 0002-gyp-force-link-command-to-use-CXX.patch to 0001-gyp-force-link-command-to-use-CXX.patch Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump version to 5.11.0Martin Bark2016-04-266-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v5.11.0/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 0.10.44Martin Bark2016-04-266-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v0.10.44/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 5.10.1Martin Bark2016-04-136-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v5.10.1/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 5.9.1Martin Bark2016-03-266-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v5.9.1/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump version to 5.8.0Martin Bark2016-03-106-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v5.8.0/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump version to 0.10.43Martin Bark2016-03-086-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v0.10.43/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 5.7.1Martin Bark2016-03-066-3/+3
| | | | | | | See https://nodejs.org/en/blog/release/v5.7.1/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: force the use of python2Martin Bark2016-03-067-157/+16
| | | | | | | | | | | | | | | Remove the patches to use a python variable and instead force python2 into the PATH. Upstream the python variable was recently removed (see https://github.com/nodejs/node/commit/c3e50ca) and due to dependencies directly calling python there is a reluctance to change this. Instead it is recommended to add python2 into PATH as the nodejs build machines do (see https://github.com/nodejs/node/issues/418 and https://github.com/nodejs/node/issues/2735). Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2016-03-027-3/+3
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/nodejs: bump version to 5.6.0Martin Bark2016-02-167-3/+3
| | | | | | | | | | | | | | | | This is an important security release. See https://nodejs.org/en/blog/release/v5.6.0/ for further details Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/nodejs: security bump for 0.10.x to version 0.10.42Jörg Krause2016-02-188-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes security vulnerabilites [1]: - CVE-2016-2086 - CVE-2016-2216 Also switch to the xz compressed tar file now available for v0.10 builds from v0.10.42 onward. [1] https://nodejs.org/en/blog/vulnerability/february-2016-security-releases/ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/nodejs: update python variable patchMartin Bark2016-02-161-7/+18
|/ | | | | | | | | | | | Update 0003-Use-a-python-variable-instead-of-hardcoding-Python.patch for v5.5.0 to include the js2c.py tool. Fixes: http://autobuild.buildroot.net/results/87e9bbbb36f7fe4868d238ef6a7b72eb8cca7052/ http://autobuild.buildroot.net/results/f748c0956f71a7857d5cc9ae7bfe3c14357a078a/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: remove version choiceMartin Bark2016-02-072-29/+11
| | | | | | | | | | | | | | | Remove the choice of nodejs version. Now automatically pick nodejs 0.10.x for armv5 architectures only and the latest nodejs for all other supported architectures. Note that the removal of BR2_PACKAGE_NODEJS_5_X is not handled in Config.in.legacy because buildroot has never been released with this option included. Signed-off-by: Martin Bark <martin@barkynet.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump to version 5.5.0Martin Bark2016-02-078-42/+5
| | | | | | | | | | | Patches from 5.3.0 have been copied over with the following exceptions: - Removed 0005-Fix-crash-in-GetInterfaceAddresses.patch as this has been applied upstream - Renamed 0006-Fix-support-for-uClibc-ng.patch to 0005-Fix-support-for-uClibc-ng.patch Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nodejs: version 5.X needs host GCC >= 4.8Arnout Vandecappelle2015-12-311-0/+2
| | | | | | | | | | Fixes http://autobuild.buildroot.org/results/4589dd076585d6472ad1e65926ffe68343b94422 http://autobuild.buildroot.org/results/e3147c0d9c9eb9f58773b75c8cb4ea49df483611 and many more. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: move comment around, to keep proper indentationYann E. MORIN2015-12-281-7/+7
| | | | | | | | | | In Kconfig, when there is an item (like a comment) between a symbol and its dependees, then the indentation is not in effect. Move the symbol to the top of the file to guarantee the indentation in menuconfig. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
* package/nodejs: correct 0.10.x option nameMartin Bark2015-12-251-3/+3
| | | | | | | | The nodejs options incorrectly started BR2_BR2_xxx. This change corrects the name for 0.10.x releases to BR2_PACKAGE_NODEJS_0_10_X Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: fix support for uClibc-ngMartin Bark2015-12-233-0/+103
| | | | | | | | | | Fix segmentation fault in node.js when using uClibc-ng. This patch fixes bug #8296, see https://bugs.busybox.net/show_bug.cgi?id=8296. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: fixed comment for mips soft floatMartin Bark2015-12-231-0/+1
| | | | | | | | | nodejs is only selected for mips hard float however the comment is displayed for hard and soft float. Correct this by adding the missing !BR2_MIPS_SOFT_FLOAT to the comment. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: removed version 0.12.9Martin Bark2015-12-237-211/+0
| | | | | | | | | Remove 0.12.9 to rationalise the number of nodejs releases supported by buildroot. Going forward buildroot will only support the latest release of nodejs and the 0.10.x branch for armv5 support. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 5.3.0Martin Bark2015-12-238-55/+49
| | | | | | | | | | | | | | Replace 4.2.3 with 5.3.0. 5.3.0 is the current Stable release. See https://nodejs.org/en/blog/release/v5.3.0 for details on the release. Copied 4.2.3 patched to 5.3.0 with the following exceptions: - Removed 0004-fix-arm-vfpv2.patch, committed upstream and included in 5.3.0. See https://github.com/nodejs/node/commit/84dea1bd0c - Added 0004-Fix-va_list-not-declared.patch, fix for a new bug. This has already been fixed upstream but is not in 5.3.0 Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump 4.x branch to version 4.2.3Jörg Krause2015-12-127-23/+51
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump 0.12.x branch to version 0.12.9Jörg Krause2015-12-128-50/+48
| | | | | | | | | | | | | | | Patch #4 was applied upstream, however a new bug was introduced which breaks building nodejs without OpenSSL support. We replace the applied patch with a new patch to fix: error: ‘ALLOW_INSECURE_SERVER_DHPARAM’ was not declared in this scope ALLOW_INSECURE_SERVER_DHPARAM = true; Patch #4 status: Sent upstream [1] [1] https://github.com/nodejs/node/pull/4201 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump 0.10.x branch to version 0.10.41Jörg Krause2015-12-127-58/+4
| | | | | | | Also remove a patch applied upstream. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nodejs: build for the right MIPS architecture variantVicente Olivert Riera2015-12-121-0/+14
| | | | | | | | | Fixes: http://autobuild.buildroot.net/results/faa/faae16b543e146b230256d7653d181fb895c83fc/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nodejs: add support for MIPS big endianVicente Olivert Riera2015-12-121-0/+2
| | | | | Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Fixed npm global installMartin Bark2015-11-021-11/+2
| | | | | | | | | | | | | | | Set npm_config_prefix to $(TARGET_DIR)/usr so that npm -g will correctly install global modules to $(TARGET_DIR)/usr/lib/node_modules. By using npm -g to install global modules npm will now automatically create the symlinks to executables under $(TARGET_DIR)/usr/bin. See https://docs.npmjs.com/misc/config#global and https://docs.npmjs.com/files/folders for information on how the prefix setting is used by global installs. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: more python3 fixesYann E. MORIN2015-10-311-1/+14
| | | | | | | | | | | | | | | | nodejs' build system can not work with python3. Complement the existing patch to use a variable instead of hard-coding python. Fixes: http://autobuild.buildroot.org/results/406/406291bf7c61a80ed4a8d14d9a3887f51a1b2254/ http://autobuild.buildroot.org/results/ff9/ff97f452b875d8b1fb78561609742a233b80e0d3/ http://autobuild.buildroot.org/results/7ad/7adb96b45cb539c46940908d4ce9ca78b6a84d81/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud