disable pkcs11 support

This commit is contained in:
yang_zhuang_zhuang 2022-01-17 20:04:01 +08:00
parent eb9330d9db
commit bad01d7da8

View File

@ -1,6 +1,6 @@
Name: rng-tools
Version: 6.14
Release: 2
Release: 3
Summary: Random number generator daemon
License: GPLv2+
URL: https://github.com/nhorman/rng-tools
@ -10,8 +10,8 @@ Source1: rngd.service
#Dependency
BuildRequires: gcc make gettext systemd autoconf automake
BuildRequires: libgcrypt-devel libcurl-devel libxml2-devel openssl-devel
BuildRequires: libp11-devel jansson-devel jitterentropy-library-devel
Requires: libgcrypt libsysfs openssl libxml2 libcurl jitterentropy-library openssl-pkcs11
BuildRequires: jansson-devel jitterentropy-library-devel
Requires: libgcrypt libsysfs openssl libxml2 libcurl jitterentropy-library
%{?systemd_requires}
%description
@ -25,7 +25,7 @@ and supplies entropy from them to the system kernel's /dev/random machinery.
%build
./autogen.sh
%configure --without-rtlsdr
%configure --without-rtlsdr --without-pkcs11
%make_build
%install
@ -58,6 +58,9 @@ install -D -t $RPM_BUILD_ROOT%{_unitdir} -m 0644 %{SOURCE1}
%{_mandir}/man8/rngd.8.*
%changelog
* Tue Jan 18 2022 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 6.14-3
- Disable pkcs11 support
* Mon Dec 27 2021 yangzhuangzhuang <yangzhuangzhuang1@huawei.com> - 6.14-2
- Use the external jitterentropy library