Hola,

This brings node up to the latest LTS for the 6.x branch!

Full changelog here:
https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.12.3

OK?

Cheers,
Aaron

Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/node/Makefile,v
retrieving revision 1.66
diff -u -p -r1.66 Makefile
--- Makefile    19 Nov 2017 19:38:46 -0000      1.66
+++ Makefile    6 Jan 2018 17:54:40 -0000
@@ -10,7 +10,7 @@ USE_WXNEEDED =                Yes

 COMMENT =              V8 JavaScript for clients and servers

-NODE_VERSION =         v6.11.5
+NODE_VERSION =         v6.12.3

 PLEDGE_VER =           1.1.0
 DISTFILES =            node-pledge-{}${PLEDGE_VER}.tar.gz:0 ${DISTNAME}.tar.gz
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/node/distinfo,v
retrieving revision 1.43
diff -u -p -r1.43 distinfo
--- distinfo    31 Oct 2017 01:31:45 -0000      1.43
+++ distinfo    6 Jan 2018 17:54:40 -0000
@@ -1,4 +1,4 @@
 SHA256 (node-pledge-1.1.0.tar.gz) = 
BuKnrXSkqpTb5Tfap1AHk+l7ucTJLEWbMFNbgQkNBsw=
-SHA256 (node-v6.11.5.tar.gz) = xK7ZToLb8kahyeBwXDBU8MDz2cTY0CXYd+DvH3ts3kw=
+SHA256 (node-v6.12.3.tar.gz) = CIeI0ciHMJ+GUHMJCNv28JFAB3qKr1ggIa9L7ypta4Q=
 SIZE (node-pledge-1.1.0.tar.gz) = 2560
-SIZE (node-v6.11.5.tar.gz) = 26915846
+SIZE (node-v6.12.3.tar.gz) = 27417906
Index: patches/patch-test_sequential_test-child-process-execsync_js
===================================================================
RCS file: 
/cvs/ports/lang/node/patches/patch-test_sequential_test-child-process-execsync_js,v
retrieving revision 1.2
diff -u -p -r1.2 patch-test_sequential_test-child-process-execsync_js
--- patches/patch-test_sequential_test-child-process-execsync_js        31 Oct 
2017 01:31:45 -0000      1.2
+++ patches/patch-test_sequential_test-child-process-execsync_js        6 Jan 
2018 17:54:40 -0000
@@ -3,7 +3,7 @@ $OpenBSD: patch-test_sequential_test-chi
 Index: test/sequential/test-child-process-execsync.js
 --- test/sequential/test-child-process-execsync.js.orig
 +++ test/sequential/test-child-process-execsync.js
-@@ -24,19 +24,21 @@ assert.throws(
+@@ -24,82 +24,84 @@ assert.throws(
  );

  let cmd, ret;
@@ -15,11 +15,13 @@ Index: test/sequential/test-child-proces
 -  assert.strictEqual(e.errno, 'ETIMEDOUT');
 -  err = e;
 -} finally {
--  assert.strictEqual(ret, undefined, 'we should not have a return value');
+-  assert.strictEqual(ret, undefined,
+-                     `should not have a return value, received ${ret}`);
 -  assert.strictEqual(caught, true, 'execSync should throw');
 -  const end = Date.now() - start;
 -  assert(end < SLEEP);
 -  assert(err.status > 128 || err.signal);
+-}
 +if (!common.isOpenBSD) {
 +  try {
 +    cmd = `"${process.execPath}" -e "setTimeout(function(){}, ${SLEEP});"`;
@@ -29,12 +31,120 @@ Index: test/sequential/test-child-proces
 +    assert.strictEqual(e.errno, 'ETIMEDOUT');
 +    err = e;
 +  } finally {
-+    assert.strictEqual(ret, undefined, 'we should not have a return value');
++    assert.strictEqual(ret, undefined,
++                       `should not have a return value, received ${ret}`);
 +    assert.strictEqual(caught, true, 'execSync should throw');
 +    const end = Date.now() - start;
 +    assert(end < SLEEP);
 +    assert(err.status > 128 || err.signal);
 +  }
- }

