Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/golang/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://go.dev/
TERMUX_PKG_DESCRIPTION="Go programming language compiler"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="3:1.25.6"
TERMUX_PKG_VERSION="3:1.26.0"
TERMUX_PKG_SRCURL=https://go.dev/dl/go${TERMUX_PKG_VERSION#*:}.src.tar.gz
TERMUX_PKG_SHA256=58cbf771e44d76de6f56d19e33b77d745a1e489340922875e46585b975c2b059
TERMUX_PKG_SHA256=c9132a8a1f6bd2aa4aad1d74b8231d95274950483a4950657ee6c56e6e817790
TERMUX_PKG_DEPENDS="clang"
TERMUX_PKG_ANTI_BUILD_DEPENDS="clang"
TERMUX_PKG_RECOMMENDS="resolv-conf"
Expand Down
5 changes: 5 additions & 0 deletions packages/kubo/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="MIT, Apache-2.0"
TERMUX_PKG_LICENSE_FILE="LICENSE, LICENSE-APACHE, LICENSE-MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="0.39.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/ipfs/kubo/releases/download/v${TERMUX_PKG_VERSION}/kubo-source.tar.gz
TERMUX_PKG_SHA256=a86a89d866f4058718ef2c6e9c014382e73c220cc320ff7af34fad2ab285bec6
TERMUX_PKG_AUTO_UPDATE=true
Expand All @@ -22,6 +23,10 @@ termux_step_make() {
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/ipfs/kubo"
cd "${GOPATH}/src/github.com/ipfs/kubo"

# TODO: remove this once the upstream package is updated to suport go 1.26
go mod edit -replace github.com/cockroachdb/swiss=github.com/cockroachdb/swiss@b0f6560
go mod tidy
go mod vendor
make build

# Fix folders without write permissions preventing which fails repeating builds:
Expand Down
4 changes: 4 additions & 0 deletions packages/usql/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A universal command-line interface for SQL databases"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@flipee"
TERMUX_PKG_VERSION="0.20.8"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/xo/usql/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=71c25971a7ab8558a34d106eb60bf9d06acdfd8b5e6417062748821005aac1a7
TERMUX_PKG_AUTO_UPDATE=true
Expand All @@ -16,6 +17,9 @@ termux_step_make() {
tags="$tags no_netezza no_chai"
fi

# TODO: remove this once the upstream package is updated to suport go 1.26
go mod edit -replace github.com/cockroachdb/swiss=github.com/cockroachdb/swiss@b0f6560
go mod tidy
go build \
-trimpath \
-tags="$tags" \
Expand Down
3 changes: 2 additions & 1 deletion root-packages/nexttrace/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ TERMUX_PKG_DESCRIPTION="An open source visual routing tool that pursues light we
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.5.1~rc.1"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/nxtrace/Ntrace-V1/archive/refs/tags/v${TERMUX_PKG_VERSION//\~/-}.tar.gz
TERMUX_PKG_SHA256=18c3ecdf191797d51062c4d598ac518397a804bed6d87c3a884e1701d938a3cf
TERMUX_PKG_SHA256=93148a8345ce0ffbf2a7573dab855d3ca07b698147f4f42e20f748834472f18b
TERMUX_PKG_BREAKS="nexttrace-enhanced"
TERMUX_PKG_REPLACES="nexttrace-enhanced"
TERMUX_PKG_BUILD_IN_SRC=true
Expand Down
4 changes: 2 additions & 2 deletions scripts/build/setup/termux_setup_golang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ termux_setup_golang() {
export GOPATH="${TERMUX_COMMON_CACHEDIR}/go-path" GOCACHE="${TERMUX_COMMON_CACHEDIR}/go-build"
mkdir -p "$GOPATH" "$GOCACHE"
if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then
local TERMUX_GO_VERSION=go1.25.6
local TERMUX_GO_SHA256=f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a
local TERMUX_GO_VERSION=go1.26.0
local TERMUX_GO_SHA256=aac1b08a0fb0c4e0a7c1555beb7b59180b05dfc5a3d62e40e9de90cd42f88235
local TERMUX_GO_PLATFORM=linux-amd64

local TERMUX_BUILDGO_FOLDER
Expand Down
Loading