Compare commits
11 Commits
9663d43d02
...
bf5a2a2fba
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf5a2a2fba | ||
|
|
e32c666d50 | ||
|
|
cdf300db30 | ||
|
|
da6fb2b3a4 | ||
|
|
898083041a | ||
|
|
56e920523c | ||
|
|
397758e56c | ||
|
|
5807f62efe | ||
|
|
e831d8867d | ||
|
|
dfafd0f5f8 | ||
|
|
560369bdc1 |
BIN
haveged-1.9.13.tar.gz
Normal file
BIN
haveged-1.9.13.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,6 +1,5 @@
|
||||
[Service]
|
||||
Environment=PARAMETER=-w 1024 -v 1 --Foreground
|
||||
ExecStart=/usr/sbin/haveged ${PARAMETER}
|
||||
ExecStart=/usr/sbin/haveged -w 1024 -v 1 --Foreground
|
||||
Type=simple
|
||||
SuccessExitStatus=137 143
|
||||
Restart=always
|
||||
|
||||
26
haveged.spec
26
haveged.spec
@ -2,18 +2,19 @@
|
||||
# and made some modifications. The exactly file path is ./contrib/build/fedora.spec.
|
||||
Summary: A Linux entropy source using the HAVEGE algorithm
|
||||
Name: haveged
|
||||
Version: 1.9.8
|
||||
Release: 2
|
||||
Version: 1.9.13
|
||||
Release: 5
|
||||
License: GPLv3+
|
||||
URL: https://github.com/jirka-h/haveged
|
||||
Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
Source1: haveged.service
|
||||
|
||||
Patch9000: fix-the-core-file-problem.patch
|
||||
Patch0: fix-the-core-file-problem.patch
|
||||
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
BuildRequires: gcc
|
||||
BuildRequires: automake gdb coreutils glibc-common systemd
|
||||
|
||||
%description
|
||||
@ -43,7 +44,7 @@ Headers and shared object symbolic links for the HAVEGE algorithm
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -73,6 +74,8 @@ rm -rf %{buildroot}
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%systemd_post haveged.service
|
||||
/bin/systemctl enable haveged
|
||||
/bin/systemctl start haveged
|
||||
|
||||
%preun
|
||||
%systemd_preun haveged.service
|
||||
@ -101,6 +104,21 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/libhavege.3*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 6 2023 wangqingsan <wangqingsan@huawei.com> - 1.9.13-5
|
||||
- enable haveged.service
|
||||
|
||||
* Tue May 25 2021 yixiangzhike <zhangxingliang3@huawei.com> - 1.9.13-4
|
||||
- add gcc to BuildRequires
|
||||
|
||||
* Thu Nov 26 2020 yixiangzhike <zhangxingliang3@huawei.com> - 1.9.13-3
|
||||
- solve startup failure
|
||||
|
||||
* Thu Aug 13 2020 Anakin Zhang <benjamin93@163.com> - 1.9.13-2
|
||||
- remove libhavege.so.1*
|
||||
|
||||
* Thu Jul 23 2020 wangchen <wangchen137@huawei.com> - 1.9.13-1
|
||||
- update to 1.9.13
|
||||
|
||||
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.9.8-2
|
||||
- update service
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user