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: New
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-02-08 08:57 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 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 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