<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/nodejs/nodejs.mk, branch 2015.11</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2015.11</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2015.11'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2015-11-02T22:12:02+00:00</updated>
<entry>
<title>package/nodejs: Fixed npm global install</title>
<updated>2015-11-02T22:12:02+00:00</updated>
<author>
<name>Martin Bark</name>
<email>martin@barkynet.com</email>
</author>
<published>2015-10-28T15:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=1325da4a28f0c701c09b9f090df706838540948d'/>
<id>urn:sha1:1325da4a28f0c701c09b9f090df706838540948d</id>
<content type='text'>
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 &lt;martin@barkynet.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: add version 4.1.2</title>
<updated>2015-10-20T07:55:06+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2015-10-19T21:59:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=827c9d2bdda929411f7fdc8a304cabd6b9c6585e'/>
<id>urn:sha1:827c9d2bdda929411f7fdc8a304cabd6b9c6585e</id>
<content type='text'>
We add a new version, because it is not API-compatible with the previous
versions.

Also, nodejs-4.1.2 requires gcc &gt;= 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" &lt;yann.morin.1998@free.fr&gt;
Cc: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Cc: Martin Bark &lt;martin@barkynet.com&gt;
Cc: Jaap Crezee &lt;jaap@jcz.nl&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: Define NPM command for other packages to use</title>
<updated>2015-07-04T12:38:44+00:00</updated>
<author>
<name>Martin Bark</name>
<email>martin@barkynet.com</email>
</author>
<published>2015-07-02T09:43:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c50256b6d2c4357cfea39350fa6f5496995e200d'/>
<id>urn:sha1:c50256b6d2c4357cfea39350fa6f5496995e200d</id>
<content type='text'>
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 &lt;martin@barkynet.com&gt;
Acked-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: Fixes for node-pre-gyp</title>
<updated>2015-07-04T12:38:33+00:00</updated>
<author>
<name>Martin Bark</name>
<email>martin@barkynet.com</email>
</author>
<published>2015-07-02T09:43:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c72b8eaf21f5dc7c7cb8095357c542acb86bb356'/>
<id>urn:sha1:c72b8eaf21f5dc7c7cb8095357c542acb86bb356</id>
<content type='text'>
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 &lt;martin@barkynet.com&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: symlink /usr/lib/node_modules/.bin/* to /usr/bin</title>
<updated>2015-07-04T12:38:13+00:00</updated>
<author>
<name>Martin Bark</name>
<email>martin@barkynet.com</email>
</author>
<published>2015-07-02T09:43:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=9aab65f304ed18ecb93d25de497e4f2fef75973d'/>
<id>urn:sha1:9aab65f304ed18ecb93d25de497e4f2fef75973d</id>
<content type='text'>
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 &lt;martin@barkynet.com&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: Update to allow selecting node.js version</title>
<updated>2015-06-28T13:14:24+00:00</updated>
<author>
<name>Martin Bark</name>
<email>martin@barkynet.com</email>
</author>
<published>2015-06-27T02:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=d00fb884e4415e09b57901b001300c6da43086e2'/>
<id>urn:sha1:d00fb884e4415e09b57901b001300c6da43086e2</id>
<content type='text'>
[Thomas: fix minor Config.in formatting issues pointed by Yann.]

Signed-off-by: Martin Bark &lt;martin@barkynet.com&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: Bump version to 0.10.39</title>
<updated>2015-06-28T12:06:35+00:00</updated>
<author>
<name>Martin Bark</name>
<email>martin@barkynet.com</email>
</author>
<published>2015-06-27T02:01:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=96b6427de50ffef1c14cc9ad16c11f52ae1b4c6d'/>
<id>urn:sha1:96b6427de50ffef1c14cc9ad16c11f52ae1b4c6d</id>
<content type='text'>
Signed-off-by: Martin Bark &lt;martin@barkynet.com&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>packages: indentation cleanup</title>
<updated>2015-03-31T11:57:41+00:00</updated>
<author>
<name>Jerzy Grzegorek</name>
<email>jerzy.grzegorek@trzebnica.net</email>
</author>
<published>2015-03-31T07:21:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=bd8c733fb4a0ca6ca1aa72f8b549d53dcd37f4ee'/>
<id>urn:sha1:bd8c733fb4a0ca6ca1aa72f8b549d53dcd37f4ee</id>
<content type='text'>
This commit doesn't touch infra packages.

Signed-off-by: Jerzy Grzegorek &lt;jerzy.grzegorek@trzebnica.net&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: Security bump to version 0.10.38</title>
<updated>2015-03-30T15:58:26+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2015-03-30T13:30:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6202592588414774dd98a4472fc92874ad4b7813'/>
<id>urn:sha1:6202592588414774dd98a4472fc92874ad4b7813</id>
<content type='text'>
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 &lt;joerg.krause@embedded.rocks&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/nodejs: bump to version 0.10.36</title>
<updated>2015-01-31T12:26:33+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2015-01-30T00:53:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=3bd712bb8284b966055645c529e7a92be218985a'/>
<id>urn:sha1:3bd712bb8284b966055645c529e7a92be218985a</id>
<content type='text'>
Bump to new version and update hash.

Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
</feed>
