]> git.pld-linux.org Git - packages/chkrootkit.git/blobdiff - chkrootkit.spec
- 0.36 (more trojans detected)
[packages/chkrootkit.git] / chkrootkit.spec
index 293009ec7882378b9b0fc3c154ddc82d68f7246e..f49b0310f3f8512ede17ccc11e0e8a3fbb3d3334 100644 (file)
@@ -1,25 +1,13 @@
 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:       2
+Version:       0.36
+Release:       1
 License:       Copyrighted
 Group:         Applications/Networking
-Group(cs):     Aplikace/Sí»ové
-Group(da):     Programmer/Netværks
-Group(de):     Applikationen/Netzwerkwesen
-Group(es):     Aplicaciones/Red
-Group(fr):     Applications/Réseau
-Group(is):     Forrit/Net
-Group(it):     Applicazioni/Rete
-Group(no):     Applikasjoner/Nettverk
-Group(pl):     Aplikacje/Sieciowe
-Group(pt):     Aplicações/Rede
-Group(pt_BR):  Aplicações/Rede
-Group(ru):     ðÒÉÌÏÖÅÎÉÑ/óÅÔÅ×ÙÅ
-Group(sl):     Programi/Omre¾ni
-Group(sv):     Tillämpningar/Nätverk
 Source0:       ftp://sunsite.icm.edu.pl/pub/unix/security/chkrootkit/%{name}-%{version}.tar.gz
+Source1:       %{name}-check
+Source2:       %{name}.sysconfig
 Patch0:                %{name}-CC.patch
 Patch1:                %{name}-nostrip.patch
 Patch2:                %{name}-names.patch
@@ -27,6 +15,7 @@ Patch3:               %{name}-wtmp.patch
 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.
@@ -55,7 +44,7 @@ rootkit
  - strings: szybko i brzydko napisany zamiennik programu strings.
 
 %prep
-%setup -q
+%setup -q -n %{name}-pre-%{version}
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -68,7 +57,7 @@ export CC
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
+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
@@ -76,12 +65,15 @@ done
 
 install chkrootkit $RPM_BUILD_ROOT/%{_bindir}
 
-gzip -9nf COPYRIGHT README README.chklastlog README.chkwtmp
+install %{SOURCE1}     $RPM_BUILD_ROOT/etc/cron.weekly/
+install %{SOURCE2}     $RPM_BUILD_ROOT/etc/sysconfig/chkrootkit
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc COPYRIGHT README README.chklastlog README.chkwtmp
 %attr(755,root,root) %{_bindir}/*
+%attr(750,root,root) /etc/cron.weekly/chkrootkit-check
+%attr(640,root,root) %config(noreplace) %verify(not mtime size md5) /etc/sysconfig/chkrootkit
This page took 0.090631 seconds and 4 git commands to generate.