Blame SPECS/aide.spec

1bceaa
# segfaults
1bceaa
%{!?_with_curl: %{!?_without_curl: %global _without_curl --without-curl}}
1bceaa
1bceaa
Summary: Intrusion detection environment
1bceaa
Name: aide
1bceaa
Version: 0.15.1
1bceaa
Release: 13%{?dist}
1bceaa
URL: http://sourceforge.net/projects/aide
1bceaa
License: GPLv2+
1bceaa
Group: Applications/System
1bceaa
Source0: http://downloads.sourceforge.net/aide/aide-%{version}.tar.gz
1bceaa
Source1: aide.conf
1bceaa
Source2: README.quickstart
1bceaa
Source3: aide.logrotate
1bceaa
# Customize the database file location in the man page.
1bceaa
Patch1: aide-0.14-man.patch
1bceaa
# fix aide in FIPS mode
1bceaa
Patch2: aide-0.15.1-fipsfix.patch
1bceaa
# warn if processing prelinked binary objects and the prelink binary is not available
1bceaa
Patch3: aide-0.15.1-prelinkwarn.patch
1bceaa
Patch4: aide-0.15-syslog-format.patch
1bceaa
Patch5: aide-0.15-error-messages.patch
1bceaa
1bceaa
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
1bceaa
BuildRequires: mktemp
1bceaa
%ifnarch aarch64 ppc64le
1bceaa
BuildRequires: prelink
1bceaa
%endif
1bceaa
BuildRequires: elfutils-libelf-devel
1bceaa
%if 0%{?rhel} == 0
1bceaa
Buildrequires: mhash-devel
1bceaa
%endif
1bceaa
Buildrequires: zlib-devel libgcrypt-devel
1bceaa
Buildrequires: flex bison
1bceaa
Buildrequires: libattr-devel e2fsprogs-devel
1bceaa
Buildrequires: libacl-devel libselinux-devel
1bceaa
Buildrequires: audit-libs-devel >= 1.2.8-2
1bceaa
%if "%{?_with_curl}x" != "x"
1bceaa
Buildrequires: curl-devel
1bceaa
%endif
1bceaa
1bceaa
%description
1bceaa
AIDE (Advanced Intrusion Detection Environment) is a file integrity
1bceaa
checker and intrusion detection program.
1bceaa
1bceaa
1bceaa
%prep
1bceaa
%setup -q
1bceaa
%patch1 -p1 -b .man
1bceaa
%patch2 -p1 -b .fipsfix
1bceaa
%patch3 -p1 -b .prelinkwarn
1bceaa
%patch4 -p1 -b .syslog-format
1bceaa
%patch5 -p1 -b .error-messages
1bceaa
1bceaa
%build
1bceaa
%configure --with-config_file=%{_sysconfdir}/aide.conf \
1bceaa
           --with-zlib \
1bceaa
           --disable-static \
1bceaa
%if 0%{?rhel} == 0
1bceaa
           --with-mhash \
1bceaa
%endif
1bceaa
           %{?_with_curl} %{?_without_curl} \
1bceaa
           --with-posix-acl \
1bceaa
           --with-selinux \
1bceaa
%ifnarch aarch64 ppc64le
1bceaa
           --with-prelink \
1bceaa
%else
1bceaa
	   --without-prelink \
1bceaa
%endif
1bceaa
           --with-xattr \
1bceaa
           --with-e2fsattrs \
1bceaa
           --with-audit
