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