public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/erlang] f43: Fix FTBFS: drop OTP 27 -doc attribute from CVE-2026-73270 backport
Date: Wed, 14 Oct 2026 14:13:24 GMT [thread overview]
Message-ID: <179198720483.1.2941327201006977227.rpms-erlang-43f634e715ac@fedoraproject.org> (raw)
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, []).
+
next reply other threads:[~2026-10-14 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 14:13 Peter Lemenkov [this message]
2026-11-02 18:46 [rpms/erlang] f43: Fix FTBFS: drop OTP 27 -doc attribute from CVE-2026-73270 backport Peter Lemenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179198720483.1.2941327201006977227.rpms-erlang-43f634e715ac@fedoraproject.org \
--to=lemenkov@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox