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