mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 06:26:14 -05:00
feat: prepare 3.0.0 release
This commit is contained in:
252 files changed
+26210
-7457
No files matched your search
@@ -15,4 +15,26 @@
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/gpservice</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
<action id="com.yuezk.gpgui.manage-vpnc-script">
|
||||
<description>Manage the system-wide GP Connect VPN script</description>
|
||||
<message>Administrator authentication is required to manage the system-wide VPN script</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/libexec/gpclient/gp-vpnc-script-installer</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
<action id="com.yuezk.gpgui.manage-root-hip-script">
|
||||
<description>Approve a GP Connect HIP script to run as root</description>
|
||||
<message>Administrator authentication is required to run a HIP script as root</message>
|
||||
<defaults>
|
||||
<allow_any>auth_admin</allow_any>
|
||||
<allow_inactive>auth_admin</allow_inactive>
|
||||
<allow_active>auth_admin</allow_active>
|
||||
</defaults>
|
||||
<annotate key="org.freedesktop.policykit.exec.path">/usr/local/libexec/gpclient/gp-hip-script-installer</annotate>
|
||||
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
|
||||
</action>
|
||||
</policyconfig>
|
||||
@@ -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.
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
root=${PKG_ROOTDIR:-}
|
||||
|
||||
rm -f \
|
||||
"$root/usr/local/libexec/gpclient/gpgui" \
|
||||
"$root/var/db/gpclient/scripts/vpnc-script" \
|
||||
"$root/var/db/gpclient/scripts/vpnc-script.metadata" ||
|
||||
echo "Warning: failed to remove gpclient runtime files" >&2
|
||||
rmdir "$root/usr/local/libexec/gpclient" 2>/dev/null || true
|
||||
rmdir "$root/var/db/gpclient/scripts" 2>/dev/null || true
|
||||
rmdir "$root/var/db/gpclient" 2>/dev/null || true
|
||||
Reference in new issue
Block a user