Bug 235418 - [NEW PORT] net/v2ray: A platform for building proxies to bypass network restrictions
Summary: [NEW PORT] net/v2ray: A platform for building proxies to bypass network restr...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Fukang Chen
URL: https://reviews.freebsd.org/D19066
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-02 05:10 UTC by Yanhui Shen
Modified: 2019-05-08 03:28 UTC (History)
4 users (show)

See Also:
shen.elf: maintainer-feedback+


Attachments
v2ray shar (4.21 KB, text/plain)
2019-02-02 05:10 UTC, Yanhui Shen
no flags Details
GID.diff (225 bytes, patch)
2019-02-02 05:11 UTC, Yanhui Shen
no flags Details | Diff
UID.diff (334 bytes, patch)
2019-02-02 05:11 UTC, Yanhui Shen
no flags Details | Diff
v2ray shar (4.54 KB, text/plain)
2019-02-02 05:20 UTC, Yanhui Shen
no flags Details
v2ray shar (4.54 KB, text/plain)
2019-02-02 12:58 UTC, Yanhui Shen
no flags Details
patch (6.56 KB, patch)
2019-02-02 19:09 UTC, Fukang Chen
loader: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yanhui Shen 2019-02-02 05:10:13 UTC
Created attachment 201626 [details]
v2ray shar

The purpose of this port is to introduce v2ray as a proxy server, provide essential binaries and assets to run v2ray in both server/client mode, just like the pre-built package released on GitHub does (e.g. v2ray-freebsd-64.zip).

The submited port has already been tested on FreeBSD 11.2-RELEASE-p8.

Reference:
https://github.com/v2ray/manual/blob/master/eng_en/intro/compile.md
https://github.com/v2ray/v2ray-core/releases
Comment 1 Yanhui Shen 2019-02-02 05:11:27 UTC
Created attachment 201627 [details]
GID.diff
Comment 2 Yanhui Shen 2019-02-02 05:11:53 UTC
Created attachment 201628 [details]
UID.diff
Comment 3 Yanhui Shen 2019-02-02 05:20:46 UTC
Created attachment 201629 [details]
v2ray shar
Comment 4 Steve Wills freebsd_committer freebsd_triage 2019-02-02 12:46:01 UTC
This fails to fetch for me:

=======================<phase: fetch          >============================
===>   v2ray-4.14.0 depends on file: /usr/local/sbin/pkg - found
=> src_all.zip doesn't seem to exist in /portdistfiles/v2ray.
=> Attempting to fetch https://github.com/v2ray/v2ray-core/releases/download/v/src_all.zip
fetch: https://github.com/v2ray/v2ray-core/releases/download/v/src_all.zip: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/v2ray/src_all.zip
fetch: http://distcache.FreeBSD.org/ports-distfiles/v2ray/src_all.zip: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/v2ray and try again.
*** Error code 1
Comment 5 Yanhui Shen 2019-02-02 12:58:02 UTC
Created attachment 201633 [details]
v2ray shar

Fix typo introduced by refactor.
Comment 6 Yanhui Shen 2019-02-02 13:00:04 UTC
(In reply to Steve Wills from comment #4)
It should be fixed now.
Comment 7 Fukang Chen freebsd_committer freebsd_triage 2019-02-02 19:09:53 UTC
Created attachment 201649 [details]
patch
Comment 8 Yanhui Shen 2019-02-03 06:27:46 UTC
(In reply to Fukang Chen from comment #7)
LGTM
Comment 9 commit-hook freebsd_committer freebsd_triage 2019-05-08 03:23:57 UTC
A commit references this bug:

Author: loader
Date: Wed May  8 03:23:31 UTC 2019
New revision: 500991
URL: https://svnweb.freebsd.org/changeset/ports/500991

Log:
  [NEW PORT]: net/v2ray: Platform for building proxies to bypass network restrictions

  Project V is a set of network tools that help you to build your
  own computer network. It secures your network connections and
  thus protects your privacy.

  WWW: https://www.v2ray.com

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

Changes:
  head/GIDs
  head/UIDs
  head/net/Makefile
  head/net/v2ray/
  head/net/v2ray/Makefile
  head/net/v2ray/distinfo
  head/net/v2ray/files/
  head/net/v2ray/files/v2ray.in
  head/net/v2ray/pkg-descr
Comment 10 Fukang Chen freebsd_committer freebsd_triage 2019-05-08 03:28:28 UTC
Committed, thanks!