From owner-svn-ports-all@freebsd.org Thu May 5 13:45:02 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0020FB2D88E; Thu, 5 May 2016 13:45:01 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDAFA1FA0; Thu, 5 May 2016 13:45:01 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u45Dj0dh034048; Thu, 5 May 2016 13:45:01 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u45Dj0PX034038; Thu, 5 May 2016 13:45:00 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201605051345.u45Dj0PX034038@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Thu, 5 May 2016 13:45:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414646 - in head: . www www/node www/node/files www/node5 www/node5/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2016 13:45:02 -0000 Author: pi Date: Thu May 5 13:44:59 2016 New Revision: 414646 URL: https://svnweb.freebsd.org/changeset/ports/414646 Log: www/node: 5.11.0 -> 6.0.0 New port: www/node5, to ease migration from node-5.x to node-6.x This new major version of Node.js delivers significant improvements in performance, reliability, usability and security. Module loading is nearly four times faster than in Node.js v4, tests and documentation have seen significant improvements, usability of the Buffer and File System APIs have been improved, and Node.js now supports 93% of ES6 language features, thanks to V8 version 5.0. The full release announcement can be read here: https://nodejs.org/en/blog/release/v6.0.0/ The full changelog is available on Github: https://github.com/nodejs/node/commit/ce3e3c5fe15479475c068482c48eb9cbf1ac9df5 For node5: node.js v5.x will only be supported for a few months to give people time to move to v6. This new port is marked as deprecated with an expiration date of July 1, allowing all of May and June to transition. See https://nodejs.org/en/blog/release/v6.0.0/#what-about-node-js-v5 PR: 209215, 209216 Submitted by: Bradley T. Hughes (maintainer) Added: head/www/node5/ - copied from r414641, head/www/node/ Deleted: head/www/node/files/patch-deps_v8_src_compiler_instruction.h head/www/node/files/patch-deps_v8_src_compiler_js-type-feedback.h head/www/node/files/patch-deps_v8_src_zone-containers.h Modified: head/UPDATING head/www/Makefile head/www/node/Makefile head/www/node/distinfo head/www/node/pkg-plist head/www/node5/Makefile head/www/node5/files/patch-deps_v8_src_compiler_instruction.h head/www/node5/files/patch-deps_v8_src_compiler_js-type-feedback.h head/www/node5/files/patch-deps_v8_src_zone-containers.h head/www/node5/pkg-plist Modified: head/UPDATING ============================================================================== --- head/UPDATING Thu May 5 13:42:08 2016 (r414645) +++ head/UPDATING Thu May 5 13:44:59 2016 (r414646) @@ -5,6 +5,23 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20160505: + AFFECTS: Users of www/node + AUTHOR: bradleythughes@fastmail.fm + + The www/node port has been updated to node.js v6.0.0, the latest + upstream release. Users of node.js v5.x are encouraged to upgrade as + soon as possible, as upstream support will end two months from now. + + The www/node5 port has been created to aid users transition. Use one of + the following commands to continue using node.js v5.x: + + # pkg install node5 + or + # portmaster -o www/node5 www/node + or + # portupgrade -o www/node5 www/node + 20160503: AFFECTS: users of security/libressl AUTHOR: brnrd@FreeBSD.org Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu May 5 13:42:08 2016 (r414645) +++ head/www/Makefile Thu May 5 13:44:59 2016 (r414646) @@ -556,6 +556,7 @@ SUBDIR += node010 SUBDIR += node012 SUBDIR += node4 + SUBDIR += node5 SUBDIR += nostromo SUBDIR += npapi-vlc SUBDIR += npapi-xine Modified: head/www/node/Makefile ============================================================================== --- head/www/node/Makefile Thu May 5 13:42:08 2016 (r414645) +++ head/www/node/Makefile Thu May 5 13:44:59 2016 (r414646) @@ -1,14 +1,13 @@ -# Created by: Jin-Sih Lin # $FreeBSD$ PORTNAME= node -PORTVERSION= 5.11.0 +PORTVERSION= 6.0.0 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ MAINTAINER= bradleythughes@fastmail.fm -COMMENT= V8 JavaScript for client and server (5.x) +COMMENT= V8 JavaScript for client and server (6.x) LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE Modified: head/www/node/distinfo ============================================================================== --- head/www/node/distinfo Thu May 5 13:42:08 2016 (r414645) +++ head/www/node/distinfo Thu May 5 13:44:59 2016 (r414646) @@ -1,2 +1,2 @@ -SHA256 (node-v5.11.0.tar.gz) = ef41b01a9e49de5a5d160071166f911d0bc9ff6a0bd0e88ea4863df572d95e91 -SIZE (node-v5.11.0.tar.gz) = 22682857 +SHA256 (node-v6.0.0.tar.gz) = 6db56d81a4e07ff4017809ad4ee49a5256fad804cd8527f8724f8e149e3dfc32 +SIZE (node-v6.0.0.tar.gz) = 20525111 Modified: head/www/node/pkg-plist ============================================================================== --- head/www/node/pkg-plist Thu May 5 13:42:08 2016 (r414645) +++ head/www/node/pkg-plist Thu May 5 13:44:59 2016 (r414646) @@ -122,6 +122,7 @@ include/node/uv-version.h include/node/uv-win.h include/node/uv.h include/node/v8-debug.h +include/node/v8-experimental.h include/node/v8-platform.h include/node/v8-profiler.h include/node/v8-testing.h Modified: head/www/node5/Makefile ============================================================================== --- head/www/node/Makefile Thu May 5 12:37:15 2016 (r414641) +++ head/www/node5/Makefile Thu May 5 13:44:59 2016 (r414646) @@ -1,4 +1,3 @@ -# Created by: Jin-Sih Lin # $FreeBSD$ PORTNAME= node @@ -6,6 +5,7 @@ PORTVERSION= 5.11.0 DISTVERSIONPREFIX= v CATEGORIES= www MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/ +PKGNAMESUFFIX= 5 MAINTAINER= bradleythughes@fastmail.fm COMMENT= V8 JavaScript for client and server (5.x) @@ -13,13 +13,22 @@ COMMENT= V8 JavaScript for client and se LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -OPTIONS_DEFINE= DOCS +DEPRECATED= Upstream provides limited support after the release of v6.0.0, see https://nodejs.org/en/blog/release/v6.0.0/#what-about-node-js-v5 +EXPIRATION_DATE= 2016-07-01 + +OPTIONS_DEFINE= BUNDLED_SSL DOCS +OPTIONS_DEFAULT=BUNDLED_SSL +OPTIONS_SUB= yes + +BUNDLED_SSL_DESC= Use node's bundled OpenSSL implementation +BUNDLED_SSL_USE_OFF= OPENSSL=yes +BUNDLED_SSL_VARS_OFF= WITH_OPENSSL_PORT=yes USES= compiler execinfo gmake python:2 HAS_CONFIGURE= yes USE_LDCONFIG= yes -CONFLICTS_INSTALL= node4-* node-0.[02-9][0-9]* node-devel-0.[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]* +CONFLICTS_INSTALL= node-[0-9]* node-devel-[0-9]* node010-[0-9]* node012-[0-9]* iojs-[0-9]* node4-[0-9]* ONLY_FOR_ARCHS= i386 amd64 CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-zlib @@ -43,6 +52,12 @@ MAKE_ARGS+= strictaliasing=off USE_GCC= yes .endif +.if empty(PORT_OPTIONS:MBUNDLED_SSL) +CONFIGURE_ARGS+= --shared-openssl \ + --shared-openssl-includes=${OPENSSLINC} \ + --shared-openssl-libpath=${OPENSSLLIB} +.endif + post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/deps/v8/tools/gyp/v8.gyp Modified: head/www/node5/files/patch-deps_v8_src_compiler_instruction.h ============================================================================== --- head/www/node/files/patch-deps_v8_src_compiler_instruction.h Thu May 5 12:37:15 2016 (r414641) +++ head/www/node5/files/patch-deps_v8_src_compiler_instruction.h Thu May 5 13:44:59 2016 (r414646) @@ -1,5 +1,5 @@ ---- deps/v8/src/compiler/instruction.h.orig 2016-03-16 21:22:58.000000000 +0100 -+++ deps/v8/src/compiler/instruction.h 2016-03-24 23:27:23.004854000 +0100 +--- deps/v8/src/compiler/instruction.h.orig 2016-04-21 17:45:24 UTC ++++ deps/v8/src/compiler/instruction.h @@ -1011,7 +1011,7 @@ class InstructionBlock final : public Zo typedef ZoneDeque ConstantDeque; Modified: head/www/node5/files/patch-deps_v8_src_compiler_js-type-feedback.h ============================================================================== --- head/www/node/files/patch-deps_v8_src_compiler_js-type-feedback.h Thu May 5 12:37:15 2016 (r414641) +++ head/www/node5/files/patch-deps_v8_src_compiler_js-type-feedback.h Thu May 5 13:44:59 2016 (r414646) @@ -1,5 +1,5 @@ ---- deps/v8/src/compiler/js-type-feedback.h.orig 2016-03-16 21:22:58.000000000 +0100 -+++ deps/v8/src/compiler/js-type-feedback.h 2016-03-24 22:54:54.529827000 +0100 +--- deps/v8/src/compiler/js-type-feedback.h.orig 2016-04-21 17:45:24 UTC ++++ deps/v8/src/compiler/js-type-feedback.h @@ -33,9 +33,10 @@ class JSTypeFeedbackTable : public ZoneO private: friend class JSTypeFeedbackSpecializer; Modified: head/www/node5/files/patch-deps_v8_src_zone-containers.h ============================================================================== --- head/www/node/files/patch-deps_v8_src_zone-containers.h Thu May 5 12:37:15 2016 (r414641) +++ head/www/node5/files/patch-deps_v8_src_zone-containers.h Thu May 5 13:44:59 2016 (r414646) @@ -1,5 +1,5 @@ ---- deps/v8/src/zone-containers.h.orig 2016-03-16 21:22:58.000000000 +0100 -+++ deps/v8/src/zone-containers.h 2016-03-24 23:34:37.741885000 +0100 +--- deps/v8/src/zone-containers.h.orig 2016-04-21 17:45:25 UTC ++++ deps/v8/src/zone-containers.h @@ -114,12 +114,12 @@ class ZoneSet : public std::set> Modified: head/www/node5/pkg-plist ============================================================================== --- head/www/node/pkg-plist Thu May 5 12:37:15 2016 (r414641) +++ head/www/node5/pkg-plist Thu May 5 13:44:59 2016 (r414646) @@ -13,100 +13,100 @@ include/node/node_buffer.h include/node/node_internals.h include/node/node_object_wrap.h include/node/node_version.h -include/node/openssl/aes.h -include/node/openssl/archs/BSD-x86/opensslconf.h -include/node/openssl/archs/BSD-x86_64/opensslconf.h -include/node/openssl/archs/VC-WIN32/opensslconf.h -include/node/openssl/archs/VC-WIN64A/opensslconf.h -include/node/openssl/archs/aix-gcc/opensslconf.h -include/node/openssl/archs/aix64-gcc/opensslconf.h -include/node/openssl/archs/darwin-i386-cc/opensslconf.h -include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h -include/node/openssl/archs/linux-aarch64/opensslconf.h -include/node/openssl/archs/linux-armv4/opensslconf.h -include/node/openssl/archs/linux-elf/opensslconf.h -include/node/openssl/archs/linux-ppc/opensslconf.h -include/node/openssl/archs/linux-ppc64/opensslconf.h -include/node/openssl/archs/linux-x32/opensslconf.h -include/node/openssl/archs/linux-x86_64/opensslconf.h -include/node/openssl/archs/linux32-s390x/opensslconf.h -include/node/openssl/archs/linux64-s390x/opensslconf.h -include/node/openssl/archs/solaris-x86-gcc/opensslconf.h -include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h -include/node/openssl/asn1.h -include/node/openssl/asn1_mac.h -include/node/openssl/asn1t.h -include/node/openssl/bio.h -include/node/openssl/blowfish.h -include/node/openssl/bn.h -include/node/openssl/buffer.h -include/node/openssl/camellia.h -include/node/openssl/cast.h -include/node/openssl/cmac.h -include/node/openssl/cms.h -include/node/openssl/comp.h -include/node/openssl/conf.h -include/node/openssl/conf_api.h -include/node/openssl/crypto.h -include/node/openssl/des.h -include/node/openssl/des_old.h -include/node/openssl/dh.h -include/node/openssl/dsa.h -include/node/openssl/dso.h -include/node/openssl/dtls1.h -include/node/openssl/e_os2.h -include/node/openssl/ebcdic.h -include/node/openssl/ec.h -include/node/openssl/ecdh.h -include/node/openssl/ecdsa.h -include/node/openssl/engine.h -include/node/openssl/err.h -include/node/openssl/evp.h -include/node/openssl/hmac.h -include/node/openssl/idea.h -include/node/openssl/krb5_asn.h -include/node/openssl/kssl.h -include/node/openssl/lhash.h -include/node/openssl/md4.h -include/node/openssl/md5.h -include/node/openssl/mdc2.h -include/node/openssl/modes.h -include/node/openssl/obj_mac.h -include/node/openssl/objects.h -include/node/openssl/ocsp.h -include/node/openssl/opensslconf.h -include/node/openssl/opensslv.h -include/node/openssl/ossl_typ.h -include/node/openssl/pem.h -include/node/openssl/pem2.h -include/node/openssl/pkcs12.h -include/node/openssl/pkcs7.h -include/node/openssl/pqueue.h -include/node/openssl/rand.h -include/node/openssl/rc2.h -include/node/openssl/rc4.h -include/node/openssl/ripemd.h -include/node/openssl/rsa.h -include/node/openssl/safestack.h -include/node/openssl/seed.h -include/node/openssl/sha.h -include/node/openssl/srp.h -include/node/openssl/srtp.h -include/node/openssl/ssl.h -include/node/openssl/ssl2.h -include/node/openssl/ssl23.h -include/node/openssl/ssl3.h -include/node/openssl/stack.h -include/node/openssl/symhacks.h -include/node/openssl/tls1.h -include/node/openssl/ts.h -include/node/openssl/txt_db.h -include/node/openssl/ui.h -include/node/openssl/ui_compat.h -include/node/openssl/whrlpool.h -include/node/openssl/x509.h -include/node/openssl/x509_vfy.h -include/node/openssl/x509v3.h +%%BUNDLED_SSL%%include/node/openssl/aes.h +%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/BSD-x86_64/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN32/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/VC-WIN64A/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/aix-gcc/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/aix64-gcc/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/darwin-i386-cc/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux-aarch64/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux-armv4/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux-elf/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux-ppc64/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux-x32/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux-x86_64/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux32-s390x/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/linux64-s390x/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/solaris-x86-gcc/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/asn1.h +%%BUNDLED_SSL%%include/node/openssl/asn1_mac.h +%%BUNDLED_SSL%%include/node/openssl/asn1t.h +%%BUNDLED_SSL%%include/node/openssl/bio.h +%%BUNDLED_SSL%%include/node/openssl/blowfish.h +%%BUNDLED_SSL%%include/node/openssl/bn.h +%%BUNDLED_SSL%%include/node/openssl/buffer.h +%%BUNDLED_SSL%%include/node/openssl/camellia.h +%%BUNDLED_SSL%%include/node/openssl/cast.h +%%BUNDLED_SSL%%include/node/openssl/cmac.h +%%BUNDLED_SSL%%include/node/openssl/cms.h +%%BUNDLED_SSL%%include/node/openssl/comp.h +%%BUNDLED_SSL%%include/node/openssl/conf.h +%%BUNDLED_SSL%%include/node/openssl/conf_api.h +%%BUNDLED_SSL%%include/node/openssl/crypto.h +%%BUNDLED_SSL%%include/node/openssl/des.h +%%BUNDLED_SSL%%include/node/openssl/des_old.h +%%BUNDLED_SSL%%include/node/openssl/dh.h +%%BUNDLED_SSL%%include/node/openssl/dsa.h +%%BUNDLED_SSL%%include/node/openssl/dso.h +%%BUNDLED_SSL%%include/node/openssl/dtls1.h +%%BUNDLED_SSL%%include/node/openssl/e_os2.h +%%BUNDLED_SSL%%include/node/openssl/ebcdic.h +%%BUNDLED_SSL%%include/node/openssl/ec.h +%%BUNDLED_SSL%%include/node/openssl/ecdh.h +%%BUNDLED_SSL%%include/node/openssl/ecdsa.h +%%BUNDLED_SSL%%include/node/openssl/engine.h +%%BUNDLED_SSL%%include/node/openssl/err.h +%%BUNDLED_SSL%%include/node/openssl/evp.h +%%BUNDLED_SSL%%include/node/openssl/hmac.h +%%BUNDLED_SSL%%include/node/openssl/idea.h +%%BUNDLED_SSL%%include/node/openssl/krb5_asn.h +%%BUNDLED_SSL%%include/node/openssl/kssl.h +%%BUNDLED_SSL%%include/node/openssl/lhash.h +%%BUNDLED_SSL%%include/node/openssl/md4.h +%%BUNDLED_SSL%%include/node/openssl/md5.h +%%BUNDLED_SSL%%include/node/openssl/mdc2.h +%%BUNDLED_SSL%%include/node/openssl/modes.h +%%BUNDLED_SSL%%include/node/openssl/obj_mac.h +%%BUNDLED_SSL%%include/node/openssl/objects.h +%%BUNDLED_SSL%%include/node/openssl/ocsp.h +%%BUNDLED_SSL%%include/node/openssl/opensslconf.h +%%BUNDLED_SSL%%include/node/openssl/opensslv.h +%%BUNDLED_SSL%%include/node/openssl/ossl_typ.h +%%BUNDLED_SSL%%include/node/openssl/pem.h +%%BUNDLED_SSL%%include/node/openssl/pem2.h +%%BUNDLED_SSL%%include/node/openssl/pkcs12.h +%%BUNDLED_SSL%%include/node/openssl/pkcs7.h +%%BUNDLED_SSL%%include/node/openssl/pqueue.h +%%BUNDLED_SSL%%include/node/openssl/rand.h +%%BUNDLED_SSL%%include/node/openssl/rc2.h +%%BUNDLED_SSL%%include/node/openssl/rc4.h +%%BUNDLED_SSL%%include/node/openssl/ripemd.h +%%BUNDLED_SSL%%include/node/openssl/rsa.h +%%BUNDLED_SSL%%include/node/openssl/safestack.h +%%BUNDLED_SSL%%include/node/openssl/seed.h +%%BUNDLED_SSL%%include/node/openssl/sha.h +%%BUNDLED_SSL%%include/node/openssl/srp.h +%%BUNDLED_SSL%%include/node/openssl/srtp.h +%%BUNDLED_SSL%%include/node/openssl/ssl.h +%%BUNDLED_SSL%%include/node/openssl/ssl2.h +%%BUNDLED_SSL%%include/node/openssl/ssl23.h +%%BUNDLED_SSL%%include/node/openssl/ssl3.h +%%BUNDLED_SSL%%include/node/openssl/stack.h +%%BUNDLED_SSL%%include/node/openssl/symhacks.h +%%BUNDLED_SSL%%include/node/openssl/tls1.h +%%BUNDLED_SSL%%include/node/openssl/ts.h +%%BUNDLED_SSL%%include/node/openssl/txt_db.h +%%BUNDLED_SSL%%include/node/openssl/ui.h +%%BUNDLED_SSL%%include/node/openssl/ui_compat.h +%%BUNDLED_SSL%%include/node/openssl/whrlpool.h +%%BUNDLED_SSL%%include/node/openssl/x509.h +%%BUNDLED_SSL%%include/node/openssl/x509_vfy.h +%%BUNDLED_SSL%%include/node/openssl/x509v3.h include/node/pthread-fixes.h include/node/stdint-msvc2008.h include/node/tree.h