diff --git a/haveged.service b/haveged.service new file mode 100644 index 0000000..23fd607 --- /dev/null +++ b/haveged.service @@ -0,0 +1,11 @@ +[Unit] +Description=Entropy Daemon based on the HAVEGE algorithm +Documentation=man:haveged(8) http://www.issihosts.com/haveged/ + +[Service] +Type=forking +PIDFile=/run/haveged.pid +ExecStart=/usr/sbin/haveged -w 1024 -v 1 -p /run/haveged.pid + +[Install] +WantedBy=multi-user.target diff --git a/haveged.spec b/haveged.spec index 6d9e13f..7d8c70e 100644 --- a/haveged.spec +++ b/haveged.spec @@ -1,5 +1,5 @@ Name: haveged -Version: 1.9.14 +Version: 1.9.15 Release: 1mamba Summary: A simple entropy daemon Group: System/Kernel and Hardware @@ -8,12 +8,12 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.issihosts.com/haveged/ Source: https://github.com/jirka-h/haveged.git/v%{version}/haveged-%{version}.tar.bz2 +Source1: haveged.service License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The haveged project is an attempt to provide an easy-to-use, unpredictable random number generator based upon an adaptation of the HAVEGE algorithm. Haveged was created to remedy low-entropy conditions in the Linux random device that can occur under some workloads, especially on headless servers. Current development of haveged is directed towards improving overall reliability and adaptability while minimizing the barriers to using haveged for other tasks. @@ -49,6 +49,8 @@ This package contains libraries and header files for developing applications tha [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall +install -D -m0755 %{SOURCE1} %{buildroot}%{_unitdir}/haveged.service + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -88,6 +90,9 @@ This package contains libraries and header files for developing applications tha %changelog +* Mon Oct 04 2021 Automatic Build System 1.9.15-1mamba +- automatic version update by autodist + * Mon Jan 04 2021 Automatic Build System 1.9.14-1mamba - automatic version update by autodist