2013-01-18 06:52:15 +00:00
|
|
|
{stdenv, fetchurl, lzo, openssl, zlib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-05-20 16:01:28 +01:00
|
|
|
version = "1.0.21";
|
2013-01-18 06:52:15 +00:00
|
|
|
name = "tinc-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.tinc-vpn.org/packages/tinc-${version}.tar.gz";
|
2013-05-20 16:01:28 +01:00
|
|
|
sha256 = "12v1x9p4f8y9967ypwxhkr10q6pk4cdallr0k4lic0kcfsmmxhba";
|
2013-01-18 06:52:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ lzo openssl zlib ];
|
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--localstatedir=/var
|
|
|
|
--sysconfdir=/etc
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "VPN daemon with full mesh routing";
|
|
|
|
longDescription = ''
|
|
|
|
tinc is a Virtual Private Network (VPN) daemon that uses tunnelling and
|
|
|
|
encryption to create a secure private network between hosts on the
|
|
|
|
Internet. It features full mesh routing, as well as encryption,
|
|
|
|
authentication, compression and ethernet bridging.
|
|
|
|
'';
|
|
|
|
homepage="http://www.tinc-vpn.org/";
|
2013-01-19 21:33:32 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-01-18 06:52:15 +00:00
|
|
|
};
|
|
|
|
}
|