Skip to contentSkip to conversation

package/nodejs: security bump (branch yem/nodejs)

PATCH Superseded Yann E. MORIN 2 participants 4 messages Jul 5, 2015 – Jul 6, 2015

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover package/nodejs: security bump (branch yem/nodejs)

Hello All!

This series fixes two things in nodejs:
- drop the minor version from kconfig symbols, so we can update seamlessly without adding legacy handling,
- security-bump the 0.12.x version.

Regards,
Yann E. MORIN.

The following changes since commit ff89e1eb0cdb8ebe9cbd2cf944f43ed132afcb17:

wine: fix sane related build failure (2015-07-05 17:16:40 +0200)

are available in the git repository at:

git://git.busybox.net/~ymorin/git/buildroot yem/nodejs

for you to fetch changes up to 7521a4379f6888a5f5269441914ecd71fc5b1560:

package/nodejs: security bump (2015-07-05 19:40:36 +0200)

----------------------------------------------------------------
Yann E. MORIN (2):
package/nodejs: drop minor version in Config.in package/nodejs: security bump

 .../0001-Remove-dependency-on-Python-bz2-module.patch      |  0
 .../0002-gyp-force-link-command-to-use-CXX.patch           |  0
 ...se-a-python-variable-instead-of-hardcoding-Python.patch |  0
 .../0004-fix-build-error-without-OpenSSL-support.patch     |  0
 package/nodejs/Config.in                                   | 14 +++++++-------
 package/nodejs/nodejs.hash                                 |  4 ++--
 6 files changed, 9 insertions(+), 9 deletions(-)
 rename package/nodejs/{0.12.5 => 0.12.6}/0001-Remove-dependency-on-Python-bz2-module.patch (100%)
 rename package/nodejs/{0.12.5 => 0.12.6}/0002-gyp-force-link-command-to-use-CXX.patch (100%)
 rename package/nodejs/{0.12.5 => 0.12.6}/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch (100%)
 rename package/nodejs/{0.12.5 => 0.12.6}/0004-fix-build-error-without-OpenSSL-support.patch (100%)
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw

PATCH 1/2 package/nodejs: drop minor version in Config.in

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.

---
 package/nodejs/Config.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
package/nodejs/Config.in +6 -6
index 580d9a2..5b871ea 100644
@@ -24,16 +24,16 @@ if BR2_PACKAGE_NODEJS
 
 choice
 	prompt "Node.js version"
-	default BR2_BR2_PACKAGE_NODEJS_0_10_39 if BR2_ARM_CPU_ARMV5
-	default BR2_BR2_PACKAGE_NODEJS_0_12_5
+	default BR2_BR2_PACKAGE_NODEJS_0_10_X if BR2_ARM_CPU_ARMV5
+	default BR2_BR2_PACKAGE_NODEJS_0_12_X
 	help
 	  Select the version of Node.js you wish to use.
 
-config BR2_BR2_PACKAGE_NODEJS_0_10_39
+config BR2_BR2_PACKAGE_NODEJS_0_10_X
 	bool "v0.10.39"
 
 # V8 included with v0.12.5 requires at least ARMv6
-config BR2_BR2_PACKAGE_NODEJS_0_12_5
+config BR2_BR2_PACKAGE_NODEJS_0_12_X
 	bool "v0.12.5"
 	depends on !BR2_ARM_CPU_ARMV5
 
@@ -41,8 +41,8 @@ endchoice
 
 config BR2_PACKAGE_NODEJS_VERSION_STRING
 	string
-	default "0.10.39"	if BR2_BR2_PACKAGE_NODEJS_0_10_39
-	default "0.12.5"	if BR2_BR2_PACKAGE_NODEJS_0_12_5
+	default "0.10.39"	if BR2_BR2_PACKAGE_NODEJS_0_10_X
+	default "0.12.5"	if BR2_BR2_PACKAGE_NODEJS_0_12_X
 
 menu "Module Selection"
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 package/nodejs: security bump

In reply to Yann E. MORIN

Critical security flaw:

    https://medium.com/@iojs/important-security-upgrades-for-node-js-and-io-js-8ac14ece5852

Fixes #8201.

