Bug 246894

Summary: net/v2ray: Update to 4.23.2
Product: Ports & Packages Reporter: Yanhui Shen <shen.elf>
Component: Individual Port(s)Assignee: Fukang Chen <loader>
Status: Closed FIXED    
Severity: Affects Some People CC: koobs, loader
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D25087
Attachments:
Description Flags
v2ray 4.23.2 port
none
v2ray 4.23.2 port (fix autostart)
none
patch loader: maintainer-approval?

Description Yanhui Shen 2020-05-31 12:23:37 UTC
Created attachment 215099 [details]
v2ray 4.23.2 port

Update net/v2ray to v4.23.2

Release: https://github.com/v2ray/v2ray-core/releases/tag/v4.23.2

Note, the order of items in GH_TUPLE and distinfo are almost identical to their declaration order in v2ray-core/go.sum for maintainability purpose.
Comment 1 Yanhui Shen 2020-05-31 13:49:34 UTC
Created attachment 215106 [details]
v2ray 4.23.2 port (fix autostart)
Comment 2 Fukang Chen freebsd_committer freebsd_triage 2020-05-31 14:05:43 UTC
Created attachment 215107 [details]
patch

- regenerated the GH_TUPLE using ports-mgmt/modules2tuple
  https://github.com/dmgk/modules2tuple
  and ran `make makesum`

- replaced the do-test: target with 
  GO_TESTFLAGS=   -p 1 -tags json -timeout 30m

  There's a default test target introduced in r526567
  https://svnweb.freebsd.org/ports?view=revision&revision=526567
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-06-01 14:25:48 UTC
A commit references this bug:

Author: loader
Date: Mon Jun  1 14:24:54 UTC 2020
New revision: 537487
URL: https://svnweb.freebsd.org/changeset/ports/537487

Log:
  net/v2ray: Update to 4.23.2

  - Add REQUIRE: LOGIN to the rc script
  - Switch to the default test target defined in Mk/go.mk

  Changelog:

      https://github.com/v2ray/v2ray-core/compare/v4.20.0...v4.23.2

  PR:		246894
  Submitted by:	Yanhui Shen <shen.elf@gmail.com> (maintainer)
  Reviewed by:	koobs
  Approved by:	koobs (ports, mentor)
  Differential Revision:	https://reviews.freebsd.org/D25087

Changes:
  head/net/v2ray/Makefile
  head/net/v2ray/distinfo
  head/net/v2ray/files/v2ray.in
Comment 4 Fukang Chen freebsd_committer freebsd_triage 2020-06-01 14:28:34 UTC
Committed, thanks!