So I wanted to install dns/dnscrypt-proxy2 on my Raspberry Pi running
There's no package version, so I tried compiling. Unfortunately that didn't work as the Go dependency ran out of RAM compiling. And there's no package for Go...
So I fired up a VM and installed ports-mgmt/poudriere. Set it all up and added dns/dnscrypt-proxy2 to my shopping list...
Unfortunately it skipped lang/go:
Apparently Go 1.3 won't compile under the emulator (see PR 221297 for some background.
Finally after checking the GitHub page for DNSCrypt-Proxy (DNSCrypt) I discovered that they release binary for packages for FreeBSD on ARM (and other platforms). Releases. I downloaded the ARM7 tarball finally I had DNSCrypt-Proxy running on my RPi. As I had an AMD64 version running elsewhere I just copied the user, group, and etc files over and it was up and running.
Hopefully this helps someone else. Please comment if there was something else I could have done (like getting Go to compile on the RPi, or cross-compiling DNSCrypt-Proxy using Go on an AMD64 platform).
Scott
FreeBSD 12.0-RELEASE r341666 GENERIC arm
.There's no package version, so I tried compiling. Unfortunately that didn't work as the Go dependency ran out of RAM compiling. And there's no package for Go...
So I fired up a VM and installed ports-mgmt/poudriere. Set it all up and added dns/dnscrypt-proxy2 to my shopping list...
Unfortunately it skipped lang/go:
Code:
[00:01:14] [01] [00:00:00] Building lang/go | go-1.13.4,1
[00:01:16] [01] [00:00:02] Finished lang/go | go-1.13.4,1: Ignored: fails to build with qemu-user-static
[00:01:16] [01] [00:00:02] Skipping dns/dnscrypt-proxy2 | dnscrypt-proxy2-2.0.31_1: Dependent port lang/go | go-1.13.4,1 ignored
Apparently Go 1.3 won't compile under the emulator (see PR 221297 for some background.
Finally after checking the GitHub page for DNSCrypt-Proxy (DNSCrypt) I discovered that they release binary for packages for FreeBSD on ARM (and other platforms). Releases. I downloaded the ARM7 tarball finally I had DNSCrypt-Proxy running on my RPi. As I had an AMD64 version running elsewhere I just copied the user, group, and etc files over and it was up and running.
Hopefully this helps someone else. Please comment if there was something else I could have done (like getting Go to compile on the RPi, or cross-compiling DNSCrypt-Proxy using Go on an AMD64 platform).
Scott