yuezk / GlobalProtect-openconnect

A GlobalProtect VPN client for Linux, written in Rust, based on OpenConnect and Tauri, supports SSO with MFA, Yubikey, and client certificate authentication, etc.
GNU General Public License v3.0
1.41k stars 157 forks source link

FreeBSD port now available #127

Open outpaddling opened 2 years ago

outpaddling commented 2 years ago

FYI:

globalprotect-openconnect has been committed to the FreeBSD ports collection. It might be helpful to users if you could post a message like the following on your website:

Thanks!

globalprotect-openconnect can be installed on FreeBSD via the FreeBSD ports system.

To install via the binary package, simply run:

pkg install globalprotect-openconnect

This will very quickly install a prebuilt package and all run-time dependencies using only highly-portable optimizations, much like apt, yum, etc.

FreeBSD ports can just as easily be built and installed from source, although it will take longer (for the computer, not for you):

cd /usr/ports/security/globalprotect-openconnect
make install

Building from source allows installing to a different prefix, compiling with native optimizations, and in some cases, building with non-default options such as different compilers or dependencies. For example, adding

CFLAGS+=-march=native

to /etc/make.conf will cause ports built from source to use all native optimizations known to the compiler for the local CPU, resulting in faster but less portable binaries.

To report issues with a FreeBSD port, please submit a PR at:

https://www.freebsd.org/support/bugreports.html

For more information, visit https://www.freebsd.org/ports/index.html.

yuezk commented 2 years ago

Thanks @outpaddling I will update it.

kargh commented 1 month ago

After compiling the port on Opnsense.

2024-10-12 12:27:09.034 INFO [101658] [main@24] GlobalProtect started, version: 1.4.9 qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: bsdfb, minimal, offscreen, vnc, xcb.

Abort

I was able to see the GUI via vnc but it was blank. I just want the CLI, anyways.