openvpn: use iproute2 instead of net-tools
for setting up tunnel/routes. I had some issues with ipv6, iproute2 fixed those. Both are equally well supported by upstream. svn path=/nixpkgs/trunk/; revision=31660
This commit is contained in:
parent
1e4a7842d2
commit
8b3dd70553
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, iproute, lzo, openssl, nettools}:
|
{stdenv, fetchurl, iproute, lzo, openssl}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "openvpn-2.2.2";
|
name = "openvpn-2.2.2";
|
||||||
@ -12,9 +12,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--enable-password-save
|
--enable-password-save
|
||||||
--with-ifconfig-path=${nettools}/sbin/ifconfig
|
--enable-iproute2
|
||||||
--with-iproute-path=${iproute}/sbin/ip
|
--with-iproute-path=${iproute}/sbin/ip
|
||||||
--with-route-path=${nettools}/sbin/route
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user