add sm3 crypt support

This commit is contained in:
lujie42 2021-10-28 16:47:24 +08:00
parent 368b9e3f43
commit 60f20b7467
2 changed files with 1316 additions and 1 deletions

1308
add-sm3-crypt-support.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,19 @@
%define libdir /lib64
Name: libxcrypt
Version: 4.4.16
Release: 1
Release: 2
Summary: Extended crypt library for DES, MD5, Blowfish and others
License: LGPLv2+ and BSD and Public Domain
URL: https://github.com/besser82/%{name}
Source0: https://github.com/besser82/libxcrypt/archive/%{name}-%{version}.tar.gz
Patch9000: add-sm3-crypt-support.patch
BuildRequires: autoconf libtool fipscheck
Obsoletes: %{name}-common < %{version}-%{release}
Provides: %{name}-common%{?_isa} = %{version}-%{release} %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-common = %{version}-%{release}
Provides: %{name}-sm3 = %{version}-%{release}
%description
libxcrypt is a modern library for one-way hashing of passwords.
@ -96,6 +100,9 @@ make check
%changelog
* Thu Oct 28 2021 lujie <lujie42@huawei.com> - 4.4.16-2
- add sm3 crypt support
* Fri Aug 7 2020 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 4.4.16-1
- update version to 4.4.16