Summary: QA Remote Shell Name: qarsh Version: 1.23 Release: 1%{?dist} Group: QA License: GPL Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libxml2-devel Source0: qarsh-%{version}.tar.bz2 %description qarsh is an rsh/ssh replacement designed for a testing environment. That means no encryption and no authentication. It also means that the return code is the same as the remote process and some signals are propogated to the remote process. The qarsh package provides the client side programs for copying files and starting remote commands. Qarsh is not fit for interactive commands. %package server Group: QA Summary: QA Remote Shell Server Requires: xinetd %description server qarsh is an rsh/ssh replacement designed for a testing environment. That means no encryption and no authentication. It also means that the return code is the same as the remote process and some signals are propogated to the remote process. The qarsh-server package provides the server for qarsh, which allows anyone to connect to the host as any user and do any thing. WARNING: THIS PACKAGE PROVIDES REMOTE ROOT ACCESS WITHOUT AUTHENTICATION %prep %setup -q -c %build [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; mkdir -p %{buildroot}/ make %install make install INSTROOT=$RPM_BUILD_ROOT %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %post server /sbin/service xinetd reload > /dev/null 2>&1 || : %postun server if [ $1 = 0 ]; then /sbin/service xinetd reload > /dev/null 2>&1 || : fi %files %defattr(-,root,root) /usr/bin/qarsh /usr/bin/qacp /usr/bin/btimec %doc %{_mandir}/man1/* %files server %defattr(-,root,root) /usr/sbin/qarshd /usr/sbin/btimed %config /etc/xinetd.d/qarsh %config /etc/xinetd.d/btimed %doc %{_mandir}/man8/* %changelog * Mon Nov 10 2008 Nate Straz + qarsh-1.23-1 - Speed up qarsh by not waiting for an extra pselect * Fri Oct 31 2008 Nate Straz + qarsh-1.22-1 - Fix double-free and command hang in qarsh * Tue Oct 14 2008 Nate Straz i + qarsh-1.21-1 - Fix double-free in qacp file to host:file - Calculate boot time from /proc/uptime * Fri Oct 10 2008 Nate Straz + qarsh-1.20-1 - Fix the memory leak fix. * Fri Oct 10 2008 Nate Straz + qarsh-1.19-1 - Fix memory leaks in qacp - Fix a CPU hogging spin after a command exits * Tue Jul 08 2008 1.18-2 - Include new man pages. * Tue Jul 08 2008 1.18-1 - Make sure we process all output after the command exits. * Thu Jul 03 2008 1.17-1 - Use select() to control writes in qarsh. - chdir() to home directory if possible. - Add debug option to syslog debug messages. * Mon Feb 11 2008 1.16-1 - Add copyright headers - Use select in btime() so higher latency connections work. * Tue Feb 20 2007 1.15-1 - Make sure qarsh exits with the same signal as the remote side. * Wed Feb 14 2007 1.14-1 - Remove the alarm in btimed so it will stick around. * Mon Feb 12 2007 1.13-1 - Remove the per_source limits. * Thu Nov 16 2006 1.12-1 - Fix working with large files and un-sendfile-able files. * Fri Aug 11 2006 1.11-1 - Change the retry settings to make heartbeating more reliable. * Thu Aug 03 2006 Nathan Straz 1.10-1 - Add cookies to the heartbeat packet. * Thu Jun 08 2006 1.9-2 - Add some debugging messages to find the mysterious client rebooted bug. * Fri Mar 17 2006 Nathan Straz 1.9-1 - Add a -r (readable) flag to btimec - Enhance qarsh command line parsing to make rsync happy again. * Wed Feb 08 2006 Nathan Straz 1.8-1 - Fix fake reboot bug. * Mon Jan 16 2006 Nathan Straz 1.7-1 - Make error messages more useful when there are connection issues. * Thu Jan 05 2006 Nathan Straz 1.6-1 - Make btimed stick around * Thu Oct 6 2005 Dean Jansa 1.2-2 - Use hbeat lib interface for heartbeat * Mon Sep 26 2005 Nathan Straz 1.2-1 - New version that fixes a bug in heartbeat. * Fri Sep 23 2005 Nathan Straz 1.1-1 - New version with timeout capability * Tue Sep 13 2005 Nathan Straz 1.0-1 - Add xinetd files - Split package into client and server parts * Thu Sep 13 2005 Nathan Straz - Initial packaging