- assert.throws(function() {
+-assert.throws(function() {
+-  execSync('iamabadcommand');
+-}, /Command failed: iamabadcommand/);
++  assert.throws(function() {
++    execSync('iamabadcommand');
++  }, /Command failed: iamabadcommand/);
+
+-const msg = 'foobar';
+-const msgBuf = Buffer.from(`${msg}\n`);
++  const msg = 'foobar';
++  const msgBuf = Buffer.from(`${msg}\n`);
+
+-// console.log ends every line with just '\n', even on Windows.
++  // console.log ends every line with just '\n', even on Windows.
+
+-cmd = `"${process.execPath}" -e "console.log('${msg}');"`;
++  cmd = `"${process.execPath}" -e "console.log('${msg}');"`;
+
+-ret = execSync(cmd);
++  ret = execSync(cmd);
+
+-assert.strictEqual(ret.length, msgBuf.length);
+-assert.deepStrictEqual(ret, msgBuf);
++  assert.strictEqual(ret.length, msgBuf.length);
++  assert.deepStrictEqual(ret, msgBuf);
+
+-ret = execSync(cmd, { encoding: 'utf8' });
++  ret = execSync(cmd, { encoding: 'utf8' });
+
+-assert.strictEqual(ret, `${msg}\n`);
++  assert.strictEqual(ret, `${msg}\n`);
+
+-const args = [
+-  '-e',
+-  `console.log("${msg}");`
+-];
+-ret = execFileSync(process.execPath, args);
++  const args = [
++    '-e',
++    `console.log("${msg}");`
++  ];
++  ret = execFileSync(process.execPath, args);
+
+-assert.deepStrictEqual(ret, msgBuf);
++  assert.deepStrictEqual(ret, msgBuf);
+
+-ret = execFileSync(process.execPath, args, { encoding: 'utf8' });
++  ret = execFileSync(process.execPath, args, { encoding: 'utf8' });
+
+-assert.strictEqual(ret, `${msg}\n`);
++  assert.strictEqual(ret, `${msg}\n`);
+
+-// Verify that the cwd option works - GH #7824
+-{
+-  const cwd = common.rootDir;
+-  const cmd = common.isWindows ? 'echo %cd%' : 'pwd';
+-  const response = execSync(cmd, {cwd});
++  // Verify that the cwd option works - GH #7824
++  {
++    const cwd = common.rootDir;
++    const cmd = common.isWindows ? 'echo %cd%' : 'pwd';
++    const response = execSync(cmd, {cwd});
+
+-  assert.strictEqual(response.toString().trim(), cwd);
+-}
++    assert.strictEqual(response.toString().trim(), cwd);
++  }
+
+-// Verify that stderr is not accessed when stdio = 'ignore' - GH #7966
+-{
+-  assert.throws(function() {
+-    execSync('exit -1', {stdio: 'ignore'});
+-  }, /Command failed: exit -1/);
+-}
++  // Verify that stderr is not accessed when stdio = 'ignore' - GH #7966
++  {
++    assert.throws(function() {
++      execSync('exit -1', {stdio: 'ignore'});
++    }, /Command failed: exit -1/);
++  }
+
+-// Verify the execFileSync() behavior when the child exits with a non-zero 
code.
+-{
+-  const args = ['-e', 'process.exit(1)'];
++  // Verify the execFileSync() behavior when the child exits with a non-zero 
code.
++  {
++    const args = ['-e', 'process.exit(1)'];
+
+-  assert.throws(() => {
+-    execFileSync(process.execPath, args);
+-  }, (err) => {
+-    const msg = `Command failed: ${process.execPath} ${args.join(' ')}`;
++    assert.throws(() => {
++      execFileSync(process.execPath, args);
++    }, (err) => {
++      const msg = `Command failed: ${process.execPath} ${args.join(' ')}`;
+
+-    assert(err instanceof Error);
+-    assert.strictEqual(err.message.trim(), msg);
+-    assert.strictEqual(err.status, 1);
+-    return true;
+-  });
++      assert(err instanceof Error);
++      assert.strictEqual(err.message.trim(), msg);
++      assert.strictEqual(err.status, 1);
++      return true;
++    });
++  }
+ }
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/node/pkg/PLIST,v
retrieving revision 1.32
diff -u -p -r1.32 PLIST
--- pkg/PLIST   19 Nov 2017 19:38:46 -0000      1.32
+++ pkg/PLIST   6 Jan 2018 17:54:40 -0000
@@ -108,6 +108,7 @@ include/node/uv-darwin.h
 include/node/uv-errno.h
 include/node/uv-linux.h
 include/node/uv-os390.h
+include/node/uv-posix.h
 include/node/uv-sunos.h
 include/node/uv-threadpool.h
 include/node/uv-unix.h

--
PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A  4AF0 1F81 112D 62A9 ADCE

Reply via email to