]> git.pld-linux.org Git - packages/aide.git/blobdiff - aide.spec
- added Requires: grep
[packages/aide.git] / aide.spec
index b3387dda64cc50107dd69ca10a22ee196f7b9bc0..4cd3851742fa9a1fa7cb69daf5171ad3b30c7261 100644 (file)
--- a/aide.spec
+++ b/aide.spec
@@ -1,35 +1,37 @@
 Summary:       Advanced Intrusion Detection Environment
 Summary:       Advanced Intrusion Detection Environment
+Summary(pl):   Zaawansowany System Wykrywania W³amañ (AIDE)
 Name:          aide
 Version:       0.7
 Name:          aide
 Version:       0.7
-Release:       1
+Release:       5
 License:       GPL
 Group:         Applications/System
 Group(de):     Applikationen/System
 Group(pl):     Aplikacje/System
 License:       GPL
 Group:         Applications/System
 Group(de):     Applikationen/System
 Group(pl):     Aplikacje/System
-Source0:       ftp://ftp.linux.hr/pub/aide/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz
 Source1:       %{name}.conf
 Source1:       %{name}.conf
-Source2:        %{name}-%{version}-doc.tar.bz2
-Source3:        %{name}-check
+Source2:       %{name}-%{version}-doc.tar.bz2
+Source3:       %{name}-check
 Patch0:                %{name}-cvs20010627.patch.gz
 Patch1:                %{name}-NLS.patch
 Patch0:                %{name}-cvs20010627.patch.gz
 Patch1:                %{name}-NLS.patch
+Patch2:                %{name}-autoconf.patch
 URL:           http://www.cs.tut.fi/~rammer/aide.html
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: flex
 URL:           http://www.cs.tut.fi/~rammer/aide.html
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: flex
+BuildRequires: bison
+BuildRequires: perl-modules
 BuildRequires: gettext-devel
 BuildRequires: glibc-static
 BuildRequires: libgcrypt-static
 BuildRequires: gettext-devel
 BuildRequires: glibc-static
 BuildRequires: libgcrypt-static
-Requires:      crond
+BuildRequires: zlib-static
+Requires:      crondaemon
+Requires:      mailx
+Requires:      grep
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/%{name}
 %define                _pkglibdir      /var/lib/%{name}
 
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc/%{name}
 %define                _pkglibdir      /var/lib/%{name}
 
-%prep
-%setup -q -b 0 -b 2
-%patch0 -p1
-%patch1 -p1
-
 %description
 AIDE creates a database from the regular expression rules that it
 finds from the config file. Once this database is initialized it can
 %description
 AIDE creates a database from the regular expression rules that it
 finds from the config file. Once this database is initialized it can
@@ -39,6 +41,19 @@ check the integrity of the file. More algorithms can be added with
 relative ease. All of the usual file attributes can also be checked
 for inconsistencies.
 
 relative ease. All of the usual file attributes can also be checked
 for inconsistencies.
 
+%description -l pl
+AIDE tworzy bazê danych z wyra¿eñ regularnych, które znajduj± siê w
+pliku konfiguracyjnym. Gdy baza zostanie zainicjowana mo¿na sprawdzaæ
+integralno¶æ plików. U¿ywanych jest kilka algorytmów sprawdzania
+spójno¶ci (md5,sha1,rmd160,tiger,haval,itp.). Inne mog± byæ dodane
+stosunkowo ³atwo. Zwyk³e atrybuty plików tak¿e mog± byæ sprawdzane.
+
+%prep
+%setup -q -b 0 -b 2
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
 %build
 rm -f missing
 gettextize --copy --force
 %build
 rm -f missing
 gettextize --copy --force
@@ -46,19 +61,18 @@ aclocal
 autoconf
 automake -a -c
 %configure \
 autoconf
 automake -a -c
 %configure \
-       --with-config-file=%{_sysconfdir}/aide.conf \
-       --without-zlib
+       --with-config-file=%{_sysconfdir}/aide.conf
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__install} -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pkglibdir},/etc/cron.daily}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
-%{__install} %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily
 
 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
 
 
 gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf
 
@@ -70,7 +84,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc *.gz doc/aide.conf.gz doc/manual.html doc/aide.html
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc *.gz doc/aide.conf.gz doc/manual.html doc/aide.html
-%attr(640,root,root) %config(noreplace) %{_sysconfdir}/aide.conf
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf
 %attr(750,root,root) %dir %{_pkglibdir}
 %attr(755,root,root) %{_bindir}/aide
 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
 %attr(750,root,root) %dir %{_pkglibdir}
 %attr(755,root,root) %{_bindir}/aide
 %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check
This page took 0.042122 seconds and 4 git commands to generate.