# $Id: Portfile,v 1.2 2004/04/06 21:19:47 mww Exp $

PortSystem 1.0

name		vtun
version		2.6
categories	net security 
platforms	darwin
maintainers	mww@opendarwin.org
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 309534fd03c5d13a19c43916f61f4bbf
patchfiles	patch-auth.c.diff \
		patch-lfd_encrypt.c.diff

depends_lib	lib:libz:zlib \
		lib:libssl:openssl \
		lib:liblzo:lzo

set worksrcdir	${name}

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

build.target	vtund

destroot.args	INSTALL_OWNER=
