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