1 Star 0 Fork 13

wangchen/rng-tools

forked from src-openEuler/rng-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rng-tools.spec 1.53 KB
一键复制 编辑 原始数据 按行查看 历史
syyhao 提交于 2020-02-29 16:55 . add jitterentropy support
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wangchen2020/rng-tools.git
git@gitee.com:wangchen2020/rng-tools.git
wangchen2020
rng-tools
rng-tools
master

搜索帮助