Package: gp-saml-gui
Version: 0.0~git20240904-2

gp-saml-gui assumes openconnect is in $PATH.
debian stubborns to install openconnect in /sbin (not /bin).
Regular user is required to tune $PATH while running gp-saml-gui
with --sudo-openconnect flag.

It would be easier if gp-saml-gui use absolute path.  I believe
the following patch fixes this:
*** /tmp/gp-saml-gui    2024-10-07 17:13:43.381506160 +0200
--- /usr/bin/gp-saml-gui        2024-09-06 15:50:58.000000000 +0200
*************** def main(args = None):
*** 464,466 ****
              dup2(tf.fileno(), 0)
!         cmd = ["/sbin/openconnect"] + openconnect_args
          if args.exec == 'pkexec':
--- 464,466 ----
              dup2(tf.fileno(), 0)
!         cmd = ["openconnect"] + openconnect_args
          if args.exec == 'pkexec':

Reply via email to