X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=aide.spec;h=ac2f3137984e2e94fbf96910551e120164b81123;hb=e5d45056b261957b6df7140fa9cb55ae151b48db;hp=e388eb84b7788a4040ca74bb0f3e683a4a20b0cb;hpb=2b23629545f5769e46d159d4a7407deb9d90bc13;p=packages%2Faide.git diff --git a/aide.spec b/aide.spec index e388eb8..ac2f313 100644 --- a/aide.spec +++ b/aide.spec @@ -1,38 +1,38 @@ Summary: Advanced Intrusion Detection Environment -Summary(pl): Zaawansowany System Wykrywania W³amañ (AIDE) +Summary(pl.UTF-8): Zaawansowany System Wykrywania Włamań (AIDE) +Summary(pt_BR.UTF-8): AIDE - ferramenta de verificação de integridade do sistema Name: aide -Version: 0.7 -Release: 4 +Version: 0.13.1 +Release: 1 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: http://dl.sourceforge.net/aide/%{name}-%{version}.tar.gz +# Source0-md5: 27978cc6bca4f0fbf3f6f5a1b330661c Source1: %{name}.conf -Source2: %{name}-%{version}-doc.tar.bz2 +Source2: %{name}-0.7-doc.tar.bz2 +# Source2-md5: f8d01112f839957b3061bb6b5f262174 Source3: %{name}-check -Patch0: %{name}-cvs20010627.patch.gz +Source4: %{name}.sysconfig +Patch0: %{name}-autoconf.patch Patch1: %{name}-NLS.patch +Patch2: %{name}-no_md.patch URL: http://www.cs.tut.fi/~rammer/aide.html BuildRequires: autoconf BuildRequires: automake +BuildRequires: bison BuildRequires: flex BuildRequires: gettext-devel BuildRequires: glibc-static -BuildRequires: libgcrypt-static -BuildRequires: zlib-static +BuildRequires: mhash-static +BuildRequires: perl-modules +BuildRequires: zlib-static >= 1.1.4 Requires: crondaemon -Requires: mailx +Requires: grep BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _sysconfdir /etc/%{name} +%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 @@ -42,46 +42,56 @@ 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. -%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. +%description -l pl.UTF-8 +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. + +%description -l pt_BR.UTF-8 +O AIDE tem por objetivo ser a versão gratuita do Tripwire, e ajuda a +detectar violações de integridade pelo uso de hashes como MD5. + +%prep +%setup -q -b 0 -a 2 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build -rm -f missing -gettextize --copy --force -aclocal -autoconf -automake -a -c +%{__gettextize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure \ --with-config-file=%{_sysconfdir}/aide.conf +# --with-extra-includes=/usr/include/ %{__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,/etc/sysconfig} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily +install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/aide -gzip -9nf AUTHORS ChangeLog NEWS README doc/aide.conf - -%find_lang %{name} +# %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}.lang +%files %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 +%doc AUTHORS ChangeLog NEWS README doc/aide.conf doc/manual.html aide-*/doc/aide.html +%attr(750,root,root) %dir %{_sysconfdir} +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/aide.conf +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/aide %attr(750,root,root) %dir %{_pkglibdir} %attr(755,root,root) %{_bindir}/aide %attr(700,root,root) %config(noreplace) /etc/cron.daily/aide-check %{_mandir}/man[15]/* -%lang(ru) %{_mandir}/ru/man[15]/*