de46efc
# segfaults
56f20c4
%{!?_with_curl: %{!?_without_curl: %global _without_curl --without-curl}}
0f06d55
484b717
Summary: Intrusion detection environment
cvsextras 9fe78cd
Name: aide
Steve 1f7a0d1
Version: 0.15.1
Steve 1f7a0d1
Release: 1%{?dist}
cvsextras eca01ee
URL: http://sourceforge.net/projects/aide
b10d3c2
License: GPLv2+
cvsextras 9fe78cd
Group: Applications/System
b310ef9
Source0: http://downloads.sourceforge.net/aide/aide-%{version}.tar.gz
cvsextras 9fe78cd
Source1: aide.conf
cvsextras 9fe78cd
Source2: README.quickstart
56f20c4
Source3: aide.logrotate
6c1f5bd
# Customize the database file location in the man page.
e10f9e8
Patch1: aide-0.14-man.patch
cvsextras 9fe78cd
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
28dd0fe
BuildRequires: mktemp 
ae8b785
BuildRequires: prelink elfutils-libelf-devel
d0d096b
%if 0%{?rhel} == 0
ac87434
Buildrequires: mhash-devel
d0d096b
%endif
ac87434
Buildrequires: zlib-devel libgcrypt-devel
484b717
Buildrequires: flex bison
Steve 1f7a0d1
Buildrequires: libattr-devel e2fsprogs-devel
Steve 1f7a0d1
Buildrequires: libacl-devel libselinux-devel
ac87434
Buildrequires: audit-libs-devel >= 1.2.8-2
de46efc
%if "%{?_with_curl}x" != "x"
de46efc
Buildrequires: curl-devel
de46efc
%endif
cvsextras 9fe78cd
484b717
%description
cvsextras 9fe78cd
AIDE (Advanced Intrusion Detection Environment) is a file integrity
cvsextras 9fe78cd
checker and intrusion detection program.
cvsextras 9fe78cd
cvsextras 9fe78cd
cvsextras 9fe78cd
%prep
b310ef9
%setup -q
01c27d6
%patch1 -p1
59aeff8
defbe11
%build
cvsextras 9fe78cd
%configure --with-config_file=%{_sysconfdir}/aide.conf \
cvsextras 9fe78cd
           --with-zlib \
ac87434
           --disable-static \
d0d096b
%if 0%{?rhel} == 0
d8ee048
           --with-mhash \
d0d096b
%endif
de46efc
           %{?_with_curl} %{?_without_curl} \
Steve 1f7a0d1
           --with-posix-acl \
Steve 1f7a0d1
           --with-selinux \
Steve 1f7a0d1
           --with-prelink \
d8ee048
           --with-xattr \
Steve 1f7a0d1
           --with-e2fsattrs \
Steve 1f7a0d1
           --with-audit
