strongswan: fix resolvconf plugin
This commit is contained in:
parent
10d10b000a
commit
9011f117f2
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, gmp, pkgconfig, python, autoreconfHook
|
||||
, curl, trousers, sqlite, iptables, libxml2
|
||||
, curl, trousers, sqlite, iptables, libxml2, openresolv
|
||||
, enableTNC ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -22,6 +22,10 @@ stdenv.mkDerivation rec {
|
||||
./updown-path.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/libcharon/plugins/resolve/resolve_handler.c --replace "/sbin/resolvconf" "${openresolv}/sbin/resolvconf"
|
||||
'';
|
||||
|
||||
configureFlags =
|
||||
[ "--enable-swanctl" "--enable-cmd"
|
||||
"--enable-farp" "--enable-dhcp"
|
||||
|
Loading…
Reference in New Issue
Block a user