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