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 Patch1: %{name}-NLS.patch
14 URL: http://www.cs.tut.fi/~rammer/aide.html
15 BuildRequires: autoconf
16 BuildRequires: automake
18 BuildRequires: gettext-devel
19 BuildRequires: glibc-static
20 BuildRequires: libgcrypt-static
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _sysconfdir /etc/%{name}
25 %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
43 gettextize --copy --force
48 --with-config-file=%{_sysconfdir}/aide.conf \
53 rm -rf $RPM_BUILD_ROOT
54 %{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
57 DESTDIR=$RPM_BUILD_ROOT
59 %{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
60 %{__install} extra/aide.check $RPM_BUILD_ROOT/etc/cron.daily
62 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
67 rm -rf $RPM_BUILD_ROOT
69 %files -f %{name}.lang
70 %defattr(644,root,root,755)
71 %doc *.gz doc/aide.conf.gz doc/manual.html extra/aide.html
72 %attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
73 %attr(750,root,root) %ghost %{_pkglibdir}
74 %attr(755,root,root) %{_bindir}/aide
75 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide.check
77 %lang(ru) %{_mandir}/ru/man[15]/*