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