pkgsrc/lang/erlang/options.mk
fhajny 69570fa8e4 Update lang/erlang to 17.5.
erlang-17.5
================================

Highlights:
- ERTS: Added command line argument option for setting the initial size
  of process dictionaries.
- Diameter: configurable incoming_max len and string_decode for diameter
  messages
- Bugfixes and minor small features in applications such as compiler,
  common_test, crypto, debugger, eldap, erts, hipe, inets, ssh, ssl,...

Full changelog:
  http://www.erlang.org/download/otp_src_17.5.readme


erlang-17.4
================================

Highlights:
- eldap: Nearly all TCP options are possible to give in the eldap:open/2 call.
- ssh: Added API functions ptty_alloc/3 and ptty_alloc/4, to allocate
  a pseudo tty.
- ssl: Handle servers that may send an empty SNI extension to the client.

Full changelog:
  http://www.erlang.org/download/otp_src_17.4.readme


erlang-17.3
================================

Highlights:
- erts: Introduced enif_schedule_nif() which allows a long running NIF
  to be broken into separate NIF invocations without the help of a wrapper
  function written in Erlang
- common_test: Experimental support for running Quickcheck and PropEr tests
  from common_test suites is added. Examples of usage in the suites for
  the ssh and inets applications
- Bugfixes and minor new features in applications such as asn1, erts, kernel,
  stdlib, diameter, ssh, mnesia, ssl, jinterface

Full changelog:
  http://www.erlang.org/download/otp_src_17.3.readme


erlang-17.1
================================

Highlights:
- crypto: Add aes_cfb8 cypher to crypto:block_encrypt and block_decrypt.
- diameter: Add result code counters for CEA, DWA, and DPA.
- erts: The following built in functions in the erlang and binary modules
  now bump an appropriate amount of reductions and yield when
  out of reductions:
    binary_to_list/1, binary_to_list/3, bitstring_to_list/1,
    list_to_binary/1, iolist_to_binary/1, list_to_bitstring/1,
    binary:list_to_bin/1
- hipe: Handle Maps instructions get_map_elements, put_map_assoc,
  put_map_exact in the HiPE native code compiler.
- mnesia: The time for inserting locks for a transaction with large
  number of locks is reduced significantly.
- ssh: Option max_sessions added to ssh:daemon/{2,3}.
- stdlib: Add maps:get/3 to maps module. The function will return the
  supplied default value if the key does not exist in the map.

Full changelog:
  http://www.erlang.org/download/otp_src_17.1.readme


erlang-17.0
================================

Highlights:
- Erlang/OTP has been ported to the realtime operating system OSE.
- Maps, a new dictionary data type (experimental)
- A more natural mapping from ASN.1 OCTET STRING and BIT STRING to
  Erlang types, and other ASN.1 improvements and optimizations
- The {active, N} socket option for TCP, UDP, and SCTP
- A new (optional) scheduler utilization balancing mechanism
- Migration of memory carriers has been enabled by default on all
  ERTS internal memory allocators
- Increased garbage collection tenure rate
- Experimental "dirty schedulers" functionality
- Funs can now be given names
- Miscellaneous unicode support enhancements
- A new version scheme for OTP its applications has been introduced

Full changelog:
  http://www.erlang.org/download/otp_src_17.0.readme

erlang 16.1.3.1 (R16B03-1)
================================

Highlights:
- The ODBC application was missing in the prebuilt Windows installers
- 3 corrections in the SSL application:
  - Add missing validation of the server_name_indication option and test
    for its explicit use.
  - Elliptic curve selection in server mode now properly selects a curve
    suggested by the client, if possible.
  - The server did not indicate support for secure renegotiation during
    TLS extension handling.
- In the syntax tools application a bug was introduced which broke
  reverting of local funs. This is now corrected (thanks to Anthony Ramine)
- wx - Solved a problem which caused the debugger to crash when closing
  a window. Fixed static linking on Mac.
