]> git.pld-linux.org Git - packages/aide.git/blame_incremental - aide.spec
50941b28384cafb6b16095466cbe69ad aide-check
[packages/aide.git] / aide.spec
... / ...
CommitLineData
1Summary: Advanced Intrusion Detection Environment
2Name: aide
3Version: 0.7
4Release: 1
5License: GPL
6Group: Applications/System
7Group(de): Applikationen/System
8Group(pl): Aplikacje/System
9Source0: ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz
10Source1: %{name}.conf
11Source2: %{name}-extra-%{version}.tar.bz2
12Patch0: %{name}-cvs20010627.patch.gz
13Patch1: %{name}-NLS.patch
14URL: http://www.cs.tut.fi/~rammer/aide.html
15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: flex
18BuildRequires: gettext-devel
19BuildRequires: glibc-static
20BuildRequires: libgcrypt-static
21Requires: crond
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%define _sysconfdir /etc/%{name}
25%define _pkglibdir /var/lib/%{name}
26
27%prep
28%setup -q -b 0 -b 2
29%patch0 -p1
30%patch1 -p1
31
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
41%build
42rm -f missing
43gettextize --copy --force
44aclocal
45autoconf
46automake -a -c
47%configure \
48 --with-config-file=%{_sysconfdir}/aide.conf \
49 --without-zlib
50%{__make}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
60%{__install} extra/aide.check $RPM_BUILD_ROOT/etc/cron.daily
61
62gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
63
64%find_lang %{name}
65
66%clean
67rm -rf $RPM_BUILD_ROOT
68
69%files -f %{name}.lang
70%defattr(644,root,root,755)
71%doc *.gz doc/aide.conf.gz doc/manual.html extra/aide.html
72%attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
73%attr(750,root,root) %dir %{_pkglibdir}
74%attr(755,root,root) %{_bindir}/aide
75%attr(700,root,root) %config(noreplace) /etc/cron.daily/aide.check
76%{_mandir}/man[15]/*
77%lang(ru) %{_mandir}/ru/man[15]/*
This page took 0.074232 seconds and 4 git commands to generate.