public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/erlang] f43: Fix FTBFS: drop OTP 27 -doc attribute from CVE-2026-73270 backport
@ 2026-10-14 14:13 Peter Lemenkov
0 siblings, 0 replies; 2+ messages in thread
From: Peter Lemenkov @ 2026-10-14 14:13 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/erlang
Branch : f43
Commit : 43f634e715ac08bc1f65c6ed03c6b23fc7c18523
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-10-14T16:13:14+02:00
Stats : +6/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/erlang/c/43f634e715ac08bc1f65c6ed03c6b23fc7c18523?branch=f43
Log:
Fix FTBFS: drop OTP 27 -doc attribute from CVE-2026-73270 backport
The maint-27 backport (otp-0025) carried an EEP-48 '-doc false.' attribute on
the new httpd_util:collapse_slashes/1 helper. OTP 26's erlc has no -doc support
and rejects it under -Werror ('attribute doc after function definitions'),
breaking the build. Regenerated otp-0025 without it; security logic unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/erlang.spec b/erlang.spec
index 10a0cf5..a89a705 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -70,7 +70,7 @@
Name: erlang
Version: 26.2.5.21
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: General-purpose programming language and runtime environment
License: Apache-2.0
@@ -1972,6 +1972,9 @@ ERL_TOP=${ERL_TOP} make TARGET=${TARGET} release_tests
%changelog
+* Wed Oct 14 2026 Peter Lemenkov <lemenkov@gmail.com> - 26.2.5.21-10
+- Fix FTBFS: drop OTP 27 -doc attribute from the CVE-2026-73270 backport
+
* Wed Oct 14 2026 Peter Lemenkov <lemenkov@gmail.com> - 26.2.5.21-9
- Backported fixes for CVE-2026-73270, CVE-2026-75538
diff --git a/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch b/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch
index 9b7e9f5..895d7b4 100644
--- a/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch
+++ b/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch
@@ -45,7 +45,7 @@ index 891206c0da..3b5d90b43d 100644
validate_version("HTTP/1.1") ->
diff --git a/lib/inets/src/http_server/httpd_util.erl b/lib/inets/src/http_server/httpd_util.erl
-index d6c0626d62..7e52997c87 100644
+index d6c0626d62..17575a8c01 100644
--- a/lib/inets/src/http_server/httpd_util.erl
+++ b/lib/inets/src/http_server/httpd_util.erl
@@ -54,7 +54,8 @@
@@ -58,7 +58,7 @@ index d6c0626d62..7e52997c87 100644
-removed({flatlength, 1, "use erlang:iolist_size/1 instead"}).
-removed({hexlist_to_integer, 1, "use erlang:list_to_integer/2 with base 16 instead"}).
-@@ -722,3 +723,23 @@ mod_error_logging(Mod, ConfigDB, Report) ->
+@@ -722,3 +723,22 @@ mod_error_logging(Mod, ConfigDB, Report) ->
_ ->
ok
end.
@@ -72,7 +72,6 @@ index d6c0626d62..7e52997c87 100644
+%% Without this, "//secret/file" bypasses mod_auth's re:run directory
+%% check while the OS still serves the file (treating // as /).
+%%----------------------------------------------------------------------
-+-doc false.
+collapse_slashes(Path) ->
+ collapse_slashes(Path, []).
+
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/erlang] f43: Fix FTBFS: drop OTP 27 -doc attribute from CVE-2026-73270 backport
@ 2026-11-02 18:46 Peter Lemenkov
0 siblings, 0 replies; 2+ messages in thread
From: Peter Lemenkov @ 2026-11-02 18:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/erlang
Branch : f43
Commit : 47821266f79cd96e85d9ffbeb9ed6349d9566de7
Author : Peter Lemenkov <lemenkov@gmail.com>
Date : 2026-10-14T15:38:14+02:00
Stats : +6/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/erlang/c/47821266f79cd96e85d9ffbeb9ed6349d9566de7?branch=f43
Log:
Fix FTBFS: drop OTP 27 -doc attribute from CVE-2026-73270 backport
The maint-27 backport (otp-0025) carried an EEP-48 '-doc false.' attribute on
the new httpd_util:collapse_slashes/1 helper. OTP 26's erlc has no -doc support
and rejects it under -Werror ('attribute doc after function definitions'),
breaking the build. Regenerated otp-0025 without it; security logic unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
---
diff --git a/erlang.spec b/erlang.spec
index 10a0cf5..a89a705 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -70,7 +70,7 @@
Name: erlang
Version: 26.2.5.21
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: General-purpose programming language and runtime environment
License: Apache-2.0
@@ -1972,6 +1972,9 @@ ERL_TOP=${ERL_TOP} make TARGET=${TARGET} release_tests
%changelog
+* Wed Oct 14 2026 Peter Lemenkov <lemenkov@gmail.com> - 26.2.5.21-10
+- Fix FTBFS: drop OTP 27 -doc attribute from the CVE-2026-73270 backport
+
* Wed Oct 14 2026 Peter Lemenkov <lemenkov@gmail.com> - 26.2.5.21-9
- Backported fixes for CVE-2026-73270, CVE-2026-75538
diff --git a/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch b/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch
index 9b7e9f5..895d7b4 100644
--- a/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch
+++ b/otp-0025-inets-Canonicalize-request-path-before-mod_auth-dire.patch
@@ -45,7 +45,7 @@ index 891206c0da..3b5d90b43d 100644
validate_version("HTTP/1.1") ->
diff --git a/lib/inets/src/http_server/httpd_util.erl b/lib/inets/src/http_server/httpd_util.erl
-index d6c0626d62..7e52997c87 100644
+index d6c0626d62..17575a8c01 100644
--- a/lib/inets/src/http_server/httpd_util.erl
+++ b/lib/inets/src/http_server/httpd_util.erl
@@ -54,7 +54,8 @@
@@ -58,7 +58,7 @@ index d6c0626d62..7e52997c87 100644
-removed({flatlength, 1, "use erlang:iolist_size/1 instead"}).
-removed({hexlist_to_integer, 1, "use erlang:list_to_integer/2 with base 16 instead"}).
-@@ -722,3 +723,23 @@ mod_error_logging(Mod, ConfigDB, Report) ->
+@@ -722,3 +723,22 @@ mod_error_logging(Mod, ConfigDB, Report) ->
_ ->
ok
end.
@@ -72,7 +72,6 @@ index d6c0626d62..7e52997c87 100644
+%% Without this, "//secret/file" bypasses mod_auth's re:run directory
+%% check while the OS still serves the file (treating // as /).
+%%----------------------------------------------------------------------
-+-doc false.
+collapse_slashes(Path) ->
+ collapse_slashes(Path, []).
+
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-02 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 14:13 [rpms/erlang] f43: Fix FTBFS: drop OTP 27 -doc attribute from CVE-2026-73270 backport Peter Lemenkov
2026-11-02 18:46 Peter Lemenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox