BSD Ports

lang/erlang-runtime26 26.2.5_2 MidnightBSD

Functional programming language from Ericsson

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
e836426e80
License
Apache-2.0
Categories
lang, parallel, java

Description

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.

This port contains a standalone runtime environment of Erlang 26 to be used during the development of OTP applications.

In the other systems

SystemPortVersion
MidnightBSDlang/erlang-runtime2626.2.5_2
DragonFlylang/erlang-runtime2626.2.5.12

Install

Binary package:

mport install erlang-runtime26

From mports:

cd /usr/mports/lang/erlang-runtime26 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	erlang-runtime26>0:lang/erlang-runtime26

Dependencies

No port depends on this one.

Configuration

Options name: lang_erlang

OptionDefaultDescription
CHUNKSonEnable in-line documentation in Erlang console
CORBAonEnable Corba support
DTRACEoff
JAVAoff
KQUEUEonEnable Kernel Poll (kqueue) support
ODBCoff
OPENSSLon
SCTPonEnable SCTP support
SHARINGonEnable term copy-and-share support
WXoffEnable WX application
USES
compiler cpe gmake ncurses perl5
Service scripts
none

Files

distinfo 2
FileSizeSHA256
erlang/erlang-otp-OTP-26.2.5_GH0.tar.gz6.2479032e+07d34b409cb5968ae47dd5a0c4f85b925d5601898d90788bbb08d514964a3a141d
erlang/erlang-corba-5.2_GH0.tar.gz1.398463e+06824614604f0768701c9216380a13bcadce91b36a24acc7839d71926ab88bf6be

Commit history 1

DateCommitCreditsLog message
e836426e80 Lucas Holt lang/erlang-runtime26: let os_mon and public_key run on MidnightBSD (#1838)
`os:type()` reports `{unix, midnightbsd}`, which OTP doesn't recognize. This is the same fix as #1835 (lang/erlang-runtime28), found when databases/couchdb3 (#1836) aborted at startup. **Problems on stock OTP:** - `disksup`, `memsup` and `cpu_sup` exit with `{unsupported_os, {unix, midnightbsd}}`, which kills the `os_mon` application and anything that depends on it. - `public_key:cacerts_get()` returned `{failed_load_cacerts, enotsup}` instead of reading the BSD paths (`/etc/ssl/cert.pem`, the ca_root_nss bundle), so TLS clients using the OS store failed. - `inet_config` skips `/etc/host.conf`. **Fix:** each `os_mon` module gets an `mbsd_os_type()` helper that maps midnightbsd to freebsd, used in place of `os:type()`. The other modules …