openconnect: add xdg-utils build dependency (#205543)
libopenconnect >=9.00 added support for a DEFAULT_EXTERNAL_BROWSER build value that enables support for using xdg-open to spawn an external browser from consumers of the library such as GNOME/NetworkManager-openconnect. This functionality is needed to support external browser SAML authentication flows for various VPN protocols supported by libopenconnect.
This commit is contained in:
parent
05972e9778
commit
abf4c42e78
2 changed files with 4 additions and 4 deletions
|
@ -15,6 +15,8 @@
|
|||
, zlib
|
||||
, vpnc-scripts
|
||||
, PCSC
|
||||
, useDefaultExternalBrowser ? true
|
||||
, xdg-utils
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
|
@ -32,7 +34,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ gmp libxml2 stoken zlib (if useOpenSSL then openssl else gnutls) ]
|
||||
++ lib.optional stdenv.isDarwin PCSC
|
||||
++ lib.optional stdenv.isLinux p11-kit;
|
||||
++ lib.optional stdenv.isLinux p11-kit
|
||||
++ lib.optional (stdenv.isLinux && useDefaultExternalBrowser) xdg-utils;
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -26,6 +26,3 @@ in rec {
|
|||
useOpenSSL = true;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue