sudosh/sudosh.spec

Name: sudosh
Summary: Logged root shell that can be used for auditing
Version: 2.0.0
Release: 1
License: Open Software License
Group: Applications/System
URL: http://sourceforge.net/projects/sudosh/
Description: sudosh works directly with sudo to provide a fully functional shell that users may use to obtain full root access. Unlike providing a team of system administrators full root access through sudo, it guarantees that detailed logs are kept. It uses the script command in conjunction with a secure FIFO and comes with a utility to view sessions and drill down deeper and see the actual session output.

CentOS 7 x86_64

The build could not start because the following file is missing: sudosh-2.0.0.tar.bz2

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: sudosh-2.0.0.tar.bz2

Build Status

Contents

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

# $Id: $
# Authority: dries
# Upstream: Douglas Hanks

Summary: Logged root shell that can be used for auditing
Name: sudosh
Version: 2.0.0
Release: 1%{?dist}
License: Open Software License
Group: Applications/System
URL: http://sourceforge.net/projects/sudosh/

Source: http://sudosh.sourceforge.net/sudosh-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Requires: sudo

%description
sudosh works directly with sudo to provide a fully functional shell that
users may use to obtain full root access. Unlike providing a team of system
administrators full root access through sudo, it guarantees that detailed
logs are kept. It uses the script command in conjunction with a secure FIFO
and comes with a utility to view sessions and drill down deeper and see the
actual session output.

%prep
%setup

### Disable installing as root
%{__perl} -pi.orig -e 's| -o 0 -g 0 | |' src/Makefile.in

%build
%configure \
	--program-prefix="%{?_program_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
#{__make} install DESTDIR="%{buildroot}"
%makeinstall

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

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
%doc %{_mandir}/man1/sudosh.1*
%doc %{_mandir}/man5/sudosh.conf*
%doc %{_mandir}/man8/sudosh-replay.8*
%{_bindir}/sudosh
%{_bindir}/sudosh-replay

%defattr(0444, root, root, 0755)
%config(noreplace) %{_sysconfdir}/sudosh.conf

%changelog
* Mon Apr 03 2006 Dries Verachtert <dries@ulyssis.org> - 2.0.0-1
- Updated to release 2.0.0.

* Mon Jun 13 2005 Dries Verachtert <dries@ulyssis.org> - 1.8.2-1
- Update to release 1.8.2.

* Tue May 10 2005 Dag Wieers <dag@wieers.com> - 1.6.1-1
- Update to release 1.6.1.

* Sun May 08 2005 Dag Wieers <dag@wieers.com> - 1.6.0-1
- Update to release 1.6.0.

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

* Sun Mar 13 2005 Dries Verachtert <dries@ulyssis.org> - 1.4.7-1
- Update to release 1.4.7.

* Fri Mar 11 2005 Dries Verachtert <dries@ulyssis.org> - 1.4.6-1
- Update to release 1.4.6.

* Wed Mar 09 2005 Dries Verachtert <dries@ulyssis.org> - 1.4.5-1
- Update to release 1.4.5.

* Sun Mar 06 2005 Dries Verachtert <dries@ulyssis.org> - 1.4.4-1
- Update to release 1.4.4.

* Tue Feb 15 2005 Dag Wieers <dag@wieers.com> - 1.4.2-1
- Update to release 1.4.2.

* Mon Nov 01 2004 Dries Verachtert <dries@ulyssis.org> - 1.4.1-1
- Update to release 1.4.1.

* Mon Oct 25 2004 Dries Verachtert <dries@ulyssis.org> - 1.3.4-1
- Update to release 1.3.4.

* Fri Oct 22 2004 Dries Verachtert <dries@ulyssis.org> - 1.3.2-1
- Update to release 1.3.2.

* Mon Oct 18 2004 Dries Verachtert <dries@ulyssis.org> - 1.2.2-1
- Update to release 1.2.2.

* Sat Oct 02 2004 Dries Verachtert <dries@ulyssis.org> - 0.7.0-1
- Initial package.