pkgsrc/lang/nodejs/options.mk
fhajny 69d6a0a986 Update lang/nodejs to 5.10.0.
5.10.0

* buffer:
  - make byteLength work with ArrayBuffer & DataView
  - backport --zero-fill-buffers command line option
  - backport new buffer constructor APIs
  - add swap16() and swap32() methods
* fs: add the fs.mkdtemp() function.
* net: emit host in lookup event
* node: --no-browser-globals configure flag
* npm: Upgrade to v3.8.3. Fixes a security flaw in the use of
  authentication tokens in HTTP requests that would allow an
  attacker to set up a server that could collect tokens from
  users of the command-line interface. Authentication tokens
  have previously been sent with every request made by the CLI
  for logged-in users, regardless of the destination of the
  request. This update fixes this by only including those
  tokens for requests made against the registry or registries
  used for the current install.
* repl: support standalone blocks
* src: override v8 thread defaults using cli options

5.9.0

* contextify: Fixed a memory consumption issue related to heavy
  use of vm.createContext and vm.runInNewContext.
* lib: copy arguments object instead of leaking it
* src: allow both -i and -e flags to be used at the same time
* timers: Internal Node.js timeouts now use the same logic path
  as those created with setTimeout()
* v8: backport fb4ccae from v8 upstream: breakout events from v8
  to offer better support for external debuggers
* zlib: add support for concatenated members
2016-04-01 08:21:05 +00:00

37 lines
907 B
Makefile

# $NetBSD: options.mk,v 1.8 2016/04/01 08:21:05 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.node
PKG_SUPPORTED_OPTIONS= openssl dtrace icu
PKG_SUGGESTED_OPTIONS= openssl
.if (${OPSYS} == "SunOS" || ${OPSYS} == "Darwin") \
&& exists(/usr/sbin/dtrace)
PKG_SUGGESTED_OPTIONS+= dtrace
.endif
.include "../../mk/bsd.options.mk"
PLIST_VARS+= dtrace
.if !empty(PKG_OPTIONS:Mdtrace)
CONFIGURE_ARGS+= --with-dtrace
PLIST.dtrace= yes
.else
CONFIGURE_ARGS+= --without-dtrace
.endif
# print-PLIST helper
PRINT_PLIST_AWK+= {if ($$0 ~ /lib\/dtrace/) {$$0 = "$${PLIST.dtrace}" $$0;}}
.if !empty(PKG_OPTIONS:Micu)
CONFIGURE_ARGS+= --with-intl=system-icu
.include "../../textproc/icu/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mopenssl)
BUILDLINK_API_DEPENDS.openssl+= openssl>=1.0.2
.include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --shared-openssl
.else
CONFIGURE_ARGS+= --without-ssl
.endif