Martin Bark
01702b4257
package/nodejs: bump version to 8.2.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 >
2017-07-25 15:58:28 +02:00
Martin Bark
4b4a928d90
package/nodejs: use shared libuv
...
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 >
2017-07-19 22:01:39 +02:00
Martin Bark
48ab055348
package/nodejs: use shared libhttpparser
...
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 >
2017-07-19 21:59:20 +02:00
Martin Bark
653bcf477a
package/nodejs: use shared c-ares
...
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 >
2017-07-19 21:58:12 +02:00
Martin Bark
476ccdb3e4
package/nodejs: security bump to version 8.1.4
...
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 >
2017-07-13 22:54:53 +02:00
Arnout Vandecappelle
0f9c0bf3d5
Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin
...
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 >
2017-07-05 15:19:29 +02:00
Arnout Vandecappelle
15bff58f3e
generic packages: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix
...
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 >
2017-07-05 15:19:02 +02:00
Martin Bark
5f3768e3e2
package/nodejs: don't build cctest target
...
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 >
2017-06-20 10:43:20 +02:00
Martin Bark
de2c85cec6
package/nodejs: bump version to 8.1.2
...
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 >
2017-06-20 10:43:13 +02:00
Martin Bark
f17738fde2
package/nodejs: bump version to 8.0.0
...
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 >
2017-06-05 10:14:44 +02:00
Martin Bark
b2c47d1320
package/nodejs: bump version to 7.10.0
...
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 >
2017-05-06 15:54:52 +02:00
Martin Bark
d999a7f249
package/nodejs: remove support for coffeescript
...
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 >
2017-05-06 15:54:44 +02:00
Martin Bark
096f8b13ac
package/nodejs: remove support for express
...
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 >
2017-05-06 15:54:11 +02:00
Martin Bark
aeb74a3561
package/nodejs: bump version to 7.9.0
...
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 >
2017-04-14 13:13:27 +02:00
Martin Bark
923d69731e
package/nodejs: bump version to 7.8.0
...
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 >
2017-04-13 09:32:47 +02:00
Martin Bark
cae760c5e4
package/nodejs: bump version to 7.7.3
...
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 >
2017-03-18 14:14:39 +01:00
Martin Bark
30e562d0e0
package/nodejs: bump version to 7.7.2
...
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 >
2017-03-14 22:06:33 +01:00
Martin Bark
dfb3cf2ef4
package/nodejs: remove 0.10.x support
...
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 >
2017-03-14 22:02:23 +01:00
Peter Korsgaard
5b1fc3451c
nodejs: unbreak 0.10.x host build
...
Fixes:
http://autobuild.buildroot.net/results/833/8334631b54fdfd43d38ca00f42e4d5a98e3a70c4/
http://autobuild.buildroot.net/results/9c0/9c08e0b745fab671123facb4a46f60eec5afd718/
Commit 24d90db52a (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 >
2017-01-23 19:07:04 +11:00
Zoltan Gyarmati
24d90db52a
package/nodejs: disable icu support for host build
...
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 >
2017-01-16 13:19:56 +01:00
Daniel Mack
0064132ba0
package/nodejs: add support for building on aarch64 architectures
...
Signed-off-by: Daniel Mack <daniel@zonque.org >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2017-01-13 16:07:18 +01:00
Peter Korsgaard
66e13a04ec
nodejs: bump to version 6.9.4
...
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2017-01-09 11:41:04 +01:00
Peter Korsgaard
ba24804c17
nodejs: re-add 6.x patches
...
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 >
2017-01-09 09:40:01 +01:00
Peter Korsgaard
3fd9c062e7
nodejs: bump to version 6.9.2
...
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2016-12-22 10:51:20 +01:00
Peter Korsgaard
7fe6b5d9dc
nodejs: security bump 0.10.x series to 0.10.48
...
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 >
2016-12-03 00:01:13 +01:00
Patrick Devlin
5f899d7f1c
package/nodejs: bump version to 6.9.1
...
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 >
2016-11-14 23:48:48 +01:00
Vicente Olivert Riera
45c92c60b1
MIPS: replace every BR2_mips_* with the new MIPS CPU options
...
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com >
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2016-10-15 13:22:17 +02:00
Martin Bark
6f3792ae9f
package/nodejs: bump version to 6.7.0
...
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 >
2016-09-30 11:51:57 +02:00
Martin Bark
734ea7ce27
package/nodejs: bump version to 0.10.47
...
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 >
2016-09-30 11:35:12 +02:00
Thomas Petazzoni
c2e94b7f08
nodejs: remove the menu ... endmenu
...
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 >
2016-07-04 23:07:35 +02:00
Martin Bark
1a08bddc38
package/nodejs: remove icu support from 0.10.x
...
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 >
2016-06-09 10:51:01 +02:00
Martin Bark
a898d5de17
package/nodejs: Update npm to use NODEJS_CONF_OPTS
...
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 >
2016-06-04 14:32:16 +02:00
Martin Bark
81bb80c89d
package/nodejs: Update openssl to use NODEJS_CONF_OPTS
...
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 >
2016-06-04 14:32:05 +02:00
Martin Bark
be0d8ecc27
package/nodejs: Update icu to use NODEJS_CONF_OPTS
...
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 >
2016-06-04 14:31:52 +02:00
Martin Bark
af37338488
package/nodejs: Add NODEJS_CONF_OPTS
...
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 >
2016-06-04 14:31:44 +02:00
Martin Bark
dc725e763c
package/nodejs: bump version to 6.2.1
...
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 >
2016-06-03 14:47:51 +02:00
Martin Bark
7d0702a2bd
package/nodejs: add icu support
...
Signed-off-by: Martin Bark <martin@barkynet.com >
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com >
2016-06-03 14:47:44 +02:00
Martin Bark
34d4337f93
package/nodejs: bump version to 0.10.45
...
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 >
2016-05-09 22:54:48 +02:00
Martin Bark
fbd387c08c
package/nodejs: bump version to 6.1.0
...
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 >
2016-05-09 22:54:19 +02:00
Martin Bark
692005ae90
package/nodejs: bump version to 6.0.0
...
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 >
2016-04-28 20:38:03 +02:00
Martin Bark
fbf9411d0a
package/nodejs: bump version to 5.11.0
...
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 >
2016-04-26 21:58:03 +02:00
Martin Bark
09f2657562
package/nodejs: bump version to 0.10.44
...
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 >
2016-04-26 21:57:54 +02:00
Martin Bark
6c59e8d1f6
package/nodejs: bump version to 5.10.1
...
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 >
2016-04-13 22:49:04 +02:00
Martin Bark
c6d16d3b2d
package/nodejs: bump version to 5.9.1
...
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 >
2016-03-26 23:43:42 +01:00
Martin Bark
e3ba69f3eb
package/nodejs: bump version to 5.8.0
...
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 >
2016-03-10 15:39:14 +01:00
Martin Bark
d51ab07a17
package/nodejs: bump version to 0.10.43
...
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 >
2016-03-08 21:03:23 +01:00
Martin Bark
f7d8ca19ac
package/nodejs: bump version to 5.7.1
...
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 >
2016-03-06 15:13:39 +01:00
Martin Bark
12010acc62
package/nodejs: force the use of python2
...
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 >
2016-03-06 15:13:33 +01:00
Peter Korsgaard
28cd1ed30a
Merge branch 'next'
...
Signed-off-by: Peter Korsgaard <peter@korsgaard.com >
2016-03-02 21:25:00 +01:00
Jörg Krause
f4c366f005
package/nodejs: security bump for 0.10.x to version 0.10.42
...
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 >
2016-02-18 09:28:58 +01:00