Bug 240282

Summary: net/v2ray: Switch to USES=go:modules, fix build with go1.13
Product: Ports & Packages Reporter: Dmitri Goutnik <dmgk>
Component: Individual Port(s)Assignee: Tobias Kortkamp <tobik>
Status: Closed FIXED    
Severity: Affects Only Me CC: shen.elf
Priority: --- Flags: shen.elf: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch file dmgk: maintainer-approval? (shen.elf)

Description Dmitri Goutnik freebsd_committer freebsd_triage 2019-09-02 16:37:47 UTC
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)
Comment 1 Yanhui Shen 2019-09-03 02:23:59 UTC
I'll look into it.

Actually I haven't tried 4.20.0 yet, it was a maintainer timeout approval...
Comment 2 Yanhui Shen 2019-09-07 03:02:18 UTC
Verified, thanks for the patch.
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-09-08 12:12:31 UTC
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