2019-12-25 15:41:17 +08:00
|
|
|
Name: aide
|
|
|
|
|
Version: 0.16
|
2020-01-10 15:46:55 +08:00
|
|
|
Release: 15
|
2019-12-25 15:41:17 +08:00
|
|
|
Summary: Advanced Intrusion Detection Environment
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://sourceforge.net/projects/aide
|
|
|
|
|
Source0: http://sourceforge.net/projects/aide/files/aide/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: aide.conf
|
|
|
|
|
Source3: aide.logrotate
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc make bison flex pcre-devel libgpg-error-devel libgcrypt-devel zlib-devel libcurl-devel
|
|
|
|
|
BuildRequires: libacl-devel libselinux-devel libattr-devel e2fsprogs-devel audit-libs-devel git
|
|
|
|
|
|
|
|
|
|
Patch6000: aide-define_hash_use_gcrypt.patch
|
|
|
|
|
Patch6001: Fix-short-form-of-limit-parameter.patch
|
|
|
|
|
Patch6002: Fix-root_prefix-option.patch
|
|
|
|
|
Patch6003: Add-missing-include-in-src-db.c.patch
|
|
|
|
|
Patch6004: src-do_md.c-fix-memory-leak-in-is_prelinked.patch
|
|
|
|
|
Patch6005: Skip-reading-section-data-if-the-section-doesn-t-con.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
AIDE (Advanced Intrusion Detection Environment, [eyd]) is a file and directory integrity checker.
|
|
|
|
|
It creates a database from the regular expression rules that it finds from the config file(s).
|
|
|
|
|
Once this database is initialized it can be used to verify the integrity of the files.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static --with-config_file=%{_sysconfdir}/aide.conf --with-gcrypt --with-zlib \
|
|
|
|
|
--with-curl --with-posix-acl --with-selinux --with-xattr --with-e2fsattrs --with-audit
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install bindir=%{_sbindir}
|
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_sysconfdir} %{S:1}
|
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_sysconfdir}/logrotate.d/aide %{S:3}
|
|
|
|
|
mkdir -p %{buildroot}%{_localstatedir}/log/aide
|
|
|
|
|
mkdir -p -m0700 %{buildroot}%{_localstatedir}/lib/aide
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%license COPYING AUTHORS
|
|
|
|
|
%doc ChangeLog contrib/
|
|
|
|
|
%{_sbindir}/*
|
|
|
|
|
%config(noreplace) %attr(0600,root,root) %{_sysconfdir}/aide.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/aide
|
|
|
|
|
%dir %attr(0700,root,root) %{_localstatedir}/lib/aide
|
|
|
|
|
%dir %attr(0700,root,root) %{_localstatedir}/log/aide
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
2020-01-10 15:46:55 +08:00
|
|
|
%doc NEWS README doc/manual.html
|
2019-12-25 15:41:17 +08:00
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-01-10 15:46:55 +08:00
|
|
|
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16-15
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: clean code
|
|
|
|
|
|
2019-12-25 15:41:17 +08:00
|
|
|
* Wed Oct 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.16-14
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: change the directory of AUTHORS
|
|
|
|
|
|
|
|
|
|
* Sat Sep 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.16-13
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:revise description
|
|
|
|
|
|
|
|
|
|
* Fri Aug 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.16-12
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:strengthen spec
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 guoxiaoqi<guoxiaoqi2@huawei.com> - 0.16-11
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rename patches
|
|
|
|
|
|
|
|
|
|
* Tue Apr 9 2019 wangxiao<wangxiao65@huawei.com> - 0.16-10
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC:Fix short form of --limit parameter
|
|
|
|
|
Fix root_prefix option
|
|
|
|
|
Add missing include in src/db.c
|
|
|
|
|
Fix memory leak in is_prelinked
|
|
|
|
|
Skip reading section data if the section doesn't contain any table.
|
|
|
|
|
|
|
|
|
|
* Sun Apr 7 2019 zoujing<zoujing13@huawei.com> - 0.16-9
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:restart
|
|
|
|
|
- DESC: backport patch for fixing "DBG: md_enable: algorithm 7 not available"
|
|
|
|
|
|
|
|
|
|
* Tue Jul 31 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.16-8
|
|
|
|
|
- Package init
|