Summary: chkrootkit - locally checks for signs of a rootkit
Summary(pl): chkrootkit - narzêdzie do lokalnego szukania oznak rootkitów
Name: chkrootkit
-Version: 0.35
-Release: 3
-License: Copyrighted
+Version: 0.37
+Release: 1
+License: AMS (BSD like; look at COPYRIGHT)
Group: Applications/Networking
Source0: ftp://sunsite.icm.edu.pl/pub/unix/security/chkrootkit/%{name}-%{version}.tar.gz
Source1: %{name}-check
URL: http://www.chkrootkit.org/
BuildRequires: glibc-static
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Requires: binutils
%description
Chkrootkit is a toolkit to locally check for signs of a rootkit.
- strings: szybko i brzydko napisany zamiennik programu strings.
%prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-%{version}
+#%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
install -d $RPM_BUILD_ROOT{%{_bindir},/etc/{sysconfig,cron.weekly}}
for x in check_wtmpx chklastlog chkproc chkwtmp ifpromisc strings; do
- install $x $RPM_BUILD_ROOT/%{_bindir}/%{name}-$x
+ install check_wtmpx chklastlog chkproc chkwtmp ifpromisc strings $RPM_BUILD_ROOT/%{_bindir}/%{name}-$x
done
install chkrootkit $RPM_BUILD_ROOT/%{_bindir}
install %{SOURCE1} $RPM_BUILD_ROOT/etc/cron.weekly/
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/chkrootkit
-gzip -9nf COPYRIGHT README README.chklastlog README.chkwtmp
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_bindir}/*
+%doc COPYRIGHT README README.chklastlog README.chkwtmp
%attr(750,root,root) /etc/cron.weekly/chkrootkit-check
%attr(640,root,root) %config(noreplace) %verify(not mtime size md5) /etc/sysconfig/chkrootkit
+%attr(755,root,root) %{_bindir}/*