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