diff --git a/packages/litespeedtest/Makefile.patch b/packages/litespeedtest/Makefile.patch index 01fe39491671f6..a4f2d1a1bdb708 100644 --- a/packages/litespeedtest/Makefile.patch +++ b/packages/litespeedtest/Makefile.patch @@ -1,12 +1,15 @@ ---- ../LiteSpeedTest-0.12.0/Makefile 2022-10-16 08:46:16.000000000 +0000 -+++ ./Makefile 2022-10-17 18:59:57.111027624 +0000 -@@ -1,6 +1,5 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,8 +1,7 @@ NAME=lite BINDIR=bin -VERSION=$(shell git describe --tags || echo "unknown version") BUILDTIME=$(shell date -u) - GOBUILD=CGO_ENABLED=0 go build -trimpath -ldflags '-X "github.com/xxf098/LiteSpeedTest/constant.Version=$(VERSION)" \ +-GOBUILD=CGO_ENABLED=0 go build -trimpath -ldflags '-X "github.com/xxf098/LiteSpeedTest/constant.Version=$(VERSION)" \ ++GOBUILD=CGO_ENABLED=1 go build -trimpath -ldflags '-X "github.com/xxf098/LiteSpeedTest/constant.Version=$(VERSION)" \ -X "github.com/xxf098/LiteSpeedTest/constant.BuildTime=$(BUILDTIME)" \ + -w -s -buildid=' + @@ -27,10 +26,8 @@ windows-arm64 \ windows-arm32v7 diff --git a/packages/litespeedtest/build.sh b/packages/litespeedtest/build.sh index 71dd4d934d035b..787f89f8bbdb79 100644 --- a/packages/litespeedtest/build.sh +++ b/packages/litespeedtest/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A simple tool for batch test ss/ssr/v2ray/trojan servers TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION="0.15.0" -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://github.com/xxf098/LiteSpeedTest/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=93da1b6ca132a779b4ce754802699c6ecc6817739603e505c8f7c12cf97c69c9 TERMUX_PKG_DEPENDS="resolv-conf"