summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile7
-rw-r--r--lang/erlang/distinfo6
-rw-r--r--lang/erlang/files/epmd.in24
-rw-r--r--lang/erlang/files/patch-lib_crypto_c__src_Makefile.in4
4 files changed, 29 insertions, 12 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 5c4d433991b8..09547dc68c6a 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -1,6 +1,6 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
-DISTVERSION= 26.2.5.6
+DISTVERSION= 26.2.5.14
PORTEPOCH= 4
CATEGORIES= lang parallel java
DIST_SUBDIR= erlang
@@ -16,7 +16,6 @@ CPE_VENDOR= erlang
CPE_PRODUCT= erlang/otp
USE_GITHUB= nodefault
-MAKE_ENV+= ERL_LIBS=${WRKSRC}/lib
GH_ACCOUNT= erlang:otp,corba
GH_PROJECT= otp:otp corba:corba
GH_TAGNAME= 5.2.1:corba
@@ -29,6 +28,7 @@ CONFIGURE_ARGS= --enable-dirty-schedulers \
--enable-smp-support \
--enable-threads
MAKE_ARGS= all
+MAKE_ENV+= ERL_LIBS=${WRKSRC}/lib
_ERLANG_LIB= ${PORTNAME}
@@ -37,6 +37,9 @@ SUB_LIST= _TOOLS_VSN=${_TOOLS_VSN}
WRKSRC= ${WRKSRC_otp}
+USERS= beam
+GROUPS= beam
+
_EI_VSN= 5.5.1
_SNMP_VSN= 5.15
_TOOLS_VSN= 3.6
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo
index 6f85f9238081..25b5780a86f6 100644
--- a/lang/erlang/distinfo
+++ b/lang/erlang/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1734692992
-SHA256 (erlang/erlang-otp-OTP-26.2.5.6_GH0.tar.gz) = 371e59b98de59822e45fdbe50c18c8d8dd4c872990e7aaaba8a819e167186d03
-SIZE (erlang/erlang-otp-OTP-26.2.5.6_GH0.tar.gz) = 62531972
+TIMESTAMP = 1752761356
+SHA256 (erlang/erlang-otp-OTP-26.2.5.14_GH0.tar.gz) = 5378dc60382c3d43ecdc0e8666c5db0f8a1df1525fff706779f720ad1d54c56c
+SIZE (erlang/erlang-otp-OTP-26.2.5.14_GH0.tar.gz) = 62564783
SHA256 (erlang/erlang-corba-5.2.1_GH0.tar.gz) = e96e9dc710c0ab3282ca5045434f5bc5ff493c22ba63fcfd764ce4d6a13a7c8f
SIZE (erlang/erlang-corba-5.2.1_GH0.tar.gz) = 1400553
diff --git a/lang/erlang/files/epmd.in b/lang/erlang/files/epmd.in
index 15bf2c1bf1ae..1c9dc45c45bc 100644
--- a/lang/erlang/files/epmd.in
+++ b/lang/erlang/files/epmd.in
@@ -8,7 +8,7 @@
# epmd_enable="YES"
#
# Configure optional flags with:
-# epmd_flags="-address 127.0.0.1"
+# epmd_opts="-address 127.0.0.1"
. /etc/rc.subr
@@ -18,10 +18,24 @@ rcvar=epmd_enable
load_rc_config ${name}
: ${epmd_enable="NO"}
-: ${epmd_flags:-""}
+: ${epmd_opts:-""}
+: ${epmd_user="beam"}
-procname=%%PREFIX%%/bin/epmd
-start_cmd="%%PREFIX%%/bin/epmd -daemon ${epmd_flags}"
-stop_cmd="%%PREFIX%%/bin/epmd -kill >/dev/null"
+procname="daemon"
+pidfile="/var/run/epmd/epmd.pid"
+command="/usr/sbin/daemon"
+command_args="-f -r -P ${pidfile} %%PREFIX%%/bin/epmd ${epmd_opts}"
+command_user="${epmd_user}"
+
+start_precmd="epmd_precmd"
+
+epmd_precmd()
+{
+ if [ ! -d "/var/run/epmd" ]; then
+ install -d -o ${epmd_user} -g ${epmd_user} /var/run/epmd
+ fi
+ # Ensure beam user can write pidfile
+ install -m 644 -g ${epmd_user} -o ${epmd_user} /dev/null ${pidfile}
+}
run_rc_command "$1"
diff --git a/lang/erlang/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang/files/patch-lib_crypto_c__src_Makefile.in
index 8397bcac2200..786f226d0b8d 100644
--- a/lang/erlang/files/patch-lib_crypto_c__src_Makefile.in
+++ b/lang/erlang/files/patch-lib_crypto_c__src_Makefile.in
@@ -1,6 +1,6 @@
---- lib/crypto/c_src/Makefile.in.orig 2021-05-27 09:40:45 UTC
+--- lib/crypto/c_src/Makefile.in.orig 2025-05-08 11:07:43 UTC
+++ lib/crypto/c_src/Makefile.in
-@@ -136,7 +136,7 @@ endif
+@@ -147,7 +147,7 @@ ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes)
endif
ifeq ($(DYNAMIC_OR_WIN_CRYPTO_LIB),yes)