• R/O
  • HTTP
  • SSH
  • HTTPS

v2raya-openwrt: 提交

opkg feed of v2rayA for OpenWrt users


Commit MetaInfo

修订版539431eda4ab1c4afdf44a6eac3b684db20d9d6c (tree)
时间2021-12-19 05:24:03
作者Tianling Shen <cnsztl@immo...>
CommiterTianling Shen

Log Message

xray-core: Update to 1.5.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>

更改概述

差异

--- a/xray-core/Makefile
+++ b/xray-core/Makefile
@@ -5,12 +5,12 @@
55 include $(TOPDIR)/rules.mk
66
77 PKG_NAME:=Xray-core
8-PKG_VERSION:=1.4.5
8+PKG_VERSION:=1.5.1
99 PKG_RELEASE:=$(AUTORELEASE)
1010
1111 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
1212 PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v$(PKG_VERSION)?
13-PKG_HASH:=54c6a687dd463b25afe8d8eb44d37e18b8177f58308207cd1d74f6cd04619854
13+PKG_HASH:=11b01de5da7efed2a5f066b14bfe5e0299071dc8c32b7f64af5c51daf3abc6c2
1414
1515 PKG_MAINTAINER:=Tianling Shen <cnsztl@immortalwrt.org>
1616 PKG_LICENSE:=MPL-2.0
--- /dev/null
+++ b/xray-core/patches/010-fix-unsupported-cipher-method-xChaCha20-IETF-Poly1305.patch
@@ -0,0 +1,20 @@
1+From c8e2a99e68109b386c541dcc157f1f64ca8cbd17 Mon Sep 17 00:00:00 2001
2+From: xqzr <34030394+xqzr@users.noreply.github.com>
3+Date: Fri, 17 Dec 2021 00:25:16 +0800
4+Subject: [PATCH] fix unsupported cipher method: xChaCha20-IETF-Poly1305
5+
6+---
7+ infra/conf/shadowsocks.go | 2 +-
8+ 1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+--- a/infra/conf/shadowsocks.go
11++++ b/infra/conf/shadowsocks.go
12+@@ -59,7 +59,7 @@ func (v *ShadowsocksServerConfig) Build(
13+ return nil, newError("Shadowsocks password is not specified.")
14+ }
15+ if account.CipherType < shadowsocks.CipherType_AES_128_GCM ||
16+- account.CipherType > shadowsocks.CipherType_CHACHA20_POLY1305 {
17++ account.CipherType > shadowsocks.CipherType_XCHACHA20_POLY1305 {
18+ return nil, newError("unsupported cipher method: ", user.Cipher)
19+ }
20+ config.Users = append(config.Users, &protocol.User{
Show on old repository browser