cvsextras 9fe78cd
d0d096b
make
cvsextras 9fe78cd
cvsextras 9fe78cd
cvsextras 9fe78cd
%install
cvsextras 9fe78cd
rm -rf $RPM_BUILD_ROOT
56f20c4
make DESTDIR=$RPM_BUILD_ROOT bindir=%{_sbindir} install
ac87434
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/aide
cvsextras 9fe78cd
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
cvsextras 9fe78cd
install -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}
cvsextras 9fe78cd
mkdir -p -m0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/aide
cvsextras 9fe78cd
install -p %{SOURCE2} README.quickstart
56f20c4
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
56f20c4
install -c -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/aide
cvsextras 9fe78cd
cvsextras 9fe78cd
%clean
cvsextras 9fe78cd
rm -rf $RPM_BUILD_ROOT
cvsextras 9fe78cd
cvsextras 9fe78cd
cvsextras 9fe78cd
%files
cvsextras 9fe78cd
%defattr(0644,root,root,0755)
defbe11
%doc AUTHORS COPYING ChangeLog NEWS README doc/manual.html contrib/
ac87434
%doc README.quickstart
cvsextras 9fe78cd
%attr(0700,root,root) %{_sbindir}/aide
cvsextras 9fe78cd
%{_mandir}/man1/*
cvsextras 9fe78cd
%{_mandir}/man5/*
cvsextras 9fe78cd
%config(noreplace) %attr(0600,root,root) %{_sysconfdir}/aide.conf
6b365dd
%config(noreplace) %{_sysconfdir}/logrotate.d/aide
cvsextras 9fe78cd
%dir %attr(0700,root,root) %{_localstatedir}/lib/aide
ac87434
%dir %attr(0700,root,root) %{_localstatedir}/log/aide
cvsextras 9fe78cd
cvsextras 9fe78cd
cvsextras 9fe78cd
%changelog
Steve 1f7a0d1
* Thu Nov 11 2010 Steve Grubb <sgrubb@redhat.com> - 0.15.1-1
Steve 1f7a0d1
- New upstream release
Steve 1f7a0d1
5554c26
* Tue May 18 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-5
5554c26
- Apply 2 upstream bug fixes
5554c26
4255ca5
* Tue May 18 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-4
4255ca5
- Use upstream's patch to fix bz 590566
4255ca5
4dc073b
* Sat May 15 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-3
4dc073b
- Fix bz 590561 aide does not detect the change of SElinux context
4dc073b
- Fix bz 590566 aide reports a changed file when it has not been changed
4dc073b
9fd72a5
* Wed Apr 28 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-2
9fd72a5
- Fix bz 574764 by replacing abort calls with exit
9fd72a5
- Apply libgcrypt init patch
9fd72a5
b310ef9
* Tue Mar 16 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-1
b310ef9
- New upstream release final 0.14
b310ef9
afba7d8
* Thu Feb 25 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.4.rc3
afba7d8
- New upstream release
afba7d8
e10f9e8
* Thu Feb 25 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.3.rc2
e10f9e8
- New upstream release
e10f9e8
01c27d6
* Tue Feb 23 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.2.rc1
01c27d6
- Fix dirent detection on 64bit systems
01c27d6
6b365dd
* Mon Feb 22 2010 Steve Grubb <sgrubb@redhat.com> - 0.14-0.1.rc1
6b365dd
- New upstream release
6b365dd
56f20c4
* Fri Feb 19 2010 Steve Grubb <sgrubb@redhat.com> - 0.13.1-16
56f20c4
- Add logrotate script and spec file cleanups
56f20c4
0af0955
* Fri Dec 11 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-15
0af0955
- Get rid of .dedosify files
0af0955
5e88799
* Wed Dec 09 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-14
5e88799
- Revise patch for Initialize libgcrypt correctly (#530485)
5e88799
af2e139
* Sat Nov 07 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-13
af2e139
- Initialize libgcrypt correctly (#530485)
af2e139
6863847
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.13.1-12
6863847
- rebuilt with new audit
6863847
72e1c56
* Wed Aug 19 2009 Steve Grubb <sgrubb@redhat.com> 0.13.1-11
72e1c56
- rebuild for new audit-libs
72e1c56
- Correct regex for root's dot files (#509370)
72e1c56
4479b4e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-10
4479b4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4479b4e
d8ee048
* Mon Jun 08 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-9
36be213
- Make aide smarter about prelinked files (Peter Vrabec)
36be213
- Add /lib64 to default config
36be213
3409be9
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-7
3409be9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3409be9
ac87434
* Fri Jan 30 2009 Steve Grubb <sgrubb@redhat.com> - 0.13.1-6
ac87434
- enable xattr support and update config file
ac87434
7d279b9
* Fri Sep 26 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.13.1-5
7d279b9
- fix selcon patch to apply without fuzz
7d279b9
Steve Conklin 21c6888
* Fri Feb 15 2008 Steve Conklin <sconklin@redhat.com>
Steve Conklin 21c6888
- rebuild for gcc4.3
Steve Conklin 21c6888
2bb24d4
* Tue Aug 21 2007 Michael Schwendt <mschwendt[AT]users.sf.net>
2bb24d4
- rebuilt
2bb24d4
67d0a64
* Sun Jul 22 2007 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.13.1-2
67d0a64
- Apply Steve Conklin's patch to increase displayed portion of
67d0a64
  selinux context.
67d0a64
6999185
* Sun Dec 17 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.13.1-1
6999185
- Update to 0.13.1 release.
6999185
6999185
* Sun Dec 10 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.13-1
6999185
- Update to 0.13 release.
6999185
- Include default aide.conf from RHEL5 as doc example file.
6999185
6999185
* Sun Oct 29 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12-3.20061027cvs
6999185
- CAUTION! This changes the database format and results in a report of
6999185
  false inconsistencies until an old database file is updated.
6999185
- Check out CVS 20061027 which now contains Red Hat's
6999185
  acl/xattr/selinux/audit patches.
6999185
- Patches merged upstream.
6999185
- Update manual page substitutions.
6999185
b7d62ec
* Mon Oct 23 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12-2
b7d62ec
- Add "memory leaks and performance updates" patch as posted
b7d62ec
  to aide-devel by Steve Grubb.
b7d62ec
de46efc
* Sat Oct 07 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.12-1
de46efc
- Update to 0.12 release.
de46efc
- now offers --disable-static, so -no-static patch is obsolete
de46efc
- fill last element of getopt struct array with zeroes
de46efc
de46efc
* Mon Oct 02 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.11-3
c946fce
- rebuilt
c946fce
defbe11
* Mon Sep 11 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.11-2
50f447b
- rebuilt
50f447b
defbe11
* Sun Feb 19 2006 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.11-1
defbe11
- Update to 0.11 release.
defbe11
- useless-includes patch merged upstream.
defbe11
- old Russian man pages not available anymore.
0f06d55
- disable static linking.
0f06d55
d60bc73
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
d60bc73
- rebuilt
d60bc73
cvsextras eca01ee
* Fri Nov 28 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.10-0.fdr.1
cvsextras eca01ee
- Update to 0.10 release.
cvsextras eca01ee
- memleaks patch merged upstream.
cvsextras eca01ee
- rootpath patch merged upstream.
cvsextras eca01ee
- fstat patch not needed anymore.
cvsextras eca01ee
- Updated URL.
cvsextras eca01ee
cvsextras 9ad39ae
* Thu Nov 13 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.10-0.fdr.0.2.cvs20031104
cvsextras 9ad39ae
- Added buildreq m4 to work around incomplete deps of bison package.
cvsextras 9ad39ae
cvsextras 9fe78cd
* Tue Nov 04 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.10-0.fdr.0.1.cvs20031104
cvsextras 9fe78cd
- Only tar.gz available upstream.
cvsextras 9fe78cd
- byacc not needed when bison -y is available.
cvsextras 9fe78cd
- Installed Russian manual pages.
cvsextras 9fe78cd
- Updated with changes from CVS (2003-11-04).
cvsextras 9fe78cd
- getopt patch merged upstream.
cvsextras 9fe78cd
- bison-1.35 patch incorporated upstream.
cvsextras 9fe78cd
cvsextras 9fe78cd
* Tue Sep 09 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9-0.fdr.0.2.20030902
cvsextras 9fe78cd
- Added fixes for further memleaks.
cvsextras 9fe78cd
cvsextras 9fe78cd
* Sun Sep 07 2003 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9-0.fdr.0.1.20030902
cvsextras 9fe78cd
- Initial package version.
cvsextras 9fe78cd