summaryrefslogtreecommitdiff
path: root/lang/erlang
AgeCommit message (Collapse)AuthorFilesLines
2021-10-26lang: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes The following distfiles could not be fetched (possibly fetched conditionally?): ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-gnu.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-linux-musl.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-aarch64-unknown-netbsd.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-armv7-unknown-netbsd-eabihf.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-i686-unknown-linux-gnu.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-powerpc-unknown-netbsd90.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-sparc64-unknown-netbsd.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-apple-darwin.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-freebsd.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-gnu.tar.gz ./lang/rust-bin/distinfo rust-bin-1.54.0/rust-1.54.0-x86_64-unknown-linux-musl.tar.gz ./lang/smlnj/distinfo smlnj-110.73/boot.ppc-unix.tgz ./lang/smlnj/distinfo smlnj-110.73/boot.sparc-unix.tgz ./lang/oracle-jre8/distinfo jce_policy-8.zip ./lang/oracle-jre8/distinfo jre-8u202-linux-i586.tar.gz ./lang/oracle-jre8/distinfo jre-8u202-linux-x64.tar.gz ./lang/oracle-jre8/distinfo jre-8u202-macosx-x64.tar.gz ./lang/oracle-jre8/distinfo jre-8u202-solaris-x64.tar.gz ./lang/oracle-jdk8/distinfo jdk-8u202-linux-i586.tar.gz ./lang/oracle-jdk8/distinfo jdk-8u202-linux-x64.tar.gz ./lang/oracle-jdk8/distinfo jdk-8u202-solaris-x64.tar.gz ./lang/ghc80/distinfo ghc-7.10.3-boot-x86_64-unknown-solaris2.tar.xz ./lang/ghc80/distinfo ghc-8.0.2-boot-i386-unknown-freebsd.tar.xz ./lang/ghc80/distinfo ghc-8.0.2-boot-x86_64-unknown-freebsd.tar.xz ./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2 ./lang/gcc5-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2 ./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2 ./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2 ./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2 ./lang/gcc5-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2 ./lang/rust/distinfo rust-1.53.0-aarch64-apple-darwin.tar.gz ./lang/rust/distinfo rust-1.53.0-aarch64-unknown-linux-gnu.tar.gz ./lang/rust/distinfo rust-1.53.0-aarch64-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-1.53.0-aarch64_be-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-1.53.0-arm-unknown-linux-gnueabihf.tar.gz ./lang/rust/distinfo rust-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz ./lang/rust/distinfo rust-1.53.0-i686-unknown-linux-gnu.tar.gz ./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-1.53.0-powerpc-unknown-netbsd90.tar.gz ./lang/rust/distinfo rust-1.53.0-sparc64-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-1.53.0-x86_64-apple-darwin.tar.gz ./lang/rust/distinfo rust-1.53.0-x86_64-unknown-freebsd.tar.gz ./lang/rust/distinfo rust-1.53.0-x86_64-unknown-illumos.tar.gz ./lang/rust/distinfo rust-1.53.0-x86_64-unknown-linux-gnu.tar.gz ./lang/rust/distinfo rust-std-1.53.0-aarch64-apple-darwin.tar.gz ./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-linux-gnu.tar.gz ./lang/rust/distinfo rust-std-1.53.0-aarch64-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-std-1.53.0-aarch64_be-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-std-1.53.0-arm-unknown-linux-gnueabihf.tar.gz ./lang/rust/distinfo rust-std-1.53.0-armv7-unknown-linux-gnueabihf.tar.gz ./lang/rust/distinfo rust-std-1.53.0-i686-unknown-linux-gnu.tar.gz ./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-std-1.53.0-powerpc-unknown-netbsd90.tar.gz ./lang/rust/distinfo rust-std-1.53.0-sparc64-unknown-netbsd.tar.gz ./lang/rust/distinfo rust-std-1.53.0-x86_64-apple-darwin.tar.gz ./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-freebsd.tar.gz ./lang/rust/distinfo rust-std-1.53.0-x86_64-unknown-linux-gnu.tar.gz ./lang/smlnj11072/distinfo smlnj-110.72/boot.ppc-unix.tgz ./lang/smlnj11072/distinfo smlnj-110.72/boot.sparc-unix.tgz ./lang/ghc84/distinfo ghc-8.0.2-boot-x86_64-unknown-solaris2.tar.xz ./lang/ghc84/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz ./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz ./lang/ghc84/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz ./lang/ghc7/distinfo ghc-7.10.3-boot-i386-unknown-freebsd.tar.xz ./lang/ghc7/distinfo ghc-7.6.3-boot-i386-unknown-solaris2.tar.xz ./lang/ghc7/distinfo ghc-7.6.3-boot-powerpc-apple-darwin.tar.xz ./lang/ghc7/distinfo ghc-7.6.3-boot-x86_64-unknown-solaris2.tar.xz ./lang/ghc90/distinfo ghc-8.10.4-boot-x86_64-unknown-solaris2.tar.xz ./lang/ghc90/distinfo ghc-9.0.1-boot-aarch64-unknown-netbsd.tar.xz ./lang/ghc90/distinfo ghc-9.0.1-boot-i386-unknown-freebsd.tar.xz ./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-apple-darwin.tar.xz ./lang/ghc90/distinfo ghc-9.0.1-boot-x86_64-unknown-freebsd.tar.xz ./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz ./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz ./lang/openjdk8/distinfo openjdk7/bootstrap-jdk-1.8.181-netbsd-8-aarch64-20180917.tar.xz ./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.6-amd64-20140719.tar.bz2 ./lang/openjdk8/distinfo openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2 ./lang/go-bin/distinfo go1.14.2.darwin-amd64.tar.gz ./lang/go-bin/distinfo go1.14.2.linux-386.tar.gz ./lang/go-bin/distinfo go1.14.2.linux-amd64.tar.gz ./lang/go-bin/distinfo go1.14.2.linux-arm64.tar.gz ./lang/go-bin/distinfo go1.14.2.linux-armv6l.tar.gz ./lang/go-bin/distinfo go1.14.2.netbsd-arm64.tar.gz ./lang/go-bin/distinfo go1.16beta1.darwin-arm64.tar.gz ./lang/gcc6-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2 ./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.dragonfly.41.tar.bz2 ./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2 ./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2 ./lang/gcc6-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2 ./lang/ghc810/distinfo ghc-8.8.4-boot-x86_64-unknown-solaris2.tar.xz ./lang/sun-jre7/distinfo UnlimitedJCEPolicyJDK7.zip ./lang/sun-jre7/distinfo jre-7u80-linux-x64.tar.gz ./lang/sun-jre7/distinfo jre-7u80-solaris-i586.tar.gz ./lang/sun-jre7/distinfo jre-7u80-solaris-x64.tar.gz ./lang/ghc88/distinfo ghc-8.4.4-boot-i386-unknown-freebsd.tar.xz ./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-apple-darwin.tar.xz ./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-freebsd.tar.xz ./lang/ghc88/distinfo ghc-8.4.4-boot-x86_64-unknown-solaris2.tar.xz ./lang/gcc-aux/distinfo ada-bootstrap.i386.dragonfly.36A.tar.bz2 ./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.100B.tar.bz2 ./lang/gcc-aux/distinfo ada-bootstrap.i386.freebsd.84.tar.bz2 ./lang/gcc-aux/distinfo ada-bootstrap.x86_64.dragonfly.36A.tar.bz2 ./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.100B.tar.bz2 ./lang/gcc-aux/distinfo ada-bootstrap.x86_64.freebsd.84.tar.bz2 ./lang/gcc-aux/distinfo ada-bootstrap.x86_64.solaris.511.tar.bz2 ./lang/gcc6/distinfo ecj-4.5.jar ./lang/openjdk11/distinfo bootstrap-jdk-1.11.0.7.10-netbsd-9-aarch64-20200509.tar.xz ./lang/sun-jdk7/distinfo jdk-7u80-linux-x64.tar.gz ./lang/sun-jdk7/distinfo jdk-7u80-solaris-i586.tar.gz ./lang/sun-jdk7/distinfo jdk-7u80-solaris-x64.tar.gz
2021-10-07erlang: seems incompatible with PIE (unfortunately)nia1-1/+5
2021-10-07lang: Remove SHA1 hashes for distfilesnia1-2/+1
2021-05-24*: recursive bump for perl 5.34wiz1-1/+2
2021-05-20erlang: Update to 23.3.4triaxx4-11/+10
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 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2021-05-09erlang: fix some build statesgutteridge2-269/+3
Fix builds when the java option is disabled (the default) and when erlang-hipe is disabled (the default for some platforms/architectures).
2021-05-08erlang: Update to 23.3.3triaxx4-10/+277
upstream changes: ----------------- Patch Package: OTP 23.3.3 Git Tag: OTP-23.3.3 Date: 2021-05-06 Trouble Report Id: OTP-16607, OTP-16930, OTP-17347, OTP-17357, OTP-17358, OTP-17361 Seq num: ERL-1371, ERL-1439, ERL-ERL-610, GH-3480, GH-4396, GH-4774 System: OTP Release: 23 Application: common_test-1.20.2, compiler-7.6.8, erl_interface-4.0.3, kernel-7.3.1, runtime_tools-1.16.1 Predecessor: OTP 23.3.2 Check out the git tag OTP-23.3.3, 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. --------------------------------------------------------------------- --- common_test-1.20.2 ---------------------------------------------- --------------------------------------------------------------------- The common_test-1.20.2 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17347 Application(s): common_test Related Id(s): ERL-1439, GH-3480 Before this change Config leaked between test groups in case of a subgroup was skipped (GH-3480). Full runtime dependencies of common_test-1.20.2: 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.6.8 -------------------------------------------------- --------------------------------------------------------------------- The compiler-7.6.8 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17357 Application(s): compiler Related Id(s): GH-4774 Fixed a bug in the validator that could cause it to reject valid code. Full runtime dependencies of compiler-7.6.8: crypto-3.6, erts-11.0, hipe-3.12, kernel-7.0, stdlib-3.13 --------------------------------------------------------------------- --- erl_interface-4.0.3 --------------------------------------------- --------------------------------------------------------------------- The erl_interface-4.0.3 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17358 Application(s): erl_interface Related Id(s): ERL-ERL-610 Fix bug where sending of large data with ei_send_*/ei_rpc with infinite timeout could fail when the tcp buffer becomes full. Fault has existed since OTP-21. --- Known Bugs and Problems --- OTP-16607 Application(s): erl_interface Related Id(s): OTP-16608 The ei API for decoding/encoding terms is not fully 64-bit compatible since terms that have a representation on the external term format larger than 2 GB cannot be handled. --------------------------------------------------------------------- --- kernel-7.3.1 ---------------------------------------------------- --------------------------------------------------------------------- The kernel-7.3.1 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17361 Application(s): kernel A bug in the Erlang DNS resolver has been fixed, where it could be made to bring down the kernel supervisor and thereby the whole node, when getting an incorrect (IN A reply to an IN CNAME query) reply from the DNS server and used the reply record's value without verifying its type. Full runtime dependencies of kernel-7.3.1: erts-11.0, sasl-3.0, stdlib-3.13 --------------------------------------------------------------------- --- runtime_tools-1.16.1 -------------------------------------------- --------------------------------------------------------------------- The runtime_tools-1.16.1 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-16930 Application(s): runtime_tools Related Id(s): ERL-1371, GH-4396 The function dbg:n/1 used a local fun to set up a tracer on a remote node. This works fine as long as the remote node is running exactly the same version of Erlang/OTP but does not work at all otherwise. This is fixed by exporting the relevant function and by calling this function on the remote node to set up remote tracing. Full runtime dependencies of runtime_tools-1.16.1: erts-11.0, kernel-7.0, mnesia-4.12, stdlib-3.13 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2021-05-06erlang: updated to 23.3.2adam4-218/+10
=== OTP-23.3.2 === Changed Applications: - asn1-5.0.15 - common_test-1.20.1 - erts-11.2.1 - ssl-10.3.1 - stdlib-3.14.2 - xmerl-1.3.27 Unchanged Applications: - compiler-7.6.7 - crypto-4.9 - debugger-5.0 - dialyzer-4.3.1 - diameter-2.2.3 - edoc-0.12 - eldap-1.2.9 - erl_docgen-1.0.2 - erl_interface-4.0.2 - et-1.6.4 - eunit-2.6 - ftp-1.0.5 - hipe-4.0.1 - inets-7.3.2 - jinterface-1.11.1 - kernel-7.3 - megaco-3.19.5 - mnesia-4.19 - observer-2.9.5 - odbc-2.13.3 - os_mon-2.6.1 - parsetools-2.2 - public_key-1.10 - reltool-0.8 - runtime_tools-1.16 - sasl-4.0.2 - snmp-5.8 - ssh-4.11.1 - syntax_tools-2.5 - tftp-1.0.2 - tools-3.4.4 - wx-1.9.3
2021-04-02erlang: Unbreak packaging, remove PLIST duplicatesnia1-60/+1
These belong in PLIST.java.
2021-03-31erlang: Update to 23.3.1triaxx4-13/+280
upstream changes: ----------------- Patch Package: OTP 23.3.1 Git Tag: OTP-23.3.1 Date: 2021-03-30 Trouble Report Id: OTP-17279 Seq num: System: OTP Release: 23 Application: ssh-4.11.1 Predecessor: OTP 23.3 Check out the git tag OTP-23.3.1, 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. --------------------------------------------------------------------- --- ssh-4.11.1 ------------------------------------------------------ --------------------------------------------------------------------- The ssh-4.11.1 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17279 Application(s): ssh The idle_time timer was not cancelled when a channel was opened within the timeout time on an empty connection that have had channels previously. Full runtime dependencies of ssh-4.11.1: crypto-4.6.4, erts-9.0, kernel-5.3, public_key-1.6.1, stdlib-3.4.1 --------------------------------------------------------------------- Changes for 23.3 are at https://erlang.org/download/OTP-23.3.README
2021-03-04erlang: Update to 23.2.7triaxx3-9/+9
upstream changes: ----------------- Patch Package: OTP 23.2.7 Git Tag: OTP-23.2.7 Date: 2021-03-03 Trouble Report Id: OTP-12960, OTP-17228 Seq num: ERIERL-598, ERIERL-614 System: OTP Release: 23 Application: kernel-7.2.1, ssl-10.2.4 Predecessor: OTP 23.2.6 Check out the git tag OTP-23.2.7, 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. --------------------------------------------------------------------- --- kernel-7.2.1 ---------------------------------------------------- --------------------------------------------------------------------- The kernel-7.2.1 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-12960 Application(s): kernel Related Id(s): ERIERL-598, PR-4509 When using the DNS resolver option servfail_retry_timeout it did not honour the overall call time-out in e.g inet_res:getbyname/3. This misbehaviour has now been fixed. Also, the servfail_retry_timeout behaviour has been improved to only be enforced for servers that gives a servfail answer. Full runtime dependencies of kernel-7.2.1: erts-11.0, sasl-3.0, stdlib-3.13 --------------------------------------------------------------------- --- ssl-10.2.4 ------------------------------------------------------ --------------------------------------------------------------------- The ssl-10.2.4 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17228 Application(s): ssl Related Id(s): ERIERL-614 Enhance logging option log_level to support none and all, also restore backwards compatibility for log_alert option. Full runtime dependencies of ssl-10.2.4: crypto-4.2, erts-10.0, inets-5.10.7, kernel-6.0, public_key-1.8, stdlib-3.12 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2021-02-26erlang: remove max_fds patch - not needed any more, fixes build on Darwinadam2-17/+1
2021-02-25erlang: Update to 23.2.6triaxx4-11/+10
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 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2021-02-20erlang: fix non-hipe buildsgutteridge4-102/+105
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.)
2021-02-19erlang: Fix SunOS build.jperkin1-3/+3
2021-02-09erlang: add a comment about doc and man package dependenciesgutteridge1-1/+4
2021-02-08erlang: Update to 23.2.4triaxx6-112/+118
pkgsrc changes: --------------- * Fix PLIST when the hive option is enabled. upstream changes: ----------------- Patch Package: OTP 23.2.4 Git Tag: OTP-23.2.4 Date: 2021-02-04 Trouble Report Id: OTP-16239, OTP-17139, OTP-17161, OTP-17174 Seq num: ERIERL-597, ERL-1458 System: OTP Release: 23 Application: snmp-5.7.3, ssl-10.2.2 Predecessor: OTP 23.2.3 Check out the git tag OTP-23.2.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. --------------------------------------------------------------------- --- snmp-5.7.3 ------------------------------------------------------ --------------------------------------------------------------------- The snmp-5.7.3 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17161 Application(s): snmp [manager] In a function handling snmp errors, an unused result (_Error) could result in matching issues and therefor case clause runtime errors (crash). Note that this would only happen in *very* unusual error cases. Full runtime dependencies of snmp-5.7.3: crypto-3.3, erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5 --------------------------------------------------------------------- --- ssl-10.2.2 ------------------------------------------------------ --------------------------------------------------------------------- The ssl-10.2.2 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17139 Application(s): ssl Related Id(s): ERL-1458, OTP-16239 Avoid that upgrade (from TCP to TLS) servers starts multiple session cache handlers for the same server. This applies to Erlang distribution over TLS servers. OTP-17174 Application(s): ssl Related Id(s): ERIERL-597 Legacy cipher suites defined before TLS-1.2 (but still supported) should be possible to use in TLS-1.2. They where accidentally excluded for available cipher suites for TLS-1.2 in OTP-23.2.2. --- Improvements and New Features --- OTP-16239 Application(s): ssl Related Id(s): ERL-1458, OTP-17139 Enable Erlang distribution over TLS to run TLS-1.3, although TLS-1.2 will still be default. Full runtime dependencies of ssl-10.2.2: crypto-4.2, erts-10.0, inets-5.10.7, kernel-6.0, public_key-1.8, stdlib-3.12 --------------------------------------------------------------------- --------------------------------------------------------------------- --------------------------------------------------------------------- Patch Package: OTP 23.2.3 Git Tag: OTP-23.2.3 Date: 2021-01-20 Trouble Report Id: OTP-17097, OTP-17107, OTP-17108, OTP-17110 Seq num: ERIERL-586, ERL-1442 System: OTP Release: 23 Application: crypto-4.8.3, erts-11.1.7, snmp-5.7.2, ssh-4.10.7 Predecessor: OTP 23.2.2 Check out the git tag OTP-23.2.3, 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. --------------------------------------------------------------------- --- crypto-4.8.3 ---------------------------------------------------- --------------------------------------------------------------------- The crypto-4.8.3 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17107 Application(s): crypto Adding missing flag in BN-calls in SRP. Full runtime dependencies of crypto-4.8.3: erts-9.0, kernel-5.3, stdlib-3.4 --------------------------------------------------------------------- --- erts-11.1.7 ----------------------------------------------------- --------------------------------------------------------------------- The erts-11.1.7 application can be applied independently of other applications on a full OTP 23 installation. --- Improvements and New Features --- OTP-17097 Application(s): erts Make windows installer remove write access rights for non admin users when installing to a non default directory. Reduces the risk for DLL sideloading, but the user should always be aware of the access rights for the installation. Full runtime dependencies of erts-11.1.7: kernel-7.0, sasl-3.3, stdlib-3.13 --------------------------------------------------------------------- --- snmp-5.7.2 ------------------------------------------------------ --------------------------------------------------------------------- The snmp-5.7.2 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17110 Application(s): snmp Related Id(s): ERIERL-586 [manager] Misspelled priv protocol (atom) made it impossible to update usm user 'priv_key' configuration for usmAesCfb128Protocol via function calls. Full runtime dependencies of snmp-5.7.2: crypto-3.3, erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, stdlib-2.5 --------------------------------------------------------------------- --- ssh-4.10.7 ------------------------------------------------------ --------------------------------------------------------------------- The ssh-4.10.7 application can be applied independently of other applications on a full OTP 23 installation. --- Fixed Bugs and Malfunctions --- OTP-17108 Application(s): ssh Related Id(s): ERL-1442 The SSH daemon erroneously replaced LF with CRLF also when there was no pty requested from the server. Full runtime dependencies of ssh-4.10.7: crypto-4.6.4, erts-9.0, kernel-5.3, public_key-1.6.1, stdlib-3.4.1 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2021-01-15erlang: Re-add accidentally lost PLIST entries.nia1-1/+14
2021-01-15erlang: Update to 23.2.2nia7-101/+107
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
2020-12-05erlang: Fix patch checksumnia1-2/+2
2020-12-03erlang: fix building on Darwinadam3-1/+31
2020-08-31*: bump PKGREVISION for perl-5.32.wiz1-1/+2
2020-05-22erlang, amavisd, policyd: remove redundant replace-interpreterrillig1-3/+1
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.
2020-03-20erlang: Update to 22.2.8nia4-11/+12
This brings us up to the latest patch release for this branch before freeze... --- Fixed Bugs and Malfunctions --- OTP-16457 Application(s): diameter The possibility of choosing a handler process for an incoming Diameter request with a configured MFA was documented in OTP 20.0, but counters (with {traffic_counters, true}) were not incremented when this process was on a remote node. Counters are now incremented on the node that configures the transport in question. Introduced in OTP 21.3. OTP-16459 Application(s): diameter Transport options differing from those passed to diameter:add_transport/2 were used in several situations: when starting a transport process after connect_timer expiry after an initial connection attempt has failed, when starting a transport process after a connection has been accepted, when sending events, when returning options in diameter:service_info/2, and possibly more. In particular, the following configuration options to diameter:add_transport/2 were dropped: avp_dictionaries, incoming_maxlen, spawn_opt, strict_mbit. Moreover, any service options mistakenly passed to diameter:add_transport/2 were interpreted as such, instead of being ignored as the documentation states, with the consequence that outgoing and incoming requests saw different values of some options, some were always taken from transport options, and others from service options. diameter:add_transport/2 must be called in new code for the fix to have effect. Introduced in OTP 20.1. Full runtime dependencies of diameter-2.2.2: erts-10.0, kernel-3.2, ssl-9.0, stdlib-2.4 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2020-03-17erlang: Appease shell portability checkernia2-1/+17
2020-02-27erlang*: Update to 22.2.7.jperkin10-39/+39
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.
2020-01-18*: Recursive revision bump for openssl 1.1.1.jperkin1-1/+2
2019-12-04erlang: Update to 22.1.8nia3-9/+9
This release fixes one bug in erts. --- Fixed Bugs and Malfunctions --- OTP-16301 Application(s): erts Related Id(s): ERL-1079 Large amounts of quickly executed dirty work could cause heavy contention on an internal spin lock. The spin lock was replaced by a mutex which behaves much better under these conditions.
2019-11-18erlang: Update to 22.1.7nia9-75/+64
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.
2019-11-03lang: align variable assignmentsrillig1-3/+3
pkglint -Wall -F --only aligned --only indent -r No manual corrections.
2019-11-03lang/erlang: write _VERSIONS variable in a single linerillig2-6/+4
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.
2019-08-11Bump PKGREVISIONs for perl 5.30.0wiz1-1/+2
2019-08-08erlang: Restore SunOS -shared fix lost in previous update.jperkin2-1/+17
2019-08-01erlang: Update to 22.0.7nia7-79/+116
Erlang/OTP 22 is a new major release with new features and improvements as well as incompatibilities. For a deeper dive into the hightligts of the OTP 22 release, you can read our blog here: http://blog.erlang.org/OTP-22-Highlights/ Potential Incompatibilities gen_* behaviours: If logging of the last N messages through sys:log/2,3 is active for the server, this log is included in the terminate report. reltool: A new element, Opts, can now be included in a rel tuple in the reltool release specific configuration format: {rel, Name, Vsn, RelApps, Opts}. All external pids/ports/refs created by erlang:list_to_pid and similar functions now compare equal to any other pid/port/ref with same number from that node. The old legacy erl_interface library is deprecated as of OTP 22, and will be removed in OTP 23. This does not apply to the ei library. VxWorks is deprecated as of OTP 22 and will be removed in OTP 23. Erts: Support for Erlang Distribution protocol to split the payload of large signals into several fragments. ETS option write_concurrency now also effects and improves scalability of ordered_set tables. The length/1 BIF used to calculate the length of the list in one go without yielding, even if the list was very long. Now it yields when called with long lists. A new (still experimental) module socket is introduced. It is implemented as a NIF and the idea is that it shall be as "close as possible" to the OS level socket interface. Added the NIF function enif_term_type, which helps avoid long sequences of enif_is_xyz by returning the type of the given term. This is especially helpful for NIFs that serialize terms, such as JSON encoders, where it can improve both performance and readability. Compiler: The compiler has been rewritten to internally use an intermediate representation based on Static Single Assignment (SSA). The new intermediate representation makes more optimizations possible. The binary matching optimizations are now applicable in many more circumstances than before. Type optimizations are now applied across local function calls, and will remove a lot more redundant type tests than before. All compiler options that can be given in the source file can now be given in the option list on the command line for erlc. In OTP 22, HiPE (the native code compiler) is not fully functional. The reasons for this are new BEAM instructions for binary matching that the HiPE native code compiler does not support. If erlc is invoked with the +native option, and if any of the new binary matching instructions are used, the compiler will issue a warning and produce a BEAM file without native code. Standard libraries: Cover now uses the counters module instead of ets for updating counters. The new function cover:local_only/0 allows running Cover in a restricted but faster local-only mode. The increase in speed will vary depending on the type of code being cover-compiled, as an example the compiler test suite runs more than twice as fast with the new Cover. A simple socket API is provided through the socket module. This is a low level API that does *not* replace gen_[tcp|udp|sctp]. It is intended to *eventually* replace the inet driver. It also provides a basic API that facilitates the implementation of other protocols than TCP, UDP and SCTP. Known issues are; No support for the Windows OS (currently), a small term leakage. This feature will be classed as experimental in OTP 22. SSL: now uses the new logger API, including log levels and verbose debug logging. SSL: Basic support for TLS 1.3 Server for experimental use. crypto: The new hash_info/1 and cipher_info/1 functions returns maps with information about the hash or cipher in the argument.
2019-07-03Use https for erlang.orgnia1-2/+2
2019-05-05lang/erlang: Add m4 to USE_TOOLS when erlang-hipe is enabled.nia1-1/+2
2019-04-23lang/erlang: Update to 21.3.6nia5-27/+24
Highlights from erlang 21.2 to 21.3: Kernel: The standard logger handler, logger_std_h, now has a new internal feature for log rotation. For full information see the documentation. SSL: The Reason part of the error return from the functions connect and handshake has a better and documented format. This is a potential incompatibility. See the documentation. Refactoring of state handling has improved the TLS application data throughput and reduced CPU overhead Code optimizations has reduced CPU load for encryption/decryption, especially for Erlang's distribution protocol over TLS Now supports active N Erl_interface: Support for plugin of a user supplied socket implementation has been added. OTP: The HTML reference documentation now shows the OTP version where modules and functions were first introduced. Versions of OTP older than R13B04 is not shown in the reference documentation
2019-03-20erlang: fix minor typo in Makefilegutteridge1-2/+2
2019-02-25erlang: Update to 21.2.6nia3-9/+9
Changes: --------------------------------------------------------------------- --- erts-10.2.4 ----------------------------------------------------- --------------------------------------------------------------------- --- Fixed Bugs and Malfunctions --- OTP-14728 Application(s): erts Related Id(s): ERIERL-303 When using the {linger,{true,T}} option; gen_tcp:listen/2 used the full linger time before returning for example eaddrinuse. This bug has now been corrected. --------------------------------------------------------------------- --- stdlib-3.7.1 ---------------------------------------------------- --------------------------------------------------------------------- --- Fixed Bugs and Malfunctions --- OTP-15573 Application(s): stdlib Related Id(s): ERIERL-306 Optimize pretty printing of terms. The slower behaviour was introduced in Erlang/OTP 20.
2019-02-13erlang: Update to 21.2.5nia3-9/+9
Changes: --------------------------------------------------------------------- --- inets-7.0.5 ----------------------------------------------------- --------------------------------------------------------------------- The inets-7.0.5 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15554 Application(s): inets Related Id(s): ERIERL-289 Fixed bug that causes a crash in http client when using hostnames (e.g. localhost) with the the option ipv6_host_with_brackets set to true. This change also fixes a regression: httpc:request fails with connection error (nxdomain) if option ipv6_host_with_brackets set to true and host component of the URI is an IPv6 address. Full runtime dependencies of inets-7.0.5: erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2019-01-26erlang: Update to 21.2.4.nia3-9/+9
Changes: --------------------------------------------------------------------- --- erts-10.2.3 ----------------------------------------------------- --------------------------------------------------------------------- Note! The erts-10.2.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 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-15536 Application(s): erts Related Id(s): ERL-827 Fix bug where doing a gen_tcp:send on a socket with delay_send set to true could cause a segfault if the other side closes the connection. Bug was introduced in erts-10.2 (OTP-21.2). OTP-15537 Application(s): erts Fix a race condition when a port program closes that could result in the next started port to hang during startup. When this fault happens the following error is normally (but not always) logged: =ERROR REPORT==== 14-Jan-2019::10:45:52.868246 === Bad input fd in erts_poll()! fd=11, port=#Port<0.505>, driver=spawn, name=/bin/sh -s unix:cmd Bug was introduced in erts-10.0 (OTP-21.0). OTP-15538 Application(s): erts Related Id(s): ERIERL-229 Fix a bug where polling for external events could be delayed for a very long time if all active schedulers were 100% loaded. Bug was introduced in erts-10.2 (OTP-21.2). Full runtime dependencies of erts-10.2.3: kernel-6.1, sasl-3.3, stdlib-3.5 --------------------------------------------------------------------- --- inets-7.0.4 ----------------------------------------------------- --------------------------------------------------------------------- The inets-7.0.4 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15544 Application(s): inets Related Id(s): ERIERL-289 Make sure ipv6 addresses with brackets in URIs are converted correctly before passing to lower level functions like gen_tcp and ssl functions. Could cause connection to fail. Full runtime dependencies of inets-7.0.4: erts-6.0, kernel-3.0, mnesia-4.12, runtime_tools-1.8.14, ssl-5.3.4, stdlib-3.5 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2019-01-22erlang: Update to version OTP-21.2.3. Should fix non-hipe builds...nia5-109/+109
--------------------------------------------------------------------- --- compiler-7.3.1 -------------------------------------------------- --------------------------------------------------------------------- The compiler-7.3.1 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15501 Application(s): compiler Related Id(s): ERL-514, ERL-807, OTP-14808 An optimization that avoided allocation of a stack frame for some case expressions was introduced in OTP 21. (ERL-504/OTP-14808) It turns out that in rare circumstances, this optimization is not safe. Therefore, this optimization has been disabled. A similar optimization will be included in OTP 22 in a safe way. Full runtime dependencies of compiler-7.3.1: crypto-3.6, erts-9.0, hipe-3.12, kernel-4.0, stdlib-2.5 --------------------------------------------------------------------- --- erts-10.2.2 ----------------------------------------------------- --------------------------------------------------------------------- Note! The erts-10.2.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-15495 Application(s): erts Related Id(s): ERL-821 Fixed a crash when dangling files were closed after init:restart/0. OTP-15509 Application(s): erts Related Id(s): PR-2027, PR-2093 A bug that could cause dirty schedulers to become unresponsive has been fixed. Full runtime dependencies of erts-10.2.2: kernel-6.1, sasl-3.3, stdlib-3.5 --------------------------------------------------------------------- --- ssl-9.1.2 ------------------------------------------------------- --------------------------------------------------------------------- The ssl-9.1.2 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15477 Application(s): ssl Related Id(s): ERL-790 Fix encoding of the SRP extension length field in ssl. The old encoding of the SRP extension length could cause interoperability problems with third party SSL implementations when SRP was used. OTP-15504 Application(s): ssl Related Id(s): ERL-371 Guarantee active once data delivery, handling TCP stream properly. OTP-15505 Application(s): ssl Correct gen_statem returns for some error cases Full runtime dependencies of ssl-9.1.2: crypto-4.2, erts-10.0, inets-5.10.7, kernel-6.0, public_key-1.5, stdlib-3.5 --------------------------------------------------------------------- --- xmerl-1.3.19 ---------------------------------------------------- --------------------------------------------------------------------- The xmerl-1.3.19 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15492 Application(s): xmerl Related Id(s): ERIERL-283 The charset detection parsing crash in some cases when the XML directive is not syntactic correct. Full runtime dependencies of xmerl-1.3.19: erts-6.0, kernel-3.0, stdlib-2.5 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2019-01-11erlang: Remove hipe from main PLIST.nia2-308/+100
2019-01-04lang/erlang: Update to 21.2.2nia4-13/+15
--------------------------------------------------------------------- --- 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 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2019-01-03erlang: update PLIST.nia1-3/+218
2019-01-03lang/erlang: Update to 21.2nia5-21/+18
--------------------------------------------------------------------- --- 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 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2018-11-30erlang: Update to version 21.1.4.nia3-9/+9
Changes: --------------------------------------------------------------------- --- kernel-6.1.1 ---------------------------------------------------- --------------------------------------------------------------------- Note! The kernel-6.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: -- erts-10.1 (first satisfied in OTP 21.1) --- Fixed Bugs and Malfunctions --- OTP-15438 Application(s): kernel Related Id(s): ERL-781 Fix bug causing net_kernel process crash on connection attempt from node with name identical to local node. Full runtime dependencies of kernel-6.1.1: erts-10.1, sasl-3.0, stdlib-3.5 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2018-11-29erlang: Update to 21.1.3.nia3-9/+9
--------------------------------------------------------------------- --- erts-10.1.3 ----------------------------------------------------- --------------------------------------------------------------------- Note! The erts-10.1.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: -- kernel-6.1 (first satisfied in OTP 21.1) --- Improvements and New Features --- OTP-15430 Application(s): erts Related Id(s): ERIERL-237 Added an optional ./configure flag to compile the emulator with spectre mitigation: --with-spectre-mitigation Note that this requires a recent version of GCC with support for spectre mitigation and the --mindirect-branch=thunk flag, such as 8.1. Full runtime dependencies of erts-10.1.3: kernel-6.1, sasl-3.0.1, stdlib-3.5 --------------------------------------------------------------------- --- compiler-7.2.7 -------------------------------------------------- --------------------------------------------------------------------- The compiler-7.2.7 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15353 Application(s): compiler Related Id(s): ERL-753 Fixed a bug where incorrect code was generated following a binary match guard. Full runtime dependencies of compiler-7.2.7: crypto-3.6, erts-9.0, hipe-3.12, kernel-4.0, stdlib-2.5 --------------------------------------------------------------------- --- erts-10.1.2 ----------------------------------------------------- --------------------------------------------------------------------- Note! The erts-10.1.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: -- kernel-6.1 (first satisfied in OTP 21.1) --- Fixed Bugs and Malfunctions --- OTP-15421 Application(s): erts Fixed a rare bug where files could be closed on a normal instead of an IO scheduler, resulting in system instability if the operation blocked. Full runtime dependencies of erts-10.1.2: kernel-6.1, sasl-3.0.1, stdlib-3.5 --------------------------------------------------------------------- --- public_key-1.6.3 ------------------------------------------------ --------------------------------------------------------------------- The public_key-1.6.3 application can be applied independently of other applications on a full OTP 21 installation. --- Fixed Bugs and Malfunctions --- OTP-15367 Application(s): public_key Add DSA SHA2 oids in public_keys ASN1-spec and public_key:pkix_sign_types/1 Full runtime dependencies of public_key-1.6.3: asn1-3.0, crypto-3.8, erts-6.0, kernel-3.0, stdlib-3.5 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2018-11-09lang/erlang: update to 21.1.1.nia6-27/+30
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 'curve25519-sha256@libssh.org', '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 'chacha20-poly1305@openssh.com' 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 'curve25519-sha256@libssh.org', '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 'chacha20-poly1305@openssh.com' 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 --------------------------------------------------------------------- --------------------------------------------------------------------- ---------------------------------------------------------------------
2018-09-26erlang: correct typo.maya1-2/+2
pointed out by Michael Taylor in PR pkg/53567