- xmerl - Fixed a problem in the SAX-parser when the header of
  the next document was appearing in the buffer when using
  the xmerl_sax_parser:stream/2 function.

Full changelog:
  http://www.erlang.org/download/otp_src_R16B03-1.readme

erlang-16.1.3 (R16B03)
================================

Highlights:
- A new memory allocation feature called "super carrier" has been introduced.
  It can for example be used for pre-allocation of all memory that the
  runtime system should be able to use. It is enabled by passing the +MMscs
  (size in MB) command line argument. For more information see
  the documentation of the +MMsco, +MMscrfsd, +MMscrpm, +MMscs, +MMusac, and,
  +Mlpm command line arguments in the erts_alloc(3) documentation.
- The ldap client eldap now supports the start_tls operation. This upgrades
  an existing tcp connection to encryption using tls,
  see eldap:start_tls/2 and /3.
- The ftp client (inets application) now supports ftp over tls (ftps).

Full changelog:
  http://www.erlang.org/download/otp_src_R16B03.readme
2015-04-28 14:34:20 +00:00

74 lines
2 KiB
Makefile

# $NetBSD: options.mk,v 1.8 2015/04/28 14:34:20 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.erlang
PKG_SUPPORTED_OPTIONS= java erlang-hipe
PKG_OPTIONS_OPTIONAL_GROUPS= odbc
PKG_OPTIONS_GROUP.odbc= iodbc unixodbc
PKG_SUGGESTED_OPTIONS= # empty
###
### Activate HiPE by default on some systems or if the user has
### defined the erlang-hipe option in mk.conf
###
.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
(${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || \
${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD")
PKG_SUGGESTED_OPTIONS+= erlang-hipe
.endif
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD" || \
${OPSYS} == "Linux"
PKG_SUPPORTED_OPTIONS+= dtrace
.endif
.include "../../mk/bsd.options.mk"
PLIST_SRC= ${PLIST_SRC_DFLT}
PLIST_VARS+= odbc dtrace
.if !empty(PKG_OPTIONS:Mjava)
USE_JAVA= yes
USE_JAVA2= yes
.include "../../mk/java-vm.mk"
PLIST_SRC+= PLIST.java
.else
CONFIGURE_ARGS+= --without-javac
.endif
.if !empty(PKG_OPTIONS:Merlang-hipe)
CONFIGURE_ARGS+= --enable-hipe
PLIST_SRC+= PLIST.hipe
.else
CONFIGURE_ARGS+= --disable-hipe
.endif
###
### Provide iodbc/unixodbc option support
###
.if !empty(PKG_OPTIONS:Miodbc)
. include "../../databases/iodbc/buildlink3.mk"
CONFIGURE_ARGS+= --with-odbc=${BUILDLINK_PREFIX.iodbc}
PLIST.odbc= yes
.elif !empty(PKG_OPTIONS:Munixodbc)
. include "../../databases/unixodbc/buildlink3.mk"
CONFIGURE_ARGS+= --with-odbc=${BUILDLINK_PREFIX.unixodbc}
PLIST.odbc= yes
.else
CONFIGURE_ARGS+= --without-odbc
.endif
###
### DTrace support
###
.if !empty(PKG_OPTIONS:Mdtrace)
. if ${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" || ${OPSYS} == "FreeBSD"
CONFIGURE_ARGS+= --with-dynamic-trace=dtrace
. elif ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --with-dynamic-trace=systemtap
. endif
PLIST.dtrace= yes
.endif
# Help generate optional PLIST parts:
PRINT_PLIST_AWK+= {if ($$0 ~ /dtrace_user/) {$$0 = "$${PLIST.dtrace}" $$0;}}
PRINT_PLIST_AWK+= {if ($$0 ~ /\/erlang\/lib\/odbc-${VERSION.odbc}\//) {$$0 = "$${PLIST.odbc}" $$0;}}