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