public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openssl] rawhide: Add loongarch64 support.
@ 2026-06-22 7:34 Sun Haiyong
0 siblings, 0 replies; only message in thread
From: Sun Haiyong @ 2026-06-22 7:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/openssl
Branch : rawhide
Commit : 4fd22a7ec96e7c88e792754cab14aaf347c74208
Author : Sun Haiyong <sunhaiyong@zdbr.net>
Date : 2026-06-22T10:28:43+08:00
Stats : +10/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/openssl/c/4fd22a7ec96e7c88e792754cab14aaf347c74208?branch=rawhide
Log:
Add loongarch64 support.
sslarch use linux64-loongarch64 for loongarch64
add --libdir=%{_lib} for loongarch64
Signed-off-by: Sun Haiyong <sunhaiyong@zdbr.net>
---
diff --git a/openssl.spec b/openssl.spec
index f9f6bc8..08a89ed 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -30,7 +30,7 @@ print(string.sub(hash, 0, 16))
Summary: Utilities from the general purpose cryptography library with TLS implementation
Name: openssl
Version: 4.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Epoch: 1
Source0: openssl-%{version}.tar.gz
Source1: fips-hmacify.sh
@@ -214,6 +214,10 @@ ktlsopt=enable-ktls
%ifarch armv7hl
ktlsopt=disable-ktls
%endif
+%ifarch loongarch64
+sslarch=linux64-loongarch64
+%endif
+
# Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
# marked as not requiring an executable stack.
@@ -230,7 +234,7 @@ export HASHBANGPERL=/usr/bin/perl
# RPM_OPT_FLAGS, so we can skip specifiying them here.
./Configure \
--prefix=%{_prefix} --openssldir=%{_sysconfdir}/pki/tls ${sslflags} \
-%ifarch riscv64
+%ifarch riscv64 loongarch64
--libdir=%{_lib} \
%endif
--system-ciphers-file=%{_sysconfdir}/crypto-policies/back-ends/opensslcnf.config \
@@ -434,6 +438,10 @@ ln -s /etc/crypto-policies/back-ends/openssl_fips.config $RPM_BUILD_ROOT%{_sysco
%ldconfig_scriptlets libs
%changelog
+* Mon Jun 22 2026 Sun Haiyong <sunhaiyong@zdbr.net> - 1:4.0.1-2
+- Add sslarch use linux64-loongarch64 for loongarch64
+- Add --libdir=%{_lib} for loongarch64
+
* Tue Jun 09 2026 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1:4.0.1-1
- Rebase to OpenSSL 4.0.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-22 7:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 7:34 [rpms/openssl] rawhide: Add loongarch64 support Sun Haiyong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox