!30 add loongarch support for libxcrypt
From: @zhangwenlong01 Reviewed-by: @zcfsite, @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
f8bcbd4cda
35
0001-add-loongarch-support.patch
Normal file
35
0001-add-loongarch-support.patch
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
From 4756f6073be004be96f26cac2c557bf3af9323f7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
||||||
|
Date: Fri, 23 Sep 2022 11:16:27 +0800
|
||||||
|
Subject: [PATCH] add loongarch support
|
||||||
|
|
||||||
|
---
|
||||||
|
lib/libcrypt.map.in | 2 +-
|
||||||
|
lib/libcrypt.minver | 1 +
|
||||||
|
2 files changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/lib/libcrypt.map.in b/lib/libcrypt.map.in
|
||||||
|
index e746a1b..a9059ac 100644
|
||||||
|
--- a/lib/libcrypt.map.in
|
||||||
|
+++ b/lib/libcrypt.map.in
|
||||||
|
@@ -42,5 +42,5 @@ fcrypt - GLIBC_2.0
|
||||||
|
# libcrypt.minver. The ordering is left to right, top to bottom.
|
||||||
|
%chain GLIBC_2.0 GLIBC_2.2 GLIBC_2.2.1 GLIBC_2.2.2 GLIBC_2.2.5 GLIBC_2.2.6
|
||||||
|
%chain GLIBC_2.3 GLIBC_2.4 GLIBC_2.12 GLIBC_2.16 GLIBC_2.17 GLIBC_2.18
|
||||||
|
-%chain GLIBC_2.21 GLIBC_2.27 GLIBC_2.29 GLIBC_2.32 GLIBC_2.33
|
||||||
|
+%chain GLIBC_2.21 GLIBC_2.27 GLIBC_2.29 GLIBC_2.32 GLIBC_2.33 GLIBC_2.34
|
||||||
|
%chain OW_CRYPT_1.0 XCRYPT_2.0 XCRYPT_4.3 XCRYPT_4.4
|
||||||
|
diff --git a/lib/libcrypt.minver b/lib/libcrypt.minver
|
||||||
|
index 445b946..b9099b6 100644
|
||||||
|
--- a/lib/libcrypt.minver
|
||||||
|
+++ b/lib/libcrypt.minver
|
||||||
|
@@ -87,6 +87,7 @@ GLIBC_2.0 linux.*gnu s390
|
||||||
|
GLIBC_2.0 linux.*gnu sh
|
||||||
|
GLIBC_2.0 linux.*gnu sparc
|
||||||
|
GLIBC_2.0 linux.*gnu x86_64
|
||||||
|
+GLIBC_2.34 linux.*gnu loongarch64
|
||||||
|
ERROR linux.*gnu .
|
||||||
|
|
||||||
|
# Other systems.
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
@ -1,13 +1,16 @@
|
|||||||
%define libdir /lib64
|
%define libdir /lib64
|
||||||
Name: libxcrypt
|
Name: libxcrypt
|
||||||
Version: 4.4.26
|
Version: 4.4.26
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Extended crypt library for DES, MD5, Blowfish and others
|
Summary: Extended crypt library for DES, MD5, Blowfish and others
|
||||||
License: LGPLv2+ and BSD and Public Domain
|
License: LGPLv2+ and BSD and Public Domain
|
||||||
URL: https://github.com/besser82/%{name}
|
URL: https://github.com/besser82/%{name}
|
||||||
Source0: https://github.com/besser82/%{name}/archive/v%{version}.tar.gz
|
Source0: https://github.com/besser82/%{name}/archive/v%{version}.tar.gz
|
||||||
|
|
||||||
Patch9000: add-sm3-crypt-support.patch
|
Patch9000: add-sm3-crypt-support.patch
|
||||||
|
%ifarch loongarch64
|
||||||
|
Patch9001: 0001-add-loongarch-support.patch
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: perl >= 5.14.0
|
BuildRequires: perl >= 5.14.0
|
||||||
BuildRequires: autoconf libtool fipscheck
|
BuildRequires: autoconf libtool fipscheck
|
||||||
@ -101,6 +104,9 @@ autoreconf -fiv
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 14 2022 Wenlong Zhang <zhangwenlong@loongson.cn> - 4.4.26-3
|
||||||
|
- add loongarch support for libxcrypt
|
||||||
|
|
||||||
* Wed Oct 19 2022 yixiangzhike <yixiangzhike007@163.com> - 4.4.26-2
|
* Wed Oct 19 2022 yixiangzhike <yixiangzhike007@163.com> - 4.4.26-2
|
||||||
- use the macro make_build instead of make to support multitasking in check
|
- use the macro make_build instead of make to support multitasking in check
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user