summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/Makefile6
-rw-r--r--lang/erlang/distinfo6
-rw-r--r--lang/erlang/files/epmd.in24
3 files changed, 26 insertions, 10 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 0136bd7d1fcc..09547dc68c6a 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -1,7 +1,6 @@
PORTNAME= erlang
DISTVERSIONPREFIX= OTP-
-DISTVERSION= 26.2.5.12
-PORTREVISION= 1
+DISTVERSION= 26.2.5.14
PORTEPOCH= 4
CATEGORIES= lang parallel java
DIST_SUBDIR= erlang
@@ -38,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 ee9aa2179c8b..25b5780a86f6 100644
--- a/lang/erlang/distinfo
+++ b/lang/erlang/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1747434292
-SHA256 (erlang/erlang-otp-OTP-26.2.5.12_GH0.tar.gz) = 93c97a3e14c3700eaaf2182b078fd35f8492da215327bd9c78a1f047946129f7
-SIZE (erlang/erlang-otp-OTP-26.2.5.12_GH0.tar.gz) = 62551765
+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"