summaryrefslogtreecommitdiffstats
path: root/package/nodejs
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* package/nodejs: add version 4.1.2Yann E. MORIN2015-10-207-1/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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: fix architectural dependencies on ARMYann E. MORIN2015-10-201-2/+10
| | | | | | | | | | | | | | On ARM, starting with v0.12.x, the V8 JS engine is now requires at least an armv6 and at least a VFPv2. Since we're about to introduce the v4.x version, which has the same requirements, introduce an intermediate variable to hold that condition. 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: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* nodejs: fix typo for arm predefined macro used for atomicopsPeter Seiderer2015-10-111-0/+30
| | | | | | | | | | Add patch to fix typo for arm predefined macrco in (__ARM_ARCH_6KZ__ vs. __ARM_ARCH_6ZK__) in atomicops_internals_arm_gcc.h Fixes #8391: Node.js 0.12.7 fails to build on raspberry_pi defconfig Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs/0.10.x: add patch to fix musl build errorJörg Krause2015-08-061-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | The musl C library does not understand the feature test macro __USE_MISC and so libuv (built-in dependency of nodejs) does not use the correct struct stat definition for musl: error: ‘uv_statbuf_t’ has no member named ‘st_ctimensec’ error: ‘uv_statbuf_t’ has no member named ‘st_mtimensec’ The macro __USE_MISC is defined by glibc if _BSD_SOURCE or _SVID_SOURCE is defined. The libuv build system enables the feature test macro _GNU_SOURCE for linux builds. Since glibc 2.19, defining _GNU_SOURCE also has the effect of implicitly defining _DEFAULT_SOURCE - the replacement for _BSD_SOURCE and _SVID_SOURCE. In glibc versions before 2.20, defining _GNU_SOURCE also had the effect of implicitly defining _BSD_SOURCE and _SVID_SOURCE. This is also true for uClibc. Alltogether, we can safely replace __USE_MISC by _GNU_SOURCE to support building nodejs 0.10.x with the musl C library. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: disable for static buildJörg Krause2015-08-031-2/+5
| | | | | | | | | | | | | | nodejs requires dlopen(), etc. Fixes: http://autobuild.buildroot.net/results/87d/87dab0186abd7b2737a56b2f939f3aba294e8772/ http://autobuild.buildroot.net/results/be1/be1010a3a31642d49ec3a118858c77fed2f762b8/ [Thomas: add comment explaining that we could support static linking on ARMv5, but we don't do it since it's too much of a corner case.] Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: version bump to 0.10.40Martin Bark2015-07-146-4/+4
| | | | | Signed-off-by: Martin Bark <martin@barkynet.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: version bump to 0.12.7Jörg Krause2015-07-126-4/+4
| | | | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: security bumpYann E. MORIN2015-07-066-4/+4
| | | | | | | | | | | | Critical security flaw: https://medium.com/@iojs/important-security-upgrades-for-node-js-and-io-js-8ac14ece5852 Fixes #8201. Reported-by: Chris Becker <goabonga@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/nodejs: drop minor version in Config.inYann E. MORIN2015-07-061-6/+6
| | | | | | | | | | | | | Drop the minor version from the Kconfig symbol, so we can seamlessly update the versions without having to handle legacy stuff. Note: not adding legacy handling, as we haven't had any release with those symbols yet. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Chris Becker <goabonga@gmail.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: Add node.js v0.12.5 and set as the default versionMartin Bark2015-07-046-1/+186
| | | | | | | | | | | The version of the V8 JavaScript engine used by node.js v0.12.5 requires at least an ARMv6 architecture with VFPv2. For this reason v0.10.39 remains the default for ARMv5 targets, all other targets now default to v0.12.5. 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: Update to allow selecting node.js versionMartin Bark2015-06-286-1/+16
| | | | | | | | [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-282-3/+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: kill pointless text justificationGustavo Zacarias2015-04-231-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 dependencies and tweaksGustavo Zacarias2015-04-221-4/+2
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> 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-302-3/+3
| | | | | | | | | | | | | | | | | | 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/*: rename patches according to the new policyPeter Korsgaard2015-02-034-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump to version 0.10.36Jörg Krause2015-01-312-3/+3
| | | | | | | 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: add hash fileJörg Krause2015-01-061-0/+2
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> 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>
* package/nodejs: fix build error without OpenSSL supportJörg Krause2014-11-181-0/+54
| | | | | | | | | | | | | | | | | Add a patch to fix broken build of nodejs without OpenSSL support. Version 0.10.33 of nodejs introduced a bug which prevents us from building nodejs without OpenSSL support. The bug is reported upstream: https://github.com/joyent/node/issues/8676 This bug caused some build errors: * http://autobuild.buildroot.net/results/0bf/0bf17bf710db051d491123482c90f2f72810804b/ * http://autobuild.buildroot.net/results/e1f/e1fb34818ff1167aa008b4011befb9fd14c81293/ and more... Signed-off-by: Jörg Krause <jkrause@posteo.de> 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>
* nodejs: use BR2_ARM_CPU_ARM* optionsThomas Petazzoni2014-11-061-2/+2
| | | | | | | | | Adjust the nodejs Config.in dependencies to use the per ARM architecture BR2_ARM_CPU_ARM* options instead of the per ARM core options. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.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>
* .mk files: bulk aligment and whitespace cleanup of assignmentsThomas De Schampheleire2014-10-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Buildroot coding style defines one space around make assignments and does not align the assignment symbols. This patch does a bulk fix of offending packages. The package infrastructures (or more in general assignments to calculated variable names, like $(2)_FOO) are not touched. Alignment of line continuation characters (\) is kept as-is. The sed command used to do this replacement is: find * -name "*.mk" | xargs sed -i \ -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*$#\1 \2#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\]\+\)$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\s*\([^\\ \t]\+\s*\\\)\s*$#\1 \2 \3#' -e 's#^\([A-Z0-9a-z_]\+\)\s*\([?:+]\?=\)\(\s*\\\)#\1 \2\3#' Brief explanation of this command: ^\([A-Z0-9a-z_]\+\) a regular variable at the beginning of the line \([?:+]\?=\) any assignment character =, :=, ?=, += \([^\\]\+\) any string not containing a line continuation \([^\\ \t]\+\s*\\\) string, optional whitespace, followed by a line continuation character \(\s*\\\) optional whitespace, followed by a line continuation character Hence, the first subexpression handles empty assignments, the second handles regular assignments, the third handles regular assignments with line continuation, and the fourth empty assignments with line continuation. This expression was tested on following test text: (initial tab not included) FOO = spaces before FOO = spaces before and after FOO = tab before FOO = tab and spaces before FOO = tab after FOO = tab and spaces after FOO = spaces and tab after FOO = \ FOO = bar \ FOO = bar space \ FOO = \ GENIMAGE_DEPENDENCIES = host-pkgconf libconfuse FOO += spaces before FOO ?= spaces before and after FOO := FOO = FOO = FOO = FOO = $(MAKE1) CROSS_COMPILE=$(TARGET_CROSS) -C AT91BOOTSTRAP3_DEFCONFIG = \ AXEL_DISABLE_I18N=--i18n=0 After this bulk change, following manual fixups were done: - fix line continuation alignment in cegui06 and spice (the sed expression leaves the number of whitespace between the value and line continuation character intact, but the whitespace before that could have changed, causing misalignment. - qt5base was reverted, as this package uses extensive alignment which actually makes the code more readable. Finally, the end result was manually reviewed. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Cc: Yann E. Morin <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump to version 0.10.32Jörg Krause2014-09-171-1/+1
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: fix build of host-nodejsThomas Petazzoni2014-09-061-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | In commit 89fae0d05daa8645ae3078746065ebed5c3c049f ("nodejs: Add dependency on zlib"), Paul added a dependency of host-nodejs on host-zlib. When host-zlib is built, the host variant of zlib is installed in $(HOST_DIR)/usr/lib. However, even though -L$(HOST_DIR)/usr/lib is passed to the LDFLAGS of host-nodejs configure script, those LDFLAGS are not re-used at build and install time. This is because nodejs does not use the autotools and its configure script does not "save" the environment variables such as LDFLAGS. This is causing build failures such as: http://autobuild.buildroot.org/results/802/802134ceb92d82d2d4ef6a81c67ad1c98696663a/ due to the fact that the host zlib cannot be found. This commit fixes that by passing $(HOST_CONFIGURE_OPTS) explicitly at both build time and install time of host-nodejs. This approach was already used for the target variant of nodejs. Cc: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/nodejs: bump to version 0.10.31Jörg Krause2014-09-041-1/+1
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* nodejs: Add dependency on zlibPaul Cercueil2014-08-172-2/+5
| | | | | | | | Prior to this commit, nodejs would build zlib itself and link statically to it. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud