pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/pkgsrc-2017Q3]: pkgsrc/lang/nodejs6 Pullup ticket #5590 - requested b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c8316ae6546
branches:  pkgsrc-2017Q3
changeset: 408560:5c8316ae6546
user:      spz <spz%pkgsrc.org@localhost>
date:      Wed Nov 01 19:35:16 2017 +0000

description:
Pullup ticket #5590 - requested by sevan
lang/nodejs6: security update

Revisions pulled up:
- lang/nodejs6/Makefile                                         1.16-1.17
- lang/nodejs6/distinfo                                         1.15-1.16
- lang/nodejs6/patches/patch-deps_cares_cares.gyp               1.2-1.3
- lang/nodejs6/patches/patch-deps_uv_uv.gyp                     1.1-1.2

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   fhajny
   Date:           Wed Oct  4 16:20:58 UTC 2017

   Modified Files:
           pkgsrc/lang/nodejs6: Makefile distinfo
           pkgsrc/lang/nodejs6/patches: patch-deps_cares_cares.gyp
   Added Files:
           pkgsrc/lang/nodejs6/patches: patch-deps_uv_uv.gyp

   Log Message:
   Update lang/nodejs6 to 6.11.4.

   - net: support passing undefined to listen() to match behavior
     in v4.x and v8.x


   To generate a diff of this commit:
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/nodejs6/Makefile
   cvs rdiff -u -r1.14 -r1.15 pkgsrc/lang/nodejs6/distinfo
   cvs rdiff -u -r1.1 -r1.2 \
       pkgsrc/lang/nodejs6/patches/patch-deps_cares_cares.gyp
   cvs rdiff -u -r0 -r1.1 pkgsrc/lang/nodejs6/patches/patch-deps_uv_uv.gyp

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   fhajny
   Date:           Wed Oct 25 13:45:18 UTC 2017

   Modified Files:
           pkgsrc/lang/nodejs6: Makefile distinfo
           pkgsrc/lang/nodejs6/patches: patch-deps_cares_cares.gyp
               patch-deps_uv_uv.gyp

   Log Message:
   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.


   To generate a diff of this commit:
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/lang/nodejs6/Makefile
   cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/nodejs6/distinfo
   cvs rdiff -u -r1.2 -r1.3 \
       pkgsrc/lang/nodejs6/patches/patch-deps_cares_cares.gyp
   cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/nodejs6/patches/patch-deps_uv_uv.gyp

diffstat:

 lang/nodejs6/Makefile                           |   4 +-
 lang/nodejs6/distinfo                           |  13 ++++---
 lang/nodejs6/patches/patch-deps_cares_cares.gyp |  28 ++++++++++++++--
 lang/nodejs6/patches/patch-deps_uv_uv.gyp       |  42 +++++++++++++++++++++++++
 4 files changed, 75 insertions(+), 12 deletions(-)

diffs (120 lines):

diff -r 57d606c43b87 -r 5c8316ae6546 lang/nodejs6/Makefile
--- a/lang/nodejs6/Makefile     Wed Nov 01 19:19:22 2017 +0000
+++ b/lang/nodejs6/Makefile     Wed Nov 01 19:35:16 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2017/09/06 11:59:37 fhajny Exp $
+# $NetBSD: Makefile,v 1.15.4.1 2017/11/01 19:35:16 spz Exp $
 
-DISTNAME=      node-v6.11.3
+DISTNAME=      node-v6.11.5
 
 .include "../../lang/nodejs/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r 57d606c43b87 -r 5c8316ae6546 lang/nodejs6/distinfo
--- a/lang/nodejs6/distinfo     Wed Nov 01 19:19:22 2017 +0000
+++ b/lang/nodejs6/distinfo     Wed Nov 01 19:35:16 2017 +0000
@@ -1,14 +1,15 @@
-$NetBSD: distinfo,v 1.14 2017/09/06 11:59:37 fhajny Exp $
+$NetBSD: distinfo,v 1.14.4.1 2017/11/01 19:35:16 spz Exp $
 
-SHA1 (node-v6.11.3.tar.gz) = 65a50f76e76428aec63aa57707c5de70665694ff
-RMD160 (node-v6.11.3.tar.gz) = a7bed7b841d64ad2f9abaf15e3cd0f66c7768311
-SHA512 (node-v6.11.3.tar.gz) = 7937d3d72c27b130159c356303db89be288b265f9d8cc640db82fd835adf8aa24fe499367b9f5651c0a3fa7918c0815d952fd57820da22cd9ffbfaae3f798dd9
-Size (node-v6.11.3.tar.gz) = 26875258 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) = 2235eb44bc984fa2e745fdf1786f1ae6de6ef80f
+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) = 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 -r 57d606c43b87 -r 5c8316ae6546 lang/nodejs6/patches/patch-deps_cares_cares.gyp
--- a/lang/nodejs6/patches/patch-deps_cares_cares.gyp   Wed Nov 01 19:19:22 2017 +0000
+++ b/lang/nodejs6/patches/patch-deps_cares_cares.gyp   Wed Nov 01 19:35:16 2017 +0000
@@ -1,9 +1,29 @@
-$NetBSD: patch-deps_cares_cares.gyp,v 1.1 2016/10/25 19:54:00 fhajny Exp $
+$NetBSD: patch-deps_cares_cares.gyp,v 1.1.10.1 2017/11/01 19:35:16 spz Exp $
 
 Add support for NetBSD.
---- deps/cares/cares.gyp.orig  2013-03-14 10:55:24.000000000 +0900
-+++ deps/cares/cares.gyp       2013-03-14 10:55:47.000000000 +0900
-@@ -140,6 +140,10 @@
+SunOS headers need _XOPEN_SOURCE=600 with c99.
+
+--- deps/cares/cares.gyp.orig  2017-10-24 19:09:57.000000000 +0000
++++ deps/cares/cares.gyp
+@@ -20,7 +20,7 @@
+       ['OS=="solaris"', {
+         'defines': [
+           '__EXTENSIONS__',
+-          '_XOPEN_SOURCE=500'
++          '_XOPEN_SOURCE=600'
+         ]
+       }]
+     ]
+@@ -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 -r 57d606c43b87 -r 5c8316ae6546 lang/nodejs6/patches/patch-deps_uv_uv.gyp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/nodejs6/patches/patch-deps_uv_uv.gyp Wed Nov 01 19:35:16 2017 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-deps_uv_uv.gyp,v 1.2.2.2 2017/11/01 19:35:16 spz Exp $
+
+SunOS headers need _XOPEN_SOURCE=600 with c99.
+
+--- 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': [
+             '__EXTENSIONS__',
+-            '_XOPEN_SOURCE=500',
++            '_XOPEN_SOURCE=600',
+           ],
+           'link_settings': {
+             'libraries': [
+@@ -488,7 +488,7 @@
+         [ 'OS=="solaris"', { # make test-fs.c compile, needs _POSIX_C_SOURCE
+           'defines': [
+             '__EXTENSIONS__',
+-            '_XOPEN_SOURCE=500',
++            '_XOPEN_SOURCE=600',
+           ],
+         }],
+         [ 'OS=="aix"', {     # make test-fs.c compile, needs _POSIX_C_SOURCE



Home | Main Index | Thread Index | Old Index