]> git.pld-linux.org Git - packages/adeos.git/blob - adeos.spec
- massive attack: adding Source-md5
[packages/adeos.git] / adeos.spec
1 Summary:        Adeos - automated filesystem security scanner
2 Summary(pl):    Adeos - Zautomatyzowany skaner bezpieczeñstwa systemu plików
3 Name:           adeos
4 Version:        1.0
5 Release:        1
6 Group:          Applications/System
7 License:        GPL v2
8 Source0:        http://linux.wku.edu/~lamonml/software/adeos/%{name}-%{version}.tar.bz2
9 # Source0-md5:  059b47e4cd45a40c060bd41dd33739a1
10 URL:            http://linux.wku.edu/~lamonml/software/adeos/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _wwwdir         /home/services/httpd/html/%{name}
14
15 %description
16 Adeos (named after the obscure Roman goddess of modesty) is an
17 automated filesystem security scanner. It recursively walks all
18 mounted filesystems on the local system and attempts to identify
19 common security concerns such as SUID and world-writeable files.
20
21 %description -l pl
22 Adeos (nazwany na cze¶æ nieznanego rzymskiego boga skromno¶ci) jest
23 zautomatyzowanym skanerem bezpieczeñstwa systemu plików. Program
24 rekursywnie przemieszcza siê po lokalnym systemie plików i stara siê
25 zidentyfikowaæ powszechne b³êdy w zabezpieczeniach, takie jak SUIDy
26 czy pliki zapisywalne dla wszystkich.
27
28 %package www
29 Summary:        Adeos - automated filesystem security scanner
30 Summary(pl):    Adeos - Zautomatyzowany skaner bezpieczeñstwa systemu plików
31 Group:          Applications/System
32 Requires:       adeos
33 Requires:       crondaemon
34 Requires:       webserver
35
36 %description www
37 Scripts and cron jobs to publish data on www.
38
39 %description www -l pl
40 Skrypty crona do publikacji na stronie www.
41
42 %prep
43 %setup -q
44
45 %build
46 %configure
47
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_bindir},/etc/cron.weekly,%{_wwwdir}}
53
54 install %{name} $RPM_BUILD_ROOT%{_bindir}
55
56 cat > $RPM_BUILD_ROOT/etc/cron.weekly/%{name}.sh <<EOF
57 cd %{_wwwdir}
58 %{_bindir}/%{name} -h
59 chmod a+r results.html
60 EOF
61
62 touch $RPM_BUILD_ROOT%{_wwwdir}/results.html
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc CHANGELOG README
70 %attr(755,root,root) %{_bindir}/*
71
72 %files www
73 %dir %{_wwwdir}
74 %ghost %{_wwwdir}/results.html
75 %attr(755,root,root) %config(noreplace) /etc/cron.weekly/%{name}.sh
This page took 0.082908 seconds and 4 git commands to generate.