2019-12-09 21:03:51 +01:00
|
|
|
# $NetBSD: Makefile.common,v 1.29 2019/12/09 20:03:51 adam Exp $
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
# used by lang/nodejs/Makefile
|
2017-11-01 13:07:31 +01:00
|
|
|
# used by lang/nodejs8/Makefile
|
2019-12-09 21:03:51 +01:00
|
|
|
# used by lang/nodejs10/Makefile
|
|
|
|
# used by lang/nodejs12/Makefile
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
|
2019-12-09 21:03:51 +01:00
|
|
|
CATEGORIES= lang
|
2017-09-03 10:53:04 +02:00
|
|
|
MASTER_SITES= https://nodejs.org/dist/${DISTNAME:S/node-//}/
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-v/js-/}
|
|
|
|
|
2018-12-15 22:12:18 +01:00
|
|
|
MAINTAINER= fhajny@NetBSD.org
|
2017-09-03 10:53:04 +02:00
|
|
|
HOMEPAGE= https://nodejs.org/
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
COMMENT= V8 JavaScript for clients and servers
|
|
|
|
LICENSE= mit
|
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2016-04-27 17:03:10 +02:00
|
|
|
USE_TOOLS+= bash gmake pkg-config
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
|
2018-05-02 18:33:02 +02:00
|
|
|
PYTHON_FOR_BUILD_ONLY= yes
|
2018-11-28 09:36:04 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 0.10.24
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
|
|
|
|
GCC_REQD+= 4.8
|
|
|
|
|
|
|
|
CONFIG_SHELL= ${PYTHONBIN}
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
2018-05-12 10:59:56 +02:00
|
|
|
CONFIGURE_ARGS+= --shared-cares
|
|
|
|
CONFIGURE_ARGS+= --shared-libuv
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
CONFIGURE_ARGS+= --shared-zlib
|
2018-05-02 18:33:02 +02:00
|
|
|
CONFIGURE_ARGS+= --without-npm
|
2016-03-12 13:34:44 +01:00
|
|
|
PTHREAD_AUTO_VARS= yes
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
|
2016-02-25 15:42:55 +01:00
|
|
|
CONFIGURE_ENV.NetBSD+= GYP_DEFINES="OS=netbsd"
|
|
|
|
MAKE_ENV.NetBSD+= GYP_DEFINES="OS=netbsd"
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
|
2016-03-18 12:39:18 +01:00
|
|
|
.if ${OPSYS} == "Linux" && !exists(/usr/bin/gold)
|
|
|
|
CONFIGURE_ENV+= GYP_DEFINES="linux_use_gold_flags=0"
|
|
|
|
.endif
|
|
|
|
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
REPLACE_PYTHON+= configure
|
|
|
|
REPLACE_PYTHON+= tools/genv8constants.py
|
|
|
|
REPLACE_PYTHON+= tools/gyp/pylib/gyp/flock_tool.py
|
|
|
|
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
2019-11-03 20:03:56 +01:00
|
|
|
BUILD_DEPENDS+= lockf-[0-9]*:../../sysutils/lockf
|
2019-01-10 14:02:41 +01:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-ldl
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
TEST_TARGET= check
|
|
|
|
|
2016-08-27 20:12:01 +02:00
|
|
|
.if defined(TOOLS_PLATFORM.paxctl)
|
2019-12-09 21:03:51 +01:00
|
|
|
SUBST_CLASSES+= mktools
|
|
|
|
SUBST_STAGE.mktools= post-configure
|
2018-09-27 21:27:57 +02:00
|
|
|
# nodejs8
|
2019-12-09 21:03:51 +01:00
|
|
|
SUBST_FILES.mktools+= out/deps/v8/src/mksnapshot.target.mk
|
|
|
|
# nodejs10
|
|
|
|
SUBST_FILES.mktools+= out/deps/v8/gypfiles/mksnapshot.target.mk
|
|
|
|
# nodejs12
|
|
|
|
SUBST_FILES.mktools+= out/mkcodecache.target.mk
|
|
|
|
SUBST_FILES.mktools+= out/tools/v8_gypfiles/mksnapshot.target.mk
|
|
|
|
# nodejs13
|
|
|
|
SUBST_FILES.mktools+= out/node_mksnapshot.target.mk
|
|
|
|
SUBST_SED.mktools+= -e 's|call do_cmd,link)|call do_cmd,link)\${.newline} ${TOOLS_PLATFORM.paxctl} +m $$@|'
|
2016-08-27 20:12:01 +02:00
|
|
|
.endif
|
|
|
|
|
2019-01-18 17:24:37 +01:00
|
|
|
CFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64
|
|
|
|
CXXFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64
|
|
|
|
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
pre-install:
|
|
|
|
${CHMOD} -R g-w ${WRKSRC}
|
|
|
|
|
2016-04-27 17:03:10 +02:00
|
|
|
post-install:
|
2016-08-27 20:12:01 +02:00
|
|
|
.if defined(TOOLS_PLATFORM.paxctl)
|
|
|
|
${TOOLS_PLATFORM.paxctl} +m ${DESTDIR}${PREFIX}/bin/node
|
|
|
|
.endif
|
2016-04-27 17:03:10 +02:00
|
|
|
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
.if ${OPSYS} != "Darwin"
|
|
|
|
.include "../../devel/libexecinfo/buildlink3.mk"
|
|
|
|
.endif
|
2018-05-12 10:59:56 +02:00
|
|
|
.include "../../devel/libuv/buildlink3.mk"
|
Update lang/nodejs to 5.0.0.
Move most logic into Makefile.common that will be shared
by the LTS lang/nodejs4 package.
Notable Changes in 5.0.0:
* buffer: (Breaking) Removed both 'raw' and 'raws' encoding types
from Buffer, these have been deprecated for a long time
* console: (Breaking) Values reported by console.time() now have
3 decimals of accuracy added
* fs:
- fs.readFile*(), fs.writeFile*(), and fs.appendFile*() now also
accept a file descriptor as their first argument
- (Breaking) In fs.readFile(), if an encoding is specified and
the internal toString() fails the error is no longer thrown but is
passed to the callback
- (Breaking) In fs.read() (using the fs.read(fd, length, position,
encoding, callback) form), if the internal toString() fails the
error is no longer thrown but is passed to the callback
* http:
- Fixed a bug where pipelined http requests would stall
- (Breaking) When parsing HTTP, don't add duplicates of the
following headers: Retry-After, ETag, Last-Modified, Server, Age,
Expires.
- (Breaking) The callback argument to OutgoingMessage#setTimeout()
must be a function or a TypeError is thrown
- (Breaking) HTTP methods and header names must now conform to
the RFC 2616 "token" rule, a list of allowed characters that
excludes control characters and a number of separator characters.
* node:
- (Breaking) Deprecated the _linklist module
- (Breaking) Removed require.paths and require.registerExtension(),
both had been previously set to throw Error when accessed
* npm: Upgraded to version 3.3.6 from 2.14.7
* src: (Breaking) Bumped NODE_MODULE_VERSION to 47 from 46
* timers: Attempt to reuse the timer handle for setTimeout().unref().
* tls:
- Added ALPN Support
- TLS options can now be passed in an object to createSecurePair()
- (Breaking) The default minimum DH key size for tls.connect() is
now 1024 bits and a warning is shown when DH key size is less
than 2048 bits.
* util:
- (Breaking) util.p() was deprecated for years, and has now been
removed
- (Breaking) util.inherits() can now work with ES6 classes.
* v8: (Breaking) Upgraded to 4.6.85.25 from 4.5.103.35
- Implements the spread operator
- Implements new.target
* zlib: Decompression now throws on truncated input (e.g. unexpected
end of file)
See full release notes with more information at:
https://nodejs.org/en/blog/release/v5.0.0/
2015-11-09 21:19:35 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../lang/python/tool.mk"
|
2018-05-12 10:59:56 +02:00
|
|
|
.include "../../net/libcares/buildlink3.mk"
|
2016-03-12 13:34:44 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|