代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/rng-tools 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: rng-tools
Version: 6.3.1
Release: 4
Summary: Random number generator daemon
License: GPLv2+
URL: https://github.com/nhorman/rng-tools
Source0: https://github.com/nhorman/rng-tools/archive/v%{version}.tar.gz
Source1: rngd.service
Source2: jitterentropy-library-3f7b6cc.tar.gz
Patch0: jitterentropy-remove-install.patch
#Dependency
BuildRequires: gcc make gettext systemd autoconf automake
BuildRequires: libgcrypt-devel libsysfs-devel libcurl-devel libxml2-devel openssl-devel
Requires: libgcrypt libsysfs openssl libxml2 libcurl
%{?systemd_requires}
%description
Rng-tools is a random number generator daemon.It monitors a set of entropy sources,
and supplies entropy from them to the system kernel's /dev/random machinery.
%package_help
%prep
%autosetup -n %{name}-%{version} -a 2 -p1
%build
./autogen.sh
%configure
%make_build
%install
%make_install
install -D -t $RPM_BUILD_ROOT%{_unitdir} -m 0644 %{SOURCE1}
%pre
%post
%systemd_post rngd.service
%preun
%systemd_preun rngd.service
%postun
%systemd_postun_with_restart rngd.service
%files
%defattr(-,root,root)
%license COPYING
%doc AUTHORS NEWS README
%{_bindir}/rngtest
%{_sbindir}/rngd
%attr(0644,root,root) %{_unitdir}/rngd.service
%files help
%{_mandir}/man1/rngtest.1.*
%{_mandir}/man8/rngd.8.*
%changelog
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.3.1-4
- add jitterentropy support
* Wed Feb 19 2020 wanjiankang <wanjiankang@huawei.com> - 6.3.1-3
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。