1 Summary: Advanced Intrusion Detection Environment
2 Summary(pl): Zaawansowany System Wykrywania W³amañ (AIDE)
7 Group: Applications/System
8 Source0: ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz
9 # Source0-md5: 877b1f515a9e25afda75e06805d687fb
11 Source2: %{name}-0.7-doc.tar.bz2
12 Source3: %{name}-check
13 Source4: %{name}.sysconfig
14 Patch0: %{name}-autoconf.patch
15 Patch1: %{name}-NLS.patch
16 Patch2: %{name}-ac_fix.patch
17 Patch3: %{name}-flex_fix.patch
18 Patch4: %{name}-no_md.patch
19 URL: http://www.cs.tut.fi/~rammer/aide.html
20 BuildRequires: autoconf
21 BuildRequires: automake
23 BuildRequires: findutils
25 BuildRequires: gettext-devel
26 BuildRequires: glibc-static
27 BuildRequires: mhash-static
28 BuildRequires: perl-modules
30 BuildRequires: zlib-static >= 1.1.4
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 %define _sysconfdir /etc/%{name}
37 %define _pkglibdir /var/lib/%{name}
40 AIDE creates a database from the regular expression rules that it
41 finds from the config file. Once this database is initialized it can
42 be used to verify the integrity of the files. It has several message
43 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
44 check the integrity of the file. More algorithms can be added with
45 relative ease. All of the usual file attributes can also be checked
49 AIDE tworzy bazê danych z wyra¿eñ regularnych, które znajduj± siê w
50 pliku konfiguracyjnym. Gdy baza zostanie zainicjowana mo¿na sprawdzaæ
51 integralno¶æ plików. U¿ywanych jest kilka algorytmów sprawdzania
52 spójno¶ci (md5,sha1,rmd160,tiger,haval,itp.). Inne mog± byæ dodane
53 stosunkowo ³atwo. Zwyk³e atrybuty plików tak¿e mog± byæ sprawdzane.
64 rm -f missing po/Makefile*
65 find . -name "*.c" -type f > po/POTFILES.in
71 --with-config-file=%{_sysconfdir}/aide.conf \
72 --with-extra-includes=/usr/include/
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sysconfig}
80 DESTDIR=$RPM_BUILD_ROOT
82 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
83 install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
84 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/aide
89 rm -rf $RPM_BUILD_ROOT
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README doc/aide.conf doc/manual.html aide-*/doc/aide.html
94 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf
95 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aide
96 %attr(750,root,root) %dir %{_pkglibdir}
97 %attr(755,root,root) %{_bindir}/aide
98 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check