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