SHA256
1
0
forked from pool/haveged

- update to 1.3:

* reorganized to allow its collection mechanism to be better accessed
    directly through the file system: includes the option to suppress the
    daemon interface in the build for circumstances where /dev/random is
    unavailable or its use is inappropriate

OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=46
This commit is contained in:
Pascal Bleser
2011-10-25 08:49:07 +00:00
committed by Git OBS Bridge
parent b1f069aaf2
commit c31c96c61c
4 changed files with 17 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
Name: haveged
Version: 1.2
Version: 1.3
Release: 2
License: GPLv3
Summary: Feed entropy into random pool
@@ -51,7 +51,7 @@ For more informations see http://www.issihosts.com/haveged/
%build
autoreconf -fiv
export LDFLAGS="-Wl,-z,relro,-z,now"
%configure --with-libcap-ng=yes --sbindir=/sbin --enable-nistest=yes
%configure --with-libcap-ng=yes --sbindir=/sbin --enable-nistest=yes --enable-daemon=yes
make %{?_smp_mflags}
%check
@@ -59,14 +59,13 @@ make %{?_smp_mflags} check
%install
%makeinstall
%{__install} -m0755 %{S:1} %{buildroot}%{_initddir}/haveged
%{__install} -D -m0755 %{S:1} %{buildroot}%{_initddir}/haveged
%{__mkdir_p} %{buildroot}%{_sbindir}
%{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name}
%{__mkdir_p} %{buildroot}/lib/systemd/system
%{__install} -m0755 %{S:2} %{buildroot}/lib/systemd/system/haveged.service
%{__install} -D -m0755 %{S:2} %{buildroot}/lib/systemd/system/haveged.service
%clean
rm -rf %{buildroot}
%{?buildroot:%__rm -rf "%{buildroot}"}
%post
# do not enable on condition here, let YAST, kiwi or the user do it.