Summary: Advanced Intrusion Detection Environment Name: aide Version: 0.15.1 Release: %mkrel 2 License: GPLv2+ Group: Monitoring URL: http://sourceforge.net/projects/aide Source0: http://prdownloads.sourceforge.net/aide/%{name}-%{version}.tar.gz Source1: http://prdownloads.sourceforge.net/aide/%{name}-%{version}.tar.gz.asc Source2: aide.conf Source3: aidecheck Source4: aideupdate Source5: aideinit Source6: aideinit.8 #p0 sent upstream by kharec patch0: aide-0.15-fix-str-fmt.patch Buildrequires: flex BuildRequires: glibc-devel BuildRequires: glibc-static-devel BuildRequires: mhash-devel BuildRequires: zlib-devel BuildRequires: bison BuildRoot: %{_tmppath}/%{name}-%{version} Requires: gnupg %description AIDE (Advanced Intrusion Detection Environment) is a free alternative to Tripwire. It does the same things as the semi-free Tripwire and more. It is a file system integrity monitoring tool. %prep %setup -q %patch0 -p0 %build %configure2_5x \ --with-config-file=%{_sysconfdir}/aide.conf \ --with-zlib \ --with-mhash \ --with-syslog_facility=LOG_LOCAL1 perl -pi -e 's|/etc/aide.db|/var/lib/aide/aide.db|g' config.h %make %install rm -rf %{buildroot} make prefix=%{buildroot}%{_prefix} \ bindir=%{buildroot}%{_sbindir} \ mandir=%{buildroot}%{_mandir} \ install-strip mkdir -p %{buildroot}{/var/lib/aide/reports,%{_sysconfdir}/cron.daily,%{_mandir}/man8} install -m 0600 %{_sourcedir}/aide.conf %{buildroot}%{_sysconfdir}/aide.conf install -m 0700 %{_sourcedir}/aidecheck %{buildroot}%{_sbindir}/aidecheck install -m 0700 %{_sourcedir}/aideupdate %{buildroot}%{_sbindir}/aideupdate install -m 0700 %{_sourcedir}/aideinit %{buildroot}%{_sbindir}/aideinit install -m 0644 %{_sourcedir}/aideinit.8 %{buildroot}%{_mandir}/man8/aideinit.8 ln -sf ../..%{_sbindir}/aidecheck %{buildroot}%{_sysconfdir}/cron.daily/aide %post echo "*********************************************************" echo "* Please see aideinit(8) for information on how to setup" echo "* AIDE+gpg which this AIDE implementation uses by default" echo "*********************************************************" %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog NEWS README doc/aide.conf.in %attr(0700,root,root) %{_sbindir}/aide %attr(0700,root,root) %{_sbindir}/aidecheck %attr(0700,root,root) %{_sbindir}/aideinit %attr(0700,root,root) %{_sbindir}/aideupdate %{_mandir}/man1/aide.1* %{_mandir}/man5/aide.conf.5* %{_mandir}/man8/aideinit.8* %dir %attr(0700,root,root) /var/lib/aide %dir %attr(0700,root,root) /var/lib/aide/reports %attr(0700,root,root) %{_sysconfdir}/cron.daily/aide %config(noreplace) %attr(0600,root,root) %{_sysconfdir}/aide.conf %changelog * Fri Jan 11 2013 umeabot <umeabot> 0.15.1-2.mga3 + Revision: 345333 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 08 2011 kharec <kharec> 0.15.1-1.mga2 + Revision: 1238 - imported package aide