rkhunter/rkhunter.spec

71 lines
2.1 KiB
RPMSpec
Raw Normal View History

Name: rkhunter
Version: 1.4.6
Release: 1mamba
Summary: A tool that scans for rootkits, backdoors and local exploits by running several tests
Group: Applications/Security
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.rootkit.nl/projects/rootkit_hunter.html
Source: http://downloads.sourceforge.net/project/rkhunter/rkhunter/%{version}/rkhunter-%{version}.tar.gz
License: GPL
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Rootkit Hunter scans for rootkits, backdoors and local exploits by running tests like:
- MD5 hash compare
- Look for default files used by rootkits
- Wrong file permissions for binaries
- Look for suspected strings in LKM and KLD modules
- Look for hidden files
- Optional scan within plaintext and binary files
%prep
%setup -q
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_prefix}
export DEB_BUILD_ROOT=%{buildroot}
./installer.sh --layout DEB --striproot %{buildroot} --install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sysconfdir}/rkhunter.conf
%{_bindir}/rkhunter
%{_docdir}/rkhunter/*
%dir %{_datadir}/rkhunter
%{_datadir}/rkhunter/scripts/*.pl
%{_datadir}/rkhunter/scripts/*.sh
%dir /var/lib/rkhunter
%dir /var/lib/rkhunter/db
%dir /var/lib/rkhunter/tmp
/var/lib/rkhunter/db/*
%{_mandir}/man8/rkhunter.8.gz
%changelog
* Wed Mar 28 2018 Automatic Build System <autodist@mambasoft.it> 1.4.6-1mamba
- automatic version update by autodist
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic version update by autodist
* Wed Feb 26 2014 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic update by autodist
* Tue May 01 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.4.0-1mamba
- update to 1.4.0
* Wed Mar 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.8-1mamba
- update to 1.3.8
* Wed Oct 14 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
- package created by autospec