From d9ef42a07f2a2fe51b8e1fae1c15de900b9e25b5 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 17:26:22 +0100 Subject: [PATCH] automatic update by autodist [release 1.4.2-1mamba;Wed Feb 26 2014] --- README.md | 9 ++++++++ rkhunter.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 rkhunter.spec diff --git a/README.md b/README.md index 7501203..db30c82 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # rkhunter +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 + diff --git a/rkhunter.spec b/rkhunter.spec new file mode 100644 index 0000000..b0ec793 --- /dev/null +++ b/rkhunter.spec @@ -0,0 +1,64 @@ +Name: rkhunter +Version: 1.4.2 +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 +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 Feb 26 2014 Automatic Build System 1.4.2-1mamba +- automatic update by autodist + +* Tue May 01 2012 Ercole 'ercolinux' Carpanetto 1.4.0-1mamba +- update to 1.4.0 + +* Wed Mar 09 2011 Silvan Calarco 1.3.8-1mamba +- update to 1.3.8 + +* Wed Oct 14 2009 Silvan Calarco 1.3.4-1mamba +- package created by autospec