127 lines
3.5 KiB
RPMSpec
127 lines
3.5 KiB
RPMSpec
Name: aide
|
|
Version: 0.17.3
|
|
Release: 1
|
|
Summary: Advanced Intrusion Detection Environment
|
|
License: GPLv2+
|
|
URL: http://sourceforge.net/projects/aide
|
|
Source0: http://github.com/aide/aide/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
Source1: aide.conf
|
|
Source2: 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
|
|
|
|
%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
|
|
|
|
%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 %{S:2} %{buildroot}%{_sysconfdir}/logrotate.d/aide
|
|
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)
|
|
%doc NEWS README
|
|
%{_mandir}/*/*
|
|
|
|
%changelog
|
|
* Sat Jul 31 2021 zoulin <zoulin13@huawei.com> - 0.17.3-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: update to 0.17.3;
|
|
delete -Sgit from %autosetup, and delete BuildRequires git
|
|
|
|
* Wed Jul 29 2020 wangchen <wangchen137@huawei.com> - 0.16.2-1
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: update to 0.16.2
|
|
|
|
* Tue Mar 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16-16
|
|
- Type:bugfix
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: change file from /etc/logrotate.d/aide/aide.logrotate to /etc/logrotate.d/aide
|
|
|
|
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.16-15
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: clean code
|
|
|
|
* 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
|