Commit Graph

232 Commits

Author SHA1 Message Date
Bradley T. Hughes
c8ca6acb64 www/node: Update 10.4.0 -> 10.4.1
Update to the latest security release, fixing CVE-2018-7161,
CVE-2018-7162, CVE-2018-7164, and CVE-2018-1000168.

https://nodejs.org/en/blog/release/v10.4.1/
https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/

MFH:		2018Q2
Security:	45b8e2eb-7056-11e8-8fab-63ca6e0e13a2
Sponsored by:	Miles AS
2018-06-15 14:12:42 +00:00
Bradley T. Hughes
309474009e www/node: Update 10.3.0 -> 10.4.0
https://nodejs.org/en/blog/release/v10.4.0/

Remove files/patch-deps_v8_src_base_cpu.cc, which has been applied
upstream and is no longer necessary (as reported in PR 228779). Other
patches have been refreshed as needed with `make makepatch`.

PR:		228779
Reported by:	Sylvain Garrigues <sylvain@sylvaingarrigues.com>
Sponsored by:	Miles AS
2018-06-08 18:43:11 +00:00
Mark Linimon
1255064e1f Mark as broken on powerpc64.
Approved by:	portmgr (tier-2 blanket)
2018-06-08 04:24:50 +00:00
Bradley T. Hughes
3694fef040 www/node: Update 10.1.0_1 -> 10.3.0
https://nodejs.org/en/blog/release/v10.2.0/
https://nodejs.org/en/blog/release/v10.2.1/
https://nodejs.org/en/blog/release/v10.3.0/

Sponsored by:	Miles AS
2018-06-01 23:07:33 +00:00
Bradley T. Hughes
864c3d97dd www/node: fix build on i386
Add patch files missing from r469781, which ensure that the Node.js
build on i386 falls back to the linux-elf OpenSSL config.

PR:		228135
Reported by:	Marcin Cieslak <saper@saper.info>
2018-05-13 20:30:03 +00:00
Bradley T. Hughes
349bf96160 www/node: fix SSL/TLS on i386
The upgrade to v10.0.0 included significant changes to the OpenSSL
dependency in Node.js, in particular how the build was configured.
Upstream does not include a BSD-x86 config anymore, so the www/node port
ended up using the BSD-x86_64 no-asm config for all builds except x86_64
(which used the asm optimized config). This was a mistake, causing all
32-bit archs to build OpenSSL configured for a 64-bit architecture, and
it causes problems with SSL/TLS as described in PR 228135.

Change the build config to not use BSD-x86_64 no-asm for 32-bit i386 and
arm builds, falling back to the generic linux-elf configuration instead.
Patches remove Linux specific libraries (-ldl) and keep the CFLAGS the
same as the BSD config.

PR:             228135
Reported by:    Marcin Cie\xc5\x9blak <saper@saper.info>
2018-05-13 08:21:47 +00:00
Bradley T. Hughes
29a3dfca0a www/node: Update 10.0.0 -> 10.1.0
https://nodejs.org/en/blog/release/v10.1.0/
2018-05-10 20:32:54 +00:00
Bradley T. Hughes
1feb29bc1f www/node: Update 9.11.1_1 -> 10.0.0
Update to the latest major release of Node.js. This release includes
many significant changes, both to Node.js itself and the FreeBSD port.

https://nodejs.org/en/blog/release/v10.0.0/

