Adding vtun.
svn path=/nixpkgs/trunk/; revision=15682
This commit is contained in:
parent
88eb04c0dc
commit
904a4ad868
25
pkgs/tools/networking/vtun/default.nix
Normal file
25
pkgs/tools/networking/vtun/default.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{stdenv, fetchurl, openssl, lzo, zlib, yacc, flex }:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "vtun-3.0.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/vtun/vtun-3.0.1.tar.gz;
|
||||||
|
sha256 = "1sxf9qq2wlfh1wnrlqkh801v1m9jlqpycxvr2nbyyl7nm2cp8l12";
|
||||||
|
};
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e 's/-m 755//' -e 's/-o root -g 0//' Makefile.in
|
||||||
|
'';
|
||||||
|
buildInputs = [ lzo openssl zlib yacc flex ];
|
||||||
|
|
||||||
|
configureFlags = ''
|
||||||
|
--with-lzo-headers=${lzo}/include/lzo
|
||||||
|
--with-ssl-headers=${openssl}/include/openssl
|
||||||
|
--with-blowfish-headers=${openssl}/include/openssl'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description="Virtual Tunnels over TCP/IP with traffic shaping, compression and encryption";
|
||||||
|
homepage="http://vtun.sourceforge.net/";
|
||||||
|
license = "GPLv2";
|
||||||
|
};
|
||||||
|
}
|
@ -1350,6 +1350,10 @@ let
|
|||||||
nettools makeWrapper;
|
nettools makeWrapper;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vtun = import ../tools/networking/vtun {
|
||||||
|
inherit fetchurl stdenv lzo openssl zlib yacc flex;
|
||||||
|
};
|
||||||
|
|
||||||
testdisk = import ../tools/misc/testdisk {
|
testdisk = import ../tools/misc/testdisk {
|
||||||
inherit fetchurl stdenv ncurses libjpeg e2fsprogs zlib openssl;
|
inherit fetchurl stdenv ncurses libjpeg e2fsprogs zlib openssl;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user