mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
refactor: align GP profile and packaging flow
Main changes: - Refactor connect/auth flows around a single OS profile and host identity model, including gateway fallback and cookie-on-stdin handling. - Align request parameters, HIP host-id propagation, SAML webview user-agent behavior, and portal default-browser handling with observed official client behavior. - Add opt-in cookie cache support and Microsoft Defender HIP reporting while keeping host-id validation explicit. - Add BSD build, packaging, release artifact, and provenance support with FreeBSD/OpenBSD path and dependency cleanup. - Update NixOS install documentation and dependency compatibility fixes.
This commit is contained in:
92 files changed
+9847
-2868
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
||||
<policyconfig>
|
||||
<vendor>The GlobalProtect-openconnect Project</vendor>
|
||||
<vendor_url>https://github.com/yuezk/GlobalProtect-openconnect</vendor_url>
|
||||
<icon_name>gpgui</icon_name>
|
||||
<action id="com.yuezk.gpgui.service">
|
||||
<description>Run GPService as root</description>
|
||||
<message>Authentication is required to run the GPService as root</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>yes</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/gpservice</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
@@ -0,0 +1,53 @@
|
||||
name: "@PKG_NAME@"
|
||||
version: "@VERSION@"
|
||||
origin: "security/@PKG_NAME@"
|
||||
comment: "GlobalProtect VPN client based on OpenConnect"
|
||||
maintainer: "Kevin Yue <[email protected]>"
|
||||
www: "https://github.com/yuezk/GlobalProtect-openconnect"
|
||||
abi: "@ABI@"
|
||||
arch: "@ARCH@"
|
||||
prefix: "@PREFIX@"
|
||||
licenselogic: single
|
||||
licenses: ["GPLv3"]
|
||||
categories: ["security", "net"]
|
||||
deps: {
|
||||
"gmp": {
|
||||
origin: "math/gmp"
|
||||
version: "*"
|
||||
}
|
||||
"gnome-keyring": {
|
||||
origin: "security/gnome-keyring"
|
||||
version: "*"
|
||||
}
|
||||
"gnutls": {
|
||||
origin: "security/gnutls"
|
||||
version: "*"
|
||||
}
|
||||
"libayatana-appindicator": {
|
||||
origin: "devel/libayatana-appindicator"
|
||||
version: "*"
|
||||
}
|
||||
"libxml2": {
|
||||
origin: "textproc/libxml2"
|
||||
version: "*"
|
||||
}
|
||||
"nettle": {
|
||||
origin: "security/nettle"
|
||||
version: "*"
|
||||
}
|
||||
"p11-kit": {
|
||||
origin: "security/p11-kit"
|
||||
version: "*"
|
||||
}
|
||||
"polkit": {
|
||||
origin: "sysutils/polkit"
|
||||
version: "*"
|
||||
}
|
||||
"webkit2-gtk_41": {
|
||||
origin: "www/webkit2-gtk"
|
||||
version: "*"
|
||||
}
|
||||
}
|
||||
desc: <<EOD
|
||||
A GlobalProtect VPN client based on OpenConnect.
|
||||
EOD
|
||||
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
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;
|
||||
Icon=gpgui
|
||||
Keywords=GlobalProtect;Openconnect;SAML;connection;VPN;
|
||||
@@ -0,0 +1 @@
|
||||
GlobalProtect VPN client based on OpenConnect
|
||||
@@ -0,0 +1 @@
|
||||
A GlobalProtect VPN client based on OpenConnect.
|
||||
Reference in new issue
Block a user