---
name: rssh
version: 2.3.4
origin: shells/rssh
comment: Restricted Secure SHell only for sftp or/and scp
arch: freebsd:9:x86:64
www: http://www.pizzashack.org/rssh/index.shtml
maintainer: pav@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 59088
desc: |
  rssh is a Restricted Secure SHell that allow only the use of sftp
  or scp.  It could be use when you need an account (and a valid
  shell) in order to execute sftp or scp but when you don't want to
  give the possibility to log in to this user.

  WWW: http://www.pizzashack.org/rssh/index.shtml
categories: [shells, security]
options: {RDIST: off}
files:
  /usr/local/bin/rssh: a0992ade3e6c23d72d2b2634eae01bffde17320834a251d30c857b201e72eae8
  /usr/local/etc/rssh.conf.default.dist: 738c69cb1258e9da72a6a65c09bb4b79d50ea06bcc6481368d461801db7a99ea
  /usr/local/libexec/rssh_chroot_helper: 59f5cecb5d5fc01be9253d293d8d0870414f6bb56bbd55ae6b92f7c3422d5064
  /usr/local/man/man1/rssh.1.gz: 441869086ab6e43c15b3d0e4c2f44e515d263007c0176a69b9aa389eb33df328
  /usr/local/man/man5/rssh.conf.5.gz: 81d2fef1d831df471c3d4a3f924c54d36c708d85ce5943ba3ed10cd7e54e1d39
scripts:
  post-install: |
    echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v /usr/local/bin/rssh /etc/shells.bak; echo /usr/local/bin/rssh) >/etc/shells; rm -f /etc/shells.bak
  pre-deinstall: |
    echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v /usr/local/bin/rssh /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
