File unhide_rb.spec of Package unhide_rb

# vim: set sw=4 ts=4 et nu:
#
# spec file for package unhide_rb
#
# Copyright (c) 2017 SUSE LINUX 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/
#


Name:           unhide_rb
Version:        22
Release:        0
Summary:        Finder of Hidden Processes
License:        GPL-3.0
Group:          Productivity/Security
Source:         unhide.rb_22.orig.tar.gz
Url:            https://launchpad.net/unhide.rb
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  make
BuildArch:      noarch

%description
Unhide.rb is a tool that attempts to find processes hidden by rootkits. It does
that by scanning for processes in many different ways, and then lists processes
found through some means but not through others.

Unhide.rb is a reimplementation of unhide in Ruby. At the time of writing
unhide.rb, the relationships between the two programs are:
* Unhide.rb does the same checks as "unhide proc" and "unhide sys"
* Unhide.rb is about 10x faster than the original C code (7s vs 70s)
* Unhide.rb is only about half as much code as the original C code, so it
  should be easier to maintain / extend
* Unhide.rb has better diagnostics when hidden processes are found

%prep
%setup -q -n unhide.rb

%build

%install
%__install -D -m0755 unhide.rb "%{buildroot}%{_bindir}/unhide.rb"
%__install -D -m0644 unhide.rb.8 "%{buildroot}%{_mandir}/man8/unhide.rb.8"

%files
%defattr(-,root,root)
%{_bindir}/unhide.rb
%doc %{_mandir}/man8/unhide.rb.8%{ext_man}

%changelog
openSUSE Build Service is sponsored by