pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/erlang lang/erlang: Update to 21.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0510808bf68b
branches:  trunk
changeset: 317290:0510808bf68b
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jan 03 22:58:36 2019 +0000

description:
lang/erlang: Update to 21.2

 ---------------------------------------------------------------------
 --- HIGHLIGHTS ------------------------------------------------------
 ---------------------------------------------------------------------

  OTP-13468    Application(s): erts, sasl

               New counters and atomics modules supplies access to
               highly efficient operations on mutable fixed word sized
               variables.


  OTP-14669    Application(s): erts
               Related Id(s): PR-1989

               There is a new module persistent_term that implements a
               term storage suitable for terms that are frequently
               used but never or infrequently updated. Lookups are
               done in constant time without copying the terms.


  OTP-15094    Application(s): ssh
               Related Id(s): OTP-15419

               Added public key methods ssh-ed25519 and ssh-ed448.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


  OTP-15449    Application(s): ssl

               *** POTENTIAL INCOMPATIBILITY ***

               ssl now uses active n internally to boost performance.
               Old active once behavior can be restored by setting
               application variable see manual page for ssl
               application (man 6).


  OTP-15475    Application(s): erts
               Related Id(s): ERIERL-229

               Add a new pollset that is made to handle sockets that
               use {active, true} or {active, N}. The new pollset will
               not be polled by a pollthread, but instead polled by a
               normal scheduler.

               This change was made because of the overhead associated
               with constantly having to re-apply the ONESHOT
               mechanism on fds that all input events were
               interesting.

               The new pollset is only active on platforms that
               support concurrent kernel poll updates, i.e. Linux and
               BSD.


 ---------------------------------------------------------------------
 --- POTENTIAL INCOMPATIBILITIES -------------------------------------
 ---------------------------------------------------------------------

  OTP-15364    Application(s): kernel

               A new function, logger:update_handler_config/3 is
               added, and the handler callback changing_config now has
               a new argument, SetOrUpdate, which indicates if the
               configuration change comes from set_handler_config/2,3
               or update_handler_config/2,3.

               This allows the handler to consistently merge the new
               configuration with the old (if the change comes from
               update_handler_config/2,3) or with the default (if the
               change comes from set_handler_config/2,3).

               The built-in handlers logger_std_h and
               logger_disk_log_h are updated accordingly. A bug which
               could cause inconsistency between the handlers'
               internal state and the stored configuration is also
               corrected.


  OTP-15449    Application(s): ssl

               *** HIGHLIGHT ***

               ssl now uses active n internally to boost performance.
               Old active once behavior can be restored by setting
               application variable see manual page for ssl
               application (man 6).


 ---------------------------------------------------------------------
 --- asn1-5.0.8 ------------------------------------------------------
 ---------------------------------------------------------------------

 The asn1-5.0.8 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15470    Application(s): asn1
               Related Id(s): ERIERL-278

               Handle erroneous length during decode (BER only)
               without crashing.


 Full runtime dependencies of asn1-5.0.8: erts-7.0, kernel-3.0,
 stdlib-2.0


 ---------------------------------------------------------------------
 --- compiler-7.3 ----------------------------------------------------
 ---------------------------------------------------------------------

 The compiler-7.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15400    Application(s): compiler
               Related Id(s): ERL-759

               Fixed a rare internal consistency failure caused by a
               bug in the beam_jump pass. (Thanks to Simon Cornish for
               reporting this bug.)


  OTP-15435    Application(s): compiler
               Related Id(s): ERL-778

               The compiler could fail with an internal consistency
               check failure when compiling code that used the
               is_function/2 BIF.


  OTP-15437    Application(s): compiler, stdlib
               Related Id(s): ERL-762

               When an external fun was used, warnings for unused
               variables could be suppressed.


  OTP-15481    Application(s): compiler

               The compiler would crash when compiling an after block
               that called erlang:raise/3 like this:
               erlang:raise(Class, Stacktrace, Stacktrace)


 --- Improvements and New Features ---

  OTP-15245    Application(s): compiler, stdlib
               Related Id(s): ERL-706

               When specified, the +{source,Name} option will now
               override the actual file name in stack traces, instead
               of only affecting the return value of
               Mod:module_info().

               The +deterministic flag will also affect stack traces
               now, omitting all path information except the file
               name, fixing a long-standing issue where deterministic
               builds required deterministic paths.


 Full runtime dependencies of compiler-7.3: crypto-3.6, erts-9.0,
 hipe-3.12, kernel-4.0, stdlib-2.5


 ---------------------------------------------------------------------
 --- crypto-4.4 ------------------------------------------------------
 ---------------------------------------------------------------------

 The crypto-4.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15302    Application(s): crypto

               Updated the RSA options part in the crypto
               application's C-code, documentation and tests.


 --- Improvements and New Features ---

  OTP-15419    Application(s): crypto, public_key
               Related Id(s): OTP-15094

               Added ed25519 and ed448 sign/verify.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


  OTP-15467    Application(s): crypto

               Fixed valgrind warnings.


 Full runtime dependencies of crypto-4.4: erts-9.0, kernel-5.3,
 stdlib-3.4


 ---------------------------------------------------------------------
 --- erts-10.2 -------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The erts-10.2 application can *not* be applied independently of
       other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependencies have to be satisfied:
       -- kernel-6.1 (first satisfied in OTP 21.1)
       -- sasl-3.3 (first satisfied in OTP 21.2)


 --- Fixed Bugs and Malfunctions ---

  OTP-12242    Application(s): erts
               Related Id(s): ERL-561

               When a process was waiting for a TCP socket send
               operation to complete, and another process closed the
               socket during that send, the sending process could
               hang. This bug has now been corrected.


  OTP-15343    Application(s): erts, stdlib
               Related Id(s): PR-1962

               Document bit_size in match specifications and allow it
               in ets:fun2ms.


  OTP-15346    Application(s): erts

               Fixed bug in ets:select_replace when called with a
               fully bound key could cause a following call to
               ets:next or ets:prev to crash the emulator or return
               invalid result.


  OTP-15360    Application(s): erts

               When a module has been purged from memory, any literals
               belonging to that module will be copied to all
               processes that hold references to them. The max heap
               size limit would be ignored in the garbage collection
               initiated when copying literals to a process. If the
               max heap size was exceeded, the process would typically
               be terminated in the following garbage collection.
               Corrected to terminate the process directly if copying
               a literal would exceed the max heap size.


  OTP-15389    Application(s): erts

               Fix compilation of run_erl on Solaris 11.4 and later.


  OTP-15436    Application(s): erts

               Fixed a bug where lists:reverse/1-2 could use far too
               many reductions. This bug was introduced in OTP 21.1.


  OTP-15446    Application(s): erts
               Related Id(s): PR-2024

               Fixed a bug where a dirty scheduler could stay awake
               forever if a distribution entry was removed as part of
               a dirty GC.


  OTP-15450    Application(s): erts
               Related Id(s): ERIERL-229

               Fix microstate accounting handing in various places.
               Most importantly the GC states when the GC is run on a
               dirty scheduler are now managed correctly.


  OTP-15461    Application(s): erts
               Related Id(s): ERL-784

               Fixed bug in file:sendfile when the send operation
               failed. For sockets in active modes it could cause
               emulator crash or a hanging call. For sockets with
               {active,false} an unexpected {inet_reply, _, _} message
               could be sent to the calling process. The bug exists
               since OTP-21.0.


  OTP-15465    Application(s): erts

               The erts configure script has been updated to reject
               any CFLAGS that does not have -O. This in order to
               prevent the common mistake of forgetting to add -O2 to
               custom CFLAGS.


  OTP-15474    Application(s): erts, stdlib
               Related Id(s): ERIERL-229

               Fix reduction count in lists:member/2


 --- Improvements and New Features ---

  OTP-13468    Application(s): erts, sasl

               *** HIGHLIGHT ***

               New counters and atomics modules supplies access to
               highly efficient operations on mutable fixed word sized
               variables.


  OTP-14669    Application(s): erts
               Related Id(s): PR-1989

               *** HIGHLIGHT ***

               There is a new module persistent_term that implements a
               term storage suitable for terms that are frequently
               used but never or infrequently updated. Lookups are
               done in constant time without copying the terms.


  OTP-15121    Application(s): erts, kernel
               Related Id(s): ERIERL-189, PR-1974

               A function inet:getifaddrs/1 that takes a list with a
               namespace option has been added, for platforms that
               support that feature, for example Linux (only?).


  OTP-15357    Application(s): erts, kernel
               Related Id(s): ERL-698

               Added the nopush option for TCP sockets, which
               corresponds to TCP_NOPUSH on *BSD and TCP_CORK on
               Linux.

               This is also used internally in file:sendfile to reduce
               latency on subsequent send operations.


  OTP-15371    Application(s): erts, stdlib

               List subtraction (The -- operator) will now yield
               properly on large inputs.


  OTP-15471    Application(s): erts, kernel
               Related Id(s): ERIERL-229

               Optimize handling of send_delay for tcp sockes to
               better work with the new pollthread implementation
               introduced in OTP-21.


  OTP-15472    Application(s): erts
               Related Id(s): ERIERL-229

               Optimize driver_set_timer with a zero timeout to
               short-circuit and not create any timer structure, but
               instead schedule the timer immediately.


  OTP-15473    Application(s): erts
               Related Id(s): ERIERL-229

               Add erl_xcomp_code_model_small as a cross configure
               variable in order to let the emulator be build with the
               assumption that a small code model will be used on the
               target machine.


  OTP-15475    Application(s): erts
               Related Id(s): ERIERL-229

               *** HIGHLIGHT ***

               Add a new pollset that is made to handle sockets that
               use {active, true} or {active, N}. The new pollset will
               not be polled by a pollthread, but instead polled by a
               normal scheduler.

               This change was made because of the overhead associated
               with constantly having to re-apply the ONESHOT
               mechanism on fds that all input events were
               interesting.

               The new pollset is only active on platforms that
               support concurrent kernel poll updates, i.e. Linux and
               BSD.


  OTP-15478    Application(s): erts
               Related Id(s): ERL-741

               Fix bug where emulator would segfault if a literal
               message was sent when sequence tracing was enabled.


 Full runtime dependencies of erts-10.2: kernel-6.1, sasl-3.3,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- et-1.6.4 --------------------------------------------------------
 ---------------------------------------------------------------------

 The et-1.6.4 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15463    Application(s): et
               Related Id(s): ERL-780

               The scroll bar of the et_viewer window could not be
               dragged all the way to the top of the window. It would
               always stop at the second event. This is now corrected.


 Full runtime dependencies of et-1.6.4: erts-9.0, kernel-5.3,
 runtime_tools-1.10, stdlib-3.4, wx-1.2


 ---------------------------------------------------------------------
 --- hipe-3.18.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 The hipe-3.18.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15482    Application(s): hipe

               The code was updated to avoid causing a dialyzer
               warning because of a tightened spec for
               beam_lib:info/1.


 Full runtime dependencies of hipe-3.18.2: compiler-5.0, erts-9.3,
 kernel-5.3, stdlib-3.4, syntax_tools-1.6.14


 ---------------------------------------------------------------------
 --- inets-7.0.3 -----------------------------------------------------
 ---------------------------------------------------------------------

 The inets-7.0.3 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15338    Application(s): inets
               Related Id(s): ERL-733

               Fixed http client to not send 'content-length' header
               in chunked encoded requests.


  OTP-15339    Application(s): inets
               Related Id(s): ERL-736

               Fixed http client to not drop explicit 'Content-Type'
               header in requests without a body such as requests with
               the 'Content-Type' of
               application/x-www-form-urlencoded.


 Full runtime dependencies of inets-7.0.3: erts-6.0, kernel-3.0,
 mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5


 ---------------------------------------------------------------------
 --- kernel-6.2 ------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The kernel-6.2 application can *not* be applied independently
       of other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- erts-10.1 (first satisfied in OTP 21.1)


 --- Fixed Bugs and Malfunctions ---

  OTP-15364    Application(s): kernel

               *** POTENTIAL INCOMPATIBILITY ***

               A new function, logger:update_handler_config/3 is
               added, and the handler callback changing_config now has
               a new argument, SetOrUpdate, which indicates if the
               configuration change comes from set_handler_config/2,3
               or update_handler_config/2,3.

               This allows the handler to consistently merge the new
               configuration with the old (if the change comes from
               update_handler_config/2,3) or with the default (if the
               change comes from set_handler_config/2,3).

               The built-in handlers logger_std_h and
               logger_disk_log_h are updated accordingly. A bug which
               could cause inconsistency between the handlers'
               internal state and the stored configuration is also
               corrected.


  OTP-15388    Application(s): kernel
               Related Id(s): PR-1983

               Fix fallback when custom erl_epmd client does not
               implement address_please.


  OTP-15453    Application(s): kernel
               Related Id(s): ERL-782

               The logger ets table did not have the read_concurrency
               option. This is now added.


  OTP-15466    Application(s): kernel
               Related Id(s): ERL-788

               During system start, logger has a simple handler which
               prints to stdout. After the kernel supervision is
               started, this handler is removed and replaced by the
               default handler. Due to a bug, logger earlier issued a
               debug printout saying it received an unexpected
               message, which was the EXIT message from the simple
               handler's process. This is now corrected. The simple
               handler's process now unlinks from the logger process
               before terminating.


  OTP-15469    Application(s): kernel

               The logger handler logger_std_h would not re-create
               it's log file if it was removed. Due to this it could
               not be used with tools like 'logrotate'. This is now
               corrected.


 --- Improvements and New Features ---

  OTP-15121    Application(s): erts, kernel
               Related Id(s): ERIERL-189, PR-1974

               A function inet:getifaddrs/1 that takes a list with a
               namespace option has been added, for platforms that
               support that feature, for example Linux (only?).


  OTP-15357    Application(s): erts, kernel
               Related Id(s): ERL-698

               Added the nopush option for TCP sockets, which
               corresponds to TCP_NOPUSH on *BSD and TCP_CORK on
               Linux.

               This is also used internally in file:sendfile to reduce
               latency on subsequent send operations.


  OTP-15471    Application(s): erts, kernel
               Related Id(s): ERIERL-229

               Optimize handling of send_delay for tcp sockes to
               better work with the new pollthread implementation
               introduced in OTP-21.


 Full runtime dependencies of kernel-6.2: erts-10.1, sasl-3.0,
 stdlib-3.5


 ---------------------------------------------------------------------
 --- observer-2.8.2 --------------------------------------------------
 ---------------------------------------------------------------------

 The observer-2.8.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15365    Application(s): observer
               Related Id(s): ERL-722

               Literals such as #{"one"=>1} dumped to a crash dump
               would cause crashdump_viewer to crash.


  OTP-15377    Application(s): observer

               crashdump_viewer would sometimes crash when processing
               a dump which was truncated in the literals area. This
               is now corrected.


  OTP-15391    Application(s): observer

               Since OTP-20.2, crashdump_viewer was very slow when
               opening a crash dump with many processes. An ets:select
               per process could be removed, which improved the
               performance a lot.

               A bug when parsing heap data in a crashdump caused
               crashdump_viewer to crash when multiple Yc lines
               referenced the same reference counted binary. This is
               now corrected.


 Full runtime dependencies of observer-2.8.2: erts-7.0, et-1.5,
 kernel-3.0, runtime_tools-1.8.14, stdlib-3.5, wx-1.2


 ---------------------------------------------------------------------
 --- os_mon-2.4.7 ----------------------------------------------------
 ---------------------------------------------------------------------

 The os_mon-2.4.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15387    Application(s): os_mon
               Related Id(s): PR-1966

               Due to /proc restrictions in newer Android releases
               enforced by SELinux, cpu_sup is fixed so that it gets
               some basic CPU stats using the sysinfo syscall rather
               than reading /proc/loadavg.


 Full runtime dependencies of os_mon-2.4.7: erts-6.0, kernel-3.0,
 mnesia-4.12, otp_mibs-1.0.9, sasl-2.4, snmp-4.25.1, stdlib-2.0


 ---------------------------------------------------------------------
 --- public_key-1.6.4 ------------------------------------------------
 ---------------------------------------------------------------------

 The public_key-1.6.4 application can be applied independently of
 other applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15419    Application(s): crypto, public_key
               Related Id(s): OTP-15094

               Added ed25519 and ed448 sign/verify.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


 Full runtime dependencies of public_key-1.6.4: asn1-3.0, crypto-3.8,
 erts-6.0, kernel-3.0, stdlib-3.5


 ---------------------------------------------------------------------
 --- reltool-0.7.8 ---------------------------------------------------
 ---------------------------------------------------------------------

 The reltool-0.7.8 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15454    Application(s): reltool

               Reltool would earlier erroneously split paths like
               "c:\foo" into ["c","\foo"] when reading the $ERL_LIBS
               variable on windows. This is now corrected.


 Full runtime dependencies of reltool-0.7.8: erts-7.0, kernel-3.0,
 sasl-2.4, stdlib-3.4, tools-2.6.14, wx-1.2


 ---------------------------------------------------------------------
 --- sasl-3.3 --------------------------------------------------------
 ---------------------------------------------------------------------

 Note! The sasl-3.3 application can *not* be applied independently of
       other applications on an arbitrary OTP 21 installation.

       On a full OTP 21 installation, also the following runtime
       dependency has to be satisfied:
       -- erts-10.2 (first satisfied in OTP 21.2)


 --- Improvements and New Features ---

  OTP-13468    Application(s): erts, sasl

               *** HIGHLIGHT ***

               New counters and atomics modules supplies access to
               highly efficient operations on mutable fixed word sized
               variables.


 Full runtime dependencies of sasl-3.3: erts-10.2, kernel-5.3,
 stdlib-3.4, tools-2.6.14


 ---------------------------------------------------------------------
 --- ssh-4.7.2 -------------------------------------------------------
 ---------------------------------------------------------------------

 The ssh-4.7.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15413    Application(s): ssh

               Incompatibility with newer OpenSSH fixed. Previously
               versions 7.8 and later could cause Erlang SSH to exit.


  OTP-15416    Application(s): ssh

               The 'exec' option for ssh daemons had wrong format in
               the documentation.


 --- Improvements and New Features ---

  OTP-15094    Application(s): ssh
               Related Id(s): OTP-15419

               *** HIGHLIGHT ***

               Added public key methods ssh-ed25519 and ssh-ed448.

               Requires OpenSSL 1.1.1 or higher as cryptolib under the
               OTP application crypto.


  OTP-15312    Application(s): ssh

               The SSH property tests are now adapted to the PropEr
               testing tool.


  OTP-15314    Application(s): ssh

               The term "user" was not documented in the SSH app. A
               new chapter with terminology is added to the User's
               Manual where the term "user" is defined.

               A reference manual page about the module ssh_file is
               also added. This is the default callback module for
               user's keys, host keys etc.


  OTP-15424    Application(s): ssh

               Host and user key checking is made more robust.


 Full runtime dependencies of ssh-4.7.2: crypto-4.2, erts-6.0,
 kernel-3.0, public_key-1.5.2, stdlib-3.3


 ---------------------------------------------------------------------
 --- ssl-9.1 ---------------------------------------------------------
 ---------------------------------------------------------------------

 The ssl-9.1 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15368    Application(s): ssl

               PEM cache was not evicting expired entries due to due
               to timezone confusion.


  OTP-15384    Application(s): ssl
               Related Id(s): ERL-756

               Make sure an error is returned if a "transport_accept
               socket" is used in some other call than ssl:handshake*
               or ssl:controlling_process


  OTP-15402    Application(s): ssl

               Fix timestamp handling in the PEM-cache could cause
               entries to not be invalidated at the correct time.


  OTP-15412    Application(s): ssl
               Related Id(s): ERL-731

               Extend check for undelivered data at closing, could
               under some circumstances fail to deliver all data that
               was actually received.


  OTP-15415    Application(s): ssl
               Related Id(s): ERL-763

               Correct signature check for TLS-1.2 that allows
               different algorithms for signature of peer cert and
               peer cert key. Not all allowed combinations where
               accepted.


  OTP-15418    Application(s): ssl
               Related Id(s): ERL-770

               Correct gen_statem return value, could cause
               renegotiation to fail.


 --- Improvements and New Features ---

  OTP-15420    Application(s): ssl
               Related Id(s): ERIERL-268

               Add engine support for RSA key exchange


  OTP-15449    Application(s): ssl

               *** HIGHLIGHT ***

               *** POTENTIAL INCOMPATIBILITY ***

               ssl now uses active n internally to boost performance.
               Old active once behavior can be restored by setting
               application variable see manual page for ssl
               application (man 6).


 Full runtime dependencies of ssl-9.1: crypto-4.2, erts-10.0,
 inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5


 ---------------------------------------------------------------------
 --- stdlib-3.7 ------------------------------------------------------
 ---------------------------------------------------------------------

 The stdlib-3.7 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15343    Application(s): erts, stdlib
               Related Id(s): PR-1962

               Document bit_size in match specifications and allow it
               in ets:fun2ms.


  OTP-15378    Application(s): stdlib
               Related Id(s): ERL-696

               The beam() type in beam_lib is defined as module() |
               file:filename() | binary(). The module() is misleading.
               Giving the module name as an atom will only work if the
               BEAM file is in a current directory.

               To avoid confusion, module() has been removed from the
               type. That means that there will be a Dialyzer warning
               for code that call beam_lib with an atom as filename,
               but the calls will still work.


  OTP-15428    Application(s): stdlib
               Related Id(s): ERL-777

               unicode_util crashed on certain emoji grapheme clusters
               in binary strings.


  OTP-15437    Application(s): compiler, stdlib
               Related Id(s): ERL-762

               When an external fun was used, warnings for unused
               variables could be suppressed.


  OTP-15474    Application(s): erts, stdlib
               Related Id(s): ERIERL-229

               Fix reduction count in lists:member/2


 --- Improvements and New Features ---

  OTP-15245    Application(s): compiler, stdlib
               Related Id(s): ERL-706

               When specified, the +{source,Name} option will now
               override the actual file name in stack traces, instead
               of only affecting the return value of
               Mod:module_info().

               The +deterministic flag will also affect stack traces
               now, omitting all path information except the file
               name, fixing a long-standing issue where deterministic
               builds required deterministic paths.


  OTP-15371    Application(s): erts, stdlib

               List subtraction (The -- operator) will now yield
               properly on large inputs.


  OTP-15464    Application(s): stdlib

               calendar:system_time_to_rfc3339/1,2 no longer remove
               trailing zeros from fractions.


 Full runtime dependencies of stdlib-3.7: compiler-5.0, crypto-3.3,
 erts-10.0, kernel-6.0, sasl-3.0


 ---------------------------------------------------------------------
 --- tools-3.0.2 -----------------------------------------------------
 ---------------------------------------------------------------------

 The tools-3.0.2 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Improvements and New Features ---

  OTP-15476    Application(s): tools

               Remove emacs warnings and added more tests.


 Full runtime dependencies of tools-3.0.2: compiler-5.0, erts-9.1,
 kernel-5.4, runtime_tools-1.8.14, stdlib-3.4


 ---------------------------------------------------------------------
 --- wx-1.8.6 --------------------------------------------------------
 ---------------------------------------------------------------------

 The wx-1.8.6 application can be applied independently of other
 applications on a full OTP 21 installation.

 --- Fixed Bugs and Malfunctions ---

  OTP-15426    Application(s): wx
               Related Id(s): ERL-755

               Fixed delayed delete bug which caused wx applications
               to crash on Mojave.


 Full runtime dependencies of wx-1.8.6: erts-6.0, kernel-3.0,
 stdlib-2.0


 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------

