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