mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-20 06:56:17 -05:00
Merge pull request #723 from yuezk/fix/gentoo-install-and-json
fix: use bundled JSON parser and document Gentoo installation
This commit is contained in:
2 files changed
+13
-4
No files matched your search
@@ -181,14 +181,22 @@ doas pkg_add -D unsigned ./globalprotect-openconnect-*-openbsd-*.tgz
|
|||||||
|
|
||||||
### Gentoo
|
### Gentoo
|
||||||
|
|
||||||
Available via the `guru` repository:
|
Add the overlay:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo eselect repository enable guru
|
sudo emerge --ask app-eselect/eselect-repository dev-vcs/git
|
||||||
sudo emerge --sync guru
|
sudo eselect repository add yuezk git https://github.com/yuezk/gentoo-overlay.git
|
||||||
sudo emerge --ask net-vpn/GlobalProtect-openconnect
|
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
|
### NixOS
|
||||||
|
|
||||||
Add the flake to your `flake.nix`:
|
Add the flake to your `flake.nix`:
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ fn build_openconnect(deps_dir: &PathBuf, out_dir: &PathBuf) -> PathBuf {
|
|||||||
.without("libpcsclite", None)
|
.without("libpcsclite", None)
|
||||||
.without("libpskc", None)
|
.without("libpskc", None)
|
||||||
.without("gssapi", None)
|
.without("gssapi", None)
|
||||||
|
.with("builtin-json", None)
|
||||||
.with("gnutls", None)
|
.with("gnutls", None)
|
||||||
.without("openssl", None)
|
.without("openssl", None)
|
||||||
.with("gnutls-tss2", Some("no"))
|
.with("gnutls-tss2", Some("no"))
|
||||||
|
|||||||
Reference in new issue
Block a user