Name: rssh Version: 2.3.3 Release: 2%{?dist} Summary: Restricted shell for use with OpenSSH, allowing only scp and/or sftp Group: Applications/Internet License: BSD URL: http://www.pizzashack.org/rssh/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: rssh-2.3.2-makefile.patch Patch1: rssh-2.3.3-rsync-protocol.patch BuildRequires: openssh-server, openssh-clients BuildRequires: cvs rsync rdist Requires: openssh-server Requires(pre): shadow-utils %description rssh is a restricted shell for use with OpenSSH, allowing only scp and/or sftp. For example, if you have a server which you only want to allow users to copy files off of via scp, without providing shell access, you can use rssh to do that. It is a alternative to scponly. %prep %setup -q %patch0 -p1 -b .makefile %patch1 -p1 -b .rsync3 chmod 644 conf_convert.sh chmod 644 mkchroot.sh %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} make install INSTALL="%{__install} -p" DESTDIR=%{buildroot} %clean rm -rf %{buildroot} %pre getent group rsshusers >/dev/null || groupadd -r rsshusers exit 0 %files %doc AUTHORS ChangeLog CHROOT COPYING NEWS README SECURITY TODO %doc conf_convert.sh mkchroot.sh %doc %{_mandir}/man1/rssh.1* %doc %{_mandir}/man5/rssh.conf.5* %config(noreplace) %{_sysconfdir}/rssh.conf %attr(750, root, rsshusers) %{_bindir}/rssh %attr(4750, root, rsshusers) %{_libexecdir}/rssh_chroot_helper %changelog * Mon Feb 6 2012 Daniel Drake <dsd@laptop.org> - 2.3.3-2 - Add patch for rsync3 compat (#485946) * Thu May 19 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 2.3.3-1 - Upstream security fix release. Resolves rhbz#705904 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Oct 30 2008 Ian Weller <ianweller@gmail.com> - 2.3.2-5 - Remove pre and post scripts - https://bugzilla.redhat.com/show_bug.cgi?id=456182#c17 * Wed Aug 11 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.3.2-4 - Fix review issues and apply patch * Wed Aug 07 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.3.2-3 - Fix postun to remove rssh shell * Wed Jul 30 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.3.2-2 - Fix BR and defattr. Added a group and shell * Tue Jul 22 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.3.2-1 - initial spec