summaryrefslogtreecommitdiffstats
path: root/package/nodejs/nodejs.mk
Commit message (Collapse)AuthorAgeFilesLines
* package/nodejs: bump version to 8.2.1Martin Bark2017-07-251-1/+1
| | | | | | | https://nodejs.org/en/blog/release/v8.2.1/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: use shared libuvMartin Bark2017-07-191-1/+2
| | | | | | | | nodejs requires libuv and by default will use an internal copy bundled with the release. Change to using a shared libuv library. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: use shared libhttpparserMartin Bark2017-07-191-1/+3
| | | | | | | | nodejs requires libhttpparser and by default will use an internal copy bundled with the release. Change to using a shared libhttpparser library. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: use shared c-aresMartin Bark2017-07-191-1/+2
| | | | | | | | nodejs requires c-ares and by default will use an internal copy bundled with the release. Change to using a shared c-ares library. Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: security bump to version 8.1.4Martin Bark2017-07-131-1/+1
| | | | | | | | | | | | | | | Fixes CVE-2017-1000381 - The c-ares function ares_parse_naptr_reply(), which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS response packet was crafted in a particular way. This patch checks that there is enough data for the required elements of an NAPTR record (2 int16, 3 bytes for string lengths) before processing a record. See https://nodejs.org/en/blog/release/v8.1.4/ [Peter: add CVE info] Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-13/+13
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefixArnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | | Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\(prefix\|PREFIX\)=\("\?\)\$(HOST_DIR)/usr%\1=\2$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: don't build cctest targetMartin Bark2017-06-201-0/+4
| | | | | | | | | | | | | | | cctest is a test package that is built by default. We don't use of it and recently it has been failing to build in the host-nodejs builds so disable it. Fixes: http://autobuild.buildroot.net/results/1d7642073d169de941e74dc3a0efba6e992e2de7 http://autobuild.buildroot.net/results/8801109c1976e1c7a08dc4036c6a38efdbb8cd7e http://autobuild.buildroot.net/results/6d52bc9fef4c9f12f0091e93c020ab2cd4c4c5a1 http://autobuild.buildroot.net/results/a8b8a781bdea668b657311c68b6f0ca0f74169c7 Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 8.1.2Martin Bark2017-06-201-1/+1
| | | | | | | See https://nodejs.org/en/blog/release/v8.1.2/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 8.0.0Martin Bark2017-06-051-1/+1
| | | | | | | See https://nodejs.org/en/blog/release/v8.0.0/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 7.10.0Martin Bark2017-05-061-1/+1
| | | | | | | See https://nodejs.org/en/blog/release/v7.10.0/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: remove support for coffeescriptMartin Bark2017-05-061-3/+1
| | | | | | | | | | | | | | BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT has been deprecated. To continue using add coffee-script to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL. Fixes: http://autobuild.buildroot.org/results/0e4fb1a615ab9654ad2b4b1274a34583e02aa44e http://autobuild.buildroot.org/results/fabf2f5f25c62be615fd09e59e6ad9234385645f http://autobuild.buildroot.org/results/8653d78a190df1e691f52a911d8153104c46226b http://autobuild.buildroot.org/results/2fc7e5e64ad6ced02a47e5062176d316eed0f43b Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: remove support for expressMartin Bark2017-05-061-1/+0
| | | | | | | | | | | | | BR2_PACKAGE_NODEJS_MODULES_EXPRESS has been deprecated. To continue using add express to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL Fixes: http://autobuild.buildroot.org/results/fcfa38e98c22c8809452f7d0ee86dfe2e9d2482f http://autobuild.buildroot.org/results/946996fa78c7814d1e0ea0ef1239c6eb0c7aa8dd http://autobuild.buildroot.org/results/df920e7b17617f1e4867d94eda52cab38f7b0622 Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 7.9.0Martin Bark2017-04-141-1/+1
| | | | | | | See https://nodejs.org/en/blog/release/v7.9.0/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 7.8.0Martin Bark2017-04-131-1/+1
| | | | | | | See https://nodejs.org/en/blog/release/v7.8.0/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 7.7.3Martin Bark2017-03-181-1/+1
| | | | | | | See https://nodejs.org/en/blog/release/v7.7.3/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump version to 7.7.2Martin Bark2017-03-141-1/+6
| | | | | | | See https://nodejs.org/en/blog/release/v7.7.2/ Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: remove 0.10.x supportMartin Bark2017-03-141-5/+2
| | | | | | | | nodejs 0.10.x is now end of life and is no longer maintained so remove it. See https://github.com/nodejs/LTS Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* 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-131-0/+2
| | | | | Signed-off-by: Daniel Mack <daniel@zonque.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.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: 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: 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: force the use of python2Martin Bark2016-03-061-2/+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>
* package/nodejs: security bump for 0.10.x to version 0.10.42Jörg Krause2016-02-181-4/+0
| | | | | | | | | | | | | | 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: remove version choiceMartin Bark2016-02-071-1/+1
| | | | | | | | | | | | | | | 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 version to 5.3.0Martin Bark2015-12-231-1/+1
| | | | | | | | | | | | | | 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>
* 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: add version 4.1.2Yann E. MORIN2015-10-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | We add a new version, because it is not API-compatible with the previous versions. Also, nodejs-4.1.2 requires gcc >= 4.8. Forward-port patches from 0.12.7: - 0001-Remove-dependency-on-Python-bz2-module.patch partially applied upstream; - 0002-gyp-force-link-command-to-use-CXX.patch slightly refreshed; - 0003-Use-a-python-variable-instead-of-hardcoding-Python.patch largely refreshed to address new occurences of hard-coded calls; - 0004-fix-build-error-without-OpenSSL-support.patch applied upstream - 0005-Fix-typo-for-arm-predefined-macro-in-atomicops_inte.patch applied upstream. New patch: - 0004-fix-arm-vfpv2.patch to fix the gcc -mfpu option for VFPv2. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Jörg Krause <joerg.krause@embedded.rocks> Cc: Martin Bark <martin@barkynet.com> Cc: Jaap Crezee <jaap@jcz.nl> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Define NPM command for other packages to useMartin Bark2015-07-041-8/+10
| | | | | | | | | | | | Other nodejs-related packages will need to call npm with the same set of arguments as is currently used by the nodejs package itself. To avoid duplicating this code, set the NPM variable so those packages can re-use it. Signed-off-by: Martin Bark <martin@barkynet.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Fixes for node-pre-gypMartin Bark2015-07-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many packages use node-pre-gyp as a way of deploying precompiled binary dependencies with fall back to compilation for other targets. Currently installing node modules that use node-pre-gyp can fail to use the correct binary for the target. This patch fixes this issue by correctly configuring node-pre-gyp. Firstly, node-gyp uses the option --arch to determine its target architecture (which is already set correctly), however, node-pre-gyp uses --target-arch. Without this set node.js packages that uses node-pre-gyp will pick the wrong target architecture. Secondly, the use of precompiled binary packages is not desirable due to potential security and licensing issues. To solve this we use the --build-from-source option to force node-pre-gyp to always build the C++ code. This patch passes npm_config_target_arch and npm_config_build_from_source to npm which causes --target-arch and --build-from-source to be passed to node-pre-gyp. I have tested this using the node.js package serialport which now successfully builds and runs. 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: symlink /usr/lib/node_modules/.bin/* to /usr/binMartin Bark2015-07-041-0/+8
| | | | | | | | | | This patch symlinks all executables in /usr/lib/node_modules/.bin to /usr/bin so that node.js modules installed using BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL are accessible from the command line. 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 to allow selecting node.js versionMartin Bark2015-06-281-1/+1
| | | | | | | | [Thomas: fix minor Config.in formatting issues pointed by Yann.] 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 0.10.39Martin Bark2015-06-281-1/+1
| | | | | | 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>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-1/+1
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: Security bump to version 0.10.38Jörg Krause2015-03-301-1/+1
| | | | | | | | | | | | | | | | | | Version 0.10.38 upgrades OpenSSL to version 1.0.1m, which includes fixes for several CVEs: - CVE-2015-0204 - CVE-2015-0286 - CVE-2015-0287 - CVE-2015-0289 - CVE-2015-0292 - CVE-2015-0293 - CVE-2015-0209 - CVE-2015-0288 Version 0.10.37 comes with a fix for CVE-2015-0278. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump to version 0.10.36Jörg Krause2015-01-311-1/+1
| | | | | | | Bump to new version and update hash. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: fix hard float errorJörg Krause2015-01-121-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for building nodejs with hard floating ABI if supported by the target and remove bogus comment. Buildroot does propose this tuning. Basically, you have three cases of floating point strategies: * soft float, i.e 'soft' in nodejs speak. This is enabled in Buildroot when BR2_ARM_EABI=y and BR2_SOFT_FLOAT=y. * hard float using integer registers to pass floating point arguments, i.e 'softfp' in nodejs speak. This is enabled in Buildroot when BR2_ARM_EABI=y and BR2_SOFT_FLOAT is disabled. * hard float using floating pointer registers to pass floating point arguments, i.e 'hard' in nodejs speak. This is enabled in Buildroot when BR2_ARM_EABIHF=y. This patch fixes "[Buildroot] Float error on SAMA5D3 Xplained using nodejs": http://lists.busybox.net/pipermail/buildroot/2014-December/114254.html Tested at run-time by me on a TI Beaglebone Black. [Thomas: add qstrip call when using the BR2_GCC_TARGET_FLOAT_ABI variable.] Signed-off-by: Jörg Krause <jkrause@posteo.de> Reported-by: Cédric Heyman <c.heyman@til-technologies.fr> Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: bump to version 0.10.35Jörg Krause2015-01-061-1/+1
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nodejs: Revert "nodejs: disable ssl2 and ssl3 when openssl is not built"Jörg Krause2014-11-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e712638b4adc6e18b3ce99ab37b94530e9aa786f. The config options --without-ssl2 and --without-ssl3 are intended to be used if nodejs is built with the bundled OpenSSL library for excluding the SSL2 and SSL3 features. Both options are actual only evaluated if --without-ssl is not set: $ cat configure | grep configure_openssl -n -A 13 619:def configure_openssl(o): 620- o['variables']['node_use_openssl'] = b(not options.without_ssl) 621- o['variables']['node_shared_openssl'] = b(options.shared_openssl) 622- o['variables']['openssl_no_asm'] = ( 623- 1 if options.openssl_no_asm else 0) 624- 625- if options.without_ssl: 626- return 627- 628- if options.ssl2: 629- o['defines'] += ['OPENSSL_NO_SSL2=1'] 630- 631- if options.ssl3: 632- o['defines'] += ['OPENSSL_NO_SSL3=1'] [Peter: adjusted commit text to make it clear that it is a revert] Signed-off-by: Jörg Krause <jkrause@posteo.de> Tested-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: disable ssl2 and ssl3 when openssl is not builtFabio Porcedda2014-11-111-1/+2
| | | | | | | | | | | | | | | | | | The nodejs version 0.10.33 is compiled with SSLv2 and SSLv3 protocol support by default so it fails to build if the package openssl was not built. To fix this build failure disable SSLv2 and SSLv3 protcol suppport if the openssl package is not built. Fixes: http://autobuild.buildroot.net/results/e1fb34818ff1167aa008b4011befb9fd14c81293 http://autobuild.buildroot.net/results/8b72b0c311f2f7f7430aca5f7cca1f7d82d1c213 http://autobuild.buildroot.net/results/e5f87dc635e0e6a6d1cc234529a433e12d810097 http://autobuild.buildroot.net/results/3c4a5be556cfbd0d0e632757887ebc2f1de64bba Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: security bump to version 0.10.33Jörg Krause2014-10-301-1/+1
| | | | | | | | This release handles the recent POODLE vulnerability [CVE-2014-3566] by disabling SSLv2/SSLv3 by default. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupJerzy Grzegorek2014-10-251-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud