Erlang is a programming language used to build massively scalable soft
real-time systems with requirements on high availability. Some of its
uses are in telecoms, banking, e-commerce, computer telephony and
instant messaging. Erlang's runtime system has built-in support for
concurrency, distribution and fault tolerance.
===> The following configuration options are available for erlang-28.5.0.8_1,4:
CHUNKS=on: Enable in-line documentation in Erlang console
CORBA=on: Enable Corba support
DTRACE=on: Build with DTrace probes
JAVA=off: Java platform support
KQUEUE=on: Enable Kernel Poll (kqueue) support
MANPAGES=on: Build and/or install manual pages
ODBC=off: ODBC database backend
OPENSSL=on: SSL/TLS support via OpenSSL
SCTP=on: Enable SCTP support
SHARING=on: Enable term copy-and-share support
WX=off: Enable WX application
===> Use 'make config' to modify these settings
Affects: users of lang/erlang, lang/erlang-runtime27, lang/erlang-runtime28
and lang/erlang-runtime29 running an SSH daemon
Author: olgeni@FreeBSD.org
Reason:
OTP 29.1.1, 28.5.0.7 and 27.3.4.18 fix CVE-2026-68956, where the ssh
application did not enforce the max_channels daemon option for session
channels without an active subsystem. An authenticated client could open
an unbounded number of idle channels and exhaust the memory of the whole
Erlang VM.
As part of the fix, two ssh daemon defaults have changed:
max_channels infinity -> 256 (per connection)
max_sessions infinity -> 1024 (concurrent connections)
Deployments that legitimately need more than these limits must now set
them explicitly, for example:
ssh:daemon(Port, [{max_channels, infinity}, {max_sessions, infinity}])
The same releases also fix CVE-2026-89422 (TLS 1.3 client completes the
handshake without validating the server certificate when the ServerHello
carries an unsolicited pre_shared_key) and CVE-2026-65634 (superlinear
CPU denial-of-service in the asn1 OID decoder). Those need no
configuration changes.
Number of commits found: 465 (showing only 100 on this page) #
The per-thread last floating point exception pointer is not initialized
to NULL when it is allocated. As a result, spurious floating point
exceptions are reported.
Obtained from: David Reiss <dreiss at cs.stanford.edu>
Add bugfix for ei_decode_big.
"The high order bits of the 16-bits digit (short) are read, even if
the byte (at u[(i*2)+1]) doesn't belong to the big. In other words,
big numbers such as 16#1234567890 with an odd number of bytes are
decoded with a garbage byte (i.e. 16#XX1234567890)."
http://erlang.org/pipermail/erlang-bugs/2008-October/001023.html
Obtained from: Paul Guyot <pguyot at kallisys.net>
files/patch-lib_compiler_src_beam__utils.erl:
Fix "Internal consistency check failed" compiler error.
Obtained from: Bjorn Gustavsson <bgustavsson at gmail.com>
files/patch-lib_inets_src_http__client_http.erl:
The process would hang because {stream,{self,once}} is not recognized as an
invalid option.
Obtained from: Adam Kocoloski <adam.kocoloski at gmail.com>
Fix an issue related to mktime(3) returning -1 when tm_isdst is true but the
timestamp cannot be represented. Previously, -1 was interpreted as a valid
result leading erlang:localtime_to_universaltime/2 to return {{1969, 12, 31},
{23, 59, 59}}.
A detailed explanation may be found here:
http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html
Obtained from: Paul Guyot <pguyot at kallisys.net>
Create missing empty directory from pkg-plist to avoid a pkg_delete warning.
Make sure that Install exits with 0 (restore previous patch).
No PORTREVISION change needed.
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
* Use gcc(1) rather than ld(1) to link the crypto_drv.so port driver, else the
Erlang runtime would fail to load it.
* Use the correct struct member when compiling SCTP support (this should unbreak
CURRENT).
Submitted by: dumbbell
The Erlang runtime could occasionally segfault when writing erl_crash.dump
files, due to a fixed size buffer. Using encode_size_struct will fix it.
Obtained from: Christopher Faulet <christopher.faulet(at)capflam.org>
Disable automatic PLT generation. Add the following patches:
* patch-lib_dialyzer_src_Makefile
Avoid computing the PLT when building the port. It may take so
long that the port building cluster thinks this is a runaway port.
* patch-lib_dialyzer_src_dialyzer__cl.erl
Trick dialyzer into building the PLT even after the port is installed.
* patch-lib_dialyzer_src_dialyzer__cl__parse.erl
Let every user have his own initial PLT in ~/.dialyzer_init_plt.
When dialyzer is invoked the PLT will be rebuilt if needed.
This commit will fix both ports/105869 and the pointyhat port checks.
Upgrade to release R11B-2.
Support for kqueue has been disabled. From the release notes:
http://www.erlang.org/download/otp_src_R11B-2.readme
"Note: configure will refuse to enable kernel poll support on FreeBSD since
kqueue have problems with (at least) pipes on all version of FreeBSD that we
have tested."
Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support
for DESTDIR undefined. This does allow us to start testing
ports with DESTDIR set, but this is as of yet not supported.
Although this has been extensively tested on pointyhat, this
is a very intrusive change and some cases may have been
overlooked. Please contact Gabor and me if you find any.
PR: 100555
Submitted by: gabor
Sponsored by: Google Summer of Code 2006
Improve OSVERSION check for threading issues, using 502102 ("5.2-CURRENT
after change of default thread library from libc_r to libpthread.")
PR: ports/94161
Submitted by: Shaun Amott <shaun(at)inerd.com>
* Clean up Java support.
* Use USE_TK.
* Make sure that ODBC is not built if WITHOUT_ODBC is defined.
* Disable ODBC if ${OSVERSION} < 500000.
* Fix pkg-plist using PLIST_SUB.
* Fix some portlint warnings.
Fix yield/1 bug in kernel/src/rpc.erl with code from R10B-4.
(from the erlang-questions mailing list)
Obtained from: Bjorn Gustavsson <bjorn(at)erix.ericsson.se>
Fix HIPE support. Looks like GNU make is picking up ARCH from
environment, even if it is defined in the Makefile. Given that
FreeBSD's ARCH is "i386" and Erlang's ARCH is "x86", some substitutions
did fail leading to a strange compiler failure[0].
Also fix a file:format_error call that produces an incorrect error
message[1].
Obtained from: Brian Buchanan <bwb(at)holo.org> [0]
Obtained from: Vlad Dumitrescu <vlad_dumitrescu(at)hotmail.com> [1]