feat: add standalone auth callback transport

This commit is contained in:
Kevin Yue committed 2026-08-05 20:07:28 +08:00
1 parent 812965f020
commit 918abeb9bc
21 files changed
+581 -148

No files matched your search

@@ -28,6 +28,7 @@ pkgbase = globalprotect-openconnect-git
depends = libxml2
depends = shared-mime-info
depends = desktop-file-utils
depends = xdg-utils
optdepends = wmctrl: for window management
provides = globalprotect-openconnect
provides = gpclient
@@ -10,7 +10,7 @@ url="https://github.com/yuezk/GlobalProtect-openconnect"
license=('GPL3')
makedepends=(git pkg-config 'openconnect>=8.20' webkit2gtk-4.1 curl wget file openssl appmenu-gtk-module libappindicator-gtk3 librsvg libsecret cargo)
depends=(vpnc openssl webkit2gtk-4.1 libappindicator-gtk3 libsecret libxml2 shared-mime-info desktop-file-utils)
depends=(vpnc openssl webkit2gtk-4.1 libappindicator-gtk3 libsecret libxml2 shared-mime-info desktop-file-utils xdg-utils)
optdepends=('wmctrl: for window management')
conflicts=('globalprotect-openconnect')
+4
View File
@@ -47,6 +47,10 @@ deps: {
origin: "www/webkit2-gtk"
version: "*"
}
"xdg-utils": {
origin: "devel/xdg-utils"
version: "*"
}
}
desc: <<EOD
A GlobalProtect VPN client based on OpenConnect.
+11
View File
@@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=GP Connect Login
Comment=Authenticate GP Connect VPN connections
NoDisplay=true
Terminal=false
TryExec=/usr/local/bin/gpauth
Exec=/usr/local/bin/gpauth auth-callback %u
MimeType=x-scheme-handler/globalprotectcallback;
Icon=gpgui
Categories=Network;
+1 -2
View File
@@ -4,7 +4,6 @@ Name=GP Connect
Comment=A GUI client for GlobalProtect VPN
GenericName=GlobalProtect VPN Client
Categories=Network;Dialup;
Exec=/usr/local/bin/gpclient launch-gui %u
MimeType=x-scheme-handler/globalprotectcallback;
Exec=/usr/local/bin/gpclient launch-gui
Icon=gpgui
Keywords=GlobalProtect;Openconnect;SAML;connection;VPN;
+1
View File
@@ -36,5 +36,6 @@ Depends:
libsecret-1-0,
libayatana-appindicator3-1,
gnome-keyring,
xdg-utils,
Description: A GUI client for GlobalProtect VPN
A GUI client for GlobalProtect VPN, based on OpenConnect, supports the SSO authentication method.
@@ -5,6 +5,7 @@ Comment=Authenticate GP Connect VPN connections
NoDisplay=true
Terminal=false
TryExec=/usr/bin/gpauth
Exec=/usr/bin/gpauth
Exec=/usr/bin/gpauth auth-callback %u
MimeType=x-scheme-handler/globalprotectcallback;
Icon=gpgui
Categories=Network;
@@ -5,7 +5,6 @@ Name=GP Connect
Comment=A GUI client for GlobalProtect VPN
GenericName=GlobalProtect VPN Client
Categories=Network;Dialup;
Exec=/usr/bin/gpclient launch-gui %u
MimeType=x-scheme-handler/globalprotectcallback;
Exec=/usr/bin/gpclient launch-gui
Icon=gpgui
Keywords=GlobalProtect;Openconnect;SAML;connection;VPN;
@@ -38,6 +38,7 @@ Requires: (libappindicator3-1 or libayatana-appindicator3-1)
%else
Requires: (libappindicator-gtk3 or libayatana-appindicator-gtk3)
%endif
Requires: xdg-utils
Conflicts: globalprotect-openconnect-snapshot
%global debug_package %{nil}