rootsh/rootsh.spec

Name: rootsh
Summary: Shell wrapper to log activity
Version: 1.5.2
Release: 1.2
License: GPL
Group: System Environment/Base
URL: http://sourceforge.net/projects/rootsh/
Description: Rootsh is a wrapper for shells which logs all echoed keystrokes and terminal output to a file and/or to syslog. It's main purpose is the auditing of users who need a shell with root privileges. They start rootsh through the sudo mechanism.

CentOS 7 x86_64

The build could not start because the following file is missing: rootsh-1.5.2.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: rootsh-1.5.2.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Gerhard Lausser <gerhard.lausser$consol,de>

Summary: Shell wrapper to log activity
Name: rootsh
Version: 1.5.2
Release: 1.2%{?dist}
License: GPL
Group: System Environment/Base
URL: http://sourceforge.net/projects/rootsh/

Source: http://dl.sf.net/rootsh/rootsh-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Rootsh is a wrapper for shells which logs all echoed keystrokes and terminal
output to a file and/or to syslog. It's main purpose is the auditing of users
who need a shell with root privileges. They start rootsh through the sudo
mechanism.

%prep
%setup

%build
%configure \
%{!?_without_syslog:--enable-syslog="local5.notice"} \
%{?_without_syslog:--disable-syslog} \
	--with-logdir="%{_localstatedir}/log/rootsh"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall
%{__install} -d -m0700 %{buildroot}%{_localstatedir}/log/rootsh/

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO
%{_mandir}/man1/rootsh.1*
%{_bindir}/rootsh

%defattr(0700, root, root, 0755)
%{_localstatedir}/log/rootsh/

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.5.2-1.2
- Rebuild for Fedora Core 5.

* Thu Mar 24 2005 Dag Wieers <dag@wieers.com> - 1.5.2-1
- Updated to release 1.5.2.

* Sat Feb 12 2005 Dag Wieers <dag@wieers.com> - 1.5.1-1
- Updated to release 1.5.1.

* Sun Dec 19 2004 Dries Verachtert <dries@ulyssis.org> - 1.5-1
- Updated to release 1.5.

* Thu Dec 09 2004 Dries Verachtert <dries@ulyssis.org> - 1.4.1-1
- Updated to release 1.4.1.

* Fri Sep 14 2004 Dag Wieers <dag@wieers.com> - 0.2-1
- Initial package. (using DAR)