---
name: stone
version: 2.3e
origin: net/stone
comment: Stone is a TCP/IP packet repeater in the application layer
arch: freebsd:9:x86:64
www: http://www.gcd.org/sengoku/stone/
maintainer: sarumaru@jp.FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 147395
desc: |
  Stone is a TCP/IP packet repeater in the application layer.  It
  repeats TCP and UDP packets from inside to outside of a firewall, or
  from outside to inside.

  Stone has following features:

  1.  Simple.
          Stone's source code is only 3000 lines long (written in C
          language), so you can minimize the risk of security
          holes.

  2.  Stone supports SSL.
          Using OpenSSL (http://www.openssl.org/), stone can
          encrypt/decrypt packets.

  3.  Stone is a http proxy.
          Stone can also be a tiny http proxy.

  4.  POP -> APOP conversion.
          With stone and a mailer that does not support APOP, you can
          access to an APOP server.

  WWW: http://www.gcd.org/sengoku/stone/
categories: [net, ipv6]
files:
  /usr/local/bin/stone: c9f922ce4faab74b41c27a46baf487d1d80b11fe3364aa5656e7a6cb52de28c6
  /usr/local/etc/rc.d/stone: c3d216b30fbf0736e25f04d856328bfe347488ae54dfe28f5d19f49353631f81
  /usr/local/etc/stone.cnf.sample: 7abab3f9233ad9f5e867ba017582d8ccf314ac373d74b4ac5392aca7e9b49ba5
  /usr/local/man/ja/man1/stone.1.gz: 1ccf7c21079be9d1a0e3807ff103c9971d47f9086cddd33a54ee2a95d93c1673
  /usr/local/man/man1/stone.1.gz: 75af83f4ade6764fbc6f4443f96f0c8384ae74f4076f18f17d7df61d37bd82dc
scripts:
  post-install: |
    [ -f /usr/local/etc/stone.cnf ] || cp /usr/local/etc/stone.cnf.sample /usr/local/etc/stone.cnf
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/stone.cnf /usr/local/etc/stone.cnf.sample; then rm -f /usr/local/etc/stone.cnf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
