File chkrootkit.spec of Package chkrootkit

#
# spec file for package chkrootkit (Version 0.47)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           chkrootkit
Url:            http://www.chkrootkit.org/
License:        BSD 3-Clause
Group:          Productivity/Security
AutoReqProv:    on
Summary:        Used to Check for Symptoms of Installed Root Kits
Version:        0.47
Release:        112
Source0:        ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-0.47.tar.gz
Patch0:         chkrootkit-0.45.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This is a set of tools that detect rootkit (a program that hides the
presence of attackers) symptoms on a system. Rootkits can hide using
kernel modules, but they always leave some small traces that can be
detected with this program. However, it is always recommended to use
this program from a rescue system or a system with a similar purpose.



Authors:
--------
    Nelson Murilo <nelson@pangeia.com.br>
    Klaus Steding-Jessen <jessen@nic.br>

%prep
%setup -q
%patch0 -p0

%build
make OPTFLAGS="$RPM_OPT_FLAGS -Os"

%install
mkdir -p $RPM_BUILD_ROOT/sbin/
install -c -m 755 chklastlog chkwtmp ifpromisc chkproc chkdirs chkrootkit strings-static chkutmp $RPM_BUILD_ROOT/sbin/

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] \
  && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc COPYRIGHT README README.chklastlog README.chkwtmp ACKNOWLEDGMENTS
/sbin/*

%changelog
* Tue Nov 07 2006 meissner@suse.de
- upgraded to 0.47.
  - check for Enye LKM and Lupper.Worm
  - Fix for long lines in PS output
  - Add getpriority to identify LKMs
  - added various new rootkit signatures
* Mon May 22 2006 schwab@suse.de
- Don't strip binaries.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 meissner@suse.de
- Upgraded to 0.46a.
- fixed %%doc permissions.
* Mon Aug 29 2005 meissner@suse.de
- Actually install chkrootkit (#113616)
- No need for check_wtmpx (#113532)
- Fixed %%doc permissions to be 644 (#113614)
* Thu Jun 30 2005 meissner@suse.de
- Upgraded to 0.45.
- Install all build binaries.
- Use more RPM_OPT_FLAGS, fixed some implicits.
* Mon Sep 13 2004 meissner@suse.de
- Initial version 0.44.
openSUSE Build Service is sponsored by