Release 2.3.7

This commit is contained in:
Kevin Yue 2024-08-16 01:33:23 +00:00 committed by Eric Dallo
parent 0bb9353a11
commit 6e59585a6b
4 changed files with 15 additions and 8 deletions

14
Cargo.lock generated
View File

@ -570,7 +570,7 @@ dependencies = [
[[package]]
name = "common"
version = "2.3.6"
version = "2.3.7"
dependencies = [
"is_executable",
]
@ -1430,7 +1430,7 @@ dependencies = [
[[package]]
name = "gpapi"
version = "2.3.6"
version = "2.3.7"
dependencies = [
"anyhow",
"base64 0.21.5",
@ -1465,7 +1465,7 @@ dependencies = [
[[package]]
name = "gpauth"
version = "2.3.6"
version = "2.3.7"
dependencies = [
"anyhow",
"clap",
@ -1486,7 +1486,7 @@ dependencies = [
[[package]]
name = "gpclient"
version = "2.3.6"
version = "2.3.7"
dependencies = [
"anyhow",
"clap",
@ -1508,7 +1508,7 @@ dependencies = [
[[package]]
name = "gpgui-helper"
version = "2.3.6"
version = "2.3.7"
dependencies = [
"anyhow",
"clap",
@ -1526,7 +1526,7 @@ dependencies = [
[[package]]
name = "gpservice"
version = "2.3.6"
version = "2.3.7"
dependencies = [
"anyhow",
"axum",
@ -2555,7 +2555,7 @@ dependencies = [
[[package]]
name = "openconnect"
version = "2.3.6"
version = "2.3.7"
dependencies = [
"cc",
"common",

View File

@ -5,7 +5,7 @@ members = ["crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/g
[workspace.package]
rust-version = "1.70"
version = "2.3.6"
version = "2.3.7"
authors = ["Kevin Yue <k3vinyue@gmail.com>"]
homepage = "https://github.com/yuezk/GlobalProtect-openconnect"
edition = "2021"

View File

@ -1,5 +1,9 @@
# Changelog
## 2.3.7 - 2024-08-16
- Fix the Rust type inference regression [issue in 1.80](https://github.com/rust-lang/rust/issues/125319).
## 2.3.6 - 2024-08-15
- CLI: enhance the `gpauth` command to support external browser authentication

View File

@ -32,6 +32,7 @@
default = naersk'.buildPackage {
src = ./.;
nativeBuildInputs = with pkgs; [
vpnc
perl
jq
openconnect
@ -42,6 +43,8 @@
overrideMain = {...}: {
postPatch = ''
substituteInPlace crates/common/src/vpn_utils.rs \
--replace-fail /etc/vpnc/vpnc-script ${pkgs.vpnc}/bin/vpnc
substituteInPlace crates/gpapi/src/lib.rs \
--replace-fail /usr/bin/gpclient $out/bin/gpclient \
--replace-fail /usr/bin/gpservice $out/bin/gpservice \