31807d
Summary:        Intrusion detection environment
31807d
Name:           aide
31807d
Version:        0.16
31807d
Release:        8%{?dist}
31807d
URL:            http://sourceforge.net/projects/aide
31807d
License:        GPLv2+
31807d
31807d
31807d
Source0:        %{url}/files/aide/%{version}/%{name}-%{version}.tar.gz
31807d
Source1:        aide.conf
31807d
Source2:        README.quickstart
31807d
Source3:        aide.logrotate
31807d
31807d
BuildRequires:  gcc
31807d
BuildRequires:  make
31807d
BuildRequires:  bison flex
31807d
BuildRequires:  pcre-devel
31807d
BuildRequires:  libgpg-error-devel libgcrypt-devel
31807d
BuildRequires:  zlib-devel
31807d
BuildRequires:  libcurl-devel
31807d
BuildRequires:  libacl-devel
31807d
BuildRequires:  pkgconfig(libselinux)
31807d
BuildRequires:  libattr-devel
31807d
BuildRequires:  e2fsprogs-devel
31807d
Buildrequires:  audit-libs-devel
31807d
31807d
# Customize the database file location in the man page.
31807d
Patch1: aide-0.16rc1-man.patch
31807d
# fix aide in FIPS mode
31807d
Patch2: aide-0.16b1-fipsfix.patch
31807d
31807d
Patch3: aide-0.15-syslog-format.patch
31807d
Patch4: aide-0.16-crypto-disable-haval-and-others.patch
31807d
Patch5: coverity.patch
31807d
Patch6: aide-0.16-crash-elf.patch
31807d
31807d
%description
31807d
AIDE (Advanced Intrusion Detection Environment) is a file integrity
31807d
checker and intrusion detection program.
31807d
31807d
%prep
31807d
%autosetup -p1
31807d
31807d
cp -a %{S:2} .
31807d
31807d
%build
31807d
%configure  \
31807d
  --disable-static \
31807d
  --with-config_file=%{_sysconfdir}/aide.conf \
31807d
  --with-gcrypt \
31807d
  --with-zlib \
31807d
  --with-curl \
31807d
  --with-posix-acl \
31807d
  --with-selinux \
31807d
  --with-xattr \
31807d
  --with-e2fsattrs \
31807d
  --with-audit