---
 .../0001-Remove-dependency-on-Python-bz2-module.patch                 | 0
 .../{0.12.5 => 0.12.6}/0002-gyp-force-link-command-to-use-CXX.patch   | 0
 .../0003-Use-a-python-variable-instead-of-hardcoding-Python.patch     | 0
 .../0004-fix-build-error-without-OpenSSL-support.patch                | 0
 package/nodejs/Config.in                                              | 4 ++--
 package/nodejs/nodejs.hash                                            | 4 ++--
 6 files changed, 4 insertions(+), 4 deletions(-)
 rename package/nodejs/{0.12.5 => 0.12.6}/0001-Remove-dependency-on-Python-bz2-module.patch (100%)
 rename package/nodejs/{0.12.5 => 0.12.6}/0002-gyp-force-link-command-to-use-CXX.patch (100%)
 rename package/nodejs/{0.12.5 => 0.12.6}/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch (100%)
 rename package/nodejs/{0.12.5 => 0.12.6}/0004-fix-build-error-without-OpenSSL-support.patch (100%)
package/nodejs/0.12.6/0001-Remove-dependency-on-Python-bz2-module.patch renamed from package/nodejs/0.12.5/0001-Remove-dependency-on-Python-bz2-module.patch +0 -0
similarity index 100%
rename from package/nodejs/0.12.5/0001-Remove-dependency-on-Python-bz2-module.patch
rename to package/nodejs/0.12.6/0001-Remove-dependency-on-Python-bz2-module.patch
package/nodejs/0.12.6/0002-gyp-force-link-command-to-use-CXX.patch renamed from package/nodejs/0.12.5/0002-gyp-force-link-command-to-use-CXX.patch +0 -0
similarity index 100%
rename from package/nodejs/0.12.5/0002-gyp-force-link-command-to-use-CXX.patch
rename to package/nodejs/0.12.6/0002-gyp-force-link-command-to-use-CXX.patch
package/nodejs/0.12.6/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch renamed from package/nodejs/0.12.5/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch +0 -0
similarity index 100%
rename from package/nodejs/0.12.5/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch
rename to package/nodejs/0.12.6/0003-Use-a-python-variable-instead-of-hardcoding-Python.patch
package/nodejs/0.12.6/0004-fix-build-error-without-OpenSSL-support.patch renamed from package/nodejs/0.12.5/0004-fix-build-error-without-OpenSSL-support.patch +0 -0
similarity index 100%
rename from package/nodejs/0.12.5/0004-fix-build-error-without-OpenSSL-support.patch
rename to package/nodejs/0.12.6/0004-fix-build-error-without-OpenSSL-support.patch
package/nodejs/Config.in +2 -2
index 5b871ea..ff7f56c 100644
@@ -34,7 +34,7 @@ config BR2_BR2_PACKAGE_NODEJS_0_10_X
 
 # V8 included with v0.12.5 requires at least ARMv6
 config BR2_BR2_PACKAGE_NODEJS_0_12_X
-	bool "v0.12.5"
+	bool "v0.12.6"
 	depends on !BR2_ARM_CPU_ARMV5
 
 endchoice
@@ -42,7 +42,7 @@ endchoice
 config BR2_PACKAGE_NODEJS_VERSION_STRING
 	string
 	default "0.10.39"	if BR2_BR2_PACKAGE_NODEJS_0_10_X
-	default "0.12.5"	if BR2_BR2_PACKAGE_NODEJS_0_12_X
+	default "0.12.6"	if BR2_BR2_PACKAGE_NODEJS_0_12_X
 
 menu "Module Selection"
 
package/nodejs/nodejs.hash +2 -2
index 816d602..f3b2831 100644
@@ -1,5 +1,5 @@
 # From upstream URL: http://nodejs.org/dist/v0.10.39/SHASUMS256.txt
 sha256	68f8d8f9515c4e77e2a06034b742e19e9848c1fee5bcadedc1d68f3e4302df37  node-v0.10.39.tar.gz
 
-# From upstream URL: http://nodejs.org/dist/v0.12.5/SHASUMS256.txt
-sha256	4bc1e25f4c62ac65324d3cf4aa9de2d801cd708757c3567b6ad2ced7df30cdd2  node-v0.12.5.tar.gz
+# From upstream URL: http://nodejs.org/dist/v0.12.6/SHASUMS256.txt
+sha256	7a3b5ac351973a9dee8edbf0684bc8d0dea44b231e42274ffb008141ffa19ad2  node-v0.12.6.tar.gz
Signature · 1 line
1.9.1
#3 lore raw

cover package/nodejs: security bump (branch yem/nodejs)

In reply to Yann E. MORIN

Dear Yann E. MORIN,

Quoted 3 lines · Yann E. MORIN

Yann E. MORIN (2):
package/nodejs: drop minor version in Config.in package/nodejs: security bump

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com