forked from pool/haveged
Accepting request 98462 from home:elvigia:branches:security
- Put the haveged binary back in /usr/sbin not in /sbin OBS-URL: https://build.opensuse.org/request/show/98462 OBS-URL: https://build.opensuse.org/package/show/security/haveged?expand=0&rev=56
This commit is contained in:
parent
3b9d2e3df5
commit
8fc0694db0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 31 05:09:38 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Put the haveged binary back in /usr/sbin not in /sbin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 14 23:42:57 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -11,8 +11,8 @@
|
||||
# to generate random numbers that are fed into the random pool.
|
||||
### END INIT INFO
|
||||
|
||||
HAVEGED_BIN=/sbin/haveged
|
||||
HAVEGED_PARAMS="-w 1024 -v 1"
|
||||
HAVEGED_BIN=/usr/sbin/haveged
|
||||
HAVEGED_PARAMS="-w 1024 -v 0"
|
||||
|
||||
# Shell functions sourced from /etc/rc.status:
|
||||
# rc_check check and set local and overall rc status
|
||||
|
@ -3,7 +3,7 @@ Description=Haveged Entropy Gathering Daemon
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/sbin/haveged -F 1 -w 1024 -v 0
|
||||
ExecStart=/usr/sbin/haveged -F 1 -w 1024 -v 0
|
||||
CapabilityBoundingSet=CAP_SYS_ADMIN
|
||||
|
||||
[Install]
|
||||
|
@ -60,7 +60,7 @@ For more informations see http://www.issihosts.com/haveged/
|
||||
%build
|
||||
autoreconf -fiv
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
%configure --sbindir=/sbin --enable-nistest=yes --enable-daemon=yes
|
||||
%configure --enable-nistest=yes --enable-daemon=yes
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@ -107,7 +107,7 @@ make %{?_smp_mflags} check
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/rc%{name}
|
||||
/sbin/%{name}
|
||||
%{_sbindir}/%{name}
|
||||
%config %{_initddir}/%{name}
|
||||
%{_mandir}/man8/%{name}.8.gz
|
||||
%if 0%{?have_systemd}
|
||||
|
Loading…
Reference in New Issue
Block a user