---
name: freenet6
version: 6.0.1_1
origin: net/freenet6
comment: Hexago Freenet6 Tunnel Setup Protocol Client - Free IPv6 tunnel
arch: freebsd:10:x86:64
www: http://www.go6.net/4105/freenet.asp
maintainer: edwin@mavetju.org
prefix: /usr/local
licenselogic: single
flatsize: 287212
desc: |
  Freenet6 is an IPv6 access service offered for free to the community.
  This service enables thousands of people from all over the world
  to experience the best solution for a smooth and incremental
  deployment of IPv6. Freenet6 users can get IPv6 connectivity from
  anywhere, including from behind any NAT device or from outside of
  their home network.

  On Freenet6, a single, permanent IPv6 address and a DNS name are
  assigned to each user, making their PC reachable from anywhere on
  the IPv6 internet. A full /48 prefix may also be assigned to a
  router, enabling the distribution of IPv6 connectivity to an entire
  network.  Freenet 6 - Get Connected For Free!

  Instead of a Web interface, which is usually offered by traditional
  tunnel brokers, Freenet6 uses an innovative model based on a
  client/server architecture. The Gateway6 Client is software that
  usually runs on a PC and that implements the Tunnel Setup Protocol
  (TSP). The Gateway6 Client is used to automatically negotiate a
  configured tunnel between a PC or router and the Freenet6 tunnel
  broker, making IPv6 easy to install and maintain. The Gateway6
  Client source code is licensed under the GPL. A commercial license
  is also available.

  WWW: http://www.go6.net/4105/freenet.asp
categories:
- net
- ipv6
files:
  /usr/local/bin/gw6c: 3e524f09c6dcc454c5404310a48c630a6292d6e8275bc8d08496336c0c53143a
  /usr/local/bin/gw6c-freebsd.sh: 8c226fbbda444732d0c38ef85b94e2c5a80478f5938bdc047933a61331363451
  /usr/local/etc/freenet6/README: feac835fea4aa2b67fd69af1611523ce0a0e49d202fa039626e41ed4b0822db3
  /usr/local/etc/freenet6/gw6c.conf.sample: cd379037445550472e6a5f227bb5dd4f9b136893aa80be9f2a1ac896921d8a6d
  /usr/local/etc/rc.d/freenet6: 4e97ae213eff2ab173588dc5a170424620fe81fcb7f3d69736c54fca88880e0f
  /usr/local/man/man5/gw6c.conf.5.gz: bd751ed64d5ca62dbf3e54811bf34662310f92169643bbce839207b0f9097581
  /usr/local/man/man8/gw6c.8.gz: 9148219e3c8c27747af2d5b7caf9841a68e431c53d82e5cf87ce798b614e48ff
directories:
  /usr/local/etc/freenet6/: y
scripts:
  post-install: |
    cd /usr/local
  pre-deinstall: |
    cd /usr/local
  post-deinstall: |
    cd /usr/local
message: |
  Now that the package is installed, please finish it with the following steps:

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