1bceaa
1bceaa
make
1bceaa
1bceaa
1bceaa
%install
1bceaa
rm -rf $RPM_BUILD_ROOT
1bceaa
make DESTDIR=$RPM_BUILD_ROOT bindir=%{_sbindir} install
1bceaa
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/aide
1bceaa
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
1bceaa
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
1bceaa
mkdir -p -m0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/aide
1bceaa
install -p %{SOURCE2} README.quickstart
1bceaa
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
1bceaa
install -c -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/aide
1bceaa
1bceaa
%clean
1bceaa
rm -rf $RPM_BUILD_ROOT
1bceaa
1bceaa
1bceaa
%files
1bceaa
%defattr(0644,root,root,0755)
1bceaa
%doc AUTHORS COPYING ChangeLog NEWS README doc/manual.html contrib/
1bceaa
%doc README.quickstart
1bceaa
%attr(0700,root,root) %{_sbindir}/aide
1bceaa
%{_mandir}/man1/*
1bceaa
%{_mandir}/man5/*
1bceaa
%config(noreplace) %attr(0600,root,root) %{_sysconfdir}/aide.conf
1bceaa
%config(noreplace) %{_sysconfdir}/logrotate.d/aide
1bceaa
%dir %attr(0700,root,root) %{_localstatedir}/lib/aide
1bceaa
%dir %attr(0700,root,root) %{_localstatedir}/log/aide
1bceaa
1bceaa
1bceaa
%changelog
1bceaa
* Mon Mar 20 2017 Radovan Sroka <rsroka@redhat.com> - 0.15.1-13
1bceaa
- RHEL 7.4 ERRATUM
1bceaa
  Resolves: rhbz#1400548
1bceaa
1bceaa
* Tue Mar 07 2017 Radovan Sroka <rsroka@redhat.com> - 0.15.1-12
1bceaa
- RHEL 7.4 ERRATUM
1bceaa
  Resolves: rhbz#1377215
1bceaa
1bceaa
* Tue Jul 19 2016 Daniel Kopecek <dkopecek@redhat.com> - 0.15.1-11
1bceaa
- Corrected typos in the default configuration file
1bceaa
  Resolves: rhbz#1304334
1bceaa
1bceaa
* Fri Jun 24 2016 Daniel Kopecek <dkopecek@redhat.com> - 0.15.1-10
1bceaa
- Updated the default configuration file. New defaults contributed
1bceaa
  by Steve Grubb.
1bceaa
  Resolves: rhbz#1304334
1bceaa
1bceaa
* Mon Aug  4 2014 Daniel Kopecek <dkopecek@redhat.com> - 0.15.1-9
1bceaa
- Don't require prelink on aarch64 and ppc64le
1bceaa
  Resolves: rhbz#1078555
1bceaa
  Resolves: rhbz#1125462
1bceaa
1bceaa
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.15.1-8
1bceaa
- Mass rebuild 2014-01-24
1bceaa
1bceaa
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.15.1-7
1bceaa
- Mass rebuild 2013-12-27
1bceaa
1bceaa
* Fri Nov 08 2013 Daniel Kopecek <dkopecek@redhat.com> - 0.15.1-6
1bceaa
- warn if processing prelinked binary objects and the prelink binary
1bceaa
  is not available
1bceaa
  Resolves: rbhz#1004826
1bceaa
1bceaa
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-5
1bceaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1bceaa
1bceaa
* Thu Nov 22 2012 Daniel Kopecek <dkopecek@redhat.com> - 0.15.1-4
1bceaa
- added patch to fix aide in FIPS mode
1bceaa
- use only FIPS approved digest algorithms in aide.conf so that
1bceaa
  aide works by default in FIPS mode
1bceaa
1bceaa
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-3
1bceaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1bceaa
1bceaa
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
1bceaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1bceaa
1bceaa
* Thu Nov 11 2010 Steve Grubb <sgrubb@redhat.com> - 0.15.1-1
1bceaa
- New upstream release
1bceaa
1bceaa
* Tue May 18 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-5
1bceaa
- Apply 2 upstream bug fixes
1bceaa
1bceaa
* Tue May 18 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-4
1bceaa
- Use upstream's patch to fix bz 590566
1bceaa
1bceaa
* Sat May 15 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-3
1bceaa
- Fix bz 590561 aide does not detect the change of SElinux context
1bceaa
- Fix bz 590566 aide reports a changed file when it has not been changed
1bceaa
1bceaa
* Wed Apr 28 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-2
1bceaa
- Fix bz 574764 by replacing abort calls with exit
1bceaa
- Apply libgcrypt init patch
1bceaa
1bceaa
* Tue Mar 16 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-1
1bceaa
- New upstream release final 0.14
1bceaa
1bceaa
* Thu Feb 25 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.4.rc3
1bceaa
- New upstream release
1bceaa
1bceaa
* Thu Feb 25 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.3.rc2
1bceaa
- New upstream release
1bceaa
1bceaa
* Tue Feb 23 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.2.rc1
1bceaa
- Fix dirent detection on 64bit systems
1bceaa
1bceaa
* Mon Feb 22 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.1.rc1
1bceaa
- New upstream release
1bceaa
1bceaa
* Fri Feb 19 2010 Steve Grubb <sgrubb@redhat.com> - 0.13.1-16
1bceaa
- Add logrotate script and spec file cleanups
1bceaa
1bceaa
* Fri Dec 11 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-15
1bceaa
- Get rid of .dedosify files
1bceaa
1bceaa
* Wed Dec 09 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-14
1bceaa
- Revise patch for Initialize libgcrypt correctly (#530485)
1bceaa
1bceaa
* Sat Nov 07 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-13
1bceaa
- Initialize libgcrypt correctly (#530485)
1bceaa
1bceaa
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.13.1-12
1bceaa
- rebuilt with new audit
1bceaa
1bceaa
* Wed Aug 19 2009 Steve Grubb <sgrubb@redhat.com> 0.13.1-11
1bceaa
- rebuild for new audit-libs
1bceaa
- Correct regex for root's dot files (#509370)
1bceaa
1bceaa
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-10
1bceaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1bceaa
1bceaa
* Mon Jun 08 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-9
1bceaa
- Make aide smarter about prelinked files (Peter Vrabec)
1bceaa
- Add /lib64 to default config
1bceaa
1bceaa
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-7
1bceaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1bceaa
1bceaa
* Fri Jan 30 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-6
1bceaa
- enable xattr support and update config file
1bceaa
1bceaa
* Fri Sep 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.13.1-5
1bceaa
- fix selcon patch to apply without fuzz
1bceaa
1bceaa
* Fri Feb 15 2008 Steve Conklin <sconklin@redhat.com>
1bceaa
- rebuild for gcc4.3
1bceaa
1bceaa
* Tue Aug 21 2007 Michael Schwendt <mschwendt[AT]users.sf.net>
1bceaa
- rebuilt
1bceaa
1bceaa
* Sun Jul 22 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.13.1-2
1bceaa
- Apply Steve Conklin's patch to increase displayed portion of
1bceaa
  selinux context.
1bceaa
1bceaa
* Sun Dec 17 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.13.1-1
1bceaa
- Update to 0.13.1 release.
1bceaa
1bceaa
* Sun Dec 10 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.13-1
1bceaa
- Update to 0.13 release.
1bceaa
- Include default aide.conf from RHEL5 as doc example file.
1bceaa
1bceaa
* Sun Oct 29 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12-3.20061027cvs
1bceaa
- CAUTION! This changes the database format and results in a report of
1bceaa
  false inconsistencies until an old database file is updated.
1bceaa
- Check out CVS 20061027 which now contains Red Hat's
1bceaa
  acl/xattr/selinux/audit patches.
1bceaa
- Patches merged upstream.
1bceaa
- Update manual page substitutions.
1bceaa
1bceaa
* Mon Oct 23 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12-2
1bceaa
- Add "memory leaks and performance updates" patch as posted
1bceaa
  to aide-devel by Steve Grubb.
1bceaa
1bceaa
* Sat Oct 07 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12-1
1bceaa
- Update to 0.12 release.
1bceaa
- now offers --disable-static, so -no-static patch is obsolete
1bceaa
- fill last element of getopt struct array with zeroes
1bceaa
1bceaa
* Mon Oct 02 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.11-3
1bceaa
- rebuilt
1bceaa
1bceaa
* Mon Sep 11 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.11-2
1bceaa
- rebuilt
1bceaa
1bceaa
* Sun Feb 19 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.11-1
1bceaa
- Update to 0.11 release.
1bceaa
- useless-includes patch merged upstream.
1bceaa
- old Russian man pages not available anymore.
1bceaa
- disable static linking.
1bceaa
1bceaa
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
1bceaa
- rebuilt
1bceaa
1bceaa
* Fri Nov 28 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.10-0.fdr.1
1bceaa
- Update to 0.10 release.
1bceaa
- memleaks patch merged upstream.
1bceaa
- rootpath patch merged upstream.
1bceaa
- fstat patch not needed anymore.
1bceaa
- Updated URL.
1bceaa
1bceaa
* Thu Nov 13 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.10-0.fdr.0.2.cvs20031104
1bceaa
- Added buildreq m4 to work around incomplete deps of bison package.
1bceaa
1bceaa
* Tue Nov 04 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.10-0.fdr.0.1.cvs20031104
1bceaa
- Only tar.gz available upstream.
1bceaa
- byacc not needed when bison -y is available.
1bceaa
- Installed Russian manual pages.
1bceaa
- Updated with changes from CVS (2003-11-04).
1bceaa
- getopt patch merged upstream.
1bceaa
- bison-1.35 patch incorporated upstream.
1bceaa
1bceaa
* Tue Sep 09 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9-0.fdr.0.2.20030902
1bceaa
- Added fixes for further memleaks.
1bceaa
1bceaa
* Sun Sep 07 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9-0.fdr.0.1.20030902
1bceaa
- Initial package version.
1bceaa