31807d
31807d
%make_build
31807d
31807d
%install
31807d
%make_install bindir=%{_sbindir}
31807d
install -Dpm0644 -t %{buildroot}%{_sysconfdir} %{S:1}
31807d
install -Dpm0644 %{S:3} %{buildroot}%{_sysconfdir}/logrotate.d/aide
31807d
mkdir -p %{buildroot}%{_localstatedir}/log/aide
31807d
mkdir -p -m0700 %{buildroot}%{_localstatedir}/lib/aide
31807d
31807d
%files
31807d
%license COPYING
31807d
%doc AUTHORS ChangeLog NEWS README doc/manual.html contrib/
31807d
%doc README.quickstart
31807d
%{_sbindir}/aide
31807d
%{_mandir}/man1/*.1*
31807d
%{_mandir}/man5/*.5*
31807d
%config(noreplace) %attr(0600,root,root) %{_sysconfdir}/aide.conf
31807d
%config(noreplace) %{_sysconfdir}/logrotate.d/aide
31807d
%dir %attr(0700,root,root) %{_localstatedir}/lib/aide
31807d
%dir %attr(0700,root,root) %{_localstatedir}/log/aide
31807d
31807d
%changelog
31807d
* Tue Oct 09 2018 Radovan Sroka <rsroka@redhat.com> - 0.16-8
31807d
- fixed wrong line wrapping of messages in the syslog format
31807d
  resolves: rhbz#1628153
31807d
- fixed coverity issues
31807d
  resolves: rhbz#1602441
31807d
- fixed crash when processing .dynamic section
31807d
  resolves: rhbz#1597250
31807d
31807d
* Wed Aug 29 2018 Radovan Sroka <rsroka@redhat.com> - 0.16-7
31807d
- fixed crypto problem with libgcrypt (fips)
31807d
- resolves: rhbz#1623045
31807d
31807d
* Wed Aug 22 2018 Radovan Sroka <rsroka@redhat.com> - 0.16-6
31807d
- ported syslog format from rhel7
31807d
  resolves: rhbz#1584136
31807d
- fixed crypto problem with libgcrypt
31807d
  resolves: rhbz#1584120
31807d
31807d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-5
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
31807d
31807d
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-4
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
31807d
31807d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-3
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
31807d
31807d
* Wed Apr 05 2017 Radovan Sroka <rsroka@redhat.com> - 0.16-2
31807d
- fixed upstream link
31807d
31807d
* Tue Apr 04 2017 Radovan Sroka <rsroka@redhat.com> - 0.16-1
31807d
- rebase to stable v0.16
31807d
- specfile cleanup
31807d
- make doc readable 
31807d
  resolves: #1421355
31807d
- make aide binary runable for any user
31807d
  resolves: #1421351
31807d
31807d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-0.3.rc1
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
31807d
31807d
* Tue Jul 12 2016 Tomas Sykora <tosykora@redhat.com> - 0.16-0.2.rc1
31807d
- New upstream devel version
31807d
31807d
* Mon Jun 20 2016 Tomas Sykora <tosykora@redhat.com> - 0.16-0.1.b1
31807d
- New upstream devel version
31807d
31807d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.1-12
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
31807d
31807d
* Sat Jul 25 2015 Till Maas <opensource@till.name> - 0.15.1-11
31807d
- Remove prelink dependency because prelink was retired
31807d
31807d
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-10
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
31807d
31807d
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-9
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
31807d
31807d
* Fri Jul 18 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.15.1-8
31807d
- Fix FTBFS with -Werror=format-security (#1036983, #1105942)
31807d
- Avoid prelink BR on aarch64, ppc64le (#924977, #1078476)
31807d
31807d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-7
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
31807d
31807d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-6
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
31807d
31807d
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-5
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
31807d
31807d
* Thu Nov 22 2012 Daniel Kopecek <dkopecek@redhat.com> - 0.15.1-4
31807d
- added patch to fix aide in FIPS mode
31807d
- use only FIPS approved digest algorithms in aide.conf so that
31807d
  aide works by default in FIPS mode
31807d
31807d
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-3
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
31807d
31807d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
31807d
31807d
* Thu Nov 11 2010 Steve Grubb <sgrubb@redhat.com> - 0.15.1-1
31807d
- New upstream release
31807d
31807d
* Tue May 18 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-5
31807d
- Apply 2 upstream bug fixes
31807d
31807d
* Tue May 18 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-4
31807d
- Use upstream's patch to fix bz 590566
31807d
31807d
* Sat May 15 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-3
31807d
- Fix bz 590561 aide does not detect the change of SElinux context
31807d
- Fix bz 590566 aide reports a changed file when it has not been changed
31807d
31807d
* Wed Apr 28 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-2
31807d
- Fix bz 574764 by replacing abort calls with exit
31807d
- Apply libgcrypt init patch
31807d
31807d
* Tue Mar 16 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-1
31807d
- New upstream release final 0.14
31807d
31807d
* Thu Feb 25 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.4.rc3
31807d
- New upstream release
31807d
31807d
* Thu Feb 25 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.3.rc2
31807d
- New upstream release
31807d
31807d
* Tue Feb 23 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.2.rc1
31807d
- Fix dirent detection on 64bit systems
31807d
31807d
* Mon Feb 22 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.1.rc1
31807d
- New upstream release
31807d
31807d
* Fri Feb 19 2010 Steve Grubb <sgrubb@redhat.com> - 0.13.1-16
31807d
- Add logrotate script and spec file cleanups
31807d
31807d
* Fri Dec 11 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-15
31807d
- Get rid of .dedosify files
31807d
31807d
* Wed Dec 09 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-14
31807d
- Revise patch for Initialize libgcrypt correctly (#530485)
31807d
31807d
* Sat Nov 07 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-13
31807d
- Initialize libgcrypt correctly (#530485)
31807d
31807d
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.13.1-12
31807d
- rebuilt with new audit
31807d
31807d
* Wed Aug 19 2009 Steve Grubb <sgrubb@redhat.com> 0.13.1-11
31807d
- rebuild for new audit-libs
31807d
- Correct regex for root's dot files (#509370)
31807d
31807d
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-10
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
31807d
31807d
* Mon Jun 08 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-9
31807d
- Make aide smarter about prelinked files (Peter Vrabec)
31807d
- Add /lib64 to default config
31807d
31807d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-7
31807d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
31807d
31807d
* Fri Jan 30 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-6
31807d
- enable xattr support and update config file
31807d
31807d
* Fri Sep 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.13.1-5
31807d
- fix selcon patch to apply without fuzz
31807d
31807d
* Fri Feb 15 2008 Steve Conklin <sconklin@redhat.com>
31807d
- rebuild for gcc4.3
31807d
31807d
* Tue Aug 21 2007 Michael Schwendt <mschwendt[at]users.sf.net>
31807d
- rebuilt
31807d
31807d
* Sun Jul 22 2007 Michael Schwendt <mschwendt[at]users.sf.net> - 0.13.1-2
31807d
- Apply Steve Conklin's patch to increase displayed portion of
31807d
  selinux context.
31807d
31807d
* Sun Dec 17 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.13.1-1
31807d
- Update to 0.13.1 release.
31807d
31807d
* Sun Dec 10 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.13-1
31807d
- Update to 0.13 release.
31807d
- Include default aide.conf from RHEL5 as doc example file.
31807d
31807d
* Sun Oct 29 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.12-3.20061027cvs
31807d
- CAUTION! This changes the database format and results in a report of
31807d
  false inconsistencies until an old database file is updated.
31807d
- Check out CVS 20061027 which now contains Red Hat's
31807d
  acl/xattr/selinux/audit patches.
31807d
- Patches merged upstream.
31807d
- Update manual page substitutions.
31807d
31807d
* Mon Oct 23 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.12-2
31807d
- Add "memory leaks and performance updates" patch as posted
31807d
  to aide-devel by Steve Grubb.
31807d
31807d
* Sat Oct 07 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.12-1
31807d
- Update to 0.12 release.
31807d
- now offers --disable-static, so -no-static patch is obsolete
31807d
- fill last element of getopt struct array with zeroes
31807d
31807d
* Mon Oct 02 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.11-3
31807d
- rebuilt
31807d
31807d
* Mon Sep 11 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.11-2
31807d
- rebuilt
31807d
31807d
* Sun Feb 19 2006 Michael Schwendt <mschwendt[at]users.sf.net> - 0.11-1
31807d
- Update to 0.11 release.
31807d
- useless-includes patch merged upstream.
31807d
- old Russian man pages not available anymore.
31807d
- disable static linking.
31807d
31807d
* Thu Apr  7 2005 Michael Schwendt <mschwendt[at]users.sf.net>
31807d
- rebuilt
31807d
31807d
* Fri Nov 28 2003 Michael Schwendt <mschwendt[at]users.sf.net> - 0:0.10-0.fdr.1
31807d
- Update to 0.10 release.
31807d
- memleaks patch merged upstream.
31807d
- rootpath patch merged upstream.
31807d
- fstat patch not needed anymore.
31807d
- Updated URL.
31807d
31807d
* Thu Nov 13 2003 Michael Schwendt <mschwendt[at]users.sf.net> - 0:0.10-0.fdr.0.2.cvs20031104
31807d
- Added buildreq m4 to work around incomplete deps of bison package.
31807d
31807d
* Tue Nov 04 2003 Michael Schwendt <mschwendt[at]users.sf.net> - 0:0.10-0.fdr.0.1.cvs20031104
31807d
- Only tar.gz available upstream.
31807d
- byacc not needed when bison -y is available.
31807d
- Installed Russian manual pages.
31807d
- Updated with changes from CVS (2003-11-04).
31807d
- getopt patch merged upstream.
31807d
- bison-1.35 patch incorporated upstream.
31807d
31807d
* Tue Sep 09 2003 Michael Schwendt <mschwendt[at]users.sf.net> - 0:0.9-0.fdr.0.2.20030902
31807d
- Added fixes for further memleaks.
31807d
31807d
* Sun Sep 07 2003 Michael Schwendt <mschwendt[at]users.sf.net> - 0:0.9-0.fdr.0.1.20030902
31807d
- Initial package version.
31807d