diff options
author | fhajny <fhajny@pkgsrc.org> | 2017-10-25 13:45:18 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2017-10-25 13:45:18 +0000 |
commit | eddfb28db94616476d75b3bbada95d9e15dcacef (patch) | |
tree | f413dea82f3de035b78e6c3c6ca939e003de119b | |
parent | d2f893e4d0c7fbbab1d6c4f88dd9dc10bfcb1fd8 (diff) | |
download | pkgsrc-eddfb28db94616476d75b3bbada95d9e15dcacef.tar.gz |
Update lang/nodejs6 to 6.11.5.
zlib:
- CVE-2017-14919 - In zlib v1.2.9, a change was made that causes an
error to be raised when a raw deflate stream is initialized with
windowBits set to 8. On some versions this crashes Node and you cannot
recover from it, while on some versions it throws an exception.
Node.js will now gracefully set windowBits to 9 replicating the legacy
behavior to avoid a DOS vector.
-rw-r--r-- | lang/nodejs6/Makefile | 4 | ||||
-rw-r--r-- | lang/nodejs6/distinfo | 14 | ||||
-rw-r--r-- | lang/nodejs6/patches/patch-deps_cares_cares.gyp | 13 | ||||
-rw-r--r-- | lang/nodejs6/patches/patch-deps_uv_uv.gyp | 22 |
4 files changed, 40 insertions, 13 deletions
diff --git a/lang/nodejs6/Makefile b/lang/nodejs6/Makefile index ba35686ea20..c8789dc1562 100644 --- a/lang/nodejs6/Makefile +++ b/lang/nodejs6/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.16 2017/10/04 16:20:58 fhajny Exp $ +# $NetBSD: Makefile,v 1.17 2017/10/25 13:45:18 fhajny Exp $ -DISTNAME= node-v6.11.4 +DISTNAME= node-v6.11.5 .include "../../lang/nodejs/Makefile.common" .include "../../mk/bsd.pkg.mk" diff --git a/lang/nodejs6/distinfo b/lang/nodejs6/distinfo index 34ba49e888a..64ade9869d1 100644 --- a/lang/nodejs6/distinfo +++ b/lang/nodejs6/distinfo @@ -1,15 +1,15 @@ -$NetBSD: distinfo,v 1.15 2017/10/04 16:20:58 fhajny Exp $ +$NetBSD: distinfo,v 1.16 2017/10/25 13:45:18 fhajny Exp $ -SHA1 (node-v6.11.4.tar.gz) = 75b22881b4581bc7b09d0f829c06ad1c1f1fd92e -RMD160 (node-v6.11.4.tar.gz) = be9312b1d8556a0d081beba126f6274a82698d92 -SHA512 (node-v6.11.4.tar.gz) = ab71d06b460dca4b1153796fa1824d87a49ea47f907e3934ab160c5276dc8f61f110839065e2e89daa1454a8abd586488d9e3d162009b76436b8630c720da25c -Size (node-v6.11.4.tar.gz) = 26916322 bytes +SHA1 (node-v6.11.5.tar.gz) = 138923809d039c011ec2ae3f48afd5f76a907c4d +RMD160 (node-v6.11.5.tar.gz) = d7c7a92a49a024d59137dc0185baa00f71ee8c7c +SHA512 (node-v6.11.5.tar.gz) = 63b80b68cda08121993db7c35bb4db4823c4c9c0fc596a20713bea55290bb434b940c42b0f3c7da64283842625870449c602bdafd7ad230de1b54b0280183f37 +Size (node-v6.11.5.tar.gz) = 26915846 bytes SHA1 (patch-common.gypi) = 5b3a50617358637a6f910de28bb5a14f037317a6 -SHA1 (patch-deps_cares_cares.gyp) = 981c468cfb9071b1acb338ea65638d2c6d9b97cc +SHA1 (patch-deps_cares_cares.gyp) = bae68a88473f9b7e0af1fbf65da033bc8f917225 SHA1 (patch-deps_npm_node__modules_node-gyp_gyp_pylib_gyp_generator_make.py) = 78d6ddd37ae30e869e0da666a78baad86a638c50 SHA1 (patch-deps_uv_common.gypi) = ba9caa1f6d9d6df1913d0d72a8d18ea6db0a32ff SHA1 (patch-deps_uv_src_unix_netbsd.c) = 0915dcd6ff65ec9bc098c05c32e3fedee9c8168b -SHA1 (patch-deps_uv_uv.gyp) = 3774bc0d8fc4dec0018a6ab5cd95a7b613dd285b +SHA1 (patch-deps_uv_uv.gyp) = cce97c295e2c4e33bc40a950e137ed7c0482b62b SHA1 (patch-deps_v8__inspector_third__party_v8__inspector_platform_v8__inspector_PlatformSTL.h) = bd06047c14bde2984c80fcdade7067c4eac3cbc3 SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d SHA1 (patch-deps_v8_src_base_atomicops.h) = 65b6508f5260ae672b9efc5672ba2c93223355ff diff --git a/lang/nodejs6/patches/patch-deps_cares_cares.gyp b/lang/nodejs6/patches/patch-deps_cares_cares.gyp index 31ca059a56e..1f1ca752f5d 100644 --- a/lang/nodejs6/patches/patch-deps_cares_cares.gyp +++ b/lang/nodejs6/patches/patch-deps_cares_cares.gyp @@ -1,9 +1,9 @@ -$NetBSD: patch-deps_cares_cares.gyp,v 1.2 2017/10/04 16:20:58 fhajny Exp $ +$NetBSD: patch-deps_cares_cares.gyp,v 1.3 2017/10/25 13:45:18 fhajny Exp $ Add support for NetBSD. SunOS headers need _XOPEN_SOURCE=600 with c99. ---- deps/cares/cares.gyp.orig 2017-10-03 17:11:11.000000000 +0000 +--- deps/cares/cares.gyp.orig 2017-10-24 19:09:57.000000000 +0000 +++ deps/cares/cares.gyp @@ -20,7 +20,7 @@ ['OS=="solaris"', { @@ -14,6 +14,15 @@ SunOS headers need _XOPEN_SOURCE=600 with c99. ] }] ] +@@ -136,7 +136,7 @@ + }], + [ 'OS not in "win android"', { + 'cflags': [ +- '--std=gnu89' ++ '--std=gnu99' + ], + }], + [ 'OS=="linux"', { @@ -151,6 +151,10 @@ 'include_dirs': [ 'config/freebsd' ], 'sources': [ 'config/freebsd/ares_config.h' ] diff --git a/lang/nodejs6/patches/patch-deps_uv_uv.gyp b/lang/nodejs6/patches/patch-deps_uv_uv.gyp index f4fec2ded76..19589c8867c 100644 --- a/lang/nodejs6/patches/patch-deps_uv_uv.gyp +++ b/lang/nodejs6/patches/patch-deps_uv_uv.gyp @@ -1,9 +1,27 @@ -$NetBSD: patch-deps_uv_uv.gyp,v 1.1 2017/10/04 16:20:58 fhajny Exp $ +$NetBSD: patch-deps_uv_uv.gyp,v 1.2 2017/10/25 13:45:18 fhajny Exp $ SunOS headers need _XOPEN_SOURCE=600 with c99. ---- deps/uv/uv.gyp.orig 2017-10-03 17:11:16.000000000 +0000 +--- deps/uv/uv.gyp.orig 2017-10-24 19:10:03.000000000 +0000 +++ deps/uv/uv.gyp +@@ -37,7 +37,7 @@ + 'xcode_settings': { + 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden + 'WARNING_CFLAGS': [ '-Wall', '-Wextra', '-Wno-unused-parameter' ], +- 'OTHER_CFLAGS': [ '-g', '--std=gnu89', '-pedantic' ], ++ 'OTHER_CFLAGS': [ '-g', '--std=gnu99', '-pedantic' ], + } + }, + +@@ -205,7 +205,7 @@ + 'cflags': [ + '-fvisibility=hidden', + '-g', +- '--std=gnu89', ++ '--std=gnu99', + '-pedantic', + '-Wall', + '-Wextra', @@ -259,7 +259,7 @@ 'sources': [ 'src/unix/sunos.c' ], 'defines': [ |