1 Summary: Advanced Intrusion Detection Environment
2 Summary(pl): Zaawansowany System Wykrywania W³amañ (AIDE)
7 Group: Applications/System
8 Group(de): Applikationen/System
9 Group(pl): Aplikacje/System
10 Source0: ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz
12 Source2: %{name}-%{version}-doc.tar.bz2
13 Source3: %{name}-check
14 Patch0: %{name}-cvs20010627.patch.gz
15 Patch1: %{name}-NLS.patch
16 URL: http://www.cs.tut.fi/~rammer/aide.html
17 BuildRequires: autoconf
18 BuildRequires: automake
20 BuildRequires: gettext-devel
21 BuildRequires: glibc-static
22 BuildRequires: libgcrypt-static
23 BuildRequires: zlib-static
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 %define _sysconfdir /etc/%{name}
28 %define _pkglibdir /var/lib/%{name}
36 AIDE creates a database from the regular expression rules that it
37 finds from the config file. Once this database is initialized it can
38 be used to verify the integrity of the files. It has several message
39 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
40 check the integrity of the file. More algorithms can be added with
41 relative ease. All of the usual file attributes can also be checked
45 AIDE tworzy bazê danych z wyra¿eñ regularnych, które znajduj± siê w
46 pliku konfiguracyjnym. Gdy baza zostanie zainicjowana mo¿na sprawdzaæ
47 integralno¶æ plików. U¿ywanych jest kilka algorytmów sprawdzania
48 spójno¶ci (md5,sha1,rmd160,tiger,haval,itp.). Inne mog± byæ dodane
49 stosunkowo ³atwo. Zwyk³e atrybuty plików tak¿e mog± byæ sprawdzane.
53 gettextize --copy --force
58 --with-config-file=%{_sysconfdir}/aide.conf
62 rm -rf $RPM_BUILD_ROOT
63 %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
66 DESTDIR=$RPM_BUILD_ROOT
68 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
69 %{__install} %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
71 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
76 rm -rf $RPM_BUILD_ROOT
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc *.gz doc/aide.conf.gz doc/manual.html doc/aide.html
81 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
82 %attr(750,root,root) %dir %{_pkglibdir}
83 %attr(755,root,root) %{_bindir}/aide
84 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
86 %lang(ru) %{_mandir}/ru/man[15]/*