# $Id$

PortSystem 1.0

name		vtun
version		3.0.2
revision	3
categories	net security
license		{GPL-2+ OpenSSLException}
platforms	darwin
maintainers	nomaintainer
description	vtun is for creating encrypted network links
long_description	vtun is for creating encrypted network links. It is \
			the easiest way to create virtual tunnels over TCP/IP \
			networks with traffic shaping, compression, and \
			encryption. Open-Source and distributed under the GPL, \
			it supports IP, PPP, SLIP, ethernet and other tunnel \
			types. vtun is easily and highly configurable, it can \
			be used for various network tasks.

homepage	http://vtun.sourceforge.net/
master_sites	sourceforge
checksums	md5 d3d8bc4d58886498a1c338670eab9315
patchfiles	patch-lfd_legacy_encrypt.c.diff

depends_lib	port:zlib \
		path:lib/libssl.dylib:openssl \
		port:lzo

set worksrcdir	${name}-${version}

configure.args	--with-lzo-headers=${prefix}/include \
		--with-lzo-lib=${prefix}/lib \
		--mandir=${prefix}/share/man

build.target	vtund

destroot.args	INSTALL_OWNER=