]> git.pld-linux.org Git - packages/aide.git/blame - aide.spec
- converted to UTF-8
[packages/aide.git] / aide.spec
CommitLineData
267fa07a 1Summary: Advanced Intrusion Detection Environment
f839844b 2Summary(pl.UTF-8): Zaawansowany System Wykrywania Włamań (AIDE)
267fa07a 3Name: aide
457caf8c
GS
4Version: 0.8
5Release: 0.1
815547a7 6License: GPL
7Group: Applications/System
63b5b1d9 8Source0: ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz
7c6e55eb 9Source1: %{name}.conf
9e48b4f1
GS
10Source2: %{name}-check
11Source3: %{name}.sysconfig
12Patch0: %{name}-autoconf.patch
815547a7 13URL: http://www.cs.tut.fi/~rammer/aide.html
eac5aeb7 14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: flex
63b5b1d9
SZ
17BuildRequires: bison
18BuildRequires: perl-modules
62aff1ca 19BuildRequires: gettext-devel
eac5aeb7 20BuildRequires: glibc-static
21BuildRequires: libgcrypt-static
cc4809c0 22BuildRequires: zlib-static
9e48b4f1 23BuildRequires: kernel-headers
5190f6bc 24Requires: crondaemon
07664da9 25Requires: mailx
1351e812 26Requires: grep
267fa07a
GS
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
7c6e55eb
GS
29%define _sysconfdir /etc/%{name}
30%define _pkglibdir /var/lib/%{name}
267fa07a 31
267fa07a
GS
32%description
33AIDE creates a database from the regular expression rules that it
34finds from the config file. Once this database is initialized it can
35be used to verify the integrity of the files. It has several message
36digest algorithms (md5,sha1,rmd160,tiger,haval,etc.) that are used to
37check the integrity of the file. More algorithms can be added with
38relative ease. All of the usual file attributes can also be checked
39for inconsistencies.
40
f839844b
JR
41%description -l pl.UTF-8
42AIDE tworzy bazę danych z wyrażeń regularnych, które znajdują się w
43pliku konfiguracyjnym. Gdy baza zostanie zainicjowana można sprawdzać
44integralność plików. Używanych jest kilka algorytmów sprawdzania
45spójności (md5,sha1,rmd160,tiger,haval,itp.). Inne mogą być dodane
46stosunkowo łatwo. Zwykłe atrybuty plików także mogą być sprawdzane.
4eab56ee 47
c5417424 48%prep
457caf8c 49%setup -q -b 0
9e48b4f1 50%patch0 -p1
c5417424 51
267fa07a 52%build
fc900930 53rm -f missing
eac5aeb7 54gettextize --copy --force
fc900930
GS
55aclocal
56autoconf
57automake -a -c
267fa07a 58%configure \
457caf8c 59 --with-config-file=%{_sysconfdir}/aide.conf \
267fa07a
GS
60%{__make}
61
62%install
63rm -rf $RPM_BUILD_ROOT
858e252e 64install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily,/etc/sysconfig}
eac5aeb7 65
267fa07a
GS
66%{__make} install \
67 DESTDIR=$RPM_BUILD_ROOT
eac5aeb7 68
fc900930 69install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
9e48b4f1
GS
70install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily
71install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/aide
267fa07a 72
7c6e55eb 73gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
815547a7 74
457caf8c 75#%find_lang %{name}
815547a7 76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
457caf8c
GS
80#%files -f %{name}.lang
81%files
267fa07a 82%defattr(644,root,root,755)
457caf8c 83%doc *.gz doc/aide.conf.gz doc/manual.html
929b4d66 84%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf
858e252e 85%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aide
ceddf0b0 86%attr(750,root,root) %dir %{_pkglibdir}
267fa07a 87%attr(755,root,root) %{_bindir}/aide
efc0ccf7 88%attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
267fa07a 89%{_mandir}/man[15]/*
457caf8c 90#%lang(ru) %{_mandir}/ru/man[15]/*
This page took 0.080064 seconds and 4 git commands to generate.