forked from mirrors/nixpkgs
48216ba01a
svn path=/nixpkgs/trunk/; revision=15380
24 lines
627 B
Nix
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";
|
|
};
|
|
}
|