]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
nodejs: bump 6.x version to 6.11.0
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 27 Jun 2017 18:58:48 +0000 (20:58 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 29 Jun 2017 08:15:30 +0000 (10:15 +0200)
6.11.0 is the latest release in the LTS series, fixing a number of issues:

https://nodejs.org/en/blog/release/v6.11.0/

Building without openssl is broken in 6.11.0, so add an upstream patch to
fix that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nodejs/6.11.0/0001-gyp-force-link-command-to-use-CXX.patch [moved from package/nodejs/6.10.3/0001-gyp-force-link-command-to-use-CXX.patch with 100% similarity]
package/nodejs/6.11.0/0002-inspector-don-t-build-when-ssl-support-is-disabled.patch [moved from package/nodejs/6.10.3/0002-inspector-don-t-build-when-ssl-support-is-disabled.patch with 100% similarity]
package/nodejs/6.11.0/0003-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch [new file with mode: 0644]
package/nodejs/Config.in
package/nodejs/nodejs.hash

diff --git a/package/nodejs/6.11.0/0003-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch b/package/nodejs/6.11.0/0003-src-add-HAVE_OPENSSL-directive-to-openssl_config.patch
new file mode 100644 (file)
index 0000000..f07fdc2
--- /dev/null
@@ -0,0 +1,49 @@
+From e1d8899c28997613505d288d22bfb95470d606a1 Mon Sep 17 00:00:00 2001
+From: Daniel Bevenius <daniel.bevenius@gmail.com>
+Date: Tue, 28 Feb 2017 20:04:12 +0100
+Subject: [PATCH] src: add HAVE_OPENSSL directive to openssl_config
+
+Currently when building with the following configuration options:
+$ ./configure --without-ssl && make
+
+The following link error is reported:
+
+Undefined symbols for architecture x86_64:
+  "node::openssl_config", referenced from:
+      node::Init(int*, char const**, int*, char const***) in node.o
+ld: symbol(s) not found for architecture x86_64
+clang: error: linker command failed with exit code 1 (use -v to see
+invocation)
+
+Adding an HAVE_OPENSSL directive around this code allows the build to
+pass.
+
+PR-URL: https://github.com/nodejs/node/pull/11618
+Reviewed-By: Anna Henningsen <anna@addaleax.net>
+Reviewed-By: James M Snell <jasnell@gmail.com>
+Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
+Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
+Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ src/node.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/node.cc b/src/node.cc
+index 57415bba41..ec78339d89 100644
+--- a/src/node.cc
++++ b/src/node.cc
+@@ -4233,8 +4233,10 @@ void Init(int* argc,
+   if (config_warning_file.empty())
+     SafeGetenv("NODE_REDIRECT_WARNINGS", &config_warning_file);
++#if HAVE_OPENSSL
+   if (openssl_config.empty())
+     SafeGetenv("OPENSSL_CONF", &openssl_config);
++#endif
+   // Parse a few arguments which are specific to Node.
+   int v8_argc;
+-- 
+2.11.0
+
index 5fafa8f4763ac8ccc161a8dfe61621fd77df111b..be20af56d6c1a7cfd7dda94ff4e1834b6b39dcbb 100644 (file)
@@ -43,7 +43,7 @@ config BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS
 
 config BR2_PACKAGE_NODEJS_VERSION_STRING
        string
-       default "6.10.3"                if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS
+       default "6.11.0"                if BR2_PACKAGE_NODEJS_V8_ARCH_SUPPORTS
        default "0.10.48"
 
 config BR2_PACKAGE_NODEJS_NPM
index 8cc6927ab2a05be0513c26bed3d3efbd3a05d5e6..ac010ab6d64ef7c829fcae28356715724e3c11a7 100644 (file)
@@ -1,5 +1,5 @@
 # From upstream URL: http://nodejs.org/dist/v0.10.48/SHASUMS256.txt
 sha256  365a93d9acc076a0d93f087d269f376abeebccad599a9dab72f2f6ed96c8ae6e  node-v0.10.48.tar.xz
 
-# From upstream URL: http://nodejs.org/dist/v6.10.3/SHASUMS256.txt
-sha256  82262a703e61164e09170a14d88b1726720651b0c7ee87a277654247b21b5388  node-v6.10.3.tar.xz
+# From upstream URL: http://nodejs.org/dist/v6.11.0/SHASUMS256.txt
+sha256  02ba35391edea2b294c736489af01954ce6e6c39d318f4423ae6617c69ef0a51  node-v6.11.0.tar.xz