git: da3006eaf14f - 2025Q2 - lang/erlang-runtime26: 26.2.5.4 => 26.2.5.12

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sat, 17 May 2025 00:04:51 UTC
The branch 2025Q2 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=da3006eaf14fe16b1951a150943e100f774a263c

commit da3006eaf14fe16b1951a150943e100f774a263c
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-05-16 23:52:23 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-17 00:04:32 +0000

    lang/erlang-runtime26: 26.2.5.4 => 26.2.5.12
    
    Changelogs:
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.5
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.6
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.7
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.8
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.9
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.10
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.11
    https://github.com/erlang/otp/releases/tag/OTP-26.2.5.12
    
    Refresh patches.
    Pet portclippy.
    
    PR:             286332
    Approved by:    erlang (maintainer, timeout > 3 weeks)
    Security:       CVE-2024-53846
    Security:       CVE-2025-26618
    Security:       CVE-2025-30211
    Security:       CVE-2025-32433
    Security:       CVE-2025-46712
    MFH:            2025Q2
    
    (cherry picked from commit bde71c97b5ff3a42bb326c1c04170e5b4119404b)
---
 lang/erlang-runtime26/Makefile                                  | 5 ++---
 lang/erlang-runtime26/distinfo                                  | 6 +++---
 lang/erlang-runtime26/files/patch-Makefile.in                   | 6 +++---
 lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c      | 8 ++++----
 lang/erlang-runtime26/files/patch-lib_crypto_c__src_Makefile.in | 4 ++--
 lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl   | 4 ++--
 6 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/lang/erlang-runtime26/Makefile b/lang/erlang-runtime26/Makefile
index 0d2b8f7ea672..e429d65a3101 100644
--- a/lang/erlang-runtime26/Makefile
+++ b/lang/erlang-runtime26/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	erlang
 DISTVERSIONPREFIX=	OTP-
-DISTVERSION=	26.2.5.4
-PORTREVISION=	1
+DISTVERSION=	26.2.5.12
 CATEGORIES=	lang parallel java
 PKGNAMESUFFIX=	-runtime26
 DIST_SUBDIR=	erlang
@@ -66,9 +65,9 @@ WX_DESC=	Enable WX application
 DTRACE_CONFIGURE_WITH=		dynamic-trace=dtrace
 DTRACE_CFLAGS=			-fno-omit-frame-pointer
 DTRACE_VARS=			STRIP=""
+JAVA_USES=			java
 JAVA_CONFIGURE_WITH=		javac
 JAVA_CONFIGURE_ENV=		ac_cv_prog_JAVAC="${JAVAC}"
-JAVA_USES=			java
 KQUEUE_CONFIGURE_ENABLE=	kernel-poll
 ODBC_LIB_DEPENDS=		libodbc.so:databases/unixODBC
 ODBC_USES=			localbase:ldflags
diff --git a/lang/erlang-runtime26/distinfo b/lang/erlang-runtime26/distinfo
index 8839346516eb..9344ce6f4e95 100644
--- a/lang/erlang-runtime26/distinfo
+++ b/lang/erlang-runtime26/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1728493154
-SHA256 (erlang/erlang-otp-OTP-26.2.5.4_GH0.tar.gz) = daa29766431e91489367e87f2ec34e65ce05a0f2dd48bf666829951e636f6016
-SIZE (erlang/erlang-otp-OTP-26.2.5.4_GH0.tar.gz) = 62516279
+TIMESTAMP = 1747434405
+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
 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-runtime26/files/patch-Makefile.in b/lang/erlang-runtime26/files/patch-Makefile.in
index bf067367931e..46e9032eb2b9 100644
--- a/lang/erlang-runtime26/files/patch-Makefile.in
+++ b/lang/erlang-runtime26/files/patch-Makefile.in
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2015-06-23 18:56:21 UTC
+--- Makefile.in.orig	2025-05-08 11:07:43 UTC
 +++ Makefile.in
-@@ -60,7 +60,7 @@ bindir		= @bindir@
+@@ -60,7 +60,7 @@ libdir		= @libdir@
  libdir		= @libdir@
  
  # Where Erlang/OTP is located
@@ -9,7 +9,7 @@
  erlang_libdir	= $(libdir)$(libdir_suffix)
  erlang_bindir	= $(erlang_libdir)/bin
  
-@@ -1013,7 +1013,7 @@ $(TEST_DIRS):
+@@ -883,7 +883,7 @@ $(TEST_DIRS):
  #
  # Order is important here, don't change it!
  #
diff --git a/lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c
index b76c5127d2a8..ea3ad151d030 100644
--- a/lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c
+++ b/lang/erlang-runtime26/files/patch-erts_etc_unix_run__erl.c
@@ -1,8 +1,8 @@
---- erts/etc/unix/run_erl.c.orig	2015-03-31 12:32:52 UTC
+--- erts/etc/unix/run_erl.c.orig	2025-05-08 11:07:43 UTC
 +++ erts/etc/unix/run_erl.c
-@@ -73,9 +73,6 @@
- #ifdef HAVE_UTMP_H
- #  include <utmp.h>
+@@ -81,9 +81,6 @@
+ #ifdef HAVE_LIBUTIL_H
+ #  include <libutil.h>
  #endif
 -#ifdef HAVE_UTIL_H
 -#  include <util.h>
diff --git a/lang/erlang-runtime26/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime26/files/patch-lib_crypto_c__src_Makefile.in
index 8397bcac2200..786f226d0b8d 100644
--- a/lang/erlang-runtime26/files/patch-lib_crypto_c__src_Makefile.in
+++ b/lang/erlang-runtime26/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)
diff --git a/lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl
index 34b753d85b27..0a0d961d04b4 100644
--- a/lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl
+++ b/lang/erlang-runtime26/files/patch-lib_stdlib_src_calendar.erl
@@ -1,6 +1,6 @@
---- lib/stdlib/src/calendar.erl.orig	2015-03-31 12:32:52 UTC
+--- lib/stdlib/src/calendar.erl.orig	2025-05-08 11:07:43 UTC
 +++ lib/stdlib/src/calendar.erl
-@@ -279,11 +279,19 @@ local_time_to_universal_time(DateTime, I
+@@ -297,11 +297,19 @@ local_time_to_universal_time_dst(DateTime) ->
        DateTime1 :: datetime1970(),
        DateTime :: datetime1970().
  local_time_to_universal_time_dst(DateTime) ->