Merge pull request #9120 from ts468/upstream.strongswan

strongswan: fix resolvconf plugin

ts468 661e1016 58841285

Changed files
+5 -1
pkgs
tools
networking
strongswan
+5 -1
pkgs/tools/networking/strongswan/default.nix
···
{ stdenv, fetchurl, gmp, pkgconfig, python, autoreconfHook
-
, curl, trousers, sqlite, iptables, libxml2
+
, curl, trousers, sqlite, iptables, libxml2, openresolv
, enableTNC ? false }:
stdenv.mkDerivation rec {
···
./firewall_defaults.patch
./updown-path.patch
];
+
+
postPatch = ''
+
substituteInPlace src/libcharon/plugins/resolve/resolve_handler.c --replace "/sbin/resolvconf" "${openresolv}/sbin/resolvconf"
+
'';
configureFlags =
[ "--enable-swanctl" "--enable-cmd"