]> git.pld-linux.org Git - packages/rkhunter.git/blob - rkhunter.spec
- updated to 1.2.8
[packages/rkhunter.git] / rkhunter.spec
1 Summary:        Rootkit Hunter
2 Summary(pl):    Program do poszukiwania rootkitów
3 Name:           rkhunter
4 Version:        1.2.8
5 Release:        1
6 License:        GPL
7 Group:          Applications
8 Source0:        http://downloads.rootkit.nl/%{name}-%{version}.tar.gz
9 # Source0-md5:  41122193b5006b617e03c637a17ae982
10 Source1:        %{name}.cron
11 Source2:        %{name}.conf
12 Patch0:         %{name}-datadir.patch
13 URL:            http://www.rootkit.nl/projects/rootkit_hunter.html
14 Requires:       binutils
15 Requires:       coreutils
16 Requires:       diffutils
17 Requires:       e2fsprogs
18 Requires:       wget
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Rootkit scanner is scanning tool to ensure you for about 99.9%% you're
24 clean of nasty tools. This tool scans for rootkits, backdoors and
25 local exploits by running tests like:
26  - MD5 hash compare
27  - Look for default files used by rootkits
28  - Wrong file permissions for binaries
29  - Look for suspected strings in LKM and KLD modules
30  - Look for hidden files
31  - Optional scan within plaintext and binary files
32
33 Rootkit Hunter is released as GPL licensed project and free for
34 everyone to use.
35
36 %description -l pl
37 Skaner antyrootkitowy to narzêdzie skanuj±ce, aby upewniæ siê na
38 99.9%%, ¿e jeste¶my wolni od brzydkich narzêdzi. To narzêdzie
39 poszukuje rootkitów, backdoorów i lokalnych eksploitów wykonuj±c testy
40 w rodzaju:
41  - porównywanie skrótów MD5
42  - poszukiwanie plików domy¶lnie u¿ywanych przez rootkity
43  - poszukiwanie niepoprawnych uprawnieñ dla binarek
44  - poszukiwanie podejrzanych ³añcuchów w modu³ach LKM i KLD
45  - poszukiwanie ukrytych plików
46  - opcjonalne przeszukiwanie plików tekstowych i binarnych
47
48 Rootkit Hunter jest wydany na licencji GPL i darmowy do u¿ywania przez
49 wszystkich.
50
51 %prep
52 %setup -q -n %{name}
53 %patch0 -p0
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_sbindir},/etc/cron.daily,%{_datadir}/%{name}/scripts,%{_var}/lib/%{name}/{db,tmp}}
58
59 install files/rkhunter $RPM_BUILD_ROOT%{_sbindir}
60 install files/*.dat $RPM_BUILD_ROOT%{_var}/lib/%{name}/db
61 install files/*.pl $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts
62 install files/check_update.sh $RPM_BUILD_ROOT%{_datadir}/%{name}/scripts
63 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}
64 install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.daily/%{name}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc files/CHANGELOG files/README files/WISHLIST
72 %attr(750,root,root) %{_sbindir}/*
73 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
74 %attr(750,root,root) /etc/cron.daily/%{name}
75 %dir %{_datadir}/%{name}
76 %dir %{_datadir}/%{name}/scripts
77 %attr(750,root,root) %{_datadir}/%{name}/scripts/*
78 %dir %{_var}/lib/%{name}
79 %dir %{_var}/lib/%{name}/db
80 %attr(770,root,root) %dir %{_var}/lib/%{name}/tmp
81 %attr(640,root,root) %verify(not md5 mtime size) %{_var}/lib/%{name}/db/*.dat
This page took 0.056635 seconds and 3 git commands to generate.