packages dropped
[gentoo-zh.git] / net-proxy / Xray / Xray-1.5.3.ebuild
blob4f7af0ac5eaf9c2b0ef1a6b8294e6775d5f629fa
1 # Copyright 1999-2021 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
5 inherit go-module systemd
7 DESCRIPTION="Xray, Penetrates Everything."
8 HOMEPAGE="https://github.com/XTLS/Xray-core
9 https://www.maxmind.com"
11 GEOIP_PV="202201270031"
12 GEOSITE_PV="20220124140856"
14 EGO_SUM=(
15 "cloud.google.com/go v0.26.0/go.mod"
16 "cloud.google.com/go v0.31.0/go.mod"
17 "cloud.google.com/go v0.34.0/go.mod"
18 "cloud.google.com/go v0.37.0/go.mod"
19 "dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3/go.mod"
20 "dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0/go.mod"
21 "dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412/go.mod"
22 "dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c/go.mod"
23 "git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod"
24 "github.com/BurntSushi/toml v0.3.1/go.mod"
25 "github.com/OneOfOne/xxhash v1.2.2/go.mod"
26 "github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod"
27 "github.com/antihax/optional v1.0.0/go.mod"
28 "github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
29 "github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod"
30 "github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23/go.mod"
31 "github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
32 "github.com/cespare/xxhash v1.1.0/go.mod"
33 "github.com/cespare/xxhash/v2 v2.1.1/go.mod"
34 "github.com/cheekybits/genny v1.0.0"
35 "github.com/cheekybits/genny v1.0.0/go.mod"
36 "github.com/chzyer/logex v1.1.10/go.mod"
37 "github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod"
38 "github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod"
39 "github.com/client9/misspell v0.3.4/go.mod"
40 "github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod"
41 "github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod"
42 "github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod"
43 "github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod"
44 "github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod"
45 "github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod"
46 "github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod"
47 "github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod"
48 "github.com/davecgh/go-spew v1.1.0/go.mod"
49 "github.com/davecgh/go-spew v1.1.1"
50 "github.com/davecgh/go-spew v1.1.1/go.mod"
51 "github.com/dgryski/go-metro v0.0.0-20200812162917-85c65e2d0165/go.mod"
52 "github.com/dgryski/go-metro v0.0.0-20211015221634-2661b20a2446"
53 "github.com/dgryski/go-metro v0.0.0-20211015221634-2661b20a2446/go.mod"
54 "github.com/dgryski/go-metro v0.0.0-20211217172704-adc40b04c140"
55 "github.com/dgryski/go-metro v0.0.0-20211217172704-adc40b04c140/go.mod"
56 "github.com/dustin/go-humanize v1.0.0/go.mod"
57 "github.com/envoyproxy/go-control-plane v0.9.0/go.mod"
58 "github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
59 "github.com/envoyproxy/go-control-plane v0.9.4/go.mod"
60 "github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod"
61 "github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod"
62 "github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod"
63 "github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
64 "github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod"
65 "github.com/francoispqt/gojay v1.2.13/go.mod"
66 "github.com/fsnotify/fsnotify v1.4.7/go.mod"
67 "github.com/fsnotify/fsnotify v1.4.9/go.mod"
68 "github.com/fsnotify/fsnotify v1.5.1"
69 "github.com/fsnotify/fsnotify v1.5.1/go.mod"
70 "github.com/ghodss/yaml v1.0.0/go.mod"
71 "github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32"
72 "github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32/go.mod"
73 "github.com/gliderlabs/ssh v0.1.1/go.mod"
74 "github.com/go-errors/errors v1.0.1/go.mod"
75 "github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0"
76 "github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod"
77 "github.com/gogo/protobuf v1.1.1/go.mod"
78 "github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
79 "github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod"
80 "github.com/golang/mock v1.1.1/go.mod"
81 "github.com/golang/mock v1.2.0/go.mod"
82 "github.com/golang/mock v1.4.4/go.mod"
83 "github.com/golang/mock v1.6.0"
84 "github.com/golang/mock v1.6.0/go.mod"
85 "github.com/golang/protobuf v1.2.0/go.mod"
86 "github.com/golang/protobuf v1.3.1/go.mod"
87 "github.com/golang/protobuf v1.3.2/go.mod"
88 "github.com/golang/protobuf v1.3.3/go.mod"
89 "github.com/golang/protobuf v1.4.0-rc.1/go.mod"
90 "github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod"
91 "github.com/golang/protobuf v1.4.0-rc.2/go.mod"
92 "github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod"
93 "github.com/golang/protobuf v1.4.0/go.mod"
94 "github.com/golang/protobuf v1.4.1/go.mod"
95 "github.com/golang/protobuf v1.4.2/go.mod"
96 "github.com/golang/protobuf v1.4.3/go.mod"
97 "github.com/golang/protobuf v1.5.0/go.mod"
98 "github.com/golang/protobuf v1.5.2"
99 "github.com/golang/protobuf v1.5.2/go.mod"
100 "github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
101 "github.com/google/go-cmp v0.2.0/go.mod"
102 "github.com/google/go-cmp v0.3.0/go.mod"
103 "github.com/google/go-cmp v0.3.1/go.mod"
104 "github.com/google/go-cmp v0.4.0/go.mod"
105 "github.com/google/go-cmp v0.5.0/go.mod"
106 "github.com/google/go-cmp v0.5.1/go.mod"
107 "github.com/google/go-cmp v0.5.5/go.mod"
108 "github.com/google/go-cmp v0.5.7"
109 "github.com/google/go-cmp v0.5.7/go.mod"
110 "github.com/google/go-github v17.0.0+incompatible/go.mod"
111 "github.com/google/go-querystring v1.0.0/go.mod"
112 "github.com/google/martian v2.1.0+incompatible/go.mod"
113 "github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
114 "github.com/google/uuid v1.1.2/go.mod"
115 "github.com/googleapis/gax-go v2.0.0+incompatible/go.mod"
116 "github.com/googleapis/gax-go/v2 v2.0.3/go.mod"
117 "github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod"
118 "github.com/gorilla/websocket v1.4.2"
119 "github.com/gorilla/websocket v1.4.2/go.mod"
120 "github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod"
121 "github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod"
122 "github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod"
123 "github.com/h12w/go-socks5 v0.0.0-20200522160539-76189e178364"
124 "github.com/h12w/go-socks5 v0.0.0-20200522160539-76189e178364/go.mod"
125 "github.com/hpcloud/tail v1.0.0/go.mod"
126 "github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1/go.mod"
127 "github.com/json-iterator/go v1.1.6/go.mod"
128 "github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
129 "github.com/kisielk/gotool v1.0.0/go.mod"
130 "github.com/kr/pretty v0.1.0"
131 "github.com/kr/pretty v0.1.0/go.mod"
132 "github.com/kr/pty v1.1.1/go.mod"
133 "github.com/kr/pty v1.1.3/go.mod"
134 "github.com/kr/text v0.1.0"
135 "github.com/kr/text v0.1.0/go.mod"
136 "github.com/lucas-clemente/quic-go v0.25.0"
137 "github.com/lucas-clemente/quic-go v0.25.0/go.mod"
138 "github.com/lunixbochs/vtclean v1.0.0/go.mod"
139 "github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod"
140 "github.com/marten-seemann/qpack v0.2.1/go.mod"
141 "github.com/marten-seemann/qtls-go1-15 v0.1.4/go.mod"
142 "github.com/marten-seemann/qtls-go1-16 v0.1.4"
143 "github.com/marten-seemann/qtls-go1-16 v0.1.4/go.mod"
144 "github.com/marten-seemann/qtls-go1-17 v0.1.0"
145 "github.com/marten-seemann/qtls-go1-17 v0.1.0/go.mod"
146 "github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1"
147 "github.com/marten-seemann/qtls-go1-18 v0.1.0-beta.1/go.mod"
148 "github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
149 "github.com/microcosm-cc/bluemonday v1.0.1/go.mod"
150 "github.com/miekg/dns v1.1.45"
151 "github.com/miekg/dns v1.1.45/go.mod"
152 "github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
153 "github.com/modern-go/reflect2 v1.0.1/go.mod"
154 "github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod"
155 "github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab/go.mod"
156 "github.com/nxadm/tail v1.4.4/go.mod"
157 "github.com/nxadm/tail v1.4.8"
158 "github.com/nxadm/tail v1.4.8/go.mod"
159 "github.com/onsi/ginkgo v1.6.0/go.mod"
160 "github.com/onsi/ginkgo v1.12.1/go.mod"
161 "github.com/onsi/ginkgo v1.14.0/go.mod"
162 "github.com/onsi/ginkgo v1.16.2/go.mod"
163 "github.com/onsi/ginkgo v1.16.4/go.mod"
164 "github.com/onsi/ginkgo v1.16.5"
165 "github.com/onsi/ginkgo v1.16.5/go.mod"
166 "github.com/onsi/gomega v1.7.1/go.mod"
167 "github.com/onsi/gomega v1.10.1/go.mod"
168 "github.com/onsi/gomega v1.13.0"
169 "github.com/onsi/gomega v1.13.0/go.mod"
170 "github.com/openzipkin/zipkin-go v0.1.1/go.mod"
171 "github.com/pelletier/go-toml v1.9.4"
172 "github.com/pelletier/go-toml v1.9.4/go.mod"
173 "github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2"
174 "github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2/go.mod"
175 "github.com/pires/go-proxyproto v0.6.1"
176 "github.com/pires/go-proxyproto v0.6.1/go.mod"
177 "github.com/pkg/errors v0.8.1/go.mod"
178 "github.com/pmezard/go-difflib v1.0.0"
179 "github.com/pmezard/go-difflib v1.0.0/go.mod"
180 "github.com/prometheus/client_golang v0.8.0/go.mod"
181 "github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
182 "github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
183 "github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e/go.mod"
184 "github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273/go.mod"
185 "github.com/refraction-networking/utls v1.0.0"
186 "github.com/refraction-networking/utls v1.0.0/go.mod"
187 "github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3"
188 "github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3/go.mod"
189 "github.com/rogpeppe/fastuuid v1.2.0/go.mod"
190 "github.com/russross/blackfriday v1.5.2/go.mod"
191 "github.com/seiflotfy/cuckoofilter v0.0.0-20201222105146-bc6005554a0c"
192 "github.com/seiflotfy/cuckoofilter v0.0.0-20201222105146-bc6005554a0c/go.mod"
193 "github.com/sergi/go-diff v1.0.0/go.mod"
194 "github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4/go.mod"
195 "github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48/go.mod"
196 "github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470/go.mod"
197 "github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod"
198 "github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod"
199 "github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d/go.mod"
200 "github.com/shurcooL/gopherjslib v0.0.0-20160914041154-feb6d3990c2c/go.mod"
201 "github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b/go.mod"
202 "github.com/shurcooL/highlight_go v0.0.0-20181028180052-98c3abbbae20/go.mod"
203 "github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9/go.mod"
204 "github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50/go.mod"
205 "github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc/go.mod"
206 "github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod"
207 "github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9/go.mod"
208 "github.com/shurcooL/issues v0.0.0-20181008053335-6292fdc1e191/go.mod"
209 "github.com/shurcooL/issuesapp v0.0.0-20180602232740-048589ce2241/go.mod"
210 "github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122/go.mod"
211 "github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2/go.mod"
212 "github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82/go.mod"
213 "github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95/go.mod"
214 "github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537/go.mod"
215 "github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133/go.mod"
216 "github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d/go.mod"
217 "github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e/go.mod"
218 "github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod"
219 "github.com/stretchr/objx v0.1.0"
220 "github.com/stretchr/objx v0.1.0/go.mod"
221 "github.com/stretchr/objx v0.3.0"
222 "github.com/stretchr/objx v0.3.0/go.mod"
223 "github.com/stretchr/testify v1.2.2/go.mod"
224 "github.com/stretchr/testify v1.3.0/go.mod"
225 "github.com/stretchr/testify v1.5.1/go.mod"
226 "github.com/stretchr/testify v1.6.1/go.mod"
227 "github.com/stretchr/testify v1.7.0"
228 "github.com/stretchr/testify v1.7.0/go.mod"
229 "github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod"
230 "github.com/v2fly/ss-bloomring v0.0.0-20210312155135-28617310f63e"
231 "github.com/v2fly/ss-bloomring v0.0.0-20210312155135-28617310f63e/go.mod"
232 "github.com/viant/assertly v0.4.8/go.mod"
233 "github.com/viant/toolbox v0.24.0/go.mod"
234 "github.com/xtls/go v0.0.0-20210920065950-d4af136d3672"
235 "github.com/xtls/go v0.0.0-20210920065950-d4af136d3672/go.mod"
236 "github.com/yuin/goldmark v1.2.1/go.mod"
237 "github.com/yuin/goldmark v1.3.5/go.mod"
238 "github.com/yuin/goldmark v1.4.1/go.mod"
239 "go.opencensus.io v0.18.0/go.mod"
240 "go.opentelemetry.io/proto/otlp v0.7.0/go.mod"
241 "go.starlark.net v0.0.0-20211203141949-70c0e40ae128"
242 "go.starlark.net v0.0.0-20211203141949-70c0e40ae128/go.mod"
243 "go4.org v0.0.0-20180809161055-417644f6feb5/go.mod"
244 "golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d/go.mod"
245 "golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod"
246 "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
247 "golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a/go.mod"
248 "golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
249 "golang.org/x/crypto v0.0.0-20200221231518-2aa609cf4a9d/go.mod"
250 "golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
251 "golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod"
252 "golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b"
253 "golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b/go.mod"
254 "golang.org/x/crypto v0.0.0-20220128200615-198e4374d7ed"
255 "golang.org/x/crypto v0.0.0-20220128200615-198e4374d7ed/go.mod"
256 "golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
257 "golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod"
258 "golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
259 "golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
260 "golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
261 "golang.org/x/mod v0.3.0/go.mod"
262 "golang.org/x/mod v0.4.2/go.mod"
263 "golang.org/x/mod v0.5.1"
264 "golang.org/x/mod v0.5.1/go.mod"
265 "golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
266 "golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
267 "golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod"
268 "golang.org/x/net v0.0.0-20181029044818-c44066c5c816/go.mod"
269 "golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod"
270 "golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
271 "golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
272 "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
273 "golang.org/x/net v0.0.0-20190313220215-9f648a60d977/go.mod"
274 "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
275 "golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
276 "golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod"
277 "golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod"
278 "golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod"
279 "golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod"
280 "golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
281 "golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod"
282 "golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod"
283 "golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod"
284 "golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod"
285 "golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod"
286 "golang.org/x/net v0.0.0-20211209124913-491a49abca63"
287 "golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod"
288 "golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd"
289 "golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod"
290 "golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
291 "golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod"
292 "golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod"
293 "golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
294 "golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod"
295 "golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod"
296 "golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
297 "golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
298 "golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
299 "golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
300 "golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
301 "golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod"
302 "golang.org/x/sync v0.0.0-20210220032951-036812b2e83c"
303 "golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod"
304 "golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
305 "golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod"
306 "golang.org/x/sys v0.0.0-20181029174526-d69651ed3497/go.mod"
307 "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
308 "golang.org/x/sys v0.0.0-20190316082340-a2f829d7f35f/go.mod"
309 "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
310 "golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod"
311 "golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod"
312 "golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod"
313 "golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
314 "golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
315 "golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod"
316 "golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod"
317 "golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
318 "golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod"
319 "golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod"
320 "golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
321 "golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod"
322 "golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
323 "golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
324 "golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod"
325 "golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod"
326 "golang.org/x/sys v0.0.0-20211214234402-4825e8c3871d"
327 "golang.org/x/sys v0.0.0-20211214234402-4825e8c3871d/go.mod"
328 "golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27"
329 "golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod"
330 "golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
331 "golang.org/x/text v0.3.0/go.mod"
332 "golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
333 "golang.org/x/text v0.3.2/go.mod"
334 "golang.org/x/text v0.3.3/go.mod"
335 "golang.org/x/text v0.3.5/go.mod"
336 "golang.org/x/text v0.3.6/go.mod"
337 "golang.org/x/text v0.3.7"
338 "golang.org/x/text v0.3.7/go.mod"
339 "golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod"
340 "golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
341 "golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod"
342 "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
343 "golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b/go.mod"
344 "golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
345 "golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
346 "golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
347 "golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod"
348 "golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
349 "golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
350 "golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod"
351 "golang.org/x/tools v0.1.1/go.mod"
352 "golang.org/x/tools v0.1.6-0.20210726203631-07bc1bf47fb2/go.mod"
353 "golang.org/x/tools v0.1.8"
354 "golang.org/x/tools v0.1.8/go.mod"
355 "golang.org/x/tools v0.1.9"
356 "golang.org/x/tools v0.1.9/go.mod"
357 "golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
358 "golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
359 "golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
360 "golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
361 "golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
362 "google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod"
363 "google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod"
364 "google.golang.org/api v0.1.0/go.mod"
365 "google.golang.org/appengine v1.1.0/go.mod"
366 "google.golang.org/appengine v1.2.0/go.mod"
367 "google.golang.org/appengine v1.3.0/go.mod"
368 "google.golang.org/appengine v1.4.0/go.mod"
369 "google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
370 "google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod"
371 "google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod"
372 "google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898/go.mod"
373 "google.golang.org/genproto v0.0.0-20190306203927-b5d61aea6440/go.mod"
374 "google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
375 "google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod"
376 "google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod"
377 "google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa"
378 "google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod"
379 "google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350"
380 "google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod"
381 "google.golang.org/grpc v1.14.0/go.mod"
382 "google.golang.org/grpc v1.16.0/go.mod"
383 "google.golang.org/grpc v1.17.0/go.mod"
384 "google.golang.org/grpc v1.19.0/go.mod"
385 "google.golang.org/grpc v1.23.0/go.mod"
386 "google.golang.org/grpc v1.25.1/go.mod"
387 "google.golang.org/grpc v1.27.0/go.mod"
388 "google.golang.org/grpc v1.33.1/go.mod"
389 "google.golang.org/grpc v1.36.0/go.mod"
390 "google.golang.org/grpc v1.40.0/go.mod"
391 "google.golang.org/grpc v1.44.0"
392 "google.golang.org/grpc v1.44.0/go.mod"
393 "google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod"
394 "google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod"
395 "google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod"
396 "google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod"
397 "google.golang.org/protobuf v1.21.0/go.mod"
398 "google.golang.org/protobuf v1.22.0/go.mod"
399 "google.golang.org/protobuf v1.23.0/go.mod"
400 "google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod"
401 "google.golang.org/protobuf v1.25.0/go.mod"
402 "google.golang.org/protobuf v1.26.0-rc.1/go.mod"
403 "google.golang.org/protobuf v1.26.0/go.mod"
404 "google.golang.org/protobuf v1.27.1"
405 "google.golang.org/protobuf v1.27.1/go.mod"
406 "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
407 "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127"
408 "gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
409 "gopkg.in/fsnotify.v1 v1.4.7/go.mod"
410 "gopkg.in/inf.v0 v0.9.1/go.mod"
411 "gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7"
412 "gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod"
413 "gopkg.in/yaml.v2 v2.2.1/go.mod"
414 "gopkg.in/yaml.v2 v2.2.2/go.mod"
415 "gopkg.in/yaml.v2 v2.2.3/go.mod"
416 "gopkg.in/yaml.v2 v2.2.4/go.mod"
417 "gopkg.in/yaml.v2 v2.3.0/go.mod"
418 "gopkg.in/yaml.v2 v2.4.0"
419 "gopkg.in/yaml.v2 v2.4.0/go.mod"
420 "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod"
421 "gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c/go.mod"
422 "gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b"
423 "gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod"
424 "grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod"
425 "h12.io/socks v1.0.3"
426 "h12.io/socks v1.0.3/go.mod"
427 "honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod"
428 "honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
429 "honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
430 "honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
431 "sourcegraph.com/sourcegraph/go-diff v0.5.0/go.mod"
432 "sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod"
434 go-module_set_globals
436 SRC_URI="https://github.com/XTLS/Xray-core/archive/v${PV}.tar.gz -> ${P}.tar.gz
437 https://github.com/v2fly/geoip/releases/download/${GEOIP_PV}/geoip.dat -> ${P}-geoip-${GEOIP_PV}.dat
438 https://github.com/v2fly/domain-list-community/releases/download/${GEOSITE_PV}/dlc.dat -> ${P}-geosite-${GEOSITE_PV}.dat
439 ${EGO_SUM_SRC_URI}"
440 RESTRICT="mirror"
442 LICENSE="MPL-2.0 CC-BY-SA-4.0"
443 SLOT="0"
444 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
445 IUSE=""
447 BDEPEND=">=dev-lang/go-1.16.2"
448 RDEPEND="app-misc/ca-certificates"
450 S="${WORKDIR}/${PN}-core-${PV}"
452 src_compile() {
453 go build -v -work -x -o bin/xray -trimpath -ldflags "-buildid=" ./main
456 src_install() {
457 dobin bin/xray
459 insinto /usr/share/xray
460 newins "${DISTDIR}/${P}-geoip-${GEOIP_PV}.dat" geoip.dat
461 newins "${DISTDIR}/${P}-geosite-${GEOSITE_PV}.dat" geosite.dat
463 newinitd "${FILESDIR}/xray.initd" xray
464 systemd_dounit "${FILESDIR}/xray.service"
465 systemd_newunit "${FILESDIR}/xray_at.service" "xray@.service"
467 keepdir /etc/xray
470 pkg_postinst() {
471 elog
472 elog "Follow the instructions of https://github.com/XTLS/Xray-examples"
473 elog