From 3da76dfd647abbf8e7915b4e3c03fab1bf9acd3b Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 16 Jul 2021 22:39:09 +0300 Subject: [PATCH] golang: update to 1.16.6 --- packages/golang/build.sh | 4 ++-- scripts/build/setup/termux_setup_golang.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/golang/build.sh b/packages/golang/build.sh index 5b82c4b9b..943f09e39 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -2,11 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_DESCRIPTION="Go programming language compiler" TERMUX_PKG_LICENSE="BSD 3-Clause" TERMUX_PKG_MAINTAINER="@termux" -_MAJOR_VERSION=1.16.5 +_MAJOR_VERSION=1.16.6 # Use the ~ deb versioning construct in the future: TERMUX_PKG_VERSION=2:${_MAJOR_VERSION} TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz -TERMUX_PKG_SHA256=7bfa7e5908c7cc9e75da5ddf3066d7cbcf3fd9fa51945851325eebc17f50ba80 +TERMUX_PKG_SHA256=a3a5d4bc401b51db065e4f93b523347a4d343ae0c0b08a65c3423b05a138037d TERMUX_PKG_DEPENDS="clang" TERMUX_PKG_NO_STATICSPLIT=true diff --git a/scripts/build/setup/termux_setup_golang.sh b/scripts/build/setup/termux_setup_golang.sh index 79cb67967..c9ffa3d59 100644 --- a/scripts/build/setup/termux_setup_golang.sh +++ b/scripts/build/setup/termux_setup_golang.sh @@ -1,7 +1,7 @@ # Utility function for golang-using packages to setup a go toolchain. termux_setup_golang() { if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then - local TERMUX_GO_VERSION=go1.16.5 + local TERMUX_GO_VERSION=go1.16.6 local TERMUX_GO_PLATFORM=linux-amd64 local TERMUX_BUILDGO_FOLDER @@ -20,7 +20,7 @@ termux_setup_golang() { rm -Rf "$TERMUX_COMMON_CACHEDIR/go" "$TERMUX_BUILDGO_FOLDER" termux_download https://golang.org/dl/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}.tar.gz \ "$TERMUX_BUILDGO_TAR" \ - b12c23023b68de22f74c0524f10b753e7b08b1504cb7e417eccebdd3fae49061 + be333ef18b3016e9d7cb7b1ff1fdb0cac800ca0be4cf2290fe613b3d069dfe0d ( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" ) else