Compare commits

...
5 Commits
Author SHA1 Message Date
Kevin Yue bacaf94cf2 Merge pull request #723 from yuezk/fix/gentoo-install-and-json
fix: use bundled JSON parser and document Gentoo installation
2026-11-20 13:26:05 +08:00
Kevin Yue 4ba50ca945 Document installation from the Gentoo overlay 2026-11-20 13:12:44 +08:00
Kevin Yue 0dc3ea7160 Use OpenConnect's bundled JSON parser 2026-11-20 13:12:44 +08:00
Kevin Yue a4aa4ef3e3 Merge pull request #720 from yuezk/chore/promote-v3.6.0
chore(release): promote 3.6.0 and validated Nix hashes
2026-11-20 00:54:29 +08:00
Kevin Yue ff537cec3a release: validate Nix packages for v3.6.0 2026-11-20 00:51:48 +08:00
3 changed files with 19 additions and 10 deletions

No files matched your search

+12 -4
View File
@@ -181,14 +181,22 @@ doas pkg_add -D unsigned ./globalprotect-openconnect-*-openbsd-*.tgz
### Gentoo
Available via the `guru` repository:
Add the overlay:
```bash
sudo eselect repository enable guru
sudo emerge --sync guru
sudo emerge --ask net-vpn/GlobalProtect-openconnect
sudo emerge --ask app-eselect/eselect-repository dev-vcs/git
sudo eselect repository add yuezk git https://github.com/yuezk/gentoo-overlay.git
sudo emerge --sync yuezk
```
Install the prebuilt package (glibc):
```bash
sudo emerge --ask net-vpn/globalprotect-openconnect-bin::yuezk
```
For a source build, use `net-vpn/globalprotect-openconnect::yuezk`. If Portage requests keyword or USE flag changes, review and apply them, then rerun the install command.
### NixOS
Add the flake to your `flake.nix`:
+1
View File
@@ -115,6 +115,7 @@ fn build_openconnect(deps_dir: &PathBuf, out_dir: &PathBuf) -> PathBuf {
.without("libpcsclite", None)
.without("libpskc", None)
.without("gssapi", None)
.with("builtin-json", None)
.with("gnutls", None)
.without("openssl", None)
.with("gnutls-tss2", Some("no"))
+6 -6
View File
@@ -29,8 +29,8 @@
cargoToml = builtins.fromTOML (builtins.readFile ./Cargo.toml);
pname = "globalprotect-openconnect";
version = cargoToml.workspace.package.version;
releaseTag = "v3.5.0";
releaseVersion = "3.5.0";
releaseTag = "v3.6.0";
releaseVersion = "3.6.0";
toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
@@ -55,8 +55,8 @@
cpu = pkgs.stdenv.hostPlatform.parsed.cpu.name;
gpguiHashes = {
x86_64 = "sha256-nA6+URV5FafIynXFQL7YmimhVU0sYEuaYqQ4I9YZ5eY=";
aarch64 = "sha256-gPuz6UV7Xir0WKZac8ZsEw8mjN92wRdidbHu5FjS1cw=";
x86_64 = "sha256-cWFOqjDpzGSWLZgiDVeEYJMGAMrdfiB15Q6geKSVEEg=";
aarch64 = "sha256-e66fokdJk6/vr1B/6hX37Lt+7OPnXZP+D2N5ht/yM4o=";
};
gpguiArchive = pkgs.fetchurl {
@@ -70,8 +70,8 @@
};
binaryHashes = {
x86_64 = "sha256-l8NrsyiLfYTcALybjOPVnJMLL8Qe2q1jGrwnDu4Grg8=";
aarch64 = "sha256-+vSsvbqXhoEnxz8dxm/Qq0P5Ve/0HDLs2WnLsTszsgw=";
x86_64 = "sha256-gK8VWHw1VbXE7wHU1wGYw4fQ0khk24JWUwAQk+47WF8=";
aarch64 = "sha256-nqSuIW1fz742+2rF0QpnN8hswFm5lezC9JEOMs/8OHM=";
};
binaryArchive = pkgs.fetchurl {