git: adcd34671e72 - 2025Q2 - lang/erlang-runtime27: 27.1.2 => 27.3.4

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

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

commit adcd34671e72dec71bf86b28734d4d295ffef1df
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-05-16 23:56:15 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-17 00:04:40 +0000

    lang/erlang-runtime27: 27.1.2 => 27.3.4
    
    Changelogs:
    https://github.com/erlang/otp/releases/tag/OTP-27.1.3
    https://github.com/erlang/otp/releases/tag/OTP-27.2
    https://github.com/erlang/otp/releases/tag/OTP-27.2.1
    https://github.com/erlang/otp/releases/tag/OTP-27.2.2
    https://github.com/erlang/otp/releases/tag/OTP-27.2.3
    https://github.com/erlang/otp/releases/tag/OTP-27.2.4
    https://github.com/erlang/otp/releases/tag/OTP-27.3
    https://github.com/erlang/otp/releases/tag/OTP-27.3.1
    https://github.com/erlang/otp/releases/tag/OTP-27.3.2
    https://github.com/erlang/otp/releases/tag/OTP-27.3.3
    https://github.com/erlang/otp/releases/tag/OTP-27.3.4
    
    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 1f7d1b334bdd292436b349f2353630785ab40151)
---
 lang/erlang-runtime27/Makefile                                  | 5 ++---
 lang/erlang-runtime27/distinfo                                  | 6 +++---
 lang/erlang-runtime27/files/patch-Makefile.in                   | 6 +++---
 lang/erlang-runtime27/files/patch-erts_etc_unix_run__erl.c      | 8 ++++----
 lang/erlang-runtime27/files/patch-lib_crypto_c__src_Makefile.in | 4 ++--
 lang/erlang-runtime27/files/patch-lib_stdlib_src_calendar.erl   | 4 ++--
 6 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/lang/erlang-runtime27/Makefile b/lang/erlang-runtime27/Makefile
index 29b3e9d77f33..c2a996342579 100644
--- a/lang/erlang-runtime27/Makefile
+++ b/lang/erlang-runtime27/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	erlang
 DISTVERSIONPREFIX=	OTP-
-DISTVERSION=	27.1.2
-PORTREVISION=	1
+DISTVERSION=	27.3.4
 CATEGORIES=	lang parallel java
 PKGNAMESUFFIX=	-runtime${PORTVERSION:C/\..*//}
 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-runtime27/distinfo b/lang/erlang-runtime27/distinfo
index 28dd45385a76..1b2187e11c72 100644
--- a/lang/erlang-runtime27/distinfo
+++ b/lang/erlang-runtime27/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1729162594
-SHA256 (erlang/erlang-otp-OTP-27.1.2_GH0.tar.gz) = 365208d47f9590f27c0814ccd7ee7aec0e1b6ba2fe9d875e356edb5d9b054541
-SIZE (erlang/erlang-otp-OTP-27.1.2_GH0.tar.gz) = 62185618
+TIMESTAMP = 1747434437
+SHA256 (erlang/erlang-otp-OTP-27.3.4_GH0.tar.gz) = a05fa5c952fdf1718121d4ca3fd0c96fcb8b54ed61e37862417478d7b6c89232
+SIZE (erlang/erlang-otp-OTP-27.3.4_GH0.tar.gz) = 62259420
 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-runtime27/files/patch-Makefile.in b/lang/erlang-runtime27/files/patch-Makefile.in
index b09184b13882..89ef010aa720 100644
--- a/lang/erlang-runtime27/files/patch-Makefile.in
+++ b/lang/erlang-runtime27/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:03:33 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):
+@@ -851,7 +851,7 @@ $(TEST_DIRS):
  #
  # Order is important here, don't change it!
  #
diff --git a/lang/erlang-runtime27/files/patch-erts_etc_unix_run__erl.c b/lang/erlang-runtime27/files/patch-erts_etc_unix_run__erl.c
index b76c5127d2a8..5b245ccbf7a3 100644
--- a/lang/erlang-runtime27/files/patch-erts_etc_unix_run__erl.c
+++ b/lang/erlang-runtime27/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:03:33 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-runtime27/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang-runtime27/files/patch-lib_crypto_c__src_Makefile.in
index 8397bcac2200..68119530b896 100644
--- a/lang/erlang-runtime27/files/patch-lib_crypto_c__src_Makefile.in
+++ b/lang/erlang-runtime27/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:03:33 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-runtime27/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang-runtime27/files/patch-lib_stdlib_src_calendar.erl
index 34b753d85b27..2bdfe48e1a04 100644
--- a/lang/erlang-runtime27/files/patch-lib_stdlib_src_calendar.erl
+++ b/lang/erlang-runtime27/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:03:33 UTC
 +++ lib/stdlib/src/calendar.erl
-@@ -279,11 +279,19 @@ local_time_to_universal_time(DateTime, I
+@@ -444,11 +444,19 @@ local_time_to_universal_time_dst(DateTime) ->
        DateTime1 :: datetime1970(),
        DateTime :: datetime1970().
  local_time_to_universal_time_dst(DateTime) ->