wstunnel icon indicating copy to clipboard operation
wstunnel copied to clipboard

OpenBSD version

Open freeman1doma opened this issue 1 year ago • 6 comments

Describe the feature

Do you planning to make OpenBSD version of wstunnel?

freeman1doma avatar Nov 12 '24 16:11 freeman1doma

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

erebe avatar Nov 12 '24 20:11 erebe

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

shtrophic avatar Jan 14 '25 21:01 shtrophic

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

erebe avatar Jan 15 '25 10:01 erebe

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.

shtrophic avatar Jan 15 '25 11:01 shtrophic

Understood the MSRV at 1.83.0. Thanks for the feedback

erebe avatar Jan 16 '25 07:01 erebe

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

shtrophic avatar Feb 08 '25 20:02 shtrophic