package created using the webbuild interface [release 1.9.8-1mamba;Sun Oct 20 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 23:38:53 +01:00
parent 004b78ef19
commit 3e7d71c2a3
2 changed files with 95 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# haveged
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.

93
haveged.spec Normal file
View File

@ -0,0 +1,93 @@
Name: haveged
Version: 1.9.8
Release: 1mamba
Summary: A simple entropy daemon
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.issihosts.com/haveged/
## GITSOURCE https://github.com/jirka-h/haveged.git v1.9.8
Source: https://github.com/jirka-h/haveged.git/v%{version}/haveged-%{version}.tar.bz2
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.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--enable-init=service.fedora
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
%systemd_post %{name}
:
%preun
%systemd_preun %{name}
:
%postun
/sbin/ldconfig
%systemd_postun_with_restart %{name}
%files
%defattr(-,root,root)
%{_sbindir}/haveged
%{_unitdir}/haveged.service
%{_mandir}/man8/haveged.8*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libhavege.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/haveged
%{_includedir}/haveged/havege.h
%{_libdir}/libhavege.a
%{_libdir}/libhavege.la
%{_libdir}/libhavege.so
%{_mandir}/man3/libhavege.3*
%doc ChangeLog NEWS README
%changelog
* Sun Oct 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.8-1mamba
- package created using the webbuild interface