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