Skip to content

Commit

Permalink
tag v1.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
yichya committed Feb 25, 2024
1 parent 4f6cae9 commit 2dc8624
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=openwrt-xray
PKG_VERSION:=1.8.7
PKG_VERSION:=1.8.8
PKG_RELEASE:=1

PKG_LICENSE:=MPLv2
PKG_LICENSE_FILES:=LICENSE
PKG_MAINTAINER:=yichya <mail@yichya.dev>
PKG_SOURCE:=Xray-core-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/XTLS/Xray-core/tar.gz/v${PKG_VERSION}?
PKG_HASH:=e8f46177d792b89700f164ca28fbf1a3c7d95a3ecf98871cb0dd5e474b46a859
PKG_HASH:=156105b89465ca948971a774c0bc7e56ee68e764bdfde58923037dc837aab4be
PKG_BUILD_DEPENDS:=golang/host
PKG_BUILD_PARALLEL:=1

Expand Down Expand Up @@ -55,7 +55,7 @@ define Build/Patch
endef

define Build/Compile
cd $(PKG_BUILD_DIR); $(GO_PKG_VARS) $(USE_GOPROXY) CGO_ENABLED=0 go build -trimpath -ldflags "-s -w" -o $(PKG_INSTALL_DIR)/bin/xray ./main;
cd $(PKG_BUILD_DIR); $(GO_PKG_VARS) $(USE_GOPROXY) CGO_ENABLED=0 GOEXPERIMENT=loopvar go build -trimpath -ldflags "-s -w" -o $(PKG_INSTALL_DIR)/bin/xray ./main;
endef

define Package/$(PKG_NAME)/install
Expand Down
12 changes: 12 additions & 0 deletions patches/01-go-1-21-5.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/go.mod b/go.mod
index 5445c26..3f81cbc 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/xtls/xray-core

-go 1.22
+go 1.21.5

require (
github.com/ghodss/yaml v1.0.1-0.20220118164431-d8423dcdf344

0 comments on commit 2dc8624

Please sign in to comment.