diff --git a/0001-add-support-for-sw_64-architecture.patch b/add-support-for-sw_64-architecture.patch similarity index 99% rename from 0001-add-support-for-sw_64-architecture.patch rename to add-support-for-sw_64-architecture.patch index 50455ad2cdf50a197c3ec0d6fc92832dab1ce435..c671abf059b2f1290d08954bc2f237783e2e02e5 100755 --- a/0001-add-support-for-sw_64-architecture.patch +++ b/add-support-for-sw_64-architecture.patch @@ -1,5 +1,5 @@ From d0640e594ea3a135519f77bfd4fcb334a77c2831 Mon Sep 17 00:00:00 2001 -From: funlei +From: funnyaaa Date: Thu, 3 Apr 2025 11:08:31 +0800 Subject: [PATCH 1/1] add support for sw_64 architecture diff --git a/openssl.spec b/openssl.spec index bf4a1dcb9279e5af849c1a014ec72533cf98afad..c894007f2f0093c283a522e315399e1eb960e8b1 100755 --- a/openssl.spec +++ b/openssl.spec @@ -2,7 +2,7 @@ Name: openssl Epoch: 1 Version: 3.0.12 -Release: 18 +Release: 19 Summary: Cryptography and SSL/TLS Toolkit License: OpenSSL and SSLeay URL: https://www.openssl.org/ @@ -76,12 +76,12 @@ Patch63: backport-Refactor-OSSL_LIB_CTX-to-avoid-using-CRYPTO_EX_DATA.patch Patch64: backport-Release-the-drbg-in-the-global-default-context-befor.patch Patch65: backport-params-provide-a-faster-TRIE-based-param-lookup.patch Patch66: backport-CVE-2024-13176-Fix-timing-side-channel.patch -Patch67: 0001-add-support-for-sw_64-architecture.patch -Patch68: backport-CVE-2024-41996.patch +Patch67: backport-CVE-2024-41996.patch Patch9000: add-FIPS_mode_set-support.patch Patch9001: backport-CVE-2024-9143-Harden-BN_GF2m_poly2arr-against-misuse.patch Patch9002: Fix-build-error-for-ppc64le.patch +Patch9003: add-support-for-sw_64-architecture.patch BuildRequires: gcc gcc-c++ perl make lksctp-tools-devel coreutils util-linux zlib-devel Requires: coreutils %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} @@ -142,6 +142,10 @@ sslarch=%{_os}64-%{_target_cpu} sslflags="--libdir=%{_libdir}" %endif +%ifarch sw_64 +sslflags="--libdir=%{_libdir}" +%endif + %ifarch x86_64 aarch64 sslflags=enable-ec_nistp_64_gcc_128 %endif @@ -282,6 +286,9 @@ make test || : %ldconfig_scriptlets libs %changelog +* Mon Aug 25 2025 swcompiler - 1:3.0.12-19 +- fix sw_64 _libdir + * Fri Aug 15 2025 yanglongkang - 1:3.0.12-18 - fix CVE-2024-41996