Ver Fonte

Merge pull request #1411 from fw876/xray-plugin

xray-plugin: update to 1.8.8
coolsnowwolf há 1 ano atrás
pai
commit
bf5b008bb0

+ 2 - 2
xray-plugin/Makefile

@@ -5,12 +5,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xray-plugin
-PKG_VERSION:=1.8.7
+PKG_VERSION:=1.8.8
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/teddysun/xray-plugin/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=6ee5ed3a6bbecc41dba99a107849de00e2e72d99fdea4f9af8ea95783cb38528
+PKG_HASH:=bafef6d458337b85fc258d93592a437f691914e88753054515176ee6ea9844c0
 
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE

+ 24 - 0
xray-plugin/patches/0001-fix-go-1.21-build-error.patch

@@ -0,0 +1,24 @@
+From 45368856980e030ddd95221289304c33e2749aa6 Mon Sep 17 00:00:00 2001
+From: Beginner-Go <[email protected]>
+Date: Mon, 26 Feb 2024 15:45:35 +0000
+Subject: [PATCH] fix go 1.21 build error
+
+---
+ go.mod | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/go.mod b/go.mod
+index 71a9a02..077ac79 100644
+--- a/go.mod
++++ b/go.mod
+@@ -1,6 +1,6 @@
+ module github.com/teddysun/xray-plugin
+ 
+-go 1.22
++go 1.21.5
+ 
+ require (
+ 	github.com/xtls/xray-core v1.8.8
+-- 
+2.34.1
+