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