Search
j0ke.net Open Build Service
>
Projects
>
internetx
>
ix-rkhunter
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 6
[-]
[+]
Changed
rkhunter.spec
@@ -54,10 +54,12 @@ %install ./installer.sh --layout RPM --install +mkdir -p ${RPM_BUILD_ROOT}%{_docdir} +mv /usr/share/doc/${name}-%{version} ${RPM_BUILD_ROOT}%{_docdir} cat files/rkhunter.conf >> ${RPM_BUILD_ROOT}%{_sysconfdir}/rkhunter.conf %{__chmod} 640 ${RPM_BUILD_ROOT}%{_sysconfdir}/rkhunter.conf # Only root should use rkhunter (at least for now) -%{__chmod} o-rwx -R ${RPM_BUILD_ROOT}/usr/share/rkhunter +#%{__chmod} o-rwx -R ${RPM_BUILD_ROOT}/usr/share/rkhunter %{__chmod} o-rwx -R ${RPM_BUILD_ROOT}%{_var}/lib/rkhunter/db # make a cron.daily file to mail us the reports %{__mkdir} -p "${RPM_BUILD_ROOT}/%{_sysconfdir}/cron.daily" @@ -75,10 +77,9 @@ %files %defattr(-,root,root,-) %{_bindir}/rkhunter -%dir /usr/share/rkhunter %doc %{_docdir}/rkhunter-%{version} %{_mandir}/man8/* -/usr/share/rkhunter/scripts +%{_libdir}/rkhunter/scripts %dir %{_var}/lib/rkhunter %dir %{_var}/lib/rkhunter/tmp %{_var}/lib/rkhunter/db