add sm3 crypt support

This commit is contained in:
houmingyong 2021-12-21 17:14:17 +08:00
parent 18d023d9f1
commit 8e4c26d265
2 changed files with 1292 additions and 1 deletions

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

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,20 @@
%define libdir /lib64 %define libdir /lib64
Name: libxcrypt Name: libxcrypt
Version: 4.4.26 Version: 4.4.26
Release: 1 Release: 2
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
BuildRequires: autoconf libtool fipscheck BuildRequires: autoconf libtool fipscheck
BuildRequires: perl >= 5.14.0 BuildRequires: perl >= 5.14.0
Obsoletes: %{name}-common < %{version}-%{release} Obsoletes: %{name}-common < %{version}-%{release}
Provides: %{name}-common%{?_isa} = %{version}-%{release} %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-common%{?_isa} = %{version}-%{release} %{name}%{?_isa} = %{version}-%{release}
Provides: %{name}-common = %{version}-%{release} Provides: %{name}-common = %{version}-%{release}
Provides: %{name}-sm3 = %{version}-%{release}
%description %description
libxcrypt is a modern library for one-way hashing of passwords. libxcrypt is a modern library for one-way hashing of passwords.
@ -97,6 +101,9 @@ make check
%changelog %changelog
* Thu Dec 16 2021 houmingyong<houmingyong@huawei.com> - 4.4.26-2
- add sm3 crypt support
* Sat Dec 4 2021 yixiangzhike <yixiangzhike007@163.com> - 4.4.26-1 * Sat Dec 4 2021 yixiangzhike <yixiangzhike007@163.com> - 4.4.26-1
- update to 4.4.26 - update to 4.4.26