2024-01-05 17:26:33 +01:00
|
|
|
Name: rng-tools
|
2024-05-25 10:49:59 +02:00
|
|
|
Version: 6.17
|
|
|
|
Release: 1mamba
|
2024-01-05 17:26:33 +01:00
|
|
|
Summary: A random number generator daemon
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 17:26:33 +01:00
|
|
|
URL: https://github.com/nhorman/rng-tools
|
2024-01-05 17:26:33 +01:00
|
|
|
Source: https://github.com/nhorman/rng-tools.git/v%{version}/rng-tools-%{version}.tar.bz2
|
2024-01-05 17:26:33 +01:00
|
|
|
Patch0: rng-tools-6.10-pkcs11-path.patch
|
|
|
|
Source1: rngd.service
|
2024-01-05 17:26:33 +01:00
|
|
|
Source2: rngd-sysconfig
|
2024-01-05 17:26:33 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 17:26:34 +01:00
|
|
|
BuildRequires: libcap-devel
|
2024-01-05 17:26:33 +01:00
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libjansson-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libp11-devel
|
2024-01-05 17:26:33 +01:00
|
|
|
BuildRequires: librtlsdr-devel
|
|
|
|
BuildRequires: libusb-devel
|
2024-01-05 17:26:33 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-03-25 23:41:51 +01:00
|
|
|
BuildRequires: librtlsdr-devel >= 2.0.1-1mamba
|
2024-01-05 17:26:33 +01:00
|
|
|
Requires: libopensc
|
2024-01-05 17:26:33 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
rng-tools provides 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.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
install -D -m0644 %{SOURCE1} %{buildroot}%{_unitdir}/rngd.service
|
2024-01-05 17:26:33 +01:00
|
|
|
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/rngd
|
2024-01-05 17:26:33 +01:00
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
%post
|
|
|
|
%systemd_post rngd
|
|
|
|
:
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun rngd
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun rngd
|
|
|
|
:
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:26:33 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/rngd
|
2024-01-05 17:26:33 +01:00
|
|
|
%{_bindir}/randstat
|
2024-01-05 17:26:33 +01:00
|
|
|
%{_bindir}/rngtest
|
|
|
|
%{_sbindir}/rngd
|
2024-01-05 17:26:33 +01:00
|
|
|
%{_unitdir}/rngd.service
|
2024-01-05 17:26:33 +01:00
|
|
|
%{_mandir}/man1/rngtest.1*
|
|
|
|
%{_mandir}/man8/rngd.8*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-05-25 10:49:59 +02:00
|
|
|
* Sat May 25 2024 Automatic Build System <autodist@openmamba.org> 6.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-25 23:41:51 +01:00
|
|
|
* Sun Mar 24 2024 Automatic Build System <autodist@mambasoft.it> 6.16-4mamba
|
|
|
|
- rebuilt by autoport with build requirements: librtlsdr-devel>=2.0.1-1mamba
|
|
|
|
|
2024-01-05 17:26:34 +01:00
|
|
|
* Thu Apr 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.16-3mamba
|
|
|
|
- fix applying updated rngd.service
|
|
|
|
|
|
|
|
* Wed Apr 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 6.16-2mamba
|
|
|
|
- rngd.service: update to fix blocking system shutdown
|
|
|
|
|
2024-01-05 17:26:34 +01:00
|
|
|
* Wed Jan 11 2023 Automatic Build System <autodist@mambasoft.it> 6.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Fri Feb 11 2022 Automatic Build System <autodist@mambasoft.it> 6.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Sun Aug 15 2021 Automatic Build System <autodist@mambasoft.it> 6.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Sun Aug 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.13-2mamba
|
|
|
|
- rngd.service: fix ExecStart binary path
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Sat Jun 12 2021 Automatic Build System <autodist@mambasoft.it> 6.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Sat May 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.12-2mamba
|
|
|
|
- systemd service fixed
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Sat Mar 13 2021 Automatic Build System <autodist@mambasoft.it> 6.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Mon Jan 11 2021 Automatic Build System <autodist@mambasoft.it> 6.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Sat Dec 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.10-3mamba
|
|
|
|
- fixed systemd file
|
|
|
|
|
|
|
|
* Tue Apr 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.10-2mamba
|
|
|
|
- add systemd service file; require libopensc
|
|
|
|
|
2024-01-05 17:26:33 +01:00
|
|
|
* Sun Mar 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 6.10-1mamba
|
|
|
|
- package created using the webbuild interface
|