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