In particular, Node.js now requires OpenSSL 1.1.0h, so the BUNDLED_SSL
option is enabled by default. It is still possible to disable this
option when using security/openssl-devel (which is currently at 1.1.0h).
Multiple patches are required to get Node.js building with the bundled
OpenSSL library. Only amd64 builds get optimized assembler; all other
archs use non-asm implementations.
2018-04-30 22:46:56 +00:00
Jan Beich
ae60358af5 devel/icu: update to 61.1
Changes:	http://site.icu-project.org/download/61
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		227042
Exp-run by:	antoine
MFH:		2018Q2 (required by Firefox 61)
2018-04-06 15:53:16 +00:00
Bradley T. Hughes
c8e3e31ea7 www/node: Update 9.10.1 -> 9.11.1
https://nodejs.org/en/blog/release/v9.11.0/
https://nodejs.org/en/blog/release/v9.11.1/
2018-04-05 12:23:53 +00:00
Bradley T. Hughes
b9f8225169 www/node: Update 9.10.0 -> 9.10.1
No changes from the previous verison. This release ensures that the
hosted binaries from the Node.js project adhere to the platform support
contract, which does not apply to the FreeBSD port and packages.

MFH:		2018Q2
2018-04-01 09:20:17 +00:00
Bradley T. Hughes
8672cb3f77 www/node: Update 9.9.0 -> 9.10.0
This is a security release addressing multiple vulnerabilities. Users
are recommended to upgrade as soon as possible.

https://nodejs.org/en/blog/vulnerability/march-2018-security-releases/
https://nodejs.org/en/blog/release/v9.10.0/

MFH:		2018Q1
Security:	5a9bbb6e-32d3-11e8-a769-6daaba161086
2018-03-29 19:57:04 +00:00
Bradley T. Hughes
6a5b7c255f www/node: Update 9.8.0 -> 9.9.0
https://nodejs.org/en/blog/release/v9.9.0/
2018-03-22 08:02:21 +00:00
Bradley T. Hughes
65a4a55f21 www/node: Update 9.7.1 -> 9.8.0
https://nodejs.org/en/blog/release/v9.8.0/
2018-03-09 11:37:45 +00:00
Bradley T. Hughes
44516d399d www/node: Update 9.7.0 -> 9.7.1
There are not changes in the release. A new version was published due to
a bad node-v9.7.0.pkg (macOS installer) file that was published to
nodejs.org in the previous release.

https://nodejs.org/en/blog/release/v9.7.1/
2018-03-02 12:11:51 +00:00
Bradley T. Hughes
e23f0d9fd5 www/node: Update 9.6.1 -> 9.7.0
https://nodejs.org/en/blog/release/v9.7.0/
2018-03-01 21:16:12 +00:00
Bradley T. Hughes
e21c83a083 www/node: Update 9.5.0 -> 9.6.1
https://nodejs.org/en/blog/release/v9.6.0/
https://nodejs.org/en/blog/release/v9.6.1/
2018-02-25 23:19:09 +00:00
Antoine Brodin
f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00
Justin Hibbits
d1d976c6d9 Mark www/node as buildable by powerpc64
Summary:
As of node 9.3.0, a bug was fixed preventing builds with gcc.  As this has
not been tested on mips, and fails on powerpcspe, only add powerpc64 to the
ONLY_FOR_ARCHS list.

Test Plan: Built for powerpc64

Reviewed By: bhughes
Differential Revision: https://reviews.freebsd.org/D13880
2018-02-16 03:16:50 +00:00
Bradley T. Hughes
07f8f07505 www/node,www/node8,www/node6: disable dtrace usdt on armv[67]
Disable the DTRACE option by default on armv[67] since Node.js fails to
build on armv[67] with the following error:

dt_modtext:/usr/src/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c(820): arm not implemented

PR:		224271
Submitted by:	mikael.urankar@gmail.com
2018-02-08 14:29:36 +00:00
Bradley T. Hughes
fde1bf68f1 www/node: Update 9.4.0 -> 9.5.0
https://nodejs.org/en/blog/release/v9.5.0/
2018-02-03 22:31:49 +00:00
Bradley T. Hughes
d7aeb3c3a0 www/node: Update 9.3.0 -> 9.4.0
https://nodejs.org/en/blog/release/v9.4.0/

While here, pet portlint:
- move ONLY_FOR_ARCHS
- remove USES_LDCONFIG (node.js doesn't install a .so)

Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D14050
2018-01-26 21:45:20 +00:00
Bradley T. Hughes
972ecb18dc www/node: Update 9.2.1 -> 9.3.0
https://nodejs.org/en/blog/release/v9.3.0/

Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D13495
2017-12-16 21:14:10 +00:00
Bradley T. Hughes
e4b5eef5dd www/node: Update 9.2.0 -> 9.2.1
Approved by:	mat (co-mentor)
Security:	bea84a7a-e0c9-11e7-b4f3-11baa0c2df21
Differential Revision:	https://reviews.freebsd.org/D13443
2017-12-14 19:47:50 +00:00
Bradley T. Hughes
829e850392 www/node: Update 9.1.0 -> 9.2.0
https://nodejs.org/en/blog/release/v9.2.0/

Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D13166
2017-11-22 21:02:32 +00:00
Jan Beich
99b0558e42 devel/icu: update to 60.1
Changes:	http://site.icu-project.org/download/60
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		223373
Exp-run by:	antoine
2017-11-09 02:31:47 +00:00
Bradley T. Hughes
ab29e0c442 www/node: Update 9.0.0 -> 9.1.0
Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D13005
2017-11-08 13:42:02 +00:00
Bradley T. Hughes
44ea3d95ff www/node: Update 8.8.1 -> 9.0.0
Update to the latest major version of Node.js.

https://nodejs.org/en/blog/release/v9.0.0/

Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D12974
2017-11-07 19:13:07 +00:00
Bradley T. Hughes
b04247ef05 www/node8: copy from www/node, update 8.8.1 -> 8.9.0 (LTS)
Create a new port for the latest Node.js 8.9.0 LTS release. Update
CONFLICTS for the existing Node.js ports to include the new node8 port
and remove non-existent ports.

https://nodejs.org/en/blog/release/v8.9.0/

Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D12930
2017-11-06 14:17:56 +00:00
Bradley T. Hughes
684d6cf017 www/node: Update 8.8.0 -> 8.8.1
Update to address a regression in 8.8.0.

https://nodejs.org/en/blog/release/v8.8.1/

Approved by:	robak (mentor)
MFH:		2017Q4
Differential Revision:	https://reviews.freebsd.org/D12800
2017-10-26 19:26:52 +00:00
Bradley T. Hughes
0cd7e38e91 www/node: Update 8.6.0 -> 8.8.0
Update to the latest upstream v8.x release to address a remote DoS
vulnerability.

https://nodejs.org/en/blog/vulnerability/oct-2017-dos/
https://nodejs.org/en/blog/release/v8.8.0/

Remove post-patch rules to replace various occurrences of 'python' with
PYTHON_CMD. Upstream has done a change to ensure that the "correct"
python version is called at build time, making our post-patch steps
unnecessary.

Re-roll patches with 'make makepatch'.

Approved by:	robak (mentor)
MFH:		2017Q4
Security:	CVE-2017-14919
Differential Revision:	https://reviews.freebsd.org/D12689
2017-10-25 18:43:33 +00:00
Mark Linimon
3ef3461740 For ports that are explicitly enabled on armv6, also enable them
on armv7.  This has not been tested with an -exp run but should
"do no harm".

PR:		221894 (partial)
2017-10-10 21:31:30 +00:00
Bradley T. Hughes
bb86bdab8a www/node: Update 8.5.0_1 -> 8.6.0
Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D12532
2017-09-28 17:38:11 +00:00
Jan Beich
a382198617 devel/icu: update to 59.1
- Temporarily keep C++98 working in consumers for Clang's default -std=

Changes:	http://site.icu-project.org/download/59
PR:		218788
Submitted by:	takefu@airport.fm, dcarmich@dcarmichael.net (early version)
Exp-run by:	antoine
2017-09-25 00:02:36 +00:00
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +00:00
Bradley T. Hughes
172a401d99 www/node: Update 8.4.0_1 -> 8.5.0
Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D12369
2017-09-14 17:52:32 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Bradley T. Hughes
12033e1872 www/node: Update 8.3.0 -> 8.4.0
Use DTRACE_CONFIGURE_ON to add --with-dtrace to the configure arguments
when DTRACE is enabled.

Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D12045
2017-08-17 05:19:49 +00:00
Bradley T. Hughes
5a13f31f84 www/node: Update 8.2.1 -> 8.3.0
- Revert libc++ workaround from r444555, since upstream has fixed the
  issue differently.
- Refresh patches with 'make makepatch'

Approved by:	mat (co-mentor)
Differential Revision:	https://reviews.freebsd.org/D11949
2017-08-10 12:53:18 +00:00
Bradley T. Hughes
c475613a4d www/node: Update 8.1.4 -> 8.2.1
Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D11720
2017-07-25 06:41:11 +00:00
Bradley T. Hughes
4101085886 www/node: Update 8.1.3 -> 8.1.4
Approved by:	mat (co-mentor)
MFH:		2017Q3
Security:	3eff66c5-66c9-11e7-aa1d-3d2e663cef42
Differential Revision:	https://reviews.freebsd.org/D11580
2017-07-13 15:22:12 +00:00
Andrew Turner
7b25124de6 www/node: Build on arm64
DTrace fails to build, however there is no userspace DTrace support on
arm64 for it to use.

PR:		220282
Approved by:	bhughes (maintainer), matthew
2017-06-30 09:19:55 +00:00
Bradley T. Hughes
e3357f24cb www/node: Update 8.1.2 -> 8.1.3
- Pet portlint (trailing whitespace)

Approved by:	robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D11402
2017-06-29 10:42:52 +00:00
Bradley T. Hughes
b24a67761e www/node: Update 7.10.0 -> 8.1.2
Bump to the latest major version of Node.js.

Remove files/patch-node.gyp, since this patch has been accepted
upstream. Remove
files/patch-deps_v8_src_base_atomicops__internals__arm__gcc.h,
which patches a now non-existent file after a change in how V8
implements atomic operations. Conditionally add the
_LIBCPP_TRIVIAL_PAIR_COPY_CTOR define when using clang 3.x to
workaround a known problem in libc++.

Approved by:    robak (mentor)
Differential Revision:	https://reviews.freebsd.org/D11030
2017-06-28 09:00:24 +00:00
Mark Linimon
c814970936 Sort ARCHS. Pet portlint.
Approved by:	portmgr (tier-2 blanket)
2017-06-26 23:44:13 +00:00
Bradley T. Hughes
956e24e47d multiple ports: Update MAINTANER
Change bradleythughes@fastmail.fm -> bhughes@FreeBSD.org after
receiving my ports commit bit on all ports I maintain: devel/awscli,
devel/py-botocore, net/py-s3transfer, net/turnserver, www/node4,
www/node6, and www/node.

Approved by:	robak (mentor)
Differential Review:	https://reviews.freebsd.org/D11015
2017-06-02 19:15:40 +00:00
Sunpoet Po-Chuan Hsieh
f6efe9a5c9 Update to 7.10.0
- Regenerate patch file with makepatch:

Changes:	https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V7.md
PR:		219193
Submitted by:	Bradley T. Hughes <bradleythughes@fastmail.fm> (maintainer)
2017-05-10 17:52:21 +00:00
Thomas Zander
60dd53d189 Update to upstream version 7.9.0, fix build on armv6
PR:		218081, 218643
Submitted by:	mikael.urankar@gmail.com,
		bradleythughes@fastmail.fm (maintainer)
Approved by:	bradleythughes@fastmail.fm (maintainer)
2017-04-14 12:19:30 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Vanilla I. Shu
e4078c11e3 Update to 7.8.0.
PR:		218209
Submitted by:	maintainer
2017-03-30 04:19:39 +00:00