252 Commits

Author SHA1 Message Date
Bradley T. Hughes
b7af5e6407 www/node*: fix build on non-amd64/-i386 when BUNDLED_SSL is unset
The --openssl-no-asm configure option should only be set
when BUNDLED_SSL is enabled.

PR:		235311
Reported by:	jbeich
Sponsored by:	Miles AS
2019-02-11 18:24:42 +00:00
Bradley T. Hughes
6be93585e9 www/node: Update 11.8.0 -> 11.9.0
Update patches and pkg-plist for deps/openssl/**/* after upstream
pdated to OpenSSL 1.1.1a and refresh existing patches with
`make makepatch`.

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

Sponsored by:	Miles AS
2019-02-08 20:51:56 +00:00
Bradley T. Hughes
9cc3cafe06 www/node: Update 11.7.0_1 -> 11.8.0
https://nodejs.org/en/blog/release/v11.8.0/

Sponsored by:	Miles AS
2019-01-30 11:23:52 +00:00
Bradley T. Hughes
50aae0ccfe www/node: disable BUNDLED_SSL by default on FreeBSD >=12
Change the default options on FreeBSD >=12 since OpenSSL 1.1.1 is
available in the base system. Bump PORTREVISION due to the change in
defaults.

While here, convert the port to use BROKEN_SSL, taking care to set
BROKEN_SSL+=base when appropriate.

PR:		234762
Reported by:	amdmi3
Sponsored by:	Miles AS
2019-01-23 21:22:57 +00:00
Bradley T. Hughes
f9c4644cab www/node: Update 11.6.0 -> 11.7.0
https://nodejs.org/en/blog/release/v11.7.0/

Sponsored by:	Miles AS
2019-01-22 21:11:12 +00:00
Bradley T. Hughes
5aee51a51b www/node: Update 11.3.0_1 -> 11.6.0
https://nodejs.org/en/blog/release/v11.4.0/
https://nodejs.org/en/blog/release/v11.5.0/
https://nodejs.org/en/blog/release/v11.6.0/

Sponsored by:	Miles AS
2018-12-28 20:49:03 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Antoine Brodin
c06409c76b Spell CHOSEN_COMPILER_TYPE correctly
PR:		199098
With hat:	portmgr
2018-12-11 10:10:02 +00:00
Bradley T. Hughes
b97e90ea6c www/node: Update 11.2.0 -> 11.3.0
This is a security release that addresses multiple vulnerabilities. Users
are recommended to upgrade as soon as possible.

https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
https://nodejs.org/en/blog/release/v11.3.0/

MFH:		2018Q4
Security:	2a86f45a-fc3c-11e8-a414-00155d006b02
Sponsored by:	Miles AS
2018-12-10 11:40:26 +00:00
Bradley T. Hughes
7cac055c2f www/node: Update 11.1.0 -> 11.2.0
https://nodejs.org/en/blog/release/v11.2.0/

Sponsored by:	Miles AS
2018-11-21 04:44:23 +00:00
Mathieu Arnold
35326f1a97 security/openssl-devel was removed, but there is a security/openssl111 now. 2018-11-10 10:09:48 +00:00
Bradley T. Hughes
017dd8db31 www/node: remove BROKEN for FreeBSD 10
Sponsored by:	Miles AS
2018-11-05 05:17:05 +00:00
Bradley T. Hughes
a2eb8e33b4 www/node: Update 11.0.0 -> 11.1.0
https://nodejs.org/en/blog/release/v11.1.0/

Sponsored by:	Miles AS
2018-11-03 19:38:13 +00:00
Rene Ladan
8a502cb2d4 Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
2018-11-02 13:32:34 +00:00
Bradley T. Hughes
3eebc51b4e www/node: Update 10.12.0_1 -> 11.0.0
Update to the latest major release of Node.js. Upstream has dropped
support for FreeBSD 10.x, so mark the port as BROKEN on FreeBSD 10.
Regenerate patches with `make makepatch`.

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

Sponsored by:	Miles AS
2018-10-31 22:09:10 +00:00
Bradley T. Hughes
be15e8b611 www/node10: copy from www/node, update 10.12.0_1 -> 10.13.0 (LTS)
Create a new port for the latest Node.js 10.13.0 LTS release. Update
CONFLICTS for the existing Node.js ports to include the new node10 port
and remove non-existent ports.

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

Sponsored by:	Miles AS
2018-10-31 21:03:48 +00:00
Jan Beich
91f9922c6f devel/icu: update to 63.1
Changes:	http://site.icu-project.org/download/63
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		232300
Exp-run by:	antoine
2018-10-23 11:35:03 +00:00
Bradley T. Hughes
ab674c79eb www/node: Update 10.11.0 -> 10.12.0
https://nodejs.org/en/blog/release/v10.12.0/

Sponsored by:	Miles AS
2018-10-12 21:33:53 +00:00
Bradley T. Hughes
4886cc56d7 www/node: Update 10.10.0 -> 10.11.0
https://nodejs.org/en/blog/release/v10.11.0/

Sponsored by:	Miles AS
2018-09-27 05:26:22 +00:00
Bradley T. Hughes
055df62679 www/node: Update 10.9.0_1 -> 10.10.0
https://nodejs.org/en/blog/release/v10.10.0/

Sponsored by:	Miles AS
2018-09-10 04:28:54 +00:00
Bradley T. Hughes
f62c4309b4 www/node: add dependency on www/libnghttp2
... instead of using the bundled version. Bump PORTREVISION due to the
new dependency.

Sponsored by:	Miles AS
2018-09-06 19:40:41 +00:00
Bradley T. Hughes
5c22e647dc www/node: Update 10.7.0_1 -> 10.9.0
This is a security release addressing multiple vulnerabilities. Users
are recommended to upgrade as soon as possible.

https://nodejs.org/en/blog/vulnerability/august-2018-security-releases/
https://nodejs.org/en/blog/release/v10.9.0/

While here, refresh patches with `make makepatch`

MFH:		2018Q3
Security:	0904e81f-a89d-11e8-afbb-bc5ff4f77b71
Sponsored by:	Miles AS
2018-08-27 11:31:18 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

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

PR:		222542
2018-07-29 22:18:44 +00:00
Bradley T. Hughes
2103b10e0e www/node: Update 10.6.0 -> 10.7.0
https://nodejs.org/en/blog/release/v10.7.0/

Sponsored by:	Miles AS
2018-07-21 21:28:08 +00:00
Bradley T. Hughes
292325fd47 www/node: Update 10.5.0 -> 10.6.0
https://nodejs.org/en/blog/release/v10.6.0/

Sponsored by:	Miles AS
2018-07-10 20:09:41 +00:00
Jan Beich
3beb732dad devel/icu: update to 62.1
Changes:	http://site.icu-project.org/download/62
ABI:		https://abi-laboratory.pro/tracker/timeline/icu4c/
PR:		229359
Exp-run by:	antoine (only 10.4)
2018-06-29 14:22:11 +00:00
Bradley T. Hughes
7c67b2dffc www/node: Update 10.4.1 -> 10.5.0
https://nodejs.org/en/blog/release/v10.5.0/
2018-06-26 05:21:20 +00:00
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
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