Compare commits

..

No commits in common. "bf5a2a2fbaa4e095ca0b96bafcd7faa79cc7dbc9" and "9663d43d02501eec7eca907c4ab8601bef566c15" have entirely different histories.

4 changed files with 6 additions and 23 deletions

Binary file not shown.

BIN
haveged-1.9.8.tar.gz Normal file

Binary file not shown.

View File

@ -1,5 +1,6 @@
[Service] [Service]
ExecStart=/usr/sbin/haveged -w 1024 -v 1 --Foreground Environment=PARAMETER=-w 1024 -v 1 --Foreground
ExecStart=/usr/sbin/haveged ${PARAMETER}
Type=simple Type=simple
SuccessExitStatus=137 143 SuccessExitStatus=137 143
Restart=always Restart=always

View File

@ -2,19 +2,18 @@
# and made some modifications. The exactly file path is ./contrib/build/fedora.spec. # and made some modifications. The exactly file path is ./contrib/build/fedora.spec.
Summary: A Linux entropy source using the HAVEGE algorithm Summary: A Linux entropy source using the HAVEGE algorithm
Name: haveged Name: haveged
Version: 1.9.13 Version: 1.9.8
Release: 5 Release: 2
License: GPLv3+ License: GPLv3+
URL: https://github.com/jirka-h/haveged URL: https://github.com/jirka-h/haveged
Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/jirka-h/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: haveged.service Source1: haveged.service
Patch0: fix-the-core-file-problem.patch Patch9000: fix-the-core-file-problem.patch
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
BuildRequires: gcc
BuildRequires: automake gdb coreutils glibc-common systemd BuildRequires: automake gdb coreutils glibc-common systemd
%description %description
@ -44,7 +43,7 @@ Headers and shared object symbolic links for the HAVEGE algorithm
%package_help %package_help
%prep %prep
%autosetup -n %{name}-%{version} -p1 %setup -q
%build %build
%configure %configure
@ -74,8 +73,6 @@ rm -rf %{buildroot}
%post %post
/sbin/ldconfig /sbin/ldconfig
%systemd_post haveged.service %systemd_post haveged.service
/bin/systemctl enable haveged
/bin/systemctl start haveged
%preun %preun
%systemd_preun haveged.service %systemd_preun haveged.service
@ -104,21 +101,6 @@ rm -rf %{buildroot}
%{_mandir}/man3/libhavege.3* %{_mandir}/man3/libhavege.3*
%changelog %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 * Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.9.8-2
- update service - update service