package/libopenssl: bump version to 3.2.0
PATCH 1/1 package/libopenssl: bump version to 3.2.0
Release notes:
https://www.openssl.org/blog/blog/2023/11/23/OpenSSL32/
Removed patch 0001 and added no-docs configure option due to
https://github.com/openssl/openssl/commit/956b4c75dc3f8710bf7b4e1cf01b4ef6d5ca2b45
Removed patch 0003 due to
https://github.com/openssl/openssl/commit/78634e8ac253a8edf338d329965724dfa8e033ab
Removed patch 0006 which is included in this release
https://github.com/openssl/openssl/commit/e1b6ecbab41514f45e9c355d01400691f74041c4
Renumbered remaining patches.
---
.checkpackageignore | 5 ++-
...building-manpages-if-we-re-not-going.patch | 33 -------------------
...ble-build-do-not-leak-compiler-path.patch} | 0
...v2-ABI-on-some-ppc64-big-endian-sys.patch} | 0
...ENSSL_NO_MADVISE-to-disable-call-to-.patch | 27 ---------------
...ch => 0003-Revert-Fix-static-builds.patch} | 0
.../0006-Add-linux-x86-latomic-target.patch | 30 -----------------
package/libopenssl/libopenssl.hash | 4 +--
package/libopenssl/libopenssl.mk | 4 ++-
9 files changed, 7 insertions(+), 96 deletions(-)
delete mode 100644 package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch
rename package/libopenssl/{0002-Reproducible-build-do-not-leak-compiler-path.patch => 0001-Reproducible-build-do-not-leak-compiler-path.patch} (100%)
rename package/libopenssl/{0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch => 0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch} (100%)
delete mode 100644 package/libopenssl/0003-Introduce-the-OPENSSL_NO_MADVISE-to-disable-call-to-.patch
rename package/libopenssl/{0005-Revert-Fix-static-builds.patch => 0003-Revert-Fix-static-builds.patch} (100%)
delete mode 100644 package/libopenssl/0006-Add-linux-x86-latomic-target.patch.checkpackageignore +2 -3
@@ -701,9 +701,8 @@ package/libnss/0001-Bug-1801182-Allow-overriding-OS_ARCH-OS_TEST-and-OS_.patch U package/liboauth/0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch Upstream package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch Upstream package/libodb-mysql/0002-mariadb-FTBFS-fix.patch Upstream -package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch Upstream -package/libopenssl/0002-Reproducible-build-do-not-leak-compiler-path.patch Upstream -package/libopenssl/0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch Upstream +package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch Upstream +package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch Upstream package/liboping/0001-fix-utf8-support.patch Upstream package/liboping/0002-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch Upstream package/liboping/0003-Fix-compile-break-with-GCC-7-buffer-overflow-with-snprintf.patch Upstream
package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From d8f104bffb0c4acb8c5fcdf49628f7d02ed48f7f Mon Sep 17 00:00:00 2001 -From: Mike Frysinger <[email protected]> -Date: Sat, 16 May 2015 18:53:51 +0200 -Subject: [PATCH] Dont waste time building manpages if we're not going to use - em. - -Signed-off-by: Ryan Barnett <[email protected]> -[Gustavo: update for parallel-build] - -[rebased on openssl-1.1.0h] -Signed-off-by: Peter Seiderer <[email protected]> -[rebased on openssl-1.1.1i] -Signed-off-by: Bernd Kuhls <[email protected]> ---- - Configurations/unix-Makefile.tmpl | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl -index 40cf2c3..777d9ca 100644 ---- a/Configurations/unix-Makefile.tmpl -+++ b/Configurations/unix-Makefile.tmpl -@@ -546,7 +546,7 @@ list-tests: - @echo "Tests are not supported with your chosen Configure options" - @ : {- output_on() if !$disabled{tests}; "" -} - --install: install_sw install_ssldirs install_docs {- $disabled{fips} ? "" : "install_fips" -} -+install: install_sw install_ssldirs {- $disabled{fips} ? "" : "install_fips" -} - - uninstall: uninstall_docs uninstall_sw {- $disabled{fips} ? "" : "uninstall_fips" -} - --- -2.16.3 -
package/libopenssl/0001-Reproducible-build-do-not-leak-compiler-path.patch renamed from package/libopenssl/0002-Reproducible-build-do-not-leak-compiler-path.patch +0 -0
package/libopenssl/0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch renamed from package/libopenssl/0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch +0 -0
package/libopenssl/0003-Introduce-the-OPENSSL_NO_MADVISE-to-disable-call-to-.patch deleted +0 -27
@@ -1,27 +0,0 @@ -From 1281ffc7959bd2070563e17a52ee4424196d885c Mon Sep 17 00:00:00 2001 -From: Patrick Havelange <[email protected]> -Date: Wed, 23 Jan 2019 12:21:21 +0100 -Subject: [PATCH] Introduce the OPENSSL_NO_MADVISE to disable call to madvise() - -Upstream: https://github.com/openssl/openssl/pull/8089 -Signed-off-by: Patrick Havelange <[email protected]> ---- - crypto/mem_sec.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/crypto/mem_sec.c b/crypto/mem_sec.c -index 9e0f670..32c7282 100644 ---- a/crypto/mem_sec.c -+++ b/crypto/mem_sec.c -@@ -557,7 +557,7 @@ static int sh_init(size_t size, int minsize) - if (mlock(sh.arena, sh.arena_size) < 0) - ret = 2; - #endif --#ifdef MADV_DONTDUMP -+#if defined(MADV_DONTDUMP) && !defined(OPENSSL_NO_MADVISE) - if (madvise(sh.arena, sh.arena_size, MADV_DONTDUMP) < 0) - ret = 2; - #endif --- -2.17.1 -
package/libopenssl/0003-Revert-Fix-static-builds.patch renamed from package/libopenssl/0005-Revert-Fix-static-builds.patch +0 -0
package/libopenssl/0006-Add-linux-x86-latomic-target.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From c80a60dca209813c33ab3d2794bc32d84c12d033 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <[email protected]> -Date: Fri, 28 Jul 2023 17:11:25 +0200 -Subject: [PATCH] Add linux-x86-latomic target - -Upstream: https://github.com/openssl/openssl/pull/21590 - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - Configurations/10-main.conf | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf -index 2200a85b16..bcf54a2a53 100644 ---- a/Configurations/10-main.conf -+++ b/Configurations/10-main.conf -@@ -868,6 +868,10 @@ my %targets = ( - asm_arch => 'x86', - perlasm_scheme => "elf", - }, -+ "linux-x86-latomic" => { -+ inherit_from => [ "linux-x86" ], -+ ex_libs => add(threads("-latomic")), -+ }, - "linux-x86-clang" => { - inherit_from => [ "linux-x86" ], - CC => "clang", --- -2.39.2 -
package/libopenssl/libopenssl.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://www.openssl.org/source/openssl-3.1.4.tar.gz.sha256 -sha256 840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3 openssl-3.1.4.tar.gz +# From https://www.openssl.org/source/openssl-3.2.0.tar.gz.sha256 +sha256 14c826f07c7e433706fb5c69fa9e25dab95684844b4c962a2cf1bf183eb4690e openssl-3.2.0.tar.gz # License files sha256 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a LICENSE.txt
package/libopenssl/libopenssl.mk +3 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBOPENSSL_VERSION = 3.1.4 +LIBOPENSSL_VERSION = 3.2.0 LIBOPENSSL_SITE = https://www.openssl.org/source LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz LIBOPENSSL_LICENSE = Apache-2.0
@@ -57,6 +57,7 @@ define HOST_LIBOPENSSL_CONFIGURE_CMDS ./config \ --prefix=$(HOST_DIR) \ --openssldir=$(HOST_DIR)/etc/ssl \ + no-docs \ no-tests \ no-fuzz-libfuzzer \ no-fuzz-afl \
@@ -78,6 +79,7 @@ define LIBOPENSSL_CONFIGURE_CMDS $(if $(BR2_PACKAGE_CRYPTODEV_LINUX),enable-devcryptoeng) \ no-rc5 \ enable-camellia \ + no-docs \ no-tests \ no-fuzz-libfuzzer \ no-fuzz-afl \
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 24 lines · On Mon, 4 Dec 2023 22:11:22 +0100 Bernd Kuhls <[email protected]> wrote:
Release notes:
https://www.openssl.org/blog/blog/2023/11/23/OpenSSL32/Removed patch 0001 and added no-docs configure option due to
https://github.com/openssl/openssl/commit/956b4c75dc3f8710bf7b4e1cf01b4ef6d5ca2b45Removed patch 0003 due to
https://github.com/openssl/openssl/commit/78634e8ac253a8edf338d329965724dfa8e033abRemoved patch 0006 which is included in this release
https://github.com/openssl/openssl/commit/e1b6ecbab41514f45e9c355d01400691f74041c4Renumbered remaining patches.
Signed-off-by Bernd Kuhls <[email protected]>--- .checkpackageignore | 5 ++- ...building-manpages-if-we-re-not-going.patch | 33 ------------------- ...ble-build-do-not-leak-compiler-path.patch} | 0 ...v2-ABI-on-some-ppc64-big-endian-sys.patch} | 0 ...ENSSL_NO_MADVISE-to-disable-call-to-.patch | 27 --------------- ...ch => 0003-Revert-Fix-static-builds.patch} | 0 .../0006-Add-linux-x86-latomic-target.patch | 30 ----------------- package/libopenssl/libopenssl.hash | 4 +--
Quoted 8 lines
package/libopenssl/libopenssl.mk | 4 ++-
9 files changed, 7 insertions(+), 96 deletions(-)
delete mode 100644 package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch
rename package/libopenssl/{0002-Reproducible-build-do-not-leak-compiler-path.patch => 0001-Reproducible-build-do-not-leak-compiler-path.patch} (100%)
rename package/libopenssl/{0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch => 0002-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch} (100%)
delete mode 100644 package/libopenssl/0003-Introduce-the-OPENSSL_NO_MADVISE-to-disable-call-to-.patch
rename package/libopenssl/{0005-Revert-Fix-static-builds.patch => 0003-Revert-Fix-static-builds.patch} (100%)
delete mode 100644 package/libopenssl/0006-Add-linux-x86-latomic-target.patchApplied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot