---
name: vtun
version: 3.0.3
origin: net/vtun
comment: Virtual Tunnels over TCP/IP networks with traffic shaping
arch: freebsd:9:x86:64
www: http://vtun.sourceforge.net/
maintainer: cy@FreeBSD.org
prefix: /usr/local
licenselogic: single
flatsize: 124709
desc: |
  VTun provides the method for creating Virtual Tunnels over TCP/IP
  networks and allows to shape, compress, encrypt traffic in that
  tunnels.

  Supported type of tunnels are: PPP, IP, Ethernet and most of other
  serial protocols and programs.  VTun is easily and highly configurable,
  it can be used for various network task like VPN, Mobile IP, Shaped
  Internet access, IP address saving, etc.  It is completely user
  space implementation and does not require modification to any kernel
  parts.

  WWW: http://vtun.sourceforge.net/
deps:
  lzo2: {origin: archivers/lzo2, version: 2.06}
categories: [net]
files:
  /usr/local/etc/rc.d/vtunclient: c64ded2c3805b2f49133a8eb8b305c73330448de2bb390ec4caf9a890654016f
  /usr/local/etc/rc.d/vtund: 04d7f519ed512d521aacbf2a6fafd2e29858563233f9d47f7e6940f5b5c7a71e
  /usr/local/etc/vtund.conf.example: f957825b4eafefc1a7b877e2ba7e245d5efae1011d18c703a040a1488896ea9b
  /usr/local/man/man5/vtund.conf.5.gz: bff75b9c127e95b163306f0f7459115538893ec9b987c8a24cf864261effdb5d
  /usr/local/man/man8/vtun.8.gz: '-'
  /usr/local/man/man8/vtund.8.gz: c90864868efddd46d3e757cc8fb48f3d8258062f99ede57347fce15a823553f8
  /usr/local/sbin/vtund: 670b5515f195a1d6877c0842e537d2cfec00b33b95b3951b44aa68d173015715
  /usr/local/share/doc/vtun/ChangeLog: ed7b959e9bd65fe482593b561a4862bd92e609a1a8a813f93a00af08aedbe580
  /usr/local/share/doc/vtun/Credits: 3e3465b0308276bf9e1b9cc2ab7be069895b5f8982a5b3b8e9c0b4e05f07cb69
  /usr/local/share/doc/vtun/FAQ: f196cde262a21fac92fad6155d4219d31aac4639041013171f562d77db2fbe08
  /usr/local/share/doc/vtun/README: f9ed6e7002e7a37a79008b4fd34e5988f02a1274a71c452eb26a874405710051
  /usr/local/share/doc/vtun/README.LZO: 83f3c1edd864f425ee56fd0b02f64b0627e78d24eadd5c0fb76af141d0d9863b
  /usr/local/share/doc/vtun/README.Setup: 32c518122ac71a148e3e3d2da981c4bf3e912c24a23f5f772c6bcd7db54ace47
  /usr/local/share/doc/vtun/README.Shaper: 8960dfc5cfba38b3c47eef8f588e581f56f5824782c97086f2df33779dc58cda
  /usr/local/share/doc/vtun/TODO: ff184474156dff5da0c1057beabf973192c4bfd9cfdcd989c154ed3a56117ae5
directories:
  /usr/local/share/doc/vtun/: n
scripts:
  post-install: |
    rm -rf /var/log/vtund
    rm -rf /var/lock/vtund
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/vtund.conf.example /usr/local/etc/vtund.conf; then rm -f /usr/local/etc/vtund.conf; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
