1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/tools/networking/openvpn/default.nix
Marc Weber 48216ba01a fix openvpn making it find ifonfig
svn path=/nixpkgs/trunk/; revision=15380
2009-04-28 15:37:52 +00:00

24 lines
627 B
Nix

args: with args;
stdenv.mkDerivation {
name = "OpenVPN-2.1_rc15";
src = fetchurl {
url = http://openvpn.net/release/openvpn-2.1_rc15.tar.gz;
sha256 = "198k5lbw0bnx67hgflzlzncmdnww0wa7fll0kkirmckav93y7kv6";
};
buildInputs = [ iproute lzo openssl ];
configureFlags = ''
--with-ifconfig-path=${nettools}/sbin/ifconfig
--with-iproute-path=${iproute}/sbin/ip
--with-route-path=${nettools}/sbin/route
'';
meta = {
description="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.";
homepage="http://openvpn.net/";
license = "GPLv2";
};
}