Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenBSD version #377

Open
freeman1doma opened this issue Nov 12, 2024 · 6 comments
Open

OpenBSD version #377

freeman1doma opened this issue Nov 12, 2024 · 6 comments

Comments

@freeman1doma
Copy link

freeman1doma commented Nov 12, 2024

Describe the feature

Do you planning to make OpenBSD version of wstunnel?

@erebe
Copy link
Owner

erebe commented Nov 12, 2024

Hello,

There is no rust toolchain (compiler and co) available for openbsd, at least available for cross compilation. So at the moment it is not possible to do a build for it.

If you managed to have an openbsd available try to install rust on it, and you should be able to compile the project cargo build --release

Let me know

@shtrophic
Copy link

There is a WIP port on the mailing list that is waiting for another OK:
https://marc.info/?l=openbsd-ports&m=173497762523884&w=2

@erebe
Copy link
Owner

erebe commented Jan 15, 2025

Hello,

Thank you for the effort of making a package for openbsd.
I saw in the thread that you had to add a custom patch due to me my custom fork of fastwebsocket.
Just to let you know, that my PR has been merged/release upstream and that I removed the dependency on my custom fork.

I have not made a wstunnel release without it, but if it can help I can make a v10.1.9

Let me know

@shtrophic
Copy link

Yes, I have noticed. But right now, it does not matter. As I see it, the port is complete and I have it working properly on my setup. That patch is just a little chore. It will probably be removed when you release the next version. There is no need for you to rush another release.

But if you'd really like to have good OpenBSD compatibility, you can consider setting your MSRV to that of OpenBSD-current (which is the development "branch"): https://openbsd.app/path/lang/rust?current=on
It is 1.83 right now, so there shouldn't be an issue. Though, when a new OpenBSD release is tagged, the rust version freezes, and as there is no rustup on OpenBSD, wstunnel can only be built against the frozen rust version.

@erebe
Copy link
Owner

erebe commented Jan 16, 2025

Understood the MSRV at 1.83.0. Thanks for the feedback

@shtrophic
Copy link

This can be closed as the port was im-port-ed! 👍🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants