X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=aide.spec;h=50d835c31e9e33a3e600ca1439cdaf43283ca99a;hb=4cc130eef24e92d82ad0d6854f434c3e161f4d9c;hp=e027e37ac2f50b777dbb57ef23188cab682917dc;hpb=6b99aa2c985bfbd4067f7655d3f779ce68f0471b;p=packages%2Faide.git diff --git a/aide.spec b/aide.spec index e027e37..50d835c 100644 --- a/aide.spec +++ b/aide.spec @@ -1,12 +1,13 @@ 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.9 +Version: 0.11 Release: 1 License: GPL Group: Applications/System -Source0: ftp://ftp.cs.tut.fi/pub/src/gnu/%{name}-%{version}.tar.gz -# Source0-md5: 877b1f515a9e25afda75e06805d687fb +Source0: http://dl.sourceforge.net/aide/%{name}-%{version}.tar.gz +# Source0-md5: 9a44e5386b0355ef57c60f627ff4d085 Source1: %{name}.conf Source2: %{name}-0.7-doc.tar.bz2 # Source2-md5: f8d01112f839957b3061bb6b5f262174 @@ -14,27 +15,22 @@ Source3: %{name}-check Source4: %{name}.sysconfig Patch0: %{name}-autoconf.patch Patch1: %{name}-NLS.patch -Patch2: %{name}-ac_fix.patch -Patch3: %{name}-flex_fix.patch -Patch4: %{name}-no_md.patch +Patch2: %{name}-no_md.patch URL: http://www.cs.tut.fi/~rammer/aide.html BuildRequires: autoconf BuildRequires: automake BuildRequires: bison -BuildRequires: findutils BuildRequires: flex BuildRequires: gettext-devel BuildRequires: glibc-static BuildRequires: mhash-static BuildRequires: perl-modules -BuildRequires: yacc BuildRequires: zlib-static >= 1.1.4 Requires: crondaemon Requires: grep -Requires: mailx BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _sysconfdir /etc/%{name} +%define _sysconfdir /etc/%{name} %define _pkglibdir /var/lib/%{name} %description @@ -46,32 +42,32 @@ 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 -%patch3 -p1 -%patch4 -p1 %build -rm -f missing po/Makefile* -find . -name "*.c" -type f > po/POTFILES.in %{__gettextize} %{__aclocal} %{__autoconf} %{__automake} %configure \ - --with-config-file=%{_sysconfdir}/aide.conf \ - --with-extra-includes=/usr/include/ -make + --with-config-file=%{_sysconfdir}/aide.conf +# --with-extra-includes=/usr/include/ +%{__make} %install rm -rf $RPM_BUILD_ROOT @@ -84,16 +80,17 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} install %{SOURCE3} $RPM_BUILD_ROOT/etc/cron.daily install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/aide -%find_lang %{name} +# %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}.lang +%files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README doc/aide.conf doc/manual.html aide-*/doc/aide.html -%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/aide.conf -%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/aide +%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