1 Summary: Advanced Intrusion Detection Environment
6 Group: Applications/System
7 Group(de): Applikationen/System
8 Group(pl): Aplikacje/System
9 Source0: ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz
11 Source2: %{name}-extra-%{version}.tar.bz2
12 Patch0: %{name}-cvs20010627.patch.gz
13 URL: http://www.cs.tut.fi/~rammer/aide.html
14 BuildRequires: libgcrypt-static
15 BuildRequires: gettext-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _sysconfdir /etc/%{name}
19 %define _pkglibdir /var/lib/%{name}
26 AIDE creates a database from the regular expression rules that it
27 finds from the config file. Once this database is initialized it can
28 be used to verify the integrity of the files. It has several message
29 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
30 check the integrity of the file. More algorithms can be added with
31 relative ease. All of the usual file attributes can also be checked
36 --with-config-file=%{_sysconfdir}/aide.conf \
42 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
45 %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
46 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
47 %{__install} -m 700 extra/aide.check $RPM_BUILD_ROOT/etc/cron.daily
49 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
54 rm -rf $RPM_BUILD_ROOT
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc *.gz doc/aide.conf.gz doc/manual.html extra/aide.html
59 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
60 %attr(750,root,root) %ghost %{_pkglibdir}
61 %attr(755,root,root) %{_bindir}/aide
62 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide.check