Up to [cvs.NetBSD.org] / pkgsrc / lang / erlang
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
erlang: updated to 27.0.1 OTP-27.0.1 Improvements and New Features Bump ex_doc version to v0.34.1 and fix copyright in published docs to have correct year. compiler-8.5.1 The compiler-8.5.1 application can be applied independently of other applications on a full OTP 27 installation. Fixed Bugs and Malfunctions One of the compiler's optimization passes would get very slow when compiling certain modules. The compiler will now automatically disable that pass for input that would trigger the slowdown. Fix +deterministic to work properly with documentation attributes. Full runtime dependencies of compiler-8.5.1 crypto-5.1, erts-13.0, kernel-8.4, stdlib-6.0 edoc-1.3.1 The edoc-1.3.1 application can be applied independently of other applications on a full OTP 27 installation. Fixed Bugs and Malfunctions Fix broken makefile dependency when building HTML documentation. Full runtime dependencies of edoc-1.3.1 erts-11.0, inets-5.10, kernel-7.0, stdlib-4.0, syntax_tools-2.0, xmerl-1.3.7 erts-15.0.1 The erts-15.0.1 application can be applied independently of other applications on a full OTP 27 installation. Fixed Bugs and Malfunctions In rare circumstances the JIT could do an unsafe in-place update of a tuple. When a port command crashed in the inet driver during gen_tcp:send/2, a monitor 'DOWN' message could be left lingering in the caller's mailbox. This has now been fixed. 'DOWN' messages originating from a monitored port, contained the atom process instead of the atom port as the third element when the exit reason was not an immediate term. Fix so that the options to enable Transparent Huge Page alignment of the Erlang VM executable are only applied to the Erlang VM and not other native programs such as erlc and dialyzer. This bug was introduced in Erlang/OTP 27.0. When no time warp mode was enabled, a smaller Erlang monotonic time could be read than a previously read time, i.e., breaking the monotonic property. The runtime system will abort when detecting an issue like this since OTP 24.3.4.17 and OTP 25.0. Up until OTP 25 no time warp mode is the default. As of OTP 26 multi time warp mode is the default. When calling trace:function(Session, _, true, [meta]) the meta tracer was incorrectly set to be the calling process. Now it's set to the session tracer as expected. Full runtime dependencies of erts-15.0.1 kernel-9.0, sasl-3.3, stdlib-4.1 kernel-10.0.1 The kernel-10.0.1 application can be applied independently of other applications on a full OTP 27 installation. Improvements and New Features Polish the logger documentation. Full runtime dependencies of kernel-10.0.1 crypto-5.0, erts-15.0, sasl-3.0, stdlib-6.0 public_key-1.16.1 The public_key-1.16.1 application can be applied independently of other applications on a full OTP 27 installation. Fixed Bugs and Malfunctions Fix bug in dnsName constraint check, could cause valid cert to be considered bad during path validation. Full runtime dependencies of public_key-1.16.1 asn1-3.0, crypto-4.6, erts-6.0, kernel-3.0, stdlib-3.5 ssh-5.2.1 The ssh-5.2.1 application can be applied independently of other applications on a full OTP 27 installation. Fixed Bugs and Malfunctions With this change, race condition between connection closing and automatic window adjustment is fixed. Full runtime dependencies of ssh-5.2.1 crypto-5.0, erts-14.0, kernel-9.0, public_key-1.6.1, runtime_tools-1.15.1, stdlib-5.0, stdlib-6.0 ssl-11.2.1 The ssl-11.2.1 application can be applied independently of other applications on a full OTP 27 installation. Fixed Bugs and Malfunctions Check for TLS-1.3 support should check minimum requirements. If both TLS-1.3 and TLS-1.2 is supported and TLS-1.2 negotiated convert TLS-1.3 ECDSA schemes to TLS-1.2 hash and signature pairs for increased interoperability. TLS-1.3 negotiation now uses SNI based options correctly instead of ignoring them. Improvements and New Features Make it easier to distinguish between a invalid signature and unsupported signature. Enhance ALERT logs to help understand what causes the alert. When the default value for signature_algs is used, default the signature_algs_cert to the default value + rsa_pkcs1_sha1 to allow this algorithms for certificates but not for the TLS protocol. This is for better interoperability. If signature_algs is set explicitly signature_algs_cert must also be set explicitly if they should be different. Full runtime dependencies of ssl-11.2.1 crypto-5.0, erts-15.0, inets-5.10.7, kernel-9.0, public_key-1.15, runtime_tools-1.15.1, stdlib-6.0 stdlib-6.0.1 The stdlib-6.0.1 application can be applied independently of other applications on a full OTP 27 installation. Fixed Bugs and Malfunctions Fix so that missing -doc({file, File}) files only result in a warning and not an error. Fixed json bugs, json:encode_key_value_list/2 did not generate arrays and json:decode/3 did not invoke the user callback for 0.
lang/erlang: Fix ctype(3) misuse.
lang/erlang: Fix cross-build. 1. Perl is not actually needed at run-time -- it's a build-time tool dependency. 2. Erlang depends on a native build of itself to cross-build. 3. Need to pass through erl_xcomp_sysroot=/ to pacify configure. Revbump because this ditches the run-time Perl dependency. Otherwise, no change to native builds.
erlang: Spell "version" properly.
erlang: Only use kernel-poll when erlang finds the implementation acceptable.
erlang*: update to 26.2.1
Contains a Terrapin fix for erlang ssh.
26.2.1
---------------------------------------------------------------------
--- POTENTIAL INCOMPATIBILITIES -------------------------------------
---------------------------------------------------------------------
OTP-18897 Application(s): ssh
With this change (being response to CVE-2023-48795),
ssh can negotiate "strict KEX" OpenSSH extension with
peers supporting it; also
'[email protected]' algorithm becomes a
less preferred cipher.
If strict KEX availability cannot be ensured on both
connection sides, affected encryption modes(CHACHA and
CBC) can be disabled with standard ssh configuration.
This will provide protection against vulnerability, but
at a cost of affecting interoperability. See
Configuring algorithms in SSH.
---------------------------------------------------------------------
--- OTP-26.2.1 ------------------------------------------------------
---------------------------------------------------------------------
--- Fixed Bugs and Malfunctions ---
OTP-18903 Application(s): otp
Updated copyright and license information.
---------------------------------------------------------------------
--- erts-14.2.1 -----------------------------------------------------
---------------------------------------------------------------------
The erts-14.2.1 application can be applied independently of other
applications on a full OTP 26 installation.
--- Fixed Bugs and Malfunctions ---
OTP-18902 Application(s): erts
Removed unnecessary PCRE source tar-ball.
26.2
Highlights #
process_info/2 now supports lookup of values for specific keys in the process dictionary.
Potential incompatibilities: #
common_test now returns an error when a suite with a badly defined group is executed.
*: bump for openssl 3
erlang*: update to 26.0 Highlights: The shell Improvements of maps Improvements of the lists module No need to enable feature maybe in the runtime system Improvements in the Erlang compiler and JIT Incremental mode for Dialyzer argparse: A command line parser for Erlang SSL: Safer defaults SSL: Improved checking of options See https://www.erlang.org/blog/otp-26-highlights/ and https://www.erlang.org/news/164
erlang: update to 25.3.1. Support for fully asynchronous distributed signaling where send operations never block. This functionality is by default disabled and can be enabled per process. For more information see the documentation of process_flag(async_dist, Bool).
erlang: disable jit instead of using paxctl workaround Suggested by upstream. Bump PKGREVISION.
erlang: remove unnecessary autoconf dependency
erlang: fix build on NetBSD with PaX enabled. Bump PKGREVISION.
erlang: Fix build on NetBSD
Update to 25.2. From the changelog: Potential incompatibilities: - The inet:setopts/2 {reuseaddr, true} option will now be ignored on Windows unless the socket is an UDP socket. For more information see the documentation of the reuseaddr option part of the documentation of inet:setopts/2. Prior to OTP 25 the {reuseaddr, true} option was ignored for all sockets on Windows, but as of OTP 25.0 this was changed so that it was not ignored for any sockets.
erlang: Update to 25.1 upstream changes: ----------------- OTP 25.1 Release o https://www.erlang.org/news/158 OTP 25.0 Release o https://www.erlang.org/news/158 OTP 24.2 Release o https://www.erlang.org/news/152 OTP 24.1 Release o https://www.erlang.org/news/149 OTP 24.0 Release o https://www.erlang.org/news/148
*: recursive bump for perl 5.36
erlang: seems incompatible with PIE (unfortunately)
*: recursive bump for perl 5.34
erlang: Update to 23.3.4 This update fixes chat/ejabberd building. upstream changes: ----------------- Patch Package: OTP 23.3.4 Git Tag: OTP-23.3.4 Date: 2021-05-10 Trouble Report Id: OTP-17366, OTP-17379, OTP-17386 Seq num: ERIERL-650, GH-4775 System: OTP Release: 23 Application: compiler-7.6.9, diameter-2.2.4, erts-11.2.2 Predecessor: OTP 23.3.3 Check out the git tag OTP-23.3.4, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below. --------------------------------------------------------------------- --- compiler-7.6.9 -------------------------------------------------- --------------------------------------------------------------------- The compiler-7.6.9 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17386 Application(s): compiler Related Id(s): ERIERL-650, OTP-17357 Reverted the fix for OTP-17357 as it turned out to be incomplete and made the validator reject much more legal code than before. It will be fixed more thoroughly in a later patch. Full runtime dependencies of compiler-7.6.9: crypto-3.6, erts-11.0, hipe-3.12, kernel-7.0, stdlib-3.13 --------------------------------------------------------------------- --- diameter-2.2.4 -------------------------------------------------- --------------------------------------------------------------------- The diameter-2.2.4 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17366 Application(s): diameter Related Id(s): GH-4775 The unordered option was ignored on a client diameter_sctp transport, causing all delivery to be ordered. The association id was not specified to gen_sctp when requesting unordered delivery, causing the setting to be applied to the whole endpoint. Thanks to Bengt Kleberg and Andreas Schultz. Full runtime dependencies of diameter-2.2.4: erts-10.0, kernel-3.2, ssl-9.0, stdlib-2.4 --------------------------------------------------------------------- --- erts-11.2.2 ----------------------------------------------------- --------------------------------------------------------------------- The erts-11.2.2 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17379 Application(s): erts Related Id(s): PR-4804 Fix bug in match spec compilator seen to cause a stack overflow crash on debug VM for certain match specs. Could potentially cause problems for standard VM, but has not been verified. Match specs are used by ets:match/select functions and erlang:trace_pattern. Full runtime dependencies of erts-11.2.2: kernel-7.0, sasl-3.3, stdlib-3.13 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
erlang: fix some build states Fix builds when the java option is disabled (the default) and when erlang-hipe is disabled (the default for some platforms/architectures).
erlang: Update to 23.2.6 upstream changes: ----------------- Patch Package: OTP 23.2.6 Git Tag: OTP-23.2.6 Date: 2021-02-25 Trouble Report Id: OTP-17173, OTP-17205, OTP-17220 Seq num: ERIERL-581, ERIERL-608 System: OTP Release: 23 Application: inets-7.3.2, ssh-4.10.8 Predecessor: OTP 23.2.5 Check out the git tag OTP-23.2.6, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below. --------------------------------------------------------------------- --- inets-7.3.2 ----------------------------------------------------- --------------------------------------------------------------------- The inets-7.3.2 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17205 Application(s): inets Related Id(s): ERIERL-608 Solves CVE-2021-27563, that is make sure no form of relative path can be used to go outside webservers directory. OTP-17220 Application(s): inets Make sure HEAD requests rejects directory links Full runtime dependencies of inets-7.3.2: erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5 --------------------------------------------------------------------- --- ssh-4.10.8 ------------------------------------------------------ --------------------------------------------------------------------- The ssh-4.10.8 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17173 Application(s): ssh Related Id(s): ERIERL-581 Don't timeout slow connection setups and tear-downs. A rare crash risk for the controller is also removed. Full runtime dependencies of ssh-4.10.8: crypto-4.6.4, erts-9.0, kernel-5.3, public_key-1.6.1, stdlib-3.4.1 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- Patch Package: OTP 23.2.5 Git Tag: OTP-23.2.5 Date: 2021-02-16 Trouble Report Id: OTP-17185, OTP-17190, OTP-17191 Seq num: ERIERL-606, ERL-1476, GH-4192 System: OTP Release: 23 Application: erts-11.1.8, ssl-10.2.3, tools-3.4.3 Predecessor: OTP 23.2.4 Check out the git tag OTP-23.2.5, and build a full OTP system including documentation. Apply one or more applications from this build as patches to your installation using the 'otp_patch_apply' tool. For information on install requirements, see descriptions for each application version below. --------------------------------------------------------------------- --- erts-11.1.8 ----------------------------------------------------- --------------------------------------------------------------------- The erts-11.1.8 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17185 Application(s): erts Fixed a bug that could cause some work scheduled for execution on scheduler threads to be delayed until other similar work appeared. Beside delaying various cleanup of internal data structures also the following could be delayed: -- Termination of a distribution controller process -- Disabling of the distribution on a node -- Gathering of memory allocator information using the instrument module -- Enabling, disabling, and gathering of msacc information -- Delivery of 'CHANGE' messages when time offset is monitored -- A call to erlang:cancel_timer() -- A call to erlang:read_timer() -- A call to erlang:statistics(io | garbage_collection | scheduler_wall_time) -- A call to ets:all() -- A call to erlang:memory() -- A call to erlang:system_info({allocator | allocator_sizes, _}) -- A call to erlang:trace_delivered() The bug existed on runtime systems running on all types of hardware except for x86/x86_64. Full runtime dependencies of erts-11.1.8: kernel-7.0, sasl-3.3, stdlib-3.13 --------------------------------------------------------------------- --- ssl-10.2.3 ------------------------------------------------------ --------------------------------------------------------------------- The ssl-10.2.3 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17190 Application(s): ssl Related Id(s): ERIERL-606 Avoid race when the first two upgrade server handshakes (that is servers that use a gen_tcp socket as input to ssl:handshake/2,3) start close to each other. Could lead to that one of the handshakes would fail. Full runtime dependencies of ssl-10.2.3: crypto-4.2, erts-10.0, inets-5.10.7, kernel-6.0, public_key-1.8, stdlib-3.12 --------------------------------------------------------------------- --- tools-3.4.3 ----------------------------------------------------- --------------------------------------------------------------------- The tools-3.4.3 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17191 Application(s): tools Related Id(s): ERL-1476, GH-4192, OTP-16922 Correct the Xref analysis undefined_functions to not report internally generated behaviour_info/1. Full runtime dependencies of tools-3.4.3: compiler-5.0, erts-11.0, erts-9.1, kernel-5.4, runtime_tools-1.8.14, stdlib-3.4 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
erlang: fix non-hipe builds Restore some PLIST content state from prior to the 23.2.4 update, which mistakenly moved some hipe-related files that get built universally to the PLIST.hipe list. The "--disable-hipe" option does not impact everything. Build tested with the hipe option both enabled and disabled. This should fix build breakages, e.g., NetBSD/aarch64. (Separately, it's kind of unfortunate that this package uses both PLIST variables and separate PLIST files to segment content driven by options. It should really use one approach or the other consistently, but I haven't touched that here.)
erlang: Update to 23.2.2 I am only committing this to unbreak the package post-autoconf-update. Regardless, changelog for 23.2: https://erlang.org/download/OTP-23.2.README
*: bump PKGREVISION for perl-5.32.
erlang, amavisd, policyd: remove redundant replace-interpreter Since do-configure-pre-hook already depends on replace-interpreter, there is no point in making any other stage depend on that as well. At best, it has no effect. At worst it creates a hard-to-find difference between builds that run "bmake install" directly and builds that split the build into "bmake configure && bmake build && bmake install", as bulk builds do.
erlang*: Update to 22.2.7. Highlights ========== erts: o The Kernel application's User's Guide now contains a Logger Cookbook with common usage patterns. o Numerous improvements in the new socket and net modules Standard libraries: o common_test: ct_property_test logging is improved o ssl: Correct handling of unordered chains so that it works as expected Tools: o Emacs erlang-mode function that lets the user open the documentation for an Erlang/OTP function in an Emacs buffer has been improved. Users will be asked if they want the man pages downloaded if they are not present in the system.
*: Recursive revision bump for openssl 1.1.1.
erlang: Update to 22.1.7 Potential Incompatibilities Mnesia: Transactions with sticky locks could with async_asym transactions be committed in the wrong order, since asym transactions are spawned on the remote nodes. To fix this bug the communication protocol between mnesia nodes had to be updated, thus mnesia will no longer be able to connect to nodes earlier than mnesia-4.14 ,first realeased in OTP-19.0. Stdlib: Debugging of time-outs in gen_statem has been improved. Starting a time-out is now logged in sys:log and sys:trace. Running time-outs are visible in server crash logs, and with sys:get_status. Due to this system events {start_timer, Action, State} and {insert_timout, Event, State} have been added, which may surprise tools that rely on the format of these events. New features: The EventContent of a running time-out can be updated with {TimeoutType, update, NewEventContent}. Running time-outs can be cancelled with {TimeoutType, cancel} which is more readable than using Time = infinity.{rel, Name, Vsn, RelApps, Opts}. Highlights Compiler: erlc can now automatically use a compile server to avoid starting an Erlang system for each file to be compiled in a multi-file project. See the documentation for how to enable it. Standard libraries: SSL: Basic support for TLS 1.3 Client for experimental use. For more information see the Standards Compliance chapter of the User's Guide. crypto: The Message Authentication Codes (MAC) CMAC, HMAC and Poly1305 are unified into common functions in the New Crypto API. See the manual for CRYPTO. cipher_info/1 functions returns maps with information about the hash or cipher in the argument.
lang/erlang: write _VERSIONS variable in a single line In the previous version, pkglint would want to indent the continuation line with a tab. To prevent this, the variable assignment is now printed in its canonical format. Just like humans, pkglint does not read the "do not edit" notice at the top of the file. Maybe it should.
Bump PKGREVISIONs for perl 5.30.0
Use https for erlang.org
erlang: fix minor typo in Makefile
lang/erlang: Update to 21.2.2 --------------------------------------------------------------------- --- erts-10.2.1 ----------------------------------------------------- --------------------------------------------------------------------- Note! The erts-10.2.1 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-15485 Application(s): erts Fixed bug on big endian architectures when changing file permissions or ownership with file:change_mode, change_owner, change_group or write_file_info. Bug exists since OTP-21.0. OTP-15486 Application(s): erts Related Id(s): PR-2061 Fixed bug in atomics with option {signed,false} when returned values are (1 bsl 63) or larger. Could cause heap corruption leading to VM crash or other unpleasant symptoms. Bug exists since OTP-21.2 when module atomics was introduced. OTP-15487 Application(s): erts Related Id(s): ERL-804 Fixed bug in operator band of two negative operands causing erroneous result if the absolute value of one of the operands have the lowest N*W bits as zero and the other absolute value is not larger than N*W bits. N is an integer of 1 or larger and W is 32 or 64 depending on word size. Full runtime dependencies of erts-10.2.1: kernel-6.1, sasl-3.3, stdlib-3.5 --------------------------------------------------------------------- --- ssl-9.1.1 ------------------------------------------------------- --------------------------------------------------------------------- The ssl-9.1.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15489 Application(s): ssl Related Id(s): ERL-308 Fixed renegotiation bug. Client did not handle server initiated renegotiation correctly after rewrite to two connection processes, due to ERL-622 commit d87ac1c55188f5ba5cdf72384125d94d42118c18. This could manifest it self as a " bad_record_mac" alert. Also included are some optimizations Full runtime dependencies of ssl-9.1.1: crypto-4.2, erts-10.0, inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- --- ssh-4.7.3 ------------------------------------------------------- --------------------------------------------------------------------- The ssh-4.7.3 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15397 Application(s): ssh Related Id(s): ERL-801 Fixed port leakage if a ssh:daemon call failed. Full runtime dependencies of ssh-4.7.3: crypto-4.2, erts-6.0, kernel-3.0, public_key-1.5.2, stdlib-3.3 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
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 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
lang/erlang: update to 21.1.1. changes in erlang/OTP 21.1.1: --------------------------------------------------------------------- --- compiler-7.2.6 -------------------------------------------------- --------------------------------------------------------------------- The compiler-7.2.6 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15335 Application(s): compiler Related Id(s): ERL-689, OTP-15219 In rare circumstances, the matched out tail of a binary could be the entire original binary. (There was partial correction to this problem in version 7.2.5 of the compiler application.) Full runtime dependencies of compiler-7.2.6: crypto-3.6, erts-9.0, hipe-3.12, kernel-4.0, stdlib-2.5 --------------------------------------------------------------------- --- eldap-1.2.6 ----------------------------------------------------- --------------------------------------------------------------------- The eldap-1.2.6 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15342 Application(s): eldap Related Id(s): ERIERL-242 A race condition at close could cause the eldap client to exit with a badarg message as cause. Full runtime dependencies of eldap-1.2.6: asn1-3.0, erts-6.0, kernel-3.0, ssl-5.3.4, stdlib-2.0 --------------------------------------------------------------------- --- erts-10.1.1 ----------------------------------------------------- --------------------------------------------------------------------- Note! The erts-10.1.1 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: -- kernel-6.1 (first satisfied in OTP 21.1) --- Fixed Bugs and Malfunctions --- OTP-14297 Application(s): erts Related Id(s): OTP-15141 A bug where the socket option 'pktoptions' caused a read of uninitialized memory has been fixed. Would cause malfunction on FreeBSD. OTP-15318 Application(s): erts Fixed a memory leak on errors when reading files. OTP-15333 Application(s): erts Related Id(s): ERL-737 File access through UNC paths works again on Windows. This regression was introduced in OTP 21. Full runtime dependencies of erts-10.1.1: kernel-6.1, sasl-3.0.1, stdlib-3.5 --------------------------------------------------------------------- --- ssl-9.0.3 ------------------------------------------------------- --------------------------------------------------------------------- The ssl-9.0.3 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15337 Application(s): ssl Related Id(s): ERL-738 Correct alert handling with new TLS sender process, from ssl-9.0.2. CLOSE ALERTS could under some circumstances be encoded using an incorrect cipher state. This would cause the peer to regard them as unknown messages. OTP-15348 Application(s): ssl Related Id(s): ERL-747 Correct handling of socket packet option with new TLS sender process, from ssl-9.0.2. When changing the socket option {packet, 1|2|3|4} with ssl:setopts/2 the option must internally be propagated to the sender process as well as the reader process as this particular option also affects the data to be sent. Full runtime dependencies of ssl-9.0.3: crypto-4.2, erts-10.0, inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- changes in erlang/OTP 21.1: --------------------------------------------------------------------- --- HIGHLIGHTS ------------------------------------------------------ --------------------------------------------------------------------- OTP-15133 Application(s): ssh Related Id(s): OTP-15240 The key exchange methods '[email protected]', 'curve25519-sha256' and 'curve448-sha512' are implemented. The last two are defined in https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves They all depends on that OpenSSL 1.1.1 or higher is used as cryptolib. OTP-15134 Application(s): crypto, public_key The typing in the CRYPTO and PUBLIC_KEY applications are reworked and a few mistakes are corrected. The documentation is now generated from the typing and some clarifications are made. A new chapter on Algorithm Details such as key sizes and availability is added to the CRYPTO User's Guide. OTP-15145 Application(s): erts, kernel Related Id(s): ERIERL-187 The socket options recvtos, recvttl, recvtclass and pktoptions have been implemented in the socket modules. See the documentation for the gen_tcp, gen_udp and inet modules. Note that support for these in the runtime system is platform dependent. Especially for pktoptions which is very Linux specific and obsoleted by the RFCs that defined it. OTP-15209 Application(s): ssh Related Id(s): OTP-15164 The cipher '[email protected]' is now supported if OpenSSL 1.1.1 or higher is used as cryptolib. --------------------------------------------------------------------- --- asn1-5.0.7 ------------------------------------------------------ --------------------------------------------------------------------- The asn1-5.0.7 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-14440 Application(s): asn1 Related Id(s): ERIERL-220 A bug in ASN.1 BER decoding has been fixed. When decoding a recursively enclosed term the length was not propagated to that term decoding, so if the length of the enclosed term was longer than the enclosing that error was not detected. A hard coded C stack limitation for decoding recursive ASN.1 terms has been introduced. This is currently set to 8 kWords giving a nesting depth of about 1000 levels. Deeper terms can not be decoded, which should not be much of a real world limitation. Full runtime dependencies of asn1-5.0.7: erts-7.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- common_test-1.16.1 ---------------------------------------------- --------------------------------------------------------------------- The common_test-1.16.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15307 Application(s): common_test The Logger handler cth_log_redirect earlier called the report callback (report_cb) before calling the logger formatter. In some cases this would fail, since cth_log_redirect could not handle report callbacks with two arguments. This is now corrected, so only the formatter will call the report callback. Full runtime dependencies of common_test-1.16.1: compiler-6.0, crypto-3.6, debugger-4.1, erts-7.0, ftp-1.0.0, inets-6.0, kernel-4.0, observer-2.1, runtime_tools-1.8.16, sasl-2.4.2, snmp-5.1.2, ssh-4.0, stdlib-3.5, syntax_tools-1.7, tools-2.8, xmerl-1.3.8 --------------------------------------------------------------------- --- compiler-7.2.5 -------------------------------------------------- --------------------------------------------------------------------- The compiler-7.2.5 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15186 Application(s): compiler Related Id(s): ERL-665 Fixed a bug that prevented certain variable-sized binary comprehensions from compiling. OTP-15188 Application(s): compiler Related Id(s): ERL-658 When compiling from Core Erlang, funs created in certain expressions that were only used for their side-effects were subtly broken. OTP-15218 Application(s): compiler Related Id(s): ERL-684 There could be an internal consistency failure when a receive was nested in a try/catch. OTP-15219 Application(s): compiler Related Id(s): ERL-689 In rare circumstances, the matched out tail of a binary could be the entire original binary. OTP-15227 Application(s): compiler Related Id(s): ERL-699 When is_map_key/2 was used in a guard together with the not/1 or or/2 operators, the error behavior could be wrong when is_map_key/2 was passed a non-map as the second argument. In rare circumstances, compiling code that uses is_map_key/2 could cause an internal consistency check failure. OTP-15235 Application(s): compiler Related Id(s): ERL-703 The compiler could crash when compiling a function with multiple receives in multiple clauses. Full runtime dependencies of compiler-7.2.5: crypto-3.6, erts-9.0, hipe-3.12, kernel-4.0, stdlib-2.5 --------------------------------------------------------------------- --- crypto-4.3.3 ---------------------------------------------------- --------------------------------------------------------------------- The crypto-4.3.3 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15212 Application(s): crypto Related Id(s): ERL-675, PR1899, PR838 The RSA options rsa_mgf1_md, rsa_oaep_md, and rsa_oaep_label were always disabled. They will now be enabled when a suitable cryptolib is used. They are still experimental and may change without prior notice. OTP-15283 Application(s): crypto The ciphers aes_ige256 and blowfish_cbc had naming issues in crypto:next_iv/2. OTP-15303 Application(s): crypto the RSA_SSLV23_PADDING is disabled if LibreSSL is used as cryptlib. This is due to compilation problems. This will be investigated further in the future. --- Improvements and New Features --- OTP-14717 Application(s): crypto Related Id(s): OTP-15244 The supported named elliptic curves are now reported in crypto:supports/0 in a new entry tagged by 'curves'. The function crypto:ec_curves/0 is kept for compatibility. OTP-15134 Application(s): crypto, public_key *** HIGHLIGHT *** The typing in the CRYPTO and PUBLIC_KEY applications are reworked and a few mistakes are corrected. The documentation is now generated from the typing and some clarifications are made. A new chapter on Algorithm Details such as key sizes and availability is added to the CRYPTO User's Guide. OTP-15153 Application(s): crypto Support for SHA3 both as a separate hash and in HMAC is now available if OpenSSL 1.1.1 or higher is used as cryptolib. Available lengths are reported in the 'hashs' entry in crypto:supports/0 as sha3_*. OTP-15164 Application(s): crypto Related Id(s): OTP-15209 The mac algorithm poly1305 and the cipher algorithm chacha20 are now supported if OpenSSL 1.1.1 or higher is used as cryptolib. OTP-15240 Application(s): crypto Related Id(s): OTP-15133 The key exchange Edward curves x25519 and x448 are now supported if OpenSSL 1.1.1 or higher is used as cryptolib. OTP-15260 Application(s): crypto The supported RSA options for sign/verify and encrypt/decrypt are now reported in crypto:supports/0 in a new entry tagged by 'rsa_opts'. The exakt set is still experimental and may change without prior notice. OTP-15286 Application(s): crypto The cipher aes_ccm is added. Full runtime dependencies of crypto-4.3.3: erts-9.0, kernel-5.3, stdlib-3.4 --------------------------------------------------------------------- --- debugger-4.2.6 -------------------------------------------------- --------------------------------------------------------------------- The debugger-4.2.6 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of debugger-4.2.6: compiler-5.0, erts-9.0, kernel-5.3, stdlib-3.4, wx-1.2 --------------------------------------------------------------------- --- dialyzer-3.3.1 -------------------------------------------------- --------------------------------------------------------------------- The dialyzer-3.3.1 application can be applied independently of other applications on a full OTP 21 installation. --- Improvements and New Features --- OTP-15268 Application(s): dialyzer Related Id(s): ERL-680 Optimize Dialyzer's handling of left-associative use of andalso and orelse in guards. Full runtime dependencies of dialyzer-3.3.1: compiler-7.0, erts-9.0, hipe-3.16.1, kernel-5.3, stdlib-3.4, syntax_tools-2.0, wx-1.2 --------------------------------------------------------------------- --- diameter-2.1.6 -------------------------------------------------- --------------------------------------------------------------------- The diameter-2.1.6 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15198 Application(s): diameter Related Id(s): ERIERL-213 Fix function_clause when sending an outgoing request after DPA has been sent in response to an incoming DPR. The caused the diameter_peer_fsm gen_server associated with the peer connection to fail, which could then result in the transport connection being reset before the peer closed it upon reception of DPA. Full runtime dependencies of diameter-2.1.6: erts-10.0, kernel-3.2, ssl-9.0, stdlib-2.4 --------------------------------------------------------------------- --- edoc-0.9.4 ------------------------------------------------------ --------------------------------------------------------------------- The edoc-0.9.4 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of edoc-0.9.4: erts-6.0, inets-5.10, kernel-3.0, stdlib-2.5, syntax_tools-1.6.14, xmerl-1.3.7 --------------------------------------------------------------------- --- eldap-1.2.5 ----------------------------------------------------- --------------------------------------------------------------------- The eldap-1.2.5 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of eldap-1.2.5: asn1-3.0, erts-6.0, kernel-3.0, ssl-5.3.4, stdlib-2.0 --------------------------------------------------------------------- --- erl_docgen-0.8.1 ------------------------------------------------ --------------------------------------------------------------------- The erl_docgen-0.8.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-14406 Application(s): erl_docgen Indexing for the online search function has been corrected for CREF documents. Full runtime dependencies of erl_docgen-0.8.1: edoc-0.7.13, erts-9.0, stdlib-3.4, xmerl-1.3.7 --------------------------------------------------------------------- --- erl_interface-3.10.4 -------------------------------------------- --------------------------------------------------------------------- The erl_interface-3.10.4 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15161 Application(s): erl_interface Related Id(s): ERIERL-191 Make ei_connect and friends also accept state ok_simultaneous during handshake, which means the other node has initiated a connection setup that will be cancelled in favor of this connection. OTP-15171 Application(s): erl_interface Fixed bug in ei_receive_msg, ei_xreceive_msg, ei_receive_msg_tmo and ei_xreceive_msg_tmo. The x->index was set to entire buffer size instead of the number of bytes actually received. OTP-15191 Application(s): erl_interface Fixed bug in ei_connect_init which could be provoked if called by concurrent threads. ei_connect_init called posix interface gethostbyname which is documented as not thread safe. OTP-15277 Application(s): erl_interface Related Id(s): PR-1929 Fixed bug in erl_compare_ext() ignoring the tail of lists of otherwise equal content. Example: [a | b] and [a | c] compared equal and {[a], b} and {[a], c} compared equal. --------------------------------------------------------------------- --- erts-10.1 ------------------------------------------------------- --------------------------------------------------------------------- Note! The erts-10.1 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: -- kernel-6.1 (first satisfied in OTP 21.1) --- Fixed Bugs and Malfunctions --- OTP-15038 Application(s): erts Related Id(s): ERL-602 Fix the seq_trace token to not be cleared when a process receives messages sent by erts. Some examples of when this could happen is all port BIFs, i.e. open_port, port_command etc etc. Fix so that messages sent by nifs can be traced using normal and seq_trace tracing. OTP-15180 Application(s): erts Related Id(s): ERL-648 Fixed specs and documentation for process_info item monitored_by to include port identifiers and nif resources as possible types. OTP-15181 Application(s): erts Fix bug in generation of erl_crash.dump, which could cause VM to crash. Bug exist since erts-9.2 (OTP-20.2). OTP-15205 Application(s): erts Fix bug where ctrl-break or ctrl-c would not trigger the break mode properly on Windows. This bug was introduced in erts-10.0 (OTP-21). OTP-15206 Application(s): erts Fix a performance bug for reception of UDP packages, where a memory buffer would be reallocated when it should not have been. Introduce a limit on the maximum automatic increase of the UDP user-space buffer to the theoretical max of the network PATH, i.e. 65535. OTP-15208 Application(s): erts Related Id(s): ERL-677, PR-1897 Fix alignment of erts allocator state internally in erts. With the improper alignment the emulator would refuse to start when compiled with clang on 32-bit systems. OTP-15210 Application(s): erts Fix bug where too many concurrent calls to erlang:open_port({spawn,"cmd"},...) would result in the emulator terminating with the reason "Failed to write to erl_child_setup: ". After this fix the open_port call will throw an emfile exception instead. OTP-15217 Application(s): erts Upgraded the ERTS internal PCRE library from version 8.41 to version 8.42. See http://pcre.org/original/changelog.txt for information about changes made to PCRE. This library implements major parts of the re regular expressions module. OTP-15236 Application(s): erts Related Id(s): ERL-692 Fix open_port({fd,X,Y}, ...) to release the file descriptors from the pollset when closing the port. Without this fix the same file descriptor number could not be reused when doing multiple open_port and port_close sequences. OTP-15276 Application(s): erts Related Id(s): PR-1920 Fixed bug in float_to_list/2 and float_to_binary/2 with options [{decimals,0},compact] causing totally wrong results. Bug exists since OTP-21.0. OTP-15278 Application(s): erts Fixed bug in erlang:memory causing ets to report too much. This small false memory leak (16 bytes each time) can only happen when a specific race condition occurs between scheduler threads on a table with option write_concurrency. OTP-15282 Application(s): erts Minor configure test fixes OTP-15297 Application(s): erts, kernel Related Id(s): OTP-15279, OTP-15280 Improved robustness of distribution connection setup. In OTP-21.0 a truly asynchronous connection setup was introduced. This is further improvement on that work to make the emulator more robust and also be able to recover in cases when involved Erlang processes misbehave. --- Improvements and New Features --- OTP-15145 Application(s): erts, kernel Related Id(s): ERIERL-187 *** HIGHLIGHT *** The socket options recvtos, recvttl, recvtclass and pktoptions have been implemented in the socket modules. See the documentation for the gen_tcp, gen_udp and inet modules. Note that support for these in the runtime system is platform dependent. Especially for pktoptions which is very Linux specific and obsoleted by the RFCs that defined it. Full runtime dependencies of erts-10.1: kernel-6.1, sasl-3.0.1, stdlib-3.5 --------------------------------------------------------------------- --- et-1.6.3 -------------------------------------------------------- --------------------------------------------------------------------- The et-1.6.3 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of et-1.6.3: erts-9.0, kernel-5.3, runtime_tools-1.10, stdlib-3.4, wx-1.2 --------------------------------------------------------------------- --- eunit-2.3.7 ----------------------------------------------------- --------------------------------------------------------------------- The eunit-2.3.7 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of eunit-2.3.7: erts-9.0, kernel-5.3, stdlib-3.4 --------------------------------------------------------------------- --- ftp-1.0.1 ------------------------------------------------------- --------------------------------------------------------------------- The ftp-1.0.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of ftp-1.0.1: erts-7.0, kernel-6.0, stdlib-3.5 --------------------------------------------------------------------- --- hipe-3.18.1 ----------------------------------------------------- --------------------------------------------------------------------- The hipe-3.18.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of hipe-3.18.1: compiler-5.0, erts-9.3, kernel-5.3, stdlib-3.4, syntax_tools-1.6.14 --------------------------------------------------------------------- --- inets-7.0.2 ----------------------------------------------------- --------------------------------------------------------------------- The inets-7.0.2 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15192 Application(s): inets Enhance error handling, that is mod_get will return 403 if a path is a directory and not a file. OTP-15241 Application(s): inets Do not use chunked-encoding with 1xx, 204 and 304 responses when using mod_esi. Old behavior was not compliant with HTTP/1.1 RFC and could cause clients to hang when they received 1xx, 204 or 304 responses that included an empty chunked-encoded body. OTP-15242 Application(s): inets Add robust handling of chunked-encoded HTTP responses with an empty body (1xx, 204, 304). Old behavior could cause the client to hang when connecting to a faulty server implementation. Full runtime dependencies of inets-7.0.2: erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5 --------------------------------------------------------------------- --- jinterface-1.9.1 ------------------------------------------------ --------------------------------------------------------------------- The jinterface-1.9.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. --------------------------------------------------------------------- --- kernel-6.1 ------------------------------------------------------ --------------------------------------------------------------------- Note! The kernel-6.1 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-15143 Application(s): kernel The values all and none are documented as valid value for the Kernel configuration parameter logger_level, but would cause a crash during node start. This is now corrected. OTP-15162 Application(s): kernel Related Id(s): ERIERL-191 Fix some potential buggy behavior in how ticks are sent on inter node distribution connections. Tick is now sent to c-node even if there are unsent buffered data, as c-nodes need ticks in order to send reply ticks. The amount of sent data was also calculated wrongly when ticks were suppressed due to unsent buffered data. OTP-15170 Application(s): kernel Non semantic change in dist_util.erl to silence dialyzer warning. OTP-15182 Application(s): kernel Related Id(s): ERL-643 Fixed net_kernel:connect_node(node()) to return true (and do nothing) as it always has before OTP-21.0. Also documented this successful "self connect" as the expected behavior. OTP-15228 Application(s): kernel The single_line option on logger_formatter would in some cases add an unwanted comma after the association arrows in a map. This is now corrected. OTP-15297 Application(s): erts, kernel Related Id(s): OTP-15279, OTP-15280 Improved robustness of distribution connection setup. In OTP-21.0 a truly asynchronous connection setup was introduced. This is further improvement on that work to make the emulator more robust and also be able to recover in cases when involved Erlang processes misbehave. --- Improvements and New Features --- OTP-15132 Application(s): kernel A new macro, ?LOG(Level,...), is added. This is equivalent to the existing ?LOG_<LEVEL>(...) macros. A new variant of Logger report callback is added, which takes an extra argument containing options for size limiting and line breaks. Module proc_lib in STDLIB uses this for crash reports. Logger configuration is now checked a bit more for errors. OTP-15145 Application(s): erts, kernel Related Id(s): ERIERL-187 *** HIGHLIGHT *** The socket options recvtos, recvttl, recvtclass and pktoptions have been implemented in the socket modules. See the documentation for the gen_tcp, gen_udp and inet modules. Note that support for these in the runtime system is platform dependent. Especially for pktoptions which is very Linux specific and obsoleted by the RFCs that defined it. OTP-15146 Application(s): kernel Add logger:set_application_level/2 for setting the logger level of all modules in one application. Full runtime dependencies of kernel-6.1: erts-10.1, sasl-3.0, stdlib-3.5 --------------------------------------------------------------------- --- megaco-3.18.4 --------------------------------------------------- --------------------------------------------------------------------- The megaco-3.18.4 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of megaco-3.18.4: asn1-3.0, debugger-4.0, erts-7.0, et-1.5, kernel-3.0, runtime_tools-1.8.14, stdlib-2.5 --------------------------------------------------------------------- --- mnesia-4.15.5 --------------------------------------------------- --------------------------------------------------------------------- The mnesia-4.15.5 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15201 Application(s): mnesia Related Id(s): PR-1881 Fixed type spec for mnesia:change_config/2. OTP-15221 Application(s): mnesia Related Id(s): ERIERL-217 When master node is set do not force a load from ram_copies replica when there are no available disc_copies, since that would load an empty table. Wait until a disk replica is available or until user explicitly force_loads the table. OTP-15226 Application(s): mnesia Related Id(s): ERIERL-221 Allow to add replicas even if all other replicas are down when the other replicas are not stored on disk. OTP-15231 Application(s): mnesia Related Id(s): PR-1858 Fixed mnesia:delete_object/1 bug, where delete_object was deleting the record if it was written in the same transaction even if it was written to a different value. OTP-15243 Application(s): mnesia Fixed a bug where the bag table index data was not deleted when objects were deleted. Full runtime dependencies of mnesia-4.15.5: erts-9.0, kernel-5.3, stdlib-3.4 --------------------------------------------------------------------- --- observer-2.8.1 -------------------------------------------------- --------------------------------------------------------------------- The observer-2.8.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of observer-2.8.1: erts-7.0, et-1.5, kernel-3.0, runtime_tools-1.8.14, stdlib-3.5, wx-1.2 --------------------------------------------------------------------- --- odbc-2.12.2 ----------------------------------------------------- --------------------------------------------------------------------- The odbc-2.12.2 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of odbc-2.12.2: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- os_mon-2.4.6 ---------------------------------------------------- --------------------------------------------------------------------- The os_mon-2.4.6 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of os_mon-2.4.6: erts-6.0, kernel-3.0, mnesia-4.12, otp_mibs-1.0.9, sasl-2.4, snmp-4.25.1, stdlib-2.0 --------------------------------------------------------------------- --- otp_mibs-1.2.1 -------------------------------------------------- --------------------------------------------------------------------- The otp_mibs-1.2.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of otp_mibs-1.2.1: erts-6.0, kernel-3.0, mnesia-4.12, snmp-4.25.1, stdlib-2.0 --------------------------------------------------------------------- --- parsetools-2.1.8 ------------------------------------------------ --------------------------------------------------------------------- The parsetools-2.1.8 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of parsetools-2.1.8: erts-6.0, kernel-3.0, stdlib-2.5 --------------------------------------------------------------------- --- public_key-1.6.2 ------------------------------------------------ --------------------------------------------------------------------- The public_key-1.6.2 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15284 Application(s): public_key Removed #DSAPrivateKey{} as acceptable input to public_key:verify/5. --- Improvements and New Features --- OTP-15134 Application(s): crypto, public_key *** HIGHLIGHT *** The typing in the CRYPTO and PUBLIC_KEY applications are reworked and a few mistakes are corrected. The documentation is now generated from the typing and some clarifications are made. A new chapter on Algorithm Details such as key sizes and availability is added to the CRYPTO User's Guide. Full runtime dependencies of public_key-1.6.2: asn1-3.0, crypto-3.8, erts-6.0, kernel-3.0, stdlib-3.5 --------------------------------------------------------------------- --- reltool-0.7.7 --------------------------------------------------- --------------------------------------------------------------------- The reltool-0.7.7 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of reltool-0.7.7: erts-7.0, kernel-3.0, sasl-2.4, stdlib-3.4, tools-2.6.14, wx-1.2 --------------------------------------------------------------------- --- runtime_tools-1.13.1 -------------------------------------------- --------------------------------------------------------------------- The runtime_tools-1.13.1 application can be applied independently of other applications on a full OTP 21 installation. --- Improvements and New Features --- OTP-15163 Application(s): runtime_tools Related Id(s): PR-1844 Optimize observer by using new system_info(ets_count) instead of more expensive length(ets:all()). Full runtime dependencies of runtime_tools-1.13.1: erts-8.0, kernel-5.0, mnesia-4.12, stdlib-3.0 --------------------------------------------------------------------- --- sasl-3.2.1 ------------------------------------------------------ --------------------------------------------------------------------- The sasl-3.2.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of sasl-3.2.1: erts-9.0, kernel-5.3, stdlib-3.4, tools-2.6.14 --------------------------------------------------------------------- --- snmp-5.2.12 ----------------------------------------------------- --------------------------------------------------------------------- The snmp-5.2.12 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15287 Application(s): snmp Related Id(s): ERIERL-206 Conversion of (agent) Audit Trail Log (ATL) failed due to invalid log entries. The conversion aborted completely midway because the ATL contained invalid entries. The conversion has been improved so that it now firstly handles encountered errors and write an informative message (into the converted stream) and secondly keeps count of the number of successful or failed entry conversions. See log_to_txt for more info. The reason the ATL contained invalid entries have also been fixed. The reason was that for some outgoing messages (not response): -- encrypted (v3 messages) Was logged "as is" (encrypted) without the info to decrypt, making conversion impossible (which was the reason the log contained bad entries). -- un-encrypted Was not logged at all. OTP-15290 Application(s): snmp [compiler] Spurious version message removed. The snmp mib compiler printed an spurious version message if the 'version' option was provided. Full runtime dependencies of snmp-5.2.12: crypto-3.3, erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5 --------------------------------------------------------------------- --- ssh-4.7.1 ------------------------------------------------------- --------------------------------------------------------------------- The ssh-4.7.1 application can be applied independently of other applications on a full OTP 21 installation. --- Improvements and New Features --- OTP-15020 Application(s): ssh Extended the undocumented ssh_dbg debug module with an api for a circular trace buffer. This makes it easy to record the last low-level events before an error is detected. It is intended for solving difficult errors. OTP-15133 Application(s): ssh Related Id(s): OTP-15240 *** HIGHLIGHT *** The key exchange methods '[email protected]', 'curve25519-sha256' and 'curve448-sha512' are implemented. The last two are defined in https://tools.ietf.org/html/draft-ietf-curdle-ssh-curves They all depends on that OpenSSL 1.1.1 or higher is used as cryptolib. OTP-15209 Application(s): ssh Related Id(s): OTP-15164 *** HIGHLIGHT *** The cipher '[email protected]' is now supported if OpenSSL 1.1.1 or higher is used as cryptolib. Full runtime dependencies of ssh-4.7.1: crypto-4.2, erts-6.0, kernel-3.0, public_key-1.5.2, stdlib-3.3 --------------------------------------------------------------------- --- ssl-9.0.2 ------------------------------------------------------- --------------------------------------------------------------------- The ssl-9.0.2 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15122 Application(s): ssl Use separate processes for sending and receiving application data for TLS connections to avoid potential deadlock that was most likely to occur when using TLS for Erlang distribution. Note does not change the API. OTP-15168 Application(s): ssl Correct handling of empty server SNI extension OTP-15172 Application(s): ssl Correct PSK cipher suite handling and add selected_cipher_suite to connection information OTP-15173 Application(s): ssl Adopt to the fact that cipher suite sign restriction are relaxed in TLS-1.2 OTP-15174 Application(s): ssl Enhance error handling of non existing PEM files OTP-15216 Application(s): ssl Correct close handling of transport accepted sockets in the error state OTP-15224 Application(s): ssl Correct PEM cache to not add references to empty entries when PEM file does not exist. OTP-15285 Application(s): ssl Correct handling of all PSK cipher suites Before only some PSK suites would be correctly negotiated and most PSK ciphers suites would fail the connection. --- Improvements and New Features --- OTP-12983 Application(s): ssl TLS will now try to order certificate chains if they appear to be unordered. That is prior to TLS 1.3, тАЬcertificate_listтАЭ ordering was required to be strict, however some implementations already allowed for some flexibility. For maximum compatibility, all implementations SHOULD be prepared to handle potentially extraneous certificates and arbitrary orderings from any TLS version. OTP-15060 Application(s): ssl TLS will now try to reconstructed an incomplete certificate chains from its local CA-database and use that data for the certificate path validation. This especially makes sense for partial chains as then the peer might not send an intermediate CA as it is considered the trusted root in that case. OTP-15193 Application(s): ssl Option keyfile defaults to certfile and should be trumped with key. This failed for engine keys. OTP-15234 Application(s): ssl Error message improvement when own certificate has decoding issues, see also issue ERL-668. OTP-15281 Application(s): ssl Correct dialyzer spec for key option Full runtime dependencies of ssl-9.0.2: crypto-4.2, erts-10.0, inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5 --------------------------------------------------------------------- --- stdlib-3.6 ------------------------------------------------------ --------------------------------------------------------------------- The stdlib-3.6 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15252 Application(s): stdlib Related Id(s): ERL-667 The specs of filename:basedir/2,3 are corrected. --- Improvements and New Features --- OTP-15253 Application(s): stdlib Related Id(s): ERL-55, OTP-13229 Let dets:open_file() exit with a badarg message if given a raw file name (a binary). OTP-15304 Application(s): stdlib The Format argument of the formatting functions in modules io and io_lib is accepted even if it is, for example, a list of binaries. This is how it used to be before Erlang/OTP 21.0. Full runtime dependencies of stdlib-3.6: compiler-5.0, crypto-3.3, erts-10.0, kernel-6.0, sasl-3.0 --------------------------------------------------------------------- --- syntax_tools-2.1.6 ---------------------------------------------- --------------------------------------------------------------------- The syntax_tools-2.1.6 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15207 Application(s): syntax_tools Related Id(s): PR-1888 Fix the TypeName type in erl_syntax_lib. OTP-15291 Application(s): syntax_tools Related Id(s): ERL-719 Correct unfolding of the stacktrace variable. OTP-15294 Application(s): syntax_tools Correct erl_syntax:revert/1 bug regarding the types map() and tuple(). --- Improvements and New Features --- OTP-15165 Application(s): syntax_tools Related Id(s): PR-1842 Support bitstrings as literals in module erl_syntax. Full runtime dependencies of syntax_tools-2.1.6: compiler-7.0, erts-9.0, kernel-5.0, stdlib-3.4 --------------------------------------------------------------------- --- tftp-1.0.1 ------------------------------------------------------ --------------------------------------------------------------------- The tftp-1.0.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of tftp-1.0.1: kernel-6.0, stdlib-3.5 --------------------------------------------------------------------- --- tools-3.0.1 ----------------------------------------------------- --------------------------------------------------------------------- The tools-3.0.1 application can be applied independently of other applications on a full OTP 21 installation. --- Improvements and New Features --- OTP-15213 Application(s): tools Related Id(s): PR-1807 The HTML pages generated by cover:analyse_to_file/1 and related functions is improved for readability. OTP-15239 Application(s): tools Related Id(s): PR-1728 Add alignment functionality in emacs. Full runtime dependencies of tools-3.0.1: compiler-5.0, erts-9.1, kernel-5.4, runtime_tools-1.8.14, stdlib-3.4 --------------------------------------------------------------------- --- wx-1.8.5 -------------------------------------------------------- --------------------------------------------------------------------- The wx-1.8.5 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15230 Application(s): wx Related Id(s): PR-1860 Fixed compilation warning on Darwin. Full runtime dependencies of wx-1.8.5: erts-6.0, kernel-3.0, stdlib-2.0 --------------------------------------------------------------------- --- xmerl-1.3.18 ---------------------------------------------------- --------------------------------------------------------------------- The xmerl-1.3.18 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15190 Application(s): debugger, edoc, eldap, et, eunit, ftp, hipe, jinterface, megaco, observer, odbc, os_mon, otp_mibs, parsetools, reltool, sasl, tftp, xmerl Improved documentation. Full runtime dependencies of xmerl-1.3.18: erts-6.0, kernel-3.0, stdlib-2.5 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
erlang: bump PKGREVISION for previous. This builds fine, but failed at runtime!
Update to 21.0.9. From the release announcements: --- POTENTIAL INCOMPATIBILITIES ------------------------------------- OTP-15225 Application(s): erts Fixed a bug causing some Erlang references to be inconsistently ordered. This could for example cause failure to look up certain elements with references as keys in search data structures. This bug was introduced in R13B02. Thanks to Simon Cornish for finding the bug and supplying a fix. --- compiler-7.2.4 -------------------------------------------------- --- Fixed Bugs and Malfunctions --- OTP-15292 Application(s): compiler Fix a regression in OTP-15204 that removed .beam file metadata that some external build tools relied on. OTP-15204 Application(s): compiler Related Id(s): ERL-679 Fixed an issue where files compiled with the +deterministic option differed if they were compiled in a different directory but were otherwise identical. OTP-15156 Application(s): compiler Related Id(s): ERL-655 In rare cases involving matching of binary literal strings, the compiler could optimize away code that should be executed. OTP-15157 Application(s): compiler There could be an internal consistency check failure when compiling code that called map_get(Key, Map) and then updated the same map. OTP-15166 Application(s): compiler Related Id(s): ERL-660 In rare circumstances, the compiler could crash in beam_jump when compiling a floating point operation. OTP-15150 Application(s): compiler Related Id(s): ERL-650 The compiler could could crash when compiling a complicated function that used the binary syntax. Full runtime dependencies of compiler-7.2.4: crypto-3.6, erts-9.0, hipe-3.12, kernel-4.0, stdlib-2.5 --- erts-10.0.8 ----------------------------------------------------- --- Fixed Bugs and Malfunctions --- OTP-15289 Application(s): erts Related Id(s): ERIERL-235, ERL-576, OTP-14943 As of ERTS version 10.0 (OTP 21.0) the erl_child_setup program, which creates port programs, ignores TERM signals. This setting was unintentionally inherited by port programs. Handling of TERM signals in port programs has now been restored to the default behavior. That is, terminate the process. OTP-15296 Application(s): erts Related Id(s): ERIERL-226, OTP-15279 The fix made for OTP-15279 in erts-10.07 (OTP-21.0.8) was not complete. It could cause a new connection attempt to be incorrectly aborted in certain cases. This fix will amend that flaw. OTP-15275 Application(s): erts Related Id(s): PR-1943 A process could get stuck in an infinite rescheduling loop between normal and dirty schedulers. This bug was introduced in ERTS version 10.0. Thanks to Maxim Fedorov for finding and fixing this issue. OTP-15279 Application(s): erts Related Id(s): ERIERL-226 Garbage collection of a distribution entry could cause an emulator crash if net_kernel had not brought previous connection attempts on it down properly. OTP-15237 Application(s): erts A race between termination of a process and resume of the same process via erlang:resume_process/1 could cause the VM to crash. This bug was introduced in erts version 10.0 (OTP 21.0). OTP-15269 Application(s): erts Related Id(s): ERL-713 When tracing on running, in trace events could be lost when a process was rescheduled between a dirty and a normal scheduler. OTP-15223 Application(s): erts Fixed a bug which caused an emulator crash when enif_send() was called by a NIF that executed on a dirty scheduler. The bug was either triggered when the NIF called enif_send() without a message environment, or when the process executing the NIF was send traced. OTP-15225 Application(s): erts *** POTENTIAL INCOMPATIBILITY *** Fixed a bug causing some Erlang references to be inconsistently ordered. This could for example cause failure to look up certain elements with references as keys in search data structures. This bug was introduced in R13B02. Thanks to Simon Cornish for finding the bug and supplying a fix. OTP-15169 Application(s): erts Fixed a bug that prevented the noshell option from working correctly on Mac OS X and BSD. OTP-15184 Application(s): erts Fixed a crash when matching directly against a literal map using a single key that had been saved on the stack. OTP-15196 Application(s): erts Fix node crash when passing a bad time option to file:read_file_info/2. OTP-15154 Application(s): erts Fixed a scheduler bug that caused normal schedulers to run dirty code. OTP-15183 Application(s): erts Related Id(s): ERL-670 Fixed a bug in erlang:trace_info/2 which caused the emulator to crash when a bad argument was passed. The bug was introduced in ERTS version 10.0. OTP-15067 Application(s): erts Related Id(s): ERL-573 Fixed a rare bug that could cause processes to be scheduled after they had been freed. OTP-15158 Application(s): erts Related Id(s): ERL-654 Fixed a race condition in the inet driver that could cause receive to hang when the emulator was compiled with gcc 8. OTP-15147 Application(s): erts Related Id(s): ERL-644 The keys used in os:getenv and os:putenv are case-insensitive again on Windows. Full runtime dependencies of erts-10.0.8: kernel-6.0, sasl-3.0.1, stdlib-3.5 --- kernel-6.0.1 ---------------------------------------------------- --- Fixed Bugs and Malfunctions --- OTP-15280 Application(s): kernel Related Id(s): ERIERL-226, OTP-15279 Fixed bug in net_kernel that could cause an emulator crash if certain connection attempts failed. Bug exists since kernel-6.0 (OTP-21.0). Full runtime dependencies of kernel-6.0.1: erts-10.0, sasl-3.0, stdlib-3.5 --- crypto-4.3.2 ---------------------------------------------------- --- Fixed Bugs and Malfunctions --- OTP-15233 Application(s): crypto Update the crypto engine functions to handle multiple loads of an engine. engine_load/3/4 is updated so it doesn't add the engine ID to OpenSSLs internal list of engines which makes it possible to run the engine_load more than once if it doesn't contain global data. Added ensure_engine_loaded/2/3 which guarantees that the engine just is loaded once and the following calls just returns a reference to it. This is done by add the ID to the internal OpenSSL list and check if it is already registered when the function is called. Added ensure_engine_unloaded/1/2 to unload engines loaded with ensure_engine_loaded. Then some more utility functions are added. engine_add/1, adds the engine to OpenSSL internal list engine_remove/1, remove the engine from OpenSSL internal list engine_get_id/1, fetch the engines id engine_get_name/1, fetch the engine name OTP-15194 Application(s): crypto Related Id(s): ERL-673 Fixed a node crash in crypto:compute_key(ecdh, ...) when passing a wrongly typed Others argument. Full runtime dependencies of crypto-4.3.2: erts-9.0, kernel-5.3, stdlib-3.4 --- public_key-1.6.1 ------------------------------------------------ OTP-15151 Application(s): public_key Related Id(s): OTP-15113 Some of the keylengths in the newly generated moduli file in public_key are not universally supported. This could cause the SSH key exchange diffie-hellman-group-exchange-sha* to fail. Those keylengths are now removed. Full runtime dependencies of public_key-1.6.1: asn1-3.0, crypto-3.8, erts-6.0, kernel-3.0, stdlib-3.5 --- stdlib-3.5.1 ---------------------------------------------------- OTP-15159 Application(s): stdlib Fix a bug that could cause a crash when formatting a list of non-characters using the control sequences p or P and limiting the output with the option chars_limit. Full runtime dependencies of stdlib-3.5.1: compiler-5.0, crypto-3.3, erts-10.0, kernel-6.0, sasl-3.0
Recursive bump for perl5-5.28.0
*: Move SUBST_STAGE from post-patch to pre-configure Performing substitutions during post-patch breaks tools such as mkpatches, making it very difficult to regenerate correct patches after making changes, and often leading to substituted string replacements being committed.
lang/erlang*: Update to 21.0 Potential Incompatibilities - All Corba applications are now moved from the OTP repository - A new Corba repository will be created https://github.com/erlang - New applications ftp and tftp, moved from inets - ssl no longer supports 3_DES cipher suites or RSA-key exchange cipher suites by default - Erlang:monitor on a primitive node (erl_interface, jinterface, etc) will no longer fail with badarg exception. Instead a monitor will be created, but it will only supervise the connection to the node. Erts: - Enhanced IO scalability - Support for usage of distribution controller processes for alternative transports, routing etc - compact instructions on 64bit systems for code below 4GB 20% less memory for loaded code - Rewrite of the efile-driver with NIFs and "Dirty schedulers" resulting in faster file operations - non-smp VM removed - link and monitor optimized for scalability - os:getenv/putenv now work on thread-safe emulation. No longer in sync with libc getenv(3). Manual synchronization will be needed. Compiler: - Misc compiler optimizations including contributions from the Elixir team resulting in 10% improvements in benchmarks - "Tuple calls" have been removed from the run-time system. - Code such as f({ok, Val}) -> {ok, Val} is now automatically rewritten to f({ok, Val} = Tuple) -> Tuple. this reduces code size, execution time, and removed GC pressure. - More information in stacktrace from a number of operators - erlang:get_stacktrace/0 deprecated to be replaced with try ... catch C:R:Stacktrace -> ... - Creation of small maps with literal keys optimized. - A new predefined macro OTP_RELEASE and preprocessor directives -if and -elif Security: - DTLS is now supported in the SSL application - Enhanced support for distribution over TLS - "unsecure" ciphers removed from defaults in SSL and SSH. - A new option value defined to facilitate implementing exec servers. Old option kept for compatibility, but now gives errors on stderror. Standard libraries: - New API for logging, logger - New uri_string module for parsing URIs according to "The standard" - New function lists:search(list,fun/1) -> {ok, Value} | false - Changed default behaviour of .erlang loading. escript, erlc, dialyzer and typer no longer load an .erlang at all.
lang/erlang: Avoid RELRO check fail on the megaco driver.
Update lang/erlang* to 20.2. Some highlights: crypto, ssl: - The crypto API is extended to use private/public keys stored in an Engine for sign/verify or encrypt/decrypt operations. - The ssl application provides an API to use this new engine concept in TLS. ssh: - SSH can now fetch the host key from the private keys stored in an Engine. See the crypto application for details about Engines. ssl: - A new command line option -ssl_dist_optfile has been added to facilitate specifying the many options needed when using SSL as the distribution protocol. stdlib: - Improve performance of the new string functionality when handling ASCII characters. Full release notes: http://www.erlang.org/download/otp_src_20.2.readme
lang/erlang: Fix incorrect internal consistency failure for binary matching code. Bump PKGREVISION.
erlang: Compile via CC wrapper to ensure correct flags. Fixes SSP build of crypto_callback library. Bump PKGREVISION.
Fixed pkglint warnings.
Update lang/erlang* to 19.1. Some highlights of the release are: - erts: Improved dirty scheduler support. A purge of a module will - not have to wait for completion of all ongoing dirty NIF calls. - erts: Improved accuracy of timeouts on MacOS X. - kernel: Add net_kernel:setopts/2 and net_kernel:getopts/2 to - control options for distribution sockets in runtime. - asn1: Compiling multiple ASN.1 modules in the same directory with - parallel make (make -j) should now be safe. - httpd: support for PUT and DELETE in mod_esi - ~30 contributions since 19.0 You can find the Release Notes with more detailed info at http://www.erlang.org/download/otp_src_19.1.readme
Use GCC -shared on SunOS. Fixes shared libraries. Bump PKGREVISION.
Update lang/erlang to 19.0 (R19) - compiler, stdlib: - New preprocessor macros ?FUNCTION_NAME, ?FUNCTION_ARITY - New preprocessor directives -error(Term) and -warning(Term) to cause a compilation error or warning, respectively. - gen_statem a new state machine behavior - mnesia_ext: plugin of external storage solutions to mnesia - crypto: uses EVP interface in OpenSSL resulting in generally better performance and support for HW acceleration - ssh: performance improvements, uses the new gen_statem behavior - ssl: enhanced error log messages - dialyzer: the support for maps is very much extended both the type specification syntax and the type analysis. - erts: - erlang:open_port(spawn, ...) 3-5 times faster - tracing, extensive improvements (scalability, speed, match specifications on send/receive, support for lttng, ...) - dirty schedulers improved - per process configurable handling of message_queue - fast loading of multiple modules - max_heap_size process flag - erts/kernel: Experimental support for Unix Domain Sockets Full changelog: http://erlang.org/download/otp_src_19.0.readme
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
Update lang/erlang* to 18.3. Some highlights of the release are: - New statistics info about runnable and active processes & ports. - Time warp improvements: dbg:p/2 and erlang:trace/3 with monotonic_timestamp | strict_monotonic_timestamp. - Introduced a validation callback for heart. - The module overload in sasl has been deprecated. - ~90 contributions since 18.2 Full release notes: http://erlang.org/download/otp_src_18.3.readme
Bump PKGREVISION for security/openssl ABI bump.
Use OPSYSVARS.
Update lang/erlang to 18.1. Some highlights of the release are: - ssl: Add possibility to downgrade an SSL/TLS connection to a tcp connection, and give back the socket control to a user process. - ssh: The following new key exchange algorithms are implemented: 'ecdh-sha2-nistp256', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp521', 'diffie-hellman-group14-sha1', 'diffie-hellman-group-exchange-sha1' and 'diffie-hellman-group-exchange-sha256'. This raises the security level considerably. - kernel,stdlib,sasl: A mechanism for limiting the amount of text that the built-in error logger events will produce has been introduced. It is useful for limiting both the size of log files and the CPU time used to produce them. Full release notes: http://www.erlang.org/download/otp_src_18.1.readme
Now that _STRIPFLAG_INSTALL is disabled by default on Darwin, remove manual settings of INSTALL_UNSTRIPPED=yes for Darwin in individual packages.
Don't strip on Darwin, fails on dyntrace.o, and enable kernel poll. Both patches from Steven Williamson.
Fix forgotten LICENSE change, bump PKGREVISION.
Update erlang to 18.0. - Starting from 18.0 Erlang/OTP is released under the APL 2.0 - erts: The time functionality has been extended. This includes a new API for time, as well as "time warp" modes which alters the behavior when system time changes. You are strongly encouraged to use the new API instead of the old API based on erlang:now/0. erlang:now/0 has been deprecated since it is a scalability bottleneck. - erts: Beside the API changes and time warp modes a lot of scalability and performance improvements regarding time management has been made - erts: The previously introduced "eager check I/O" feature is now enabled by default. - erts/compiler: enhanced support for maps. Big maps new uses a HAMT (Hash Array Mapped Trie) representation internally which makes them more efficient. There is now also support for variables as map keys. - dialyzer: The -dialyzer() attribute can be used for suppressing warnings in a module by specifying functions or warning options. - ssl: Remove default support for SSL-3.0 and added padding check for TLS-1.0 due to the Poodle vulnerability. - ssl: Remove default support for RC4 cipher suites, as they are consider too weak. - stdlib: Allow maps for supervisor flags and child specs - stdlib: New functions in ets: - take/2. Works the same as ets:delete/2 but also returns the deleted object(s). - ets:update_counter/4 with a default object as argument Full changelog: http://www.erlang.org/download/otp_src_18.0.readme
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
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
Recursive revbump from databases/unixodbc.
Fix build with DTrace 1.11 and newer which is more strict about objects with no probes enabled. Bump PKGREVISION.
Pullup ticket #4607 - requested by is lang/erlang: build fix Revisions pulled up: - lang/erlang/Makefile 1.63 --- Module Name: pkgsrc Committed By: is Date: Wed Feb 11 15:11:48 UTC 2015 Modified Files: pkgsrc/lang/erlang: Makefile Log Message: make Erlang compile on netbsd-6*/shark.
make Erlang compile on netbsd-6*/shark.
Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
Import initial SMF support for individual packages.
Recursive PKGREVISION bump for OpenSSL API version bump.
From https://github.com/erlang/otp/pull/46#issuecomment-21719585 "Since b29ecbd (OTP-10418, R15B03) Erlang does not compile anymore with old versions of GCC that do not have atomic ops builtins on platforms where there is no native ethread implementation (e.g. ARM): (...) Please note however that I will be merging this branch as well, which will mean that you have to explicitly tell configure that you intend to use the fallback atomic operations though --disable-native-ethr-impls or --disable-smp-require-native-atomics." Translated: On NetBSD-5.1 (with gcc-4.1.3) the erlang package didn't compile because of > ../include/internal/gcc/ethr_membar.h:49:4: error: > #error "No __sync_val_compare_and_swap" Adding the abovementioned option --disable-native-ethr-impls make the Erlang runtime system use the original (now fallback) code. This should maybe be an pkg option, but for now this has to do.
erlang uses termcap, not curses
Update to Erlang/OTP R16B (designated as 16.1 in pkgsrc). R16B is a major new release of Erlang/OTP. Detailed information on changes can be fetched at http://www.erlang.org/download/otp_src_R16B.readme --- HIGHLIGHTS ---------------------------------------------------------- OTP-7786 == ssh == Added User Guide for the SSH application OTP-9892 == erts == Process optimizations. The most notable: -- New internal process table implementation allowing for both parallel reads as well as writes. Especially read operations have become really cheap. This reduce contention in various situations. For example when, spawning processes, terminating processes, sending messages, etc. -- Optimizations of run queue management reducing contention. -- Optimizations of process state changes reducing contention. These changes imply changes of the characteristics the system. Most notable: changed timing in the system. OTP-9974 == erts == Non-blocking code loading. Earlier when an Erlang module was loaded, all other execution in the VM were halted while the load operation was carried out in single threaded mode. Now modules are loaded without blocking the VM. Processes may continue executing undisturbed in parallel during the entire load operation. The load operation is completed by making the loaded code visible to all processes in a consistent way with one single atomic instruction. Non-blocking code loading will improve realtime characteristics when modules are loaded/upgraded on a running SMP system. OTP-10256 == inets == httpc: The HTTP client now supports HTTPS through proxies OTP-10336 == erts == Major port improvements. The most notable: -- New internal port table implementation allowing for both parallel reads as well as writes. Especially read operations have become really cheap.This reduce contention in various situations. For example when, creating ports, terminating ports, etc. -- Dynamic allocation of port structures. This allow for a much larger maximum amount of ports allowed as a default. The previous default of 1024 has been raised to 65536. Maximum amount of ports can be set using the +Q command line flag of erl(1). The previously used environment variable ERL_MAX_PORTS has been deprecated and scheduled for removal in OTP-R17. -- Major rewrite of scheduling of port tasks. Major benefits of the rewrite are reduced contention on run queue locks, and reduced amount of memory allocation operations needed. The rewrite was also necessary in order to make it possible to schedule signals from processes to ports. -- Improved internal thread progress functionality for easy management of unmanaged threads. This improvement was necessary for the rewrite of the port task scheduling. -- Rewrite of all process to port signal implementations in order to make it possible to schedule those operations. All port operations can now be scheduled which allows for reduced lock contention on the port lock as well as truly asynchronous communication with ports. -- Optimized lookup of port handles from drivers. -- Optimized driver lookup when creating ports. -- Preemptable erlang:ports/0 BIF. -- Improving responsiveness by bumping reductions for a process calling a driver callback directly. These changes imply changes of the characteristics of the system. The most notable: -- Order of signal delivery -- The previous implementation of the VM has delivered signals from processes to ports in a synchronous stricter fashion than required by the language. As of ERTS version 5.10, signals are truly asynchronously delivered. The order of signal delivery still adheres to the requirements of the language, but only to the requirements. That is, some signal sequences that previously always were delivered in one specific order may now from time to time be delivered in different orders. This may cause Erlang programs that have made false assumptions about signal delivery order to fail even though they previously succeeded. For more information about signal ordering guarantees, see the chapter on communication in the ERTS user's guide. The +n command line flag of erl(1) can be helpful when trying to find signaling order bugs in Erlang code that have been exposed by these changes. -- Latency of signals sent from processes to ports -- Signals from processes to ports where previously always delivered immediately. This kept latency for such communication to a minimum, but it could cause lock contention which was very expensive for the system as a whole. In order to keep this latency low also in the future, most signals from processes to ports are by default still delivered immediately as long as no conflicts occur. Such conflicts include not being able to acquire the port lock, but also include other conflicts. When a conflict occur, the signal will be scheduled for delivery at a later time. A scheduled signal delivery may cause a higher latency for this specific communication, but improves the overall performance of the system since it reduce lock contention between schedulers. The default behavior of only scheduling delivery of these signals on conflict can be changed by passing the +spp command line flag to erl(1). The behavior can also be changed on port basis using the parallelism option of the open_port/2 BIF. -- Execution time of the erlang:ports/0 BIF -- Since erlang:ports/0 now can be preempted, the responsiveness of the system as a whole has been improved. A call to erlang:ports/0 may, however, take a much longer time to complete than before. How much longer time heavily depends on the system load. -- Reduction cost of calling driver callbacks -- Calling a driver callback is quite costly. This was previously not reflected in reduction cost at all. Since the reduction cost now has increased, a process performing lots of direct driver calls will be scheduled out more frequently than before. Potential incompatibilities: -- driver_send_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_send_term() with usage of erl_drv_send_term(). -- driver_output_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_output_term() with usage of erl_drv_output_term(). -- The new function erl_drv_busy_msgq_limits() has been added in order to able to control management of port queues. The driver API version has been bumped to 2.1 from 2.0 due to the above changes in the driver API. OTP-10410 == asn1 == The options for the ASN.1 compiler has been drastically simplified. The backend is chosen by using ber, per, or uper. The options optimize, nif, and driver are no longer needed. The old options will still work, but will issue a warning. Another change is that generated encode/2 function will always return a binary (some backends used to return an iolist). OTP-10588 == asn1 == The ASN.1 compiler will now always include necessary run-time functions in the generated Erlang modules (except for asn1rt_nif which is still neeeded). If the option 'inline' is used the ASN.1 compiler will generate a warning. But if '{inline,OutputFile}' is use, the ASN.1 compiler will refuse to compile the file. (Use a .set.asn file if you need to remove the output file.) The 'BIT STRING' type will now be decoded as Erlang bitstrings by default. Use the new legacy_bit_string option to encode as lists of ones and zeroes. (The compact_bit_string option still works as before.) Open types are now always returned as binaries (when there is no information allowing them to be decoded). --- POTENTIAL INCOMPATIBILITIES ----------------------------------------- OTP-9052 == common_test == Removed depricated run_test program, use ct_run instead. OTP-9881 == common_test == It is now possible to let a test specification include other test specifications. Included specs can either be joined with the source spec (and all other joined specs), resulting in one single test run, or they can be executed in separate test runs. Also, a start flag/option, join_specs, has been introduced, to be used in combination with the spec option. With join_specs, Common Test can be told to either join multiple test specifications, or run them separately. Without join_specs, the latter behaviour is default. Note that this is a change compared to earlier versions of Common Test, where specifications could only be joined. More information can be found in the Running Tests chapter in the User's Guide (see the Test Specifications section). OTP-10117 == inviso == The inviso application has been removed. OTP-10170 == erts pman == Tuple funs (deprecated in R15B) are no longer supported. OTP-10195 == edoc == Since EDoc 0.7.7 (R14B02) separate values of union types can be annotated. However, the parser has hitherto chosen not to add the necessary parentheses due to backwards compatibility. From this release on code traversing the output of edoc_parser needs to take care of parentheses around separate values of union types. Examples of such code are layout modules and doclet modules. OTP-10336 == erts == Major port improvements. The most notable: -- New internal port table implementation allowing for both parallel reads as well as writes. Especially read operations have become really cheap.This reduce contention in various situations. For example when, creating ports, terminating ports, etc. -- Dynamic allocation of port structures. This allow for a much larger maximum amount of ports allowed as a default. The previous default of 1024 has been raised to 65536. Maximum amount of ports can be set using the +Q command line flag of erl(1). The previously used environment variable ERL_MAX_PORTS has been deprecated and scheduled for removal in OTP-R17. -- Major rewrite of scheduling of port tasks. Major benefits of the rewrite are reduced contention on run queue locks, and reduced amount of memory allocation operations needed. The rewrite was also necessary in order to make it possible to schedule signals from processes to ports. -- Improved internal thread progress functionality for easy management of unmanaged threads. This improvement was necessary for the rewrite of the port task scheduling. -- Rewrite of all process to port signal implementations in order to make it possible to schedule those operations. All port operations can now be scheduled which allows for reduced lock contention on the port lock as well as truly asynchronous communication with ports. -- Optimized lookup of port handles from drivers. -- Optimized driver lookup when creating ports. -- Preemptable erlang:ports/0 BIF. -- Improving responsiveness by bumping reductions for a process calling a driver callback directly. These changes imply changes of the characteristics of the system. The most notable: -- Order of signal delivery -- The previous implementation of the VM has delivered signals from processes to ports in a synchronous stricter fashion than required by the language. As of ERTS version 5.10, signals are truly asynchronously delivered. The order of signal delivery still adheres to the requirements of the language, but only to the requirements. That is, some signal sequences that previously always were delivered in one specific order may now from time to time be delivered in different orders. This may cause Erlang programs that have made false assumptions about signal delivery order to fail even though they previously succeeded. For more information about signal ordering guarantees, see the chapter on communication in the ERTS user's guide. The +n command line flag of erl(1) can be helpful when trying to find signaling order bugs in Erlang code that have been exposed by these changes. -- Latency of signals sent from processes to ports -- Signals from processes to ports where previously always delivered immediately. This kept latency for such communication to a minimum, but it could cause lock contention which was very expensive for the system as a whole. In order to keep this latency low also in the future, most signals from processes to ports are by default still delivered immediately as long as no conflicts occur. Such conflicts include not being able to acquire the port lock, but also include other conflicts. When a conflict occur, the signal will be scheduled for delivery at a later time. A scheduled signal delivery may cause a higher latency for this specific communication, but improves the overall performance of the system since it reduce lock contention between schedulers. The default behavior of only scheduling delivery of these signals on conflict can be changed by passing the +spp command line flag to erl(1). The behavior can also be changed on port basis using the parallelism option of the open_port/2 BIF. -- Execution time of the erlang:ports/0 BIF -- Since erlang:ports/0 now can be preempted, the responsiveness of the system as a whole has been improved. A call to erlang:ports/0 may, however, take a much longer time to complete than before. How much longer time heavily depends on the system load. -- Reduction cost of calling driver callbacks -- Calling a driver callback is quite costly. This was previously not reflected in reduction cost at all. Since the reduction cost now has increased, a process performing lots of direct driver calls will be scheduled out more frequently than before. Potential incompatibilities: -- driver_send_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_send_term() with usage of erl_drv_send_term(). -- driver_output_term() has been deprecated and has been scheduled for removal in OTP-R17. Replace usage of driver_output_term() with usage of erl_drv_output_term(). -- The new function erl_drv_busy_msgq_limits() has been added in order to able to control management of port queues. The driver API version has been bumped to 2.1 from 2.0 due to the above changes in the driver API. OTP-10410 == asn1 == The options for the ASN.1 compiler has been drastically simplified. The backend is chosen by using ber, per, or uper. The options optimize, nif, and driver are no longer needed. The old options will still work, but will issue a warning. Another change is that generated encode/2 function will always return a binary (some backends used to return an iolist). OTP-10417 == kernel sasl == It is no longer possible to have {Mod,Vsn} in the 'modules' list in a .app file. This was earlier possible, although never documented in the .app file reference manual. It was however visible in the documentation of application:load/[1,2], where the same term as in a .app file can be used as the first argument. The possibility has been removed since the Vsn part was never used. OTP-10451 == ssl == Remove filter mechanisms that made error messages backwards compatible with old ssl but hid information about what actually happened. This does not break the documented API however other reason terms may be returned, so code that matches on the reason part of {error, Reason} may fail. OTP-10490 == stdlib == If a child process fails in its start function, then the error reason was earlier only reported as an error report from the error_handler, and supervisor:start_link would only return {error,shutdown}. This has been changed so the supervisor will now return {error,{shutdown,Reason}}, where Reason identifies the failing child and its error reason. (Thanks to Tomas Pihl) OTP-10523 == tools == A new function, cover:flush(Nodes), is added which will fetch data from remote nodes without stopping cover on those nodes. This is used by test_server and common_test when it is safe to assume that the node will be terminated after the test anyway. The purpose is to avoid processes crashing when re-loading the original beam if the processes is still running old code. Remote nodes will now continue to count code coverage if the connection to the main node is broken. Earlier, a broken connection would cause the cover_server on the remote node to die and thus any still cover compiled modules would cause process crash when trying to insert cover data in ets tables that used to exist on the cover_server. The new functionality also involves synchronization with the main node if the nodes are reconnected. OTP-10588 == asn1 == The ASN.1 compiler will now always include necessary run-time functions in the generated Erlang modules (except for asn1rt_nif which is still neeeded). If the option 'inline' is used the ASN.1 compiler will generate a warning. But if '{inline,OutputFile}' is use, the ASN.1 compiler will refuse to compile the file. (Use a .set.asn file if you need to remove the output file.) The 'BIT STRING' type will now be decoded as Erlang bitstrings by default. Use the new legacy_bit_string option to encode as lists of ones and zeroes. (The compact_bit_string option still works as before.) Open types are now always returned as binaries (when there is no information allowing them to be decoded). OTP-10613 == ssl == Removed deprecated function ssl:pid/0, it has been pointless since R14 but has been keep for backwards compatibility. OTP-10633 == erts == Erlang specification 4.7.3 defines max tuple size to 65535 elements It is now enforced to no more than 16777215 elements (arity 24 bits) Previous edge cases (28 bits) were not validated and could cause undefined behaviour. OTP-10647 == erts == The previous default of a maximum of 32768 simultaneous processes has been raised to 262144. This value can be changed using the the +P command line flag of erl(1). Note that the value passed now is considered as a hint, and that actual value chosen in most cases will be a power of two. OTP-10812 == stdlib == filelib:wildcard("some/relative/path/*.beam", Path) would fail to match any file. That is, filelib:wildcard/2 would not work if the first component of the pattern did not contain any wildcard characters. (A previous attempt to fix the problem in R15B02 seems to have made matters worse.) (Thanks to Samuel Rivas and Tuncer Ayaz.) There is also an incompatible change to the Path argument. It is no longer allowed to be a binary. OTP-10872 == erts == As of ERTS-5.10/OTP-R16A node names passed in the EPMD protocol are required to be encoded in UTF-8. Since EPMD previously accepted latin1 encoded node names this is an incompatibility. However, since Erlang nodes always have required characters in node names to be 7-bit ASCII characters (and still do require this), this incompatibility should not effect anyone using EPMD as an Erlang Port Mapper Daemon.
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
PKGREVISION bumps for the security/openssl 1.0.1d update.
Update to Erlang/OTP R15B03-1 Changes in R15B03-1 After the release of R15B03 a very unfortunate bug in ssl:ssl_accept/2 (accept with timeout) was detected. This bug will have negative impact on a number of popular http servers and server frameworks written in Erlang. The differences from R15B03 are in ssl-5.1.2 and erts-5.9.3.1. Full log at http://www.erlang.org/download/otp_src_R15B03-1.readme Changes in R15B03 Mostly bug fixes and small improvements. Full log at http://www.erlang.org/download/otp_src_R15B03.readme Changes in R15B02 Highlights OTP-8871 == ssl == Experimental support for TLS 1.1 is now available, will be officially supported from OTP-R16. Thanks to Andreas Schultz for implementing the first version. OTP-8872 == ssl == Experimental support for TLS 1.2 is now available, will be officially supported from OTP-R16. Thanks to Andreas Schultz for implementing the first version. OTP-10113 == ssl == Removed some bottlenecks increasing the applications parallelism especially for the client side. Full log at http://www.erlang.org/download/otp_src_R15B02.readme
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update to Erlang/OTP R15B01 Presumably fixes PR pkg/46297 Changes in Erlang/OTP R15B01 Highlights: * Added erlang:statistics(scheduler_wall_time) to ensure correct determination of scheduler utilization. Measuring scheduler utilization is strongly preferred over CPU utilization, since CPU utilization gives very poor indications of actual scheduler/vm usage. * Changed ssh implementation to use the public_key application for all public key handling. This is also a first step for enabling a callback API for supplying public keys and handling keys protected with password phrases. Additionally the test suites where improved so that they do not copy the users keys to test server directories as this is a security liability. Also ipv6 and file access issues found in the process has been fixed. * When an escript ends now all printout to standard output and standard error gets out on the terminal. This bug has been corrected by changing the behaviour of erlang:halt/0,1, which should fix the same problem for other escript-like applications, i.e. that data stored in the output port driver buffers got lost when printing on a TTY and exiting through erlang:halt/0,1. The BIF:s erlang:halt/0,1 has gotten improved semantics and there is a new BIF erlang:halt/2 to accomplish something like the old semantics. See the documentation. * The DTrace source patch from Scott Lystig Fritchie is integrated in the source tree. Using an emulator with dtrace probe is still not supported for production use, but may be a valuable debugging tool. * Added Torbjörn Törnkvists LDAP client as a new application called eldap. * Added options for the ssh client to support user keys files that are password protected. Changes in Erlang/OTP R15B Highlights: * Line number and filename information are now included in exception backtraces. This information will be pretty-printed in the shell and used in crash reports etc. In practice it will be much easier to find where something failed. * The driver interface has been changed to enable 64-bit aware drivers. Most importantly the return types for ErlDrvEntry callbacks 'call' and 'control' has been changed which require drivers to be changed. * New in this release is the support for 64 bit Windows. The self extracting installer can be found here. * CommonTest hooks are now in a final supported version. * There is a new GUI tool in the observer application which integrates pman, etop, appmon and tv into one tool. The tool does also contain functions for activating tracing in an easy way. * The Erlang distribution can now be run over the new SSL implementation. Changes in Erlang/OTP R15A Notable changes: OTP-9468 'Line numbers in exceptions' OTP-9451 'Parallel make' OTP-4779 A new GUI for Observer. Integrating pman, etop and tv into observer with tracing facilities. OTP-7775 A number of memory allocation optimizations have been implemented. Most optimizations reduce contention caused by synchronization between threads during allocation and deallocation of memory. Most notably: Synchronization of memory management in scheduler specific allocator instances has been rewritten to use lock-free synchronization. Synchronization of memory management in scheduler specific pre-allocators has been rewritten to use lock-free synchronization. The 'mseg_alloc' memory segment allocator now use scheduler specific instances instead of one instance. Apart from reducing contention this also ensures that memory allocators always create memory segments on the local NUMA node on a NUMA system. OTP-9632 An ERTS internal, generic, many to one, lock-free queue for communication between threads has been introduced. The many to one scenario is very common in ERTS, so it can be used in a lot of places in the future. Currently it is used by scheduling of certain jobs, and the async thread pool, but more uses are planned for the future. Drivers using the driver_async functionality are not automatically locked to the system anymore, and can be unloaded as any dynamically linked in driver. Scheduling of ready async jobs is now also interleaved in between other jobs. Previously all ready async jobs were performed at once. OTP-9631 The ERTS internal system block functionality has been replaced by new functionality for blocking the system. The old system block functionality had contention issues and complexity issues. The new functionality piggy-backs on thread progress tracking functionality needed by newly introduced lock-free synchronization in the runtime system. When the functionality for blocking the system isn't used, there is more or less no overhead at all. This since the functionality for tracking thread progress is there and needed anyway.
Add PLIST.Linux Bump PKGREVISION
Update erlang to R14B04 This release is mainly a stabilization of the R14B03 release (but as usual there are some new functionality as well). One pkgsrc change: add flex to USE_TOOLS, so that megaco_flex_scanner_drv gets built on all SunOS flavors. Read full announcement at http://www.erlang.org/download/otp_src_R14B04.readme
Update Erlang to R14B03 Highlights: - Initial release of the diameter application. - Strengthened random number generation. - Some fixes for bugs that caused crashes. Read full announcement at http://www.erlang.org/download/otp_src_R14B03.readme
Replace "/usr/bin/env" interpreter to comply with stricter rules.
Update to Erlang/OTP R14B02 Highlights composed by Matthew Sporleder. Changes in R14B02 (http://www.erlang.org/download/otp_src_R14B02.readme) - It is now possible to use Erlang specifications and types in EDoc documentation - All tests in Erlang/OTP have been converted to be run with Common Test as the backend instead of Test Server. - From this release, the previously experimental halfword emulator is now official - Dependency generation for Makefiles has been added to the compiler and erlc - Add a --fullpath option to Dialyzer (include version 2.4.2) - Many fixes in erts - Remove hipe constants pool - Partial support for recursive structs and unions - It is now possible to use SSH to sign and verify binary data. - typer has been rewritten Changes R14B01 (http://www.erlang.org/download/otp_src_R14B01.readme) - New ETS option compressed, to enable a more compact storage format at the expence of heavier table operations - There is now a new function inet:getifaddrs/0 modeled after C library function getifaddrs() on BSD and Linux that reports existing interfaces and their addresses on the host - Multiple crashes and infinite loops fixed - AES CTR encryption support in crypto - erl_call: remove get_hostent - The Erlang VM now supports Unicode filenames - New ETS option compressed Changes in R14B (http://www.erlang.org/download/otp_src_R14B.readme) - Large parts of the ethread library have been rewritten. - The changed API of the ethread library has also caused modifications in the Erlang runtime system. - Some Built In Functions (BIFs) are now autoimported - Added erlang:system_info(build_type) - A number of memory leaks in the crypto NIF library have been fixed - erl_call: fix multiple buffer overflows - NIF 64-bit integer support - Removed some potential vulnerabilities from the Erlang Port Mapper Daemon (epmd) - Replaced the old http client api module (http) with the new, httpc in the users guide. - inet6 improvements - ssh fixes - many ssl improvements/fixes - wx crash fix Changes in R14A (http://www.erlang.org/download/otp_src_R14A.readme) - R14A is a major new release of Erlang/OTP. - The module binary from EEP31 (and EEP9) is implemented - It is now possible for the user to provide specific callback modules that handle test configuration data - New NIF features - Receive statements that can only read out a newly created reference are now specially optimized so that it will execute in constant time regardless of the number of messages in the receive queue for the process. - The run_test script has been replaced by a program (with the same name) which can be executed without explicit installation - eprof has been reimplemented with support in the Erlang virtual machine and is now both faster (i.e. slows down the code being measured less) and scales much better Changes in R13B04 (http://www.erlang.org/download/otp_src_R13B04.readme) - Many documentation and documentation build improvements - cross-compile/build improvements - buffer overflow fix - telnet keep alive fixes - compiler crash on boolean ifs - -Werror for erlc fixed - macro overloading implemented - the crypto module now supports Blowfish - explicit top directories in archive files are now optional - add lock profiling tool: lcnt - httpd methods "PUT" and "DELETE" now allowed + others fixes to resolver routine - compression supported when copying between mnesia nodes
Pullup ticket #3080 - requested by tez lang/erlang: security patch Revisions pulled up: - lang/erlang/Makefile 1.45 - lang/erlang/distinfo 1.22 - lang/erlang/patches/patch-ax 1.1 --- Module Name: pkgsrc Committed By: tez Date: Sat Apr 17 20:10:16 UTC 2010 Modified Files: pkgsrc/lang/erlang: Makefile distinfo Added Files: pkgsrc/lang/erlang/patches: patch-ax Log Message: CVE-2008-2371 pcro buffer overflow fix based on: http://vcs.pcre.org/viewvc/code/trunk/pcre_compile.c?r1=504&r2=505&view=patch
CVE-2008-2371 pcro buffer overflow fix based on: http://vcs.pcre.org/viewvc/code/trunk/pcre_compile.c?r1=504&r2=505&view=patch
Recursive PKGREVISION bump for jpeg update to 8.
Deduplicate, move common code into more appropriate place.
Update to Erlang/OTP R13B03. SunOS, Java and ODBC support by Filip Hajny and some tests by Matthias Kretschmer. Changes in R13B03 ----------------- There are mostly error corrections, but also some new functionality. Some highlights in the R13B03 release are: - Native Implemented Functions (NIFs) still experimental but very useful. - The documentation is built in a new way using xsltproc and Apache FOP. The layout is changed both in HTML and PDF versions. This is the first step, more changes and improvements will come in the following releases. Changes between R13A and R13B02 are unknown. Changes in R13A --------------- 1.1 Erlang Language and Run-time System Multi-core and SMP performance improvements There SMP performance is significantly improved: - multiple, scheduler specific run queues; - further optimized message passing; - CPU-bound scheduler threads. Unicode support as described in EEP10 New BIF's: atom_to_binary/2, binary_to_atom/2, binary_to_existing_atom/2. Independent Erlang clusters on the same host 1.2 New Applications Reltool, release management tool. WxErlang 1.3 New features in Existing Applications Common_test - SSH and SFTP support - test case groups Dialyzer - opaque type declarations; - UTF segments handling SSL - pure Erlang implementation (except crypto routines) STDLIB - scanner has been augmented to return white-space, comments and exact location of tokens.
Add the mirror at the Stockholm University, Sweden as the first master site because the primary master site is painfully slow.
Don't leak the workdir for destdir builds. Patches from OpenBSD ports. Bump revision.
MAKE_JOBS_SAFE=no Reported by Aleksej Saushev.
Force normal linkage against libcrypto. This allows the crypto module to be build on amd64 and avoids text relocations elsewhere. Apply build fix for FreeBSD from PR 38984. Bump revision.
Some pkglint -Wall fixes.
Per the process outlined in revbump(1), perform a recursive revbump on packages that are affected by the switch from the openssl 0.9.7 branch to the 0.9.8 branch. ok jlam@
Full DESTDIR support for erlang packages.
Update erlang, erland-doc and erlang-man to 12.0, aka R12B-0. This builds again on x86_64 platforms, is@ will test further. This release supports new language extensions bitstring and binary comprehensions. Other major changes are listed on <http://www.erlang.org/doc/highlights.html>. See <http://www.erlang.org/download/otp_src_R12B-0.readme> for full detail.
Pullup ticket 2255 - requested by joerg build fix for erlang - pkgsrc/lang/erlang/Makefile 1.33 Module Name: pkgsrc Committed By: joerg Date: Thu Jan 3 15:58:45 UTC 2008 Modified Files: pkgsrc/lang/erlang: Makefile Log Message: Mark as broken on NetBSD/amd64 as configure will spin.
Mark as broken on NetBSD/amd64 as configure will spin.
Make the port program memsup build again. This way, PLIST is correct, so that pkg_sync and pkg_tarup work (on NetBSD-4). memsup.erl/memsup.c still need work to make it actually work on NetBSD.
Revert last change - wrong branch.
Make the memsup port program compile, so that the PLIST ist correct on NetBSD-4 (at least). Else pkg_sync and pkg_tarup won't work.
Fix permission of sample files and remove unused *.bat files. Bump PKGREVISION to nb1.
Fix build on DragonFly. SCTP is detected, but some struct is missing, so disable it for now.
Update erlang to 11.5, aka R11B-5. Pkgsrc changes: * Drop dependency on X11. GS (Graphic System) doesn't use X11 directly, using `wish' command. Wish command will be picked up from PATH, to use GS, install wish command from x11/tk. (closes PR 35373, PR 36418) * FIxed to install crypto library correctly. (closes PR 36616) Changes list is too long. See attached URL for more detail. Bug fix release : otp_src_R11B-5 Build date : 2007-06-12 http://www.erlang.org/download/otp_src_R11B-5.readme Bug fix release : otp_src_R11B-4 Build date : 2007-03-28 http://www.erlang.org/download/otp_src_R11B-4.readme Bug fix release : otp_src_R11B-3 Build date : 2007-01-30 http://www.erlang.org/download/otp_src_R11B-3.readme Bug fix release : otp_src_R11B-2 Build date : 2006-11-07 http://www.erlang.org/download/otp_src_R11B-2.readme Bug fix release : otp_src_R11B-1 Build date : 2006-08-29 http://www.erlang.org/download/otp_src_R11B-1.readme
Use pkgsrc magic for config.guess/.sub overriding. Tested by is@ for ARM.
Update erlang to R10B-10 (10.1.10), a bug fix release for R10B. The ChangeLog is available at <http://www.erlang.org/download/otp_src_R10B-10.readme>.
Move all version info from Makefile and PLIST to Makefile.versions to make updates easier. e.g. PLIST diffs will become much smaller and more readable.
Fix two pkglint warnings: * Please use ${BUILDLINK_PREFIX.openssl:Q} instead of ${BUILDLINK_PREFIX.openssl}. * SUBST_MESSAGE.target should not be quoted.
Point MAINTAINER to [email protected] in the case where no
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
Recursive revision bump / recommended bump for gettext ABI change.
- Update Erlang to R10B-9. (The changes are innumerable, this package hasn't been updated in more than two years.) - Add a buildlink3.mk file. - Make the Java dependency optional, and disable this option by default (this will make erlang build in more bulk builds). Ok by wiz.
Back out my two previous commits -- they were committed on the wrong branch. Sorry.
Update Erlang to R10B-9. The changes are innumerable, this package hasn't been updated in more than two years. Also add a buildlink3.mk file. Ok by wiz.
Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Get rid of USE_PERL5. The new way to express needing the Perl executable around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
Pass openssl location to configure script. From George Michaelson in PR 30607.
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. <pthread.h>, and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed.
Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Make platform target used in the make match that used in the configure. Fixes build problems seen in the bulkbuilds.
This build is broken on NetBSD i386 2.0BETA (it looks for a "i386-unknown-netbsdelf2.0." directory when a "i386--netbsdelf" one is present. Someone who wants to read gmake files is going to have to fix that. That aside, its now equivalemtly broken with bl3 rather than bl2.
PKGREVISION bump after openssl-security-fix-update to 0.9.6m. Buildlink files: RECOMMENDED version changed to current version.
replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
PKGREVISION++ after openssl update.
Back out last change related to moving ncurses/buildlink2.mk to curses.buildlink2.mk. This was wrong because we _really_ do want to express that we want _n_curses when we include the buildlink2.mk file. We should have a better way to say that the NetBSD curses doesn't quite work well enough. In fact, it's far better to depend on ncurses by default, and exceptionally note when it's okay to use NetBSD curses for specific packages. We will look into this again in the future.
move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides support for base system curses/ncurses as well as ncurses itself. suggested by wiz.
This needs a java1.2 implementation
Update to version 9.2. This version is focused on improved performance and stability, rather than introducing new functionality, hence it is called R9C. Build Process NEW The build process has been improved so that it is possible to build Erlang/OTP from source even on Windows platforms. There is also a completely new installation program for Windows. Observer crashdump_viewer NEW A HTML based tool for browsing Erlang crashdumps. The tool can handle crashdumps from OTP R7B, R8B and R9B as well but there is additional information in the crashdumps for R9C. OTP_MIBs NEW The OTP mibs that where included in the SASL application have been moved to this new application otp_mibs. This is a step too create a pure core for Erlang/OTP that does not depend on specific, non-mainstream applications such as SNMP.
COMMENT should start with a capital letter.
s/netbsd.org/NetBSD.org/
Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
Dependency bumps, needed because of devel/pth's major bump, and related dependency bumps.
Initial import of erlang-9.1. Erlang is a programming language which has many features more commonly associated with an operating system than with a programming language: concurrent processes, scheduling, memory management, distribution, networking, etc. The initial open-source Erlang release contains the implementation of Erlang, as well as a large part of Ericsson's middleware for building distributed high-availability systems.
Initial revision