Browse Source

caddy: Update from 1.0.1 to 1.0.3

emacs-27
Fredrik Fornwall 5 years ago
parent
commit
1b8d44fd35
  1. 4
      packages/caddy/build.sh
  2. 4
      scripts/build/setup/termux_setup_golang.sh

4
packages/caddy/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://caddyserver.com/
TERMUX_PKG_DESCRIPTION="Fast, cross-platform HTTP/2 web server"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=1.0.1
TERMUX_PKG_VERSION=1.0.3
TERMUX_PKG_SRCURL=https://github.com/mholt/caddy/archive/v$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=7cbd80c798a0db4195381f730f5409680c6e1239fbc06295b90b34f666a05692
TERMUX_PKG_SHA256=c1c7b337a5008d28c1956fd4f057104a78d0e24b74c30867cea988369b61fed3
termux_step_make() {
termux_setup_golang

4
scripts/build/setup/termux_setup_golang.sh

@ -20,7 +20,7 @@ termux_setup_golang() {
fi
if [ "$TERMUX_ON_DEVICE_BUILD" = "false" ]; then
local TERMUX_GO_VERSION=go1.12.7
local TERMUX_GO_VERSION=go1.12.8
local TERMUX_GO_PLATFORM=linux-amd64
local TERMUX_BUILDGO_FOLDER=$TERMUX_COMMON_CACHEDIR/${TERMUX_GO_VERSION}
@ -33,7 +33,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" \
66d83bfb5a9ede000e33c6579a91a29e6b101829ad41fffb5c5bb6c900e109d9
bd26cd4962a362ed3c11835bca32c2e131c2ae050304f2c4df9fa6ded8db85d2
( cd "$TERMUX_COMMON_CACHEDIR"; tar xf "$TERMUX_BUILDGO_TAR"; mv go "$TERMUX_BUILDGO_FOLDER"; rm "$TERMUX_BUILDGO_TAR" )
else

Loading…
Cancel
Save