Commit graph

25 commits

Author SHA1 Message Date
Tianling Shen
d5ce7603dd
xray-core: Update to 1.5.2
Removed upstreamed patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 418e59356b)
2021-12-27 14:49:09 +08:00
Tianling Shen
60419af876
xray-core: Update to 1.5.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 6d56c80ff9)
2021-12-27 14:49:05 +08:00
Tianling Shen
37941038af xray-core: remove dead jail files
It never works... And Xray-core needs root access to work.

Bump geodata to latest version while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit ab540e6990)
2021-11-03 08:14:17 -07:00
Tianling Shen
172ebab285 xray-core: Update to 1.4.5
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 0a2fb81acc)
2021-09-25 11:11:07 -07:00
Tianling Shen
642d2b0a58
xray-core: Update to 1.4.3
- Updated geodata to latest version
- Removed upstreamed patches

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 3f448adabb)
2021-09-08 04:03:24 +08:00
Jeffery To
9d4046157b
treewide: Remove GO_PKG_LDFLAGS for stripping binaries
The "-s -w" flags in GO_PKG_LDFLAGS tells the Go compiler to strip the
binaries it produces. Since the default Go package build process will
strip binaries when CONFIG_USE_STRIP or CONFIG_USE_SSTRIP are selected,
these flags are unnecessary.

When CONFIG_NO_STRIP is selected, these flags override the user's
intention of building unstripped packages.

This removes these flags for all relevant packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-09-02 06:07:05 +08:00
Tianling Shen
36ffcd66f1
xray-core: fix build under go 1.17
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit dcd3f288e4)
2021-08-30 13:50:13 +08:00
Tianling Shen
cef1cdaa2a
xray-core: bump geodata to latest version
Also removed `fullcone` option as this is outdated.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 53bbfe4de5)
2021-06-04 20:49:18 +08:00
Tianling Shen
fee6ee1c8e
xray-core: use $(INSTALL_DATA) to install configuration files
Using `$(INSTALL_CONF)` will cause the program has no access to
configurations file when someone enabled the selinux support.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from bbc6c62c2a)
2021-04-27 20:35:39 +08:00
Tianling Shen
b75f619031
xray-core: remove PROVIDES
Xray now is no longer planning to keep compatibility with original
v2ray. Remove PROVIDES before it is totally broken.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from 92efcc2956)
2021-04-27 20:35:20 +08:00
Tianling Shen
5dd5cabd74
xray-core: Update to 1.4.2
Updated geo datas to latest version.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from 781c70077b)
2021-04-02 17:29:18 +08:00
Tianling Shen
5543e0925a
xray-core: init: add browser dialer support
Since v1.4.1, Xray has introduced a new feature to transfer data via
browsers, which can disguise itself as a normal browser to cheat
network censorship.

For more details, see https://github.com/XTLS/Xray-core/pull/421.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from 736667ce6e)
2021-04-02 17:29:03 +08:00
Tianling Shen
fb402a71e0 xray-core: Update to 1.4.1
Updated geodata to latest version.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from ee9868cb20f78b01df1996090f1fe224a5e4c017)
2021-03-31 17:37:39 -10:00
Tianling Shen
0e2a545f1d
xray-core: Update to 1.4.0
- Re-assigned myself as the maintainer
- Updated geodata to latest version

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from a28580a530)
2021-03-15 00:16:37 +08:00
Tianling Shen
4270ac1e0b
xray-core: Update to 1.3.1
- updated geodata to latest version
- updated project url

Fixes: #14972

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(backported from 264ce0d0ee)
2021-03-02 23:13:01 +08:00
Tianling Shen
b21c5c1e1c
xray-core: remove myself from maintainters
Signed-off-by: Tianling Shen <cnsztl@gmail.com>
(Backported from 024112605a)
2021-02-23 00:37:48 +08:00
Tianling Shen
4a48ef7ed5
xray-core: Update to 1.3.0
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-13 12:20:34 +08:00
Tianling Shen
3db3ed5c59
xray-core: add the test script for action checking
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-13 12:20:22 +08:00
Tianling Shen
56b6ca5d09
xray-core: init: add option to control FullConeNAT setting
Latest version of xray-core made a change to support FullCone NAT,
which would break UDP connection from v2ray-core backend server.
So added the option for v2ray-core users, to make sure UDP works
as expected.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-13 01:43:41 +08:00
Tianling Shen
d88af23bc0
xray-core: bump geodata to latest version
also adjusted GO_PKG_LDFLAGS_X which was suggested by Jeffery To.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-11 23:47:46 +08:00
Tianling Shen
ae044501b3
xray-core: fix service start / reload
Fix starting problem:
Starting function should be named 'start_service' instead of 'start_instance'.

Fix reloading problem:
Register reload tigger for uci config itself.
And, xray does not support reload currently, so use legacy restart as reload.

Fixes: 6c9b96352f ("xray-core: add init script")

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 11:50:40 +08:00
Tianling Shen
6c9b96352f
xray-core: add init script
Add init script so the users could run it with their configs quickly.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 06:29:58 +08:00
Tianling Shen
c8c2564012
xray-core: add example configs
Thry're from v2fly/v2ray-core wikis, used as examples.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 06:29:48 +08:00
Tianling Shen
87a5328dd4
xray-core: update project url
Use $(AUTORELEASE) to bump PKG_RELEASE automatically.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 06:28:36 +08:00
Tianling Shen
27a29803c1
xray-core: add new package
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-02 22:02:42 +08:00