* [Buildroot] [PATCH] package/libopenssl: downgrade to 3.5.9 LTS
@ 2026-11-29 3:28 Marcus Hoffmann via buildroot
2026-11-29 10:11 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: Marcus Hoffmann via buildroot @ 2026-11-29 3:28 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Perale
3.6 is a non-LTS release which reached its end of life on 2026-11-01.
3.6.5 (2026-09-29) is therefore the last release of that series: the
openssl-3.6 branch has received no commits since 2026-10-29, it has been
dropped from OpenSSL's CI, and the fixes published on 2026-12-01 for the
supported branches (3.5.10, 4.0.4, 4.1.1) will not be released for 3.6.
Switch to 3.5.9, the current 3.5 LTS release, supported until
2030-04-08.
Openssl 3.6 new features are listed here:
https://openssl-library.org/post/2025-10-01-3.6-release-announcement/
These do not seem to be widely used (or at least required) in the wild
yet. No in-tree package seems to depend on 3.6+.
The 3.5 series needs the "Serialize install process" patch back, and the
two other patches are rebased back onto 3.5.
Refs: https://gitlab.com/buildroot.org/buildroot/-/work_items/200
Refs: https://openssl-library.org/roadmap/index.html
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
---
...ible-build-do-not-leak-compiler-path.patch | 4 +-
.../0002-Revert-Fix-static-builds.patch | 6 +--
...l-process-to-avoid-multiple-make-dep.patch | 44 +++++++++++++++++++
package/libopenssl/libopenssl.hash | 4 +-
package/libopenssl/libopenssl.mk | 2 +-
5 files changed, 52 insertions(+), 8 deletions(-)
create mode 100644 package/libopenssl/0003-Serialize-install-process-to-avoid-multiple-make-dep.patch
diff --git a/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch b/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
index f4baf916e3..7474822709 100644
--- a/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
+++ b/package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch
@@ -14,10 +14,10 @@ Signed-off-by: Peter Seiderer <ps.report@gmx.net>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/build.info b/crypto/build.info
-index 2c619c6..49ca6ab 100644
+index aee5c46766..84d94aa623 100644
--- a/crypto/build.info
+++ b/crypto/build.info
-@@ -115,7 +115,7 @@ EXTRA= ../ms/uplink-x86.pl ../ms/uplink.c ../ms/applink.c \
+@@ -115,7 +115,7 @@ DEFINE[../libcrypto]=$UPLINKDEF
DEPEND[info.o]=buildinf.h
DEPEND[cversion.o]=buildinf.h
diff --git a/package/libopenssl/0002-Revert-Fix-static-builds.patch b/package/libopenssl/0002-Revert-Fix-static-builds.patch
index daeece2a0f..18030d81fa 100644
--- a/package/libopenssl/0002-Revert-Fix-static-builds.patch
+++ b/package/libopenssl/0002-Revert-Fix-static-builds.patch
@@ -16,10 +16,10 @@ Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Configure b/Configure
-index ac3206e..764ef89 100755
+index 4614b5becf..cac670405e 100755
--- a/Configure
+++ b/Configure
-@@ -1510,10 +1510,6 @@ if ($config{prefix} && !$config{CROSS_COMPILE}) {
+@@ -1515,10 +1515,6 @@ if ($config{prefix} && !$config{CROSS_COMPILE}) {
unless file_name_is_absolute($config{prefix});
}
@@ -30,7 +30,7 @@ index ac3206e..764ef89 100755
# Allow overriding the build file name
$config{build_file} = env('BUILDFILE') || $target{build_file} || "Makefile";
-@@ -1808,6 +1804,10 @@ if ($strict_warnings)
+@@ -1813,6 +1809,10 @@ if ($strict_warnings)
}
}
diff --git a/package/libopenssl/0003-Serialize-install-process-to-avoid-multiple-make-dep.patch b/package/libopenssl/0003-Serialize-install-process-to-avoid-multiple-make-dep.patch
new file mode 100644
index 0000000000..176375c000
--- /dev/null
+++ b/package/libopenssl/0003-Serialize-install-process-to-avoid-multiple-make-dep.patch
@@ -0,0 +1,44 @@
+From 4562b002366535b3d387fae7fa1dbd8e315ae142 Mon Sep 17 00:00:00 2001
+From: Neil Horman <nhorman@openssl.org>
+Date: Mon, 14 Apr 2025 12:23:15 -0400
+Subject: [PATCH] Serialize install process to avoid multiple make depend
+ operations
+
+If make install is run with a large -j value (make install -j N , where
+N > 1)
+
+We can run into a situation in which the install fails because multiple
+make depend operations are running in parallel, which will fail due to
+makefile rewriting.
+
+Serialize the install process to guarantee that those operations don't
+step on one another
+
+Fixes # 27074
+
+Upstream: https://github.com/openssl/openssl/pull/27388
+Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
+---
+ Configurations/unix-Makefile.tmpl | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
+index 5bf397eba0..806084ac0c 100644
+--- a/Configurations/unix-Makefile.tmpl
++++ b/Configurations/unix-Makefile.tmpl
+@@ -662,7 +662,11 @@ depend: Makefile
+ # Install helper targets #############################################
+ ##@ Installation
+
+-install: install_sw install_ssldirs {- "install_docs" if !$disabled{docs}; -} {- $disabled{fips} ? "" : "install_fips" -} ## Install software and documentation, create OpenSSL directories
++install: Makefile ## Install software and documentation, create OpenSSL directories
++ $(MAKE) install_sw
++ $(MAKE) install_ssldirs
++ {- "\$(MAKE) install_docs" if !$disabled{docs} -}
++ {- "\$(MAKE) install_fips" if !$disabled{fips} -}
+
+ uninstall: {- "uninstall_docs" if !$disabled{docs}; -} uninstall_sw {- $disabled{fips} ? "" : "uninstall_fips" -} ## Uninstall software and documentation
+
+--
+2.39.5
+
diff --git a/package/libopenssl/libopenssl.hash b/package/libopenssl/libopenssl.hash
index b7083cc3d7..3938a81e5e 100644
--- a/package/libopenssl/libopenssl.hash
+++ b/package/libopenssl/libopenssl.hash
@@ -1,5 +1,5 @@
-# From https://github.com/openssl/openssl/releases/download/openssl-3.6.5/openssl-3.6.5.tar.gz.sha256
-sha256 a2157c2830efdec3788939b00c9b0638306d3f0bbb76dc4832ee503bb397df98 openssl-3.6.5.tar.gz
+# From https://github.com/openssl/openssl/releases/download/openssl-3.5.9/openssl-3.5.9.tar.gz.sha256
+sha256 603f5602e2eef00d77fbd429d34dcd5822bb301757a1bc9cdb24c670f1eb859a openssl-3.5.9.tar.gz
# License files
sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt
diff --git a/package/libopenssl/libopenssl.mk b/package/libopenssl/libopenssl.mk
index 44734d176a..d6c9a463ea 100644
--- a/package/libopenssl/libopenssl.mk
+++ b/package/libopenssl/libopenssl.mk
@@ -4,7 +4,7 @@
#
################################################################################
-LIBOPENSSL_VERSION = 3.6.5
+LIBOPENSSL_VERSION = 3.5.9
LIBOPENSSL_SITE = https://github.com/openssl/openssl/releases/download/openssl-$(LIBOPENSSL_VERSION)
LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz
LIBOPENSSL_LICENSE = Apache-2.0
--
2.56.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/libopenssl: downgrade to 3.5.9 LTS
2026-11-29 3:28 [Buildroot] [PATCH] package/libopenssl: downgrade to 3.5.9 LTS Marcus Hoffmann via buildroot
@ 2026-11-29 10:11 ` Peter Korsgaard
2026-11-29 11:00 ` Yegor Yefremov via buildroot
0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2026-11-29 10:11 UTC (permalink / raw)
To: Marcus Hoffmann via buildroot; +Cc: Marcus Hoffmann, Thomas Perale
>>>>> "Marcus" == Marcus Hoffmann via buildroot <buildroot@buildroot.org> writes:
> 3.6 is a non-LTS release which reached its end of life on 2026-11-01.
> 3.6.5 (2026-09-29) is therefore the last release of that series: the
> openssl-3.6 branch has received no commits since 2026-10-29, it has been
> dropped from OpenSSL's CI, and the fixes published on 2026-12-01 for the
"Published" sounds like it has already been done, so I reworded this to
"scheduled for".
While the upcoming security fixes are all tagged with low severity, I
agree that it does not make any sense to use the EOL'ed 3.6 series,
especially with 2027.02 becoming our new LTS release, so committed.
Once 2027.02 is out then we may want to have a look at moving to openssl
4.x.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/libopenssl: downgrade to 3.5.9 LTS
2026-11-29 10:11 ` Peter Korsgaard
@ 2026-11-29 11:00 ` Yegor Yefremov via buildroot
2026-11-29 11:27 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-11-29 11:00 UTC (permalink / raw)
To: Peter Korsgaard
Cc: Marcus Hoffmann via buildroot, Marcus Hoffmann, Thomas Perale
Hi Peter, all,
On Sun, Nov 29, 2026 at 11:11 AM Peter Korsgaard <peter@korsgaard.com> wrote:
>
> >>>>> "Marcus" == Marcus Hoffmann via buildroot <buildroot@buildroot.org> writes:
>
> > 3.6 is a non-LTS release which reached its end of life on 2026-11-01.
> > 3.6.5 (2026-09-29) is therefore the last release of that series: the
> > openssl-3.6 branch has received no commits since 2026-10-29, it has been
> > dropped from OpenSSL's CI, and the fixes published on 2026-12-01 for the
>
> "Published" sounds like it has already been done, so I reworded this to
> "scheduled for".
>
> While the upcoming security fixes are all tagged with low severity, I
> agree that it does not make any sense to use the EOL'ed 3.6 series,
> especially with 2027.02 becoming our new LTS release, so committed.
>
> Once 2027.02 is out then we may want to have a look at moving to openssl
> 4.x.
Should we also move MbedTLS to 4.1 branch as 3.x branch is supported
only till 03.2027.
Yegor
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH] package/libopenssl: downgrade to 3.5.9 LTS
2026-11-29 11:00 ` Yegor Yefremov via buildroot
@ 2026-11-29 11:27 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2026-11-29 11:27 UTC (permalink / raw)
To: Yegor Yefremov
Cc: Marcus Hoffmann via buildroot, Marcus Hoffmann, Thomas Perale
>>>>> "Yegor" == Yegor Yefremov <yegorslists@googlemail.com> writes:
Hi,
>> Once 2027.02 is out then we may want to have a look at moving to openssl
>> 4.x.
> Should we also move MbedTLS to 4.1 branch as 3.x branch is supported
> only till 03.2027.
Less urgent for 2026.11, but it indeed sounds like a plan for 2027.02 -
Thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-11-29 11:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29 3:28 [Buildroot] [PATCH] package/libopenssl: downgrade to 3.5.9 LTS Marcus Hoffmann via buildroot
2026-11-29 10:11 ` Peter Korsgaard
2026-11-29 11:00 ` Yegor Yefremov via buildroot
2026-11-29 11:27 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox