From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Getting network-manager-openconnect to work Date: Wed, 11 Sep 2019 22:46:56 +0200 Message-ID: <874l1ipnlr.fsf@gnu.org> References: <87sgp4pj7s.fsf@santanas.co.za> <20190910112120.ezqnrrfffhhjvc2d@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20190910112120.ezqnrrfffhhjvc2d@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 10 Sep 2019 13:21:20 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: "pelzflorian (Florian Pelz)" Cc: Help guix , Divan Santana , bug-guix@gnu.org Hi Florian, "pelzflorian (Florian Pelz)" skribis: > From 8de7675a2dc2c1385d312e35136f8fa9eb4f9825 Mon Sep 17 00:00:00 2001 > From: Florian Pelz > Date: Tue, 10 Sep 2019 12:59:19 +0200 > Subject: [PATCH] gnu: network-manager: Enable openconnect helper. > > * gnu/packages/gnome.scm (network-manager): Add openconnect input. > Patch source to use it instead of searching /usr/bin. > --- > gnu/packages/gnome.scm | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index efe5206e53..a6ea09d8f6 100644 > --- a/gnu/packages/gnome.scm > +++ b/gnu/packages/gnome.scm > @@ -5372,6 +5372,13 @@ users.") > (("src/devices/tests/test-lldp") " ") > (("src/tests/test-route-manager-linux") " ")) > #t)) > + (add-after 'unpack 'patch-source > + (lambda* (#:key inputs #:allow-other-keys) > + (begin > + (substitute* "clients/common/nm-vpn-helpers.c" > + (("\\\"/usr/sbin/openconnect\\\"") > + (string-append openconnect "\"/bin/openconnect\""))) > + #t))) > (add-after 'unpack 'delete-failing-tests > (lambda _ > ;; FIXME: These four tests fail for unknown reasons. > @@ -5434,6 +5441,7 @@ users.") > ("libsoup" ,libsoup) > ("modem-manager" ,modem-manager) > ("newt" ,newt) ;for the 'nmtui' console int= erface > + ("openconnect" ,openconnect) Something I don=E2=80=99t get: why does NM itself know about openconnect? There=E2=80=99s a network-manager-openconnect plugin, so I would expect everything openconnect to happen there. Do you know why it=E2=80=99s not t= hat way? Thanks, Ludo=E2=80=99.