]>
Commit | Line | Data |
---|---|---|
5ba1e661 | 1 | Summary: Rootkit Hunter is a Rootkit Hunter :) _FIXMEEE_ |
2 | Summary(pl): _FIXMEEE_ | |
3 | Name: rkhunter | |
4 | Version: 1.1.1 | |
136b66ca | 5 | Release: 0.10 |
5ba1e661 | 6 | License: GPL |
7 | Group: Applications | |
8 | Source0: http://downloads.rootkit.nl/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 89b588aecf35ce34fa5cb737890e37c8 | |
10 | Source1: %{name}.cron | |
136b66ca | 11 | Source2: %{name}.conf |
12 | Patch0: %{name}-shell.patch | |
5ba1e661 | 13 | URL: http://www.rootkit.nl/ |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | BuildArch: noarch | |
16 | ||
17 | %description | |
18 | Rootkit scanner is scanning tool to ensure you for about 99.9%% you're | |
19 | clean of nasty tools. This tool scans for rootkits, backdoors and | |
20 | local exploits by running tests like: | |
21 | - MD5 hash compare | |
22 | - Look for default files used by rootkits | |
23 | - Wrong file permissions for binaries | |
24 | - Look for suspected strings in LKM and KLD modules | |
25 | - Look for hidden files | |
26 | - Optional scan within plaintext and binary files | |
27 | ||
28 | Rootkit Hunter is released as GPL licensed project and free for | |
29 | everyone to use. | |
30 | ||
31 | %description -l pl | |
32 | _FIXMEEEE_ | |
33 | ||
34 | %prep | |
35 | %setup -q -n %{name} | |
136b66ca | 36 | %patch0 -p1 |
5ba1e661 | 37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
136b66ca | 40 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}/cron.daily,%{_libdir}/%{name}/scripts,%{_var}/lib/%{name}/{db,tmp}} |
5ba1e661 | 41 | |
42 | install files/rkhunter $RPM_BUILD_ROOT%{_sbindir} | |
136b66ca | 43 | install files/*.dat $RPM_BUILD_ROOT%{_var}/lib/%{name}/db |
5ba1e661 | 44 | install files/*.pl $RPM_BUILD_ROOT%{_libdir}/%{name}/scripts |
136b66ca | 45 | install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir} |
5ba1e661 | 46 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/%{name} |
47 | ||
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %files | |
52 | %defattr(644,root,root,755) | |
53 | %doc files/CHANGELOG files/README files/WISHLIST | |
54 | %attr(750,root,root) %{_sbindir}/* | |
55 | %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf | |
56 | %attr(750,root,root) %{_sysconfdir}/cron.daily/%{name} | |
57 | %dir %{_libdir}/%{name} | |
58 | %dir %{_libdir}/%{name}/scripts | |
59 | %attr(750,root,root) %{_libdir}/%{name}/scripts/*.pl | |
136b66ca | 60 | %dir %{_var}/lib/%{name} |
61 | %dir %{_var}/lib/%{name}/db | |
62 | %attr(770,root,root) %dir %{_var}/lib/%{name}/tmp | |
63 | %attr(640,root,root) %{_var}/lib/%{name}/db/*.dat |