]> git.pld-linux.org Git - packages/aide.git/blob - aide.spec
- added AIDE_MAILTO and AIDE_MOVEDB options
[packages/aide.git] / aide.spec
1 Summary:        Advanced Intrusion Detection Environment
2 Summary(pl):    Zaawansowany System Wykrywania W³amañ (AIDE)
3 Name:           aide
4 Version:        0.7
5 Release:        6
6 License:        GPL
7 Group:          Applications/System
8 Group(de):      Applikationen/System
9 Group(es):      Aplicaciones/Sistema
10 Group(pl):      Aplikacje/System
11 Group(pt_BR):   Aplicações/Sistema
12 Source0:        ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz
13 Source1:        %{name}.conf
14 Source2:        %{name}-%{version}-doc.tar.bz2
15 Source3:        %{name}-check
16 Source4:        %{name}.sysconfig
17 Patch0:         %{name}-cvs20010627.patch.gz
18 Patch1:         %{name}-NLS.patch
19 Patch2:         %{name}-autoconf.patch
20 URL:            http://www.cs.tut.fi/~rammer/aide.html
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  flex
24 BuildRequires:  bison
25 BuildRequires:  perl-modules
26 BuildRequires:  gettext-devel
27 BuildRequires:  glibc-static
28 BuildRequires:  libgcrypt-static
29 BuildRequires:  zlib-static
30 Requires:       crondaemon
31 Requires:       mailx
32 Requires:       grep
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _sysconfdir     /etc/%{name}
36 %define         _pkglibdir      /var/lib/%{name}
37
38 %description
39 AIDE creates a database from the regular expression rules that it
40 finds from the config file. Once this database is initialized it can
41 be used to verify the integrity of the files. It has several message
42 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
43 check the integrity of the file. More algorithms can be added with
44 relative ease. All of the usual file attributes can also be checked
45 for inconsistencies.
46
47 %description -l pl
48 AIDE tworzy bazê danych z wyra¿eñ regularnych, które znajduj± siê w
49 pliku konfiguracyjnym. Gdy baza zostanie zainicjowana mo¿na sprawdzaæ
50 integralno¶æ plików. U¿ywanych jest kilka algorytmów sprawdzania
51 spójno¶ci (md5,sha1,rmd160,tiger,haval,itp.). Inne mog± byæ dodane
52 stosunkowo ³atwo. Zwyk³e atrybuty plików tak¿e mog± byæ sprawdzane.
53
54 %prep
55 %setup -q -b 0 -b 2
56 %patch0 -p1
57 %patch1 -p1
58 %patch2 -p1
59
60 %build
61 rm -f missing
62 gettextize --copy --force
63 aclocal
64 autoconf
65 automake -a -c
66 %configure \
67         --with-config-file=%{_sysconfdir}/aide.conf
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sysconfig}
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
78 install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
79 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/aide
80
81 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
82
83 %find_lang %{name}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc *.gz doc/aide.conf.gz doc/manual.html doc/aide.html
91 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf
92 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aide
93 %attr(750,root,root) %dir %{_pkglibdir}
94 %attr(755,root,root) %{_bindir}/aide
95 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
96 %{_mandir}/man[15]/*
97 %lang(ru) %{_mandir}/ru/man[15]/*
This page took 0.036059 seconds and 3 git commands to generate.