diff --git a/Cargo.lock b/Cargo.lock index 26ebd273..f352aa4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -564,7 +564,7 @@ dependencies = [ [[package]] name = "common" -version = "2.1.4" +version = "2.2.0" dependencies = [ "is_executable", ] @@ -1430,7 +1430,7 @@ dependencies = [ [[package]] name = "gpapi" -version = "2.1.4" +version = "2.2.0" dependencies = [ "anyhow", "base64 0.21.5", @@ -1461,7 +1461,7 @@ dependencies = [ [[package]] name = "gpauth" -version = "2.1.4" +version = "2.2.0" dependencies = [ "anyhow", "clap", @@ -1483,7 +1483,7 @@ dependencies = [ [[package]] name = "gpclient" -version = "2.1.4" +version = "2.2.0" dependencies = [ "anyhow", "clap", @@ -1505,7 +1505,7 @@ dependencies = [ [[package]] name = "gpgui-helper" -version = "2.1.4" +version = "2.2.0" dependencies = [ "anyhow", "clap", @@ -1523,7 +1523,7 @@ dependencies = [ [[package]] name = "gpservice" -version = "2.1.4" +version = "2.2.0" dependencies = [ "anyhow", "axum", @@ -2537,7 +2537,7 @@ dependencies = [ [[package]] name = "openconnect" -version = "2.1.4" +version = "2.2.0" dependencies = [ "cc", "common", diff --git a/Cargo.toml b/Cargo.toml index 7ab00402..a2498122 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = ["crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/g [workspace.package] rust-version = "1.70" -version = "2.1.4" +version = "2.2.0" authors = ["Kevin Yue "] homepage = "https://github.com/yuezk/GlobalProtect-openconnect" edition = "2021" diff --git a/README.md b/README.md index 5b36833f..3ce1e8ed 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ The GUI version is also available after you installed it. You can launch it from ### Debian/Ubuntu based distributions -#### Install from PPA +#### Install from PPA (Ubuntu 18.04 and later, except 24.04) ``` sudo apt-get install gir1.2-gtk-3.0 gir1.2-webkit2-4.0 @@ -68,6 +68,23 @@ sudo apt-get install globalprotect-openconnect > > For Linux Mint, you might need to import the GPG key with: `sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7937C393082992E5D6E4A60453FC26B43838D761` if you encountered an error `gpg: keyserver receive failed: General error`. +#### **Ubuntu 24.04** + +The `libwebkit2gtk-4.0-37` is [removed](https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/2061914) from its repo, before [the issue](https://github.com/yuezk/GlobalProtect-openconnect/issues/351) gets resolved, you need to install them manually: + +```bash +wget http://launchpadlibrarian.net/704701349/libwebkit2gtk-4.0-37_2.43.3-1_amd64.deb +wget http://launchpadlibrarian.net/704701345/libjavascriptcoregtk-4.0-18_2.43.3-1_amd64.deb + +sudo dpkg --install *.deb +``` + +And the latest package is not available in the PPA, you can follow the [Install from deb package](#install-from-deb-package) section to install the latest package. + +#### **Ubuntu 18.04** + +The latest package is not available in the PPA either, but you still needs to add the `ppa:yuezk/globalprotect-openconnect` repo beforehand to use the required `openconnect` package. Then you can follow the [Install from deb package](#install-from-deb-package) section to install the latest package. + #### Install from deb package Download the latest deb package from [releases](https://github.com/yuezk/GlobalProtect-openconnect/releases) page. Then install it with `dpkg`: @@ -151,6 +168,8 @@ You can also build the client from source, steps are as follows: 1. How to deal with error `Secure Storage not ready` + Try upgrade the client to `2.2.0` or later, which will use a file-based storage as a fallback. + You need to install the `gnome-keyring` package, and restart the system (See [#321](https://github.com/yuezk/GlobalProtect-openconnect/issues/321), [#316](https://github.com/yuezk/GlobalProtect-openconnect/issues/316)). 2. How to deal with error `(gpauth:18869): Gtk-WARNING **: 10:33:37.566: cannot open display:`