1 Summary: Advanced Intrusion Detection Environment
2 Summary(pl.UTF-8): Zaawansowany System Wykrywania Włamań (AIDE)
7 Group: Applications/System
8 Source0: ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz
10 Source2: %{name}-check
11 Source3: %{name}.sysconfig
12 Patch0: %{name}-autoconf.patch
13 URL: http://www.cs.tut.fi/~rammer/aide.html
14 BuildRequires: autoconf
15 BuildRequires: automake
18 BuildRequires: perl-modules
19 BuildRequires: gettext-devel
20 BuildRequires: glibc-static
21 BuildRequires: libgcrypt-static
22 BuildRequires: zlib-static
23 BuildRequires: kernel-headers
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define _sysconfdir /etc/%{name}
30 %define _pkglibdir /var/lib/%{name}
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
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.
54 gettextize --copy --force
59 --with-config-file=%{_sysconfdir}/aide.conf \
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sysconfig}
67 DESTDIR=$RPM_BUILD_ROOT
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
70 install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily
71 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/aide
73 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
78 rm -rf $RPM_BUILD_ROOT
80 #%files -f %{name}.lang
82 %defattr(644,root,root,755)
83 %doc *.gz doc/aide.conf.gz doc/manual.html
84 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf
85 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aide
86 %attr(750,root,root) %dir %{_pkglibdir}
87 %attr(755,root,root) %{_bindir}/aide
88 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
90 #%lang(ru) %{_mandir}/ru/man[15]/*