diffstat:

 lang/erlang/Makefile                               |  10 ++++------
 lang/erlang/Makefile.versions                      |   6 +++---
 lang/erlang/distinfo                               |  13 ++++++-------
 lang/erlang/patches/patch-erts_etc_unix_run__erl.c |   6 +++---
 lang/erlang/versions.mk                            |   4 ++--
 5 files changed, 18 insertions(+), 21 deletions(-)

diffs (99 lines):

diff -r ed5a4682209d -r 0510808bf68b lang/erlang/Makefile
--- a/lang/erlang/Makefile      Thu Jan 03 21:58:21 2019 +0000
+++ b/lang/erlang/Makefile      Thu Jan 03 22:58:36 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.90 2018/11/09 17:16:01 nia Exp $
+# $NetBSD: Makefile,v 1.91 2019/01/03 22:58:36 nia Exp $
 
-DISTNAME=              OTP-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
-PKGNAME=               ${DISTNAME:S/OTP-/erlang-/}
+DISTNAME=              otp_src_${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
+PKGNAME=               ${DISTNAME:S/otp_src_/erlang-/}
 CATEGORIES=            lang
-MASTER_SITES=          https://github.com/erlang/otp/archive/
+MASTER_SITES=          http://erlang.org/download/
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://www.erlang.org/
@@ -12,8 +12,6 @@
 
 DIST_SUBDIR=           erlang
 
-WRKSRC=                        ${WRKDIR}/otp-${DISTNAME}
-
 GNU_CONFIGURE=         yes
 USE_GNU_CONFIGURE_HOST=        ${USE_CROSS_COMPILE}
 OVERRIDE_DIRDEPTH=     4
diff -r ed5a4682209d -r 0510808bf68b lang/erlang/Makefile.versions
--- a/lang/erlang/Makefile.versions     Thu Jan 03 21:58:21 2019 +0000
+++ b/lang/erlang/Makefile.versions     Thu Jan 03 22:58:36 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.versions,v 1.36 2018/11/30 13:47:02 nia Exp $
+# $NetBSD: Makefile.versions,v 1.37 2019/01/03 22:58:36 nia Exp $
 
 DIST_VERSION_MAJOR=            21
-DIST_VERSION_MINOR=            1
+DIST_VERSION_MINOR=            2
 # Only set when sources for patch level releases are published on erlang.org
-DIST_VERSION_PATCH=            4
+DIST_VERSION_PATCH=
 
 .include "versions.mk"
 
diff -r ed5a4682209d -r 0510808bf68b lang/erlang/distinfo
--- a/lang/erlang/distinfo      Thu Jan 03 21:58:21 2019 +0000
+++ b/lang/erlang/distinfo      Thu Jan 03 22:58:36 2019 +0000
@@ -1,17 +1,16 @@
-$NetBSD: distinfo,v 1.66 2018/11/30 13:47:02 nia Exp $
+$NetBSD: distinfo,v 1.67 2019/01/03 22:58:36 nia Exp $
 
-SHA1 (erlang/OTP-21.1.4.tar.gz) = 836d78aaa13220b493fa612b4cf91cd647b89029
-RMD160 (erlang/OTP-21.1.4.tar.gz) = bb15276cacb1d9eadf294a3132797ee70cadb94d
-SHA512 (erlang/OTP-21.1.4.tar.gz) = 35fa13e8fe7ea744ddb355ec7c1407e1698693e5697e657639fbbfaf2b38ad50f8b0a5508d11f4dce007643b0541fb78e1aaae0056a4798e76ad82e62f366b1a
-Size (erlang/OTP-21.1.4.tar.gz) = 53854748 bytes
+SHA1 (erlang/otp_src_21.2.tar.gz) = 940c67cede50cb52d1c31bbd1a9133d3a54150c0
+RMD160 (erlang/otp_src_21.2.tar.gz) = 1271b7abd8bd1d66600e549b8361e7b3080f8000
+SHA512 (erlang/otp_src_21.2.tar.gz) = 5707ef0d49a9af12cd9d93c3e4fd200092773645838bbe0163782d0fa40562d2b48bdb07f0e650311bfec896ed9e3c9621b4d0ba114c578d7ca3209c2a96ac24
+Size (erlang/otp_src_21.2.tar.gz) = 85351485 bytes
 SHA1 (patch-ab) = 5f1602f3a49c05fd4c45884a7cd6be8d3f287ac3
 SHA1 (patch-ay) = f5f1accdb11e404ba4779b056228431e3080e4cd
-SHA1 (patch-erts_configure) = da39a3ee5e6b4b0d3255bfef95601890afd80709
 SHA1 (patch-erts_configure.in) = 2154871858bab389509e908b38ae479a55709b97
 SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = e34674aea2fa5092b5215944cb5639738df647bb
 SHA1 (patch-erts_emulator_sys_common_erl__poll.c) = dde76ffb60a1969946d7a638538170547f80e985
 SHA1 (patch-erts_emulator_sys_unix_sys__uds.c) = a165f977221acc8aba2ef30ca23d149a10af060a
-SHA1 (patch-erts_etc_unix_run__erl.c) = 9e2377ceba5021eaa2f0c729600df499954d134e
+SHA1 (patch-erts_etc_unix_run__erl.c) = dbcd6819949874da19daa554335567c444d7abe2
 SHA1 (patch-erts_lib__src_common_erl__printf.c) = 04b97c91d5c7a02c6a61ada0524ef2a2d9ad2e8b
 SHA1 (patch-lib_crypto_c__src_Makefile.in) = 0ab1db36c03999524e933d60f913ff5608b0622e
 SHA1 (patch-make_output.mk.in) = d7b3da58bfb471d52c41242e2a03d1598ce24e62
diff -r ed5a4682209d -r 0510808bf68b lang/erlang/patches/patch-erts_etc_unix_run__erl.c
--- a/lang/erlang/patches/patch-erts_etc_unix_run__erl.c        Thu Jan 03 21:58:21 2019 +0000
+++ b/lang/erlang/patches/patch-erts_etc_unix_run__erl.c        Thu Jan 03 22:58:36 2019 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-erts_etc_unix_run__erl.c,v 1.1 2018/01/29 16:54:38 jperkin Exp $
+$NetBSD: patch-erts_etc_unix_run__erl.c,v 1.2 2019/01/03 22:58:36 nia Exp $
 
 Fix SunOS/C99.
 
---- erts/etc/unix/run_erl.c.orig       2017-12-11 20:10:59.000000000 +0000
+--- erts/etc/unix/run_erl.c.orig       2018-12-10 20:11:00.000000000 +0000
 +++ erts/etc/unix/run_erl.c
 @@ -41,6 +41,9 @@
  #ifdef HAVE_CONFIG_H
@@ -13,4 +13,4 @@
 +#endif
  #ifdef HAVE_WORKING_POSIX_OPENPT
  #  ifndef _XOPEN_SOURCE
-      /* On OS X and BSD, we must leave _XOPEN_SOURCE undefined in order for
+      /* On OS X, BSD and Solaris, we must leave _XOPEN_SOURCE undefined in order
diff -r ed5a4682209d -r 0510808bf68b lang/erlang/versions.mk
--- a/lang/erlang/versions.mk   Thu Jan 03 21:58:21 2019 +0000
+++ b/lang/erlang/versions.mk   Thu Jan 03 22:58:36 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: versions.mk,v 1.5 2018/11/30 13:47:02 nia Exp $
+# $NetBSD: versions.mk,v 1.6 2019/01/03 22:58:36 nia Exp $
 # Do not edit, regenerate using 'make versions'
 _VERSIONS= \
- kernel 6.1.1 asn1 5.0.7 common_test 1.16.1 compiler 7.2.7 crypto 4.3.3 debugger 4.2.6 dialyzer 3.3.1 diameter 2.1.6 edoc 0.9.4 eldap 1.2.6 erl_docgen 0.8.1 erl_interface 3.10.4 erts 10.1.3 et 1.6.3 
eunit 2.3.7 ftp 1.0.1 hipe 3.18.1 inets 7.0.2 jinterface 1.9.1 megaco 3.18.4 mnesia 4.15.5 observer 2.8.1 odbc 2.12.2 os_mon 2.4.6 otp_mibs 1.2.1 parsetools 2.1.8 public_key 1.6.3 reltool 0.7.7 
runtime_tools 1.13.1 sasl 3.2.1 snmp 5.2.12 ssh 4.7.1 ssl 9.0.3 stdlib 3.6 syntax_tools 2.1.6 tftp 1.0.1 tools 3.0.1 wx 1.8.5 xmerl 1.3.18 
+ asn1 5.0.8 compiler 7.3 crypto 4.4 erts 10.2 et 1.6.4 hipe 3.18.2 inets 7.0.3 kernel 6.2 observer 2.8.2 os_mon 2.4.7 public_key 1.6.4 reltool 0.7.8 sasl 3.3 ssh 4.7.2 ssl 9.1 stdlib 3.7 tools 3.0.2 
wx 1.8.6 common_test 1.16.1 debugger 4.2.6 dialyzer 3.3.1 diameter 2.1.6 edoc 0.9.4 eldap 1.2.6 erl_docgen 0.8.1 erl_interface 3.10.4 eunit 2.3.7 ftp 1.0.1 jinterface 1.9.1 megaco 3.18.4 mnesia 
4.15.5 odbc 2.12.2 otp_mibs 1.2.1 parsetools 2.1.8 runtime_tools 1.13.1 snmp 5.2.12 syntax_tools 2.1.6 tftp 1.0.1 xmerl 1.3.18 




Home | Main Index | Thread Index | Old Index