---
name: fsh
version: 1.2_3
origin: security/fsh
comment: Fast remote command execution
arch: freebsd:9:x86:64
www: http://www.lysator.liu.se/fsh/
maintainer: sumikawa@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 123693
desc: |
  fsh -- Fast remote command execution

  The problem: logging in to a remote system with a cryptographic
  solution such as lsh or ssh takes time, due to the computationally
  expensive key exchanges that occur when the connection is
  established. It is common to trigger a lot of remote logins while
  using remote CVS, which makes it painfully slow compared to having the
  repository locally.

  The solution: reuse the secure tunnel once it has been
  established. fsh is a drop-in rsh-compatible replacement for ssh that
  automatically resuses ssh tunnels.

  WWW: http://www.lysator.liu.se/fsh/
deps:
  python27: {origin: lang/python27, version: 2.7.5_2}
  python2: {origin: lang/python2, version: 2}
  python: {origin: lang/python, version: '2.7,2'}
  gettext: {origin: devel/gettext, version: 0.18.3}
  libiconv: {origin: converters/libiconv, version: 1.14_1}
categories:
- security
files:
  /usr/local/bin/fcp: c5bdd1e3b89411ef9a25edb74c944dfef135c506c03366b2006c644be2c6ab27
  /usr/local/bin/fsh: 6c6d926e2362a79fb86568c885b87e6f2c38e84a8f89d0f70c4a9117d7af2a4d
  /usr/local/bin/fshd: c8e389f1f351a1e3dfaa72ee478833e512b2d7e9941732189e917033796c322b
  /usr/local/bin/in.fshd: bdbde55f0b6469e0e7dfccf0ed3bc1e05cba6c96dac571564d54183edeed8589
  /usr/local/info/fsh.info: bd928a50885433c624f28c35ed4b43276271d865af6cec707363450797461c87
  /usr/local/libexec/fcpwrap: a338877be01e6e68a678bdb58ce274dbfb216dc55a0a6f447fb164279c52eb65
  /usr/local/share/fsh/fsh.py: 9bb1b76c2eed54bc51153026999df25cb8585b0c0b009a977a559a258e69e9d0
  /usr/local/share/fsh/fsh.pyc: 921b53cd7ad799301d0b14982f1a8535fda75f3956d288da4f7e2b9882caa153
  /usr/local/share/fsh/fshcompat.py: 883ea9359496e7e500f31270225b5a3f9831c6805c6fcd317f62bae9e8499401
  /usr/local/share/fsh/fshcompat.pyc: fcf4e11014120f7c6fe76a977ae9ac2566670ea2f96f796275c72cf7168fe0a8
  /usr/local/share/fsh/fshconfig.py: a237b87c370eb44cb4e0788a11825ea7e2f1f60c5f2968c65ae1bb5213542bf8
  /usr/local/share/fsh/fshconfig.pyc: af22b8bc8ac0a359856c8ae3d885083638651f1fe55162077a3150ffb54904a4
  /usr/local/share/fsh/fshd.py: 1e22975f05d06a65686e0da6545bc314d040bbcf0c4922e452fbdf8ce5a6b07e
  /usr/local/share/fsh/fshd.pyc: c0ae72f3eec6cddffad0873e7ae98c4d0b265776e992d483abf1e0ce27565aa7
  /usr/local/share/fsh/fshlib.py: daf6d1c56838b75c428b52138c7e5fc55774a1db7ffccde6f6d5a64442f71bde
  /usr/local/share/fsh/fshlib.pyc: f678643f7526f9a90095cf6c85ba85a75df32a2709a4584cf6090b73846ac95c
  /usr/local/share/fsh/fshversion.py: 592c6d10ee6901ae9cfc801f6266536ebf120ba0d0af435440b89d4bcf51a00d
  /usr/local/share/fsh/fshversion.pyc: 569088626316d076f5a79c5b67277ae3fe325511eab708087980a1f2daf560b7
  /usr/local/share/fsh/infshd.py: 997a56522760855ddf98563eb31bc26eafeed443a2aec8f3db79dbb421c68541
  /usr/local/share/fsh/infshd.pyc: b4398540a3d735f7e859ffa5cdc1b66127902e69fbe8f082be3d00483b484961
directories:
  /usr/local/share/fsh/: n
scripts:
  post-install: |
    file=/usr/local/info/fsh.info
    install-info --quiet /usr/local/info/fsh.info ${file%25/*}/dir
  pre-deinstall: |
    if [ -f /usr/local/info/dir ]; then if sed -e '1,/Menu:/d' /usr/local/info/dir | grep -q '^[*] '; then true; else rm /usr/local/info/dir; fi; fi
  post-deinstall: |
    file=/usr/local/info/fsh.info
    install-info --quiet --delete /usr/local/info/fsh.info ${file%25/*}/dir
    if [ $(info -d ${file%25/*}  --output - 2>/dev/null | grep -c '^*') -eq 1 ]; then
      rm -f ${file%25/*}/dir
    fi
