File unhide_rb.spec of Package unhide_rb

# vim: set sw=4 ts=4 et nu:

Name:               unhide_rb
Version:            0.12
Release:            0
Summary:            Finder of Hidden Processes
Source:             unhide.rb-r12.tar.gz
URL:                https://launchpad.net/unhide.rb
Group:              Productivity/Security
License:            GNU General Public License version 3 (GPL v3)
BuildRoot:          %{_tmppath}/build-%{name}-%{version}
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"

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

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

openSUSE Build Service is sponsored by