---
name: ssltunnel-server
version: 1.18_1
origin: net/ssltunnel-server
comment: PPP over SSL virtual private networking (server part)
arch: freebsd:9:x86:64
www: http://www.hsc.fr/ressources/outils/ssltunnel/
maintainer: crees@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [BSD]
flatsize: 79583
desc: |
  ssltunnel is a client/server software to establish PPP links over
  SSL/TLS sessions. Client and server are mutually authenticated using
  X509 certificates, PPP packets are encrypted/decrypted realtime on
  each side. The client has the ability to initiate the connection
  through an HTTP/HTTPS relay, even if an authentification is needed.

  This is the server part.

  WWW: http://www.hsc.fr/ressources/outils/ssltunnel/
categories: [net]
options: {TCPWRAPPERS: off}
files:
  /usr/local/etc/rc.d/ssltunnel.sh.sample: b0f5d89cf4c64879add39b7c4483e7f25e1361db8fb1dd775a4e18a518620200
  /usr/local/etc/ssltunnel/tunnel.conf.default: 31ff0782afbb81363f31a552bc6524356c43916218e5cdac37f66d89bcfa4ffb
  /usr/local/etc/ssltunnel/users.sample: 7f30388de223096df26f08e872d05fb7e79b5d39606bc7557b0f233eea1548db
  /usr/local/libexec/pppserver: 46d365b8cea8166451bdd55ca0c1e5b6c73cfafbf74fcbecab1cee3343d3f4ec
  /usr/local/sbin/pppwho: 799075d52a09ae09cc408efa3cd1366f3d44368ae7c3a70ca819b6f76b4b558e
  /usr/local/share/doc/ssltunnel/server.LISEZ-MOI: f832c2438b26a78659468c95654c7bd4a76bc6c794db209d32be98abc9773cbe
  /usr/local/share/doc/ssltunnel/server.README: 69bf51023ea4500f6a0519129e439115b7a65932081c6733c2ad8f450f3b4ab0
  /usr/local/share/licenses/ssltunnel-server-1.18_1/BSD: 85e7a53b5e2d3e350e2d084fed2f94b7f63005f8e1168740e1e84aa9fa5d48ce
  /usr/local/share/licenses/ssltunnel-server-1.18_1/LICENSE: d9cce0db43502eb1bd8fbef7e960cfaa43b5647186f7f7379923b336209fd77b
  /usr/local/share/licenses/ssltunnel-server-1.18_1/catalog.mk: 4a20cba37b0bc8cc58899853c8e68c40adbf51f384d352ab66aea0365ad7bc5d
directories:
  /usr/local/share/licenses/ssltunnel-server-1.18_1/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/ssltunnel/: n
  /usr/local/etc/ssltunnel/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/ssltunnel/tunnel.conf /usr/local/etc/ssltunnel/tunnel.conf.default; then rm -f /usr/local/etc/ssltunnel/tunnel.conf; fi
    if cmp -s /usr/local/etc/ssltunnel/users /usr/local/etc/ssltunnel/users.sample; then rm -f /usr/local/etc/ssltunnel/users; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  All ppp parameters that were to go into PREFIX/etc/ssltunnel/users should
  go to /etc/ppp/ppp.conf for example:

  default:
  # set log Phase Chat LCP IPCP CCP tun command
  set log Phase tun
  ident user-ppp VERSION
  set timeout 0
  enable echo
  disable ipv6cp
  set ifaddr 192.168.230.13:192.168.230.20
