diff options
author | Nate Straz <nstraz@redhat.com> | 2005-09-13 19:31:26 +0000 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2008-09-23 09:37:44 -0400 |
commit | 988f9b104087022ecf08ed881aa723fcb33a46b6 (patch) | |
tree | 409259edcf7b38c088737667e2c2ed3e08c9c9a5 /qarsh.spec | |
parent | 2ffadb769727f0be36df3875cff74ac5a93475fe (diff) | |
download | qarsh-988f9b104087022ecf08ed881aa723fcb33a46b6.tar.gz qarsh-988f9b104087022ecf08ed881aa723fcb33a46b6.tar.xz qarsh-988f9b104087022ecf08ed881aa723fcb33a46b6.zip |
- Split qarshd and btimed into their own package with their xinetd files.
- Don't link btimec and btimed against libxml2.
Diffstat (limited to 'qarsh.spec')
-rw-r--r-- | qarsh.spec | 35 |
1 files changed, 34 insertions, 1 deletions
@@ -5,6 +5,7 @@ Release: 1 Group: QA License: GPL Buildroot: %{_tmppath}/%{name}-%{version}-root +Packager: Nathan Straz <nstraz@redhat.com> Source0: qarsh.tar.bz2 @@ -12,7 +13,23 @@ Source0: qarsh.tar.bz2 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. +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 @@ -29,15 +46,31 @@ 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 + +%files server +%defattr(-,root,root) /usr/sbin/qarshd /usr/sbin/btimed +%config /etc/xinetd.d/qarsh +%config /etc/xinetd.d/btimed %changelog +* Tue Sep 13 2005 Nathan Straz <nstraz@redhat.com> 1.0-1 +- Add xinetd files +- Split package into client and server parts + * Thu Sep 13 2005 Nathan Straz <nstraz@redhat.com> - Initial packaging |