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