Created attachment 207107 [details] patch file ===> Building for v2ray-4.20.0 go: github.com/golang/mock@v1.2.0: Get https://proxy.golang.org/github.com/golang/mock/@v/v1.2.0.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:43894->209.222.18.218:53: write: permission denied *** Error code 1 - Switch to USES=go:modules, this also fixes the build with go1.13 QA: poudriere testport: OK (120a-go1.12.8, 120a-go-devel)
I'll look into it. Actually I haven't tried 4.20.0 yet, it was a maintainer timeout approval...
Verified, thanks for the patch.
A commit references this bug: Author: tobik Date: Sun Sep 8 12:11:44 UTC 2019 New revision: 511567 URL: https://svnweb.freebsd.org/changeset/ports/511567 Log: net/v2ray: Switch to USES=go:modules, fix build with go1.13 ===> Building for v2ray-4.20.0 go: github.com/golang/mock@v1.2.0: Get https://proxy.golang.org/github.com/golang/mock/@v/v1.2.0.mod: dial tcp: lookup proxy.golang.org on 209.222.18.218:53: write udp 127.0.0.1:43894->209.222.18.218:53: write: permission denied *** Error code 1 PR: 240282 Submitted by: Dmitri Goutnik <dg@syrec.org> Approved by: Yanhui Shen <shen.elf@gmail.com> (maintainer) Pointy hat: jlaffaye Changes: head/net/v2ray/Makefile