protonmail bridge

I am attempting to get protonmail bridge to build on FreeBSD 14.

It looks manageable but we'll see. So far ..

1. use gmake (not make)
2. replace #!/bin/bash with #!/usr/bin/env bash
3. requires zip, ninja and cmake
4. some go modules are missing from go.mod (like filebase/go-keychain).

At the moment, I'm stuck on the go compiler choking - likely on more missing go modules.

undefined: osSupportCertInstall
internal/certs/installer.go:47:12: undefined: installCert
internal/certs/installer.go:59:12: undefined: uninstallCert
internal/certs/installer.go:69:9: undefined: isCertInstalled
# github.com/ProtonMail/proton-bridge/v3/internal/versioner
internal/versioner/remove.go:64:16: v.RemoveCurrentVersion undefined (type *Versioner has no field or method RemoveCurrentVersion)

I don't know go so it takes me a while to figure out the package name from the undefined symbols.

Tips are welcome!
 
I've seen references to that in context with protonmail but never used it. I'll check it out. Having multiple apps that cover the same use case is important so I still want to get protonmail bridge working.
 
Freebsd newbie here.. Just installed Freebsd 15 , thunderbird and a debian vm using bhyve. I installed protonbridge to vm and used socat e.g.

Bash:
socat TCP-LISTEN:11430,fork,bind=0.0.0.0,reuseaddr TCP:127.0.0.1:1143 &
socat TCP-LISTEN:10250,fork,bind=0.0.0.0,reuseaddr TCP:127.0.0.1:1025 &

then i was able to connect my thunderbird using as hostname the ip of the vm and used ports 11430 and 10250 .
 
Back
Top