2010-02-11 17:45:19 +01:00
|
|
|
{stdenv, fetchurl, iproute, lzo, openssl, nettools}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-12-22 14:34:19 +01:00
|
|
|
name = "openvpn-2.1.4";
|
2009-04-06 15:07:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-12-22 15:03:55 +01:00
|
|
|
url = "http://swupdate.openvpn.net/community/releases/${name}.tar.gz";
|
2010-12-22 14:34:19 +01:00
|
|
|
sha256 = "1x9aymbk580zp35b7dhhkn29a4chhxnzrxjfmp948bgqvvjpizk7";
|
2009-04-06 15:07:18 +02:00
|
|
|
};
|
|
|
|
|
2009-04-28 17:37:52 +02:00
|
|
|
buildInputs = [ iproute lzo openssl ];
|
|
|
|
|
|
|
|
configureFlags = ''
|
|
|
|
--with-ifconfig-path=${nettools}/sbin/ifconfig
|
|
|
|
--with-iproute-path=${iproute}/sbin/ip
|
|
|
|
--with-route-path=${nettools}/sbin/route
|
|
|
|
'';
|
2009-04-06 15:07:18 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.";
|
|
|
|
homepage="http://openvpn.net/";
|
|
|
|
license = "GPLv2";
|
2010-02-11 17:45:19 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [viric];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2009-04-06 15:07:18 +02:00
|
|
|
};
|
|
|
|
}
|