]>
Commit | Line | Data |
---|---|---|
267fa07a | 1 | Summary: Advanced Intrusion Detection Environment |
f839844b | 2 | Summary(pl.UTF-8): Zaawansowany System Wykrywania Włamań (AIDE) |
267fa07a | 3 | Name: aide |
457caf8c GS |
4 | Version: 0.8 |
5 | Release: 0.1 | |
815547a7 | 6 | License: GPL |
7 | Group: Applications/System | |
63b5b1d9 | 8 | Source0: ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz |
7c6e55eb | 9 | Source1: %{name}.conf |
9e48b4f1 GS |
10 | Source2: %{name}-check |
11 | Source3: %{name}.sysconfig | |
12 | Patch0: %{name}-autoconf.patch | |
815547a7 | 13 | URL: http://www.cs.tut.fi/~rammer/aide.html |
eac5aeb7 | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
16 | BuildRequires: flex | |
63b5b1d9 SZ |
17 | BuildRequires: bison |
18 | BuildRequires: perl-modules | |
62aff1ca | 19 | BuildRequires: gettext-devel |
eac5aeb7 | 20 | BuildRequires: glibc-static |
21 | BuildRequires: libgcrypt-static | |
cc4809c0 | 22 | BuildRequires: zlib-static |
9e48b4f1 | 23 | BuildRequires: kernel-headers |
5190f6bc | 24 | Requires: crondaemon |
07664da9 | 25 | Requires: mailx |
1351e812 | 26 | Requires: grep |
267fa07a GS |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
7c6e55eb GS |
29 | %define _sysconfdir /etc/%{name} |
30 | %define _pkglibdir /var/lib/%{name} | |
267fa07a | 31 | |
267fa07a GS |
32 | %description |
33 | AIDE creates a database from the regular expression rules that it | |
34 | finds from the config file. Once this database is initialized it can | |
35 | be used to verify the integrity of the files. It has several message | |
36 | digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to | |
37 | check the integrity of the file. More algorithms can be added with | |
38 | relative ease. All of the usual file attributes can also be checked | |
39 | for inconsistencies. | |
40 | ||
f839844b JR |
41 | %description -l pl.UTF-8 |
42 | AIDE tworzy bazę danych z wyrażeń regularnych, które znajdują się w | |
43 | pliku konfiguracyjnym. Gdy baza zostanie zainicjowana można sprawdzać | |
44 | integralność plików. Używanych jest kilka algorytmów sprawdzania | |
45 | spójności (md5,sha1,rmd160,tiger,haval,itp.). Inne mogą być dodane | |
46 | stosunkowo łatwo. Zwykłe atrybuty plików także mogą być sprawdzane. | |
4eab56ee | 47 | |
c5417424 | 48 | %prep |
457caf8c | 49 | %setup -q -b 0 |
9e48b4f1 | 50 | %patch0 -p1 |
c5417424 | 51 | |
267fa07a | 52 | %build |
fc900930 | 53 | rm -f missing |
eac5aeb7 | 54 | gettextize --copy --force |
fc900930 GS |
55 | aclocal |
56 | autoconf | |
57 | automake -a -c | |
267fa07a | 58 | %configure \ |
457caf8c | 59 | --with-config-file=%{_sysconfdir}/aide.conf \ |
267fa07a GS |
60 | %{__make} |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
858e252e | 64 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sysconfig} |
eac5aeb7 | 65 | |
267fa07a GS |
66 | %{__make} install \ |
67 | DESTDIR=$RPM_BUILD_ROOT | |
eac5aeb7 | 68 | |
fc900930 | 69 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} |
9e48b4f1 GS |
70 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily |
71 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/aide | |
267fa07a | 72 | |
7c6e55eb | 73 | gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf |
815547a7 | 74 | |
457caf8c | 75 | #%find_lang %{name} |
815547a7 | 76 | |
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
457caf8c GS |
80 | #%files -f %{name}.lang |
81 | %files | |
267fa07a | 82 | %defattr(644,root,root,755) |
457caf8c | 83 | %doc *.gz doc/aide.conf.gz doc/manual.html |
929b4d66 | 84 | %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf |
858e252e | 85 | %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aide |
ceddf0b0 | 86 | %attr(750,root,root) %dir %{_pkglibdir} |
267fa07a | 87 | %attr(755,root,root) %{_bindir}/aide |
efc0ccf7 | 88 | %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check |
267fa07a | 89 | %{_mandir}/man[15]/* |
457caf8c | 90 | #%lang(ru) %{_mandir}/ru/man[15]/* |