Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release-src > by-pkgid > 3428fdda433b9537b54aed85c9c493d7 > files > 5

aide-0.15.1-5.mga5.src.rpm

Summary:	Advanced Intrusion Detection Environment
Name:		aide
Version:	0.15.1
Release:	%mkrel 5
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

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
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 "*********************************************************"


%files
%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
* Wed Oct 15 2014 umeabot <umeabot> 0.15.1-5.mga5
+ Revision: 741785
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0.15.1-4.mga5
+ Revision: 677719
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 0.15.1-3.mga4
+ Revision: 502471
- Mageia 4 Mass Rebuild

* 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


* Mon Oct 04 2010 Funda Wang <fwang@mandriva.org> 0.15.1-1mdv2011.0
+ Revision: 582898
- new version 0.15.1

* Sat Aug 14 2010 Sandro Cazzaniga <kharec@mandriva.org> 0.15-1mdv2011.0
+ Revision: 569803
- rediff patches
- new version 0.15

* Sun Jul 11 2010 Sandro Cazzaniga <kharec@mandriva.org> 0.14.2-1mdv2011.0
+ Revision: 550712
- update to 0.14.2
- rediff p0

* Mon Apr 12 2010 Sandro Cazzaniga <kharec@mandriva.org> 0.14-1mdv2010.1
+ Revision: 533713
- new version 0.14
- clean spec
- add a patch for fix string format, sent upstream.

* Wed Jun 10 2009 Jérôme Brenier <incubusss@mandriva.org> 0.13.1-3mdv2010.0
+ Revision: 384639
- fix license

* Thu Aug 07 2008 Thierry Vignaud <tv@mandriva.org> 0.13.1-2mdv2009.0
+ Revision: 266147
- rebuild early 2009.0 package (before pixel changes)

* Sun Apr 20 2008 Vincent Danen <vdanen@mandriva.com> 0.13.1-1mdv2009.0
+ Revision: 195950
- 0.13.1
- spec cleanup
- cleanup the description
- fix group (Networking/Other was wrong; this thing has nothing to do with the network)
- get rid of aide.extra; the Annvix stuff was better and aide.extra was horribly out-dated anyways
- add the Annvix aide.conf (with appropriate changes)
- add the Annvix helper scripts that secure the database with gpg
- modify the Annvix afterboot snippet as aideinit.8 to describe using gpg to secure the database

  + Thierry Vignaud <tv@mandriva.org>
    - fix description

* Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 0.13-1mdv2008.1
+ Revision: 135819
- restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request
    - buildrequires obsoletes buildprereq


* Mon Dec 11 2006 Lenny Cartier <lenny@mandriva.com> 0.13-1mdv2007.0
+ Revision: 94778
- Update to 0.13
- Import aide