---
name: gateway6
version: 6.0_1
origin: net/gateway6
comment: Gateway6 Tunnel Setup Protocol Client - Free IPv6 tunnel
arch: freebsd:9:x86:64
www: http://gogonet.gogo6.com/page/freenet6-services
maintainer: mike@fth-devel.net
prefix: /usr/local
licenselogic: single
flatsize: 1739633
desc: "From README:\n\nTSP is a control protocol used to establish and maintain static
  \ntunnels. The Gateway6 Client is used on the host computer to connect \nto a tunnel
  broker using the TSP protocol and to get the information \nfor its tunnel. When
  it receives the information for the tunnel, the \nGateway6 client creates the static
  tunnel on its operating system.\n\nThe Gateway6 Client code is mostly identical
  for all client platforms.\nHowever, creating the static tunnel is operating system
  dependent and \nis done by a script called by the Gateway6 Client. These scripts
  are \nlocated under the template directory in the Gateway6 Client \ninstallation
  directory.\n\nThe script executed by the Gateway6 Client to configure the tunnel
  \ninterface is customized for each type of supported operating system \nand takes
  care of all specifics for the target operating system. \nOn Unix systems, it is
  a shell script. This separation of the binary \nand script enables fast and easy
  additions of new operating systems, \nas has been shown by the community contributions
  for many operating \nsystems.\n\nWWW: http://gogonet.gogo6.com/page/freenet6-services\n"
categories: [net, ipv6]
files:
  /usr/local/bin/gw6c: 8ffdc5158226354a3cfb10bda649be2f562c96360dbdb9468eaf53d72feb5bb7
  /usr/local/etc/gw6c.conf.sample: cd379037445550472e6a5f227bb5dd4f9b136893aa80be9f2a1ac896921d8a6d
  /usr/local/etc/rc.d/gateway6: 4ffff9756f75d03683d8481069f37fa739babbd7bf053e97d1b7d1852705bdd2
  /usr/local/man/man5/gw6c.conf.5.gz: e9959aecc19cc3b5b2f5b9bde9a83935094cdc2a237436b235d4533cdea147e0
  /usr/local/man/man8/gw6c.8.gz: 6be9320b701ff62ce91a20f73b109aad659b2004fae515edf3a3044a22d37450
  /usr/local/share/gateway6/CLIENT-LICENSE.TXT: 01b7d80175d1d6a8eadf18ba977c5b9ab7b85c3347b9747f98ef9b39733f1166
  /usr/local/share/gateway6/HEX_DC_0005_Gateway6_Client_Guide.pdf: 5e5f7b59f3786274a400685311226752443f8fcba47116e8a6a832c26d01b2f5
  /usr/local/share/gateway6/HEX_DC_0007_Gateway6_Client_Release_Notes.pdf: 44259bf19094aeda9b2e57fa90451648757b961e88b6e48e057a8c4450fea7f1
  /usr/local/share/gateway6/INSTALL: 10658c5dc4792dd915a87125b39159934c5fa529e71282a7ff49b18b29316ef0
  /usr/local/share/gateway6/README: 21c619619a8a4de7502273cef4eb53df561dacfdaaf52ec286d9e5e5027216a0
  /usr/local/share/gateway6/freebsd.sh: a72348953693bfd1b7e6dfee3fd40ebf8b1ffad304820f393457e522f5222c2c
directories:
  /usr/local/share/gateway6/: n
scripts:
  post-install: |
    if [ ! -f /usr/local/etc/gw6c.conf ] ; then cp -p /usr/local/etc/gw6c.conf.sample /usr/local/etc/gw6c.conf; fi
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/gw6c.conf.sample /usr/local/etc/gw6c.conf; then rm -f /usr/local/etc/gw6c.conf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  Now that the package is installed, please finish it with the following steps:

  - Check the values of /usr/local/etc/gw6c.conf. If you have registered at
    the website, fill in your userid and password there.
  - Add 'gateway6_enable="YES"' to your /etc/rc.conf to make it start
    automatically.
  - Run '/usr/local/etc/rc.d/gateway6 start' to start the tunnel.
  - Try to ping a IPv6 host, for example: ping6 www.jp.freebsd.org

  WWW: http://www.gogo6.net/
