From bedfd17f7ede7577478a11888cbf1b362fe56a28 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 6 Mar 2019 22:57:19 +0100 Subject: [PATCH] go: Update from 1.11.5 to 1.12 --- 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 98924f0b1..f8787b579 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -1,8 +1,8 @@ TERMUX_PKG_HOMEPAGE=https://golang.org/ TERMUX_PKG_DESCRIPTION="Go programming language compiler" TERMUX_PKG_LICENSE="BSD 3-Clause" -local _MAJOR_VERSION=1.11.5 -TERMUX_PKG_SHA256=bc1ef02bb1668835db1390a2e478dcbccb5dd16911691af9d75184bbe5aa943e +local _MAJOR_VERSION=1.12 +TERMUX_PKG_SHA256=09c43d3336743866f2985f566db0520b36f4992aea2b4b2fd9f52f17049e88f2 # 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 diff --git a/scripts/build/setup/termux_setup_golang.sh b/scripts/build/setup/termux_setup_golang.sh index 24578c369..80622d7ec 100644 --- a/scripts/build/setup/termux_setup_golang.sh +++ b/scripts/build/setup/termux_setup_golang.sh @@ -17,7 +17,7 @@ termux_setup_golang() { termux_error_exit "Unsupported arch: $TERMUX_ARCH" fi - local TERMUX_GO_VERSION=go1.11.5 + local TERMUX_GO_VERSION=go1.12 local TERMUX_GO_PLATFORM=linux-amd64 local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION} @@ -30,7 +30,7 @@ termux_setup_golang() { rm -Rf "$TERMUX_COMMON_CACHEDIR/go" "$TERMUX_BUILDGO_FOLDER" termux_download https://storage.googleapis.com/golang/${TERMUX_GO_VERSION}.${TERMUX_GO_PLATFORM}.tar.gz \ "$TERMUX_BUILDGO_TAR" \ - ff54aafedff961eb94792487e827515da683d61a5f9482f668008832631e5d25 + 750a07fef8579ae4839458701f4df690e0b20b8bcce33b437e4df89c451b6f13 ( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" ) }