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