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
Created attachment 201627 [details] GID.diff
Created attachment 201628 [details] UID.diff
Created attachment 201629 [details] v2ray shar
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
Created attachment 201633 [details] v2ray shar Fix typo introduced by refactor.
(In reply to Steve Wills from comment #4) It should be fixed now.
Created attachment 201649 [details] patch
(In reply to Fukang Chen from comment #7) LGTM
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
Committed, thanks!