]> git.pld-linux.org Git - packages/aide.git/blob - aide.spec
7da972020e926e2b0e5264cb665e4fa0a4370f7c
[packages/aide.git] / aide.spec
1 Summary:        Advanced Intrusion Detection Environment
2 Summary(pl.UTF-8):      Zaawansowany System Wykrywania Włamań (AIDE)
3 Summary(pt_BR.UTF-8):   AIDE - ferramenta de verificação de integridade do sistema
4 Name:           aide
5 Version:        0.14.2
6 Release:        1
7 License:        GPL
8 Group:          Applications/System
9 Source0:        http://dl.sourceforge.net/aide/%{name}-%{version}.tar.gz
10 # Source0-md5:  c3b9d8bf29efc065e7cb86174370af11
11 Source1:        %{name}.conf
12 Source2:        %{name}-0.7-doc.tar.bz2
13 # Source2-md5:  f8d01112f839957b3061bb6b5f262174
14 Source3:        %{name}-check
15 Source4:        %{name}.sysconfig
16 Patch0:         %{name}-autoconf.patch
17 Patch1:         %{name}-NLS.patch
18 Patch2:         %{name}-no_md.patch
19 URL:            http://www.cs.tut.fi/~rammer/aide.html
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  bison
23 BuildRequires:  flex
24 BuildRequires:  gettext-devel
25 BuildRequires:  glibc-static
26 BuildRequires:  mhash-static
27 BuildRequires:  perl-modules
28 BuildRequires:  pkgconfig
29 BuildRequires:  zlib-static >= 1.1.4
30 Requires:       crondaemon
31 Requires:       grep
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %define         _sysconfdir     /etc/%{name}
35 %define         _pkglibdir      /var/lib/%{name}
36
37 %description
38 AIDE creates a database from the regular expression rules that it
39 finds from the config file. Once this database is initialized it can
40 be used to verify the integrity of the files. It has several message
41 digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
42 check the integrity of the file. More algorithms can be added with
43 relative ease. All of the usual file attributes can also be checked
44 for inconsistencies.
45
46 %description -l pl.UTF-8
47 AIDE tworzy bazę danych z wyrażeń regularnych, które znajdują się w
48 pliku konfiguracyjnym. Gdy baza zostanie zainicjowana można sprawdzać
49 integralność plików. Używanych jest kilka algorytmów sprawdzania
50 spójności (md5,sha1,rmd160,tiger,haval,itp.). Inne mogą być dodane
51 stosunkowo łatwo. Zwykłe atrybuty plików także mogą być sprawdzane.
52
53 %description -l pt_BR.UTF-8
54 O AIDE tem por objetivo ser a versão gratuita do Tripwire, e ajuda a
55 detectar violações de integridade pelo uso de hashes como MD5.
56
57 %prep
58 %setup -q -b 0 -a 2
59 %patch0 -p1
60 %patch1 -p1
61 %patch2 -p1
62
63 %build
64 %{__gettextize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__automake}
68 %configure \
69         --with-config-file=%{_sysconfdir}/aide.conf
70 #       --with-extra-includes=/usr/include/
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sysconfig}
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
81 install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
82 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/aide
83
84 # %find_lang %{name}
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README doc/aide.conf doc/manual.html aide-*/doc/aide.html
92 %attr(750,root,root) %dir %{_sysconfdir}
93 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aide.conf
94 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/aide
95 %attr(750,root,root) %dir %{_pkglibdir}
96 %attr(755,root,root) %{_bindir}/aide
97 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
98 %{_mandir}/man[15]/*
This page took 0.053625 seconds and 2 git commands to generate.