From: Sergey Matveev Date: Fri, 26 Dec 2025 10:37:28 +0000 (+0300) Subject: Update gosha3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1d4804e61ac98447d2c9527fc72e7253757f18b9678e7d53d09f772c65d86639;p=bass.git Update gosha3 --- diff --git a/build/distfiles/.gitignore b/build/distfiles/.gitignore index 69e5827..a0ff2ec 100644 --- a/build/distfiles/.gitignore +++ b/build/distfiles/.gitignore @@ -79,7 +79,7 @@ /golang.org-x-tools-0.18.0-modcache /gomodcache/ /goredo-2.8.0.tar.zst -/gosha3-v1.0.0-modcache +/gosha3-v1.1.0-modcache /gpgme-1.23.2.tar.bz2 /graphviz-11.0.0.tar.xz /grep-3.11.tar.xz diff --git a/build/distfiles/gosha3-v1.0.0-modcache.do b/build/distfiles/gosha3-v1.0.0-modcache.do deleted file mode 100644 index 4005c03..0000000 --- a/build/distfiles/gosha3-v1.0.0-modcache.do +++ /dev/null @@ -1,20 +0,0 @@ -[ -n "$BASS_ROOT" ] || BASS_ROOT="$(dirname "$(realpath -- "$0")")"/../.. -sname=$1.do . "$BASS_ROOT"/lib/rc - -redo-ifchange "$BASS_ROOT"/build/lib/zip-hash/zip-hash -vdir="$GOMODCACHE"/cache/download/go.stargrave.org/gosha3/@v -mkdir -p $vdir -. "$BASS_ROOT"/build/lib/create-tmp-for-build.rc -$JUSTDL tmp http://proxy.go.stargrave.org/go.stargrave.org/gosha3/@v/v1.0.0.zip -$FSYNC tmp -[ "$("$BASS_ROOT"/build/lib/zip-hash/zip-hash tmp)" = "h1:aJJZpPd0pze3vUEdeI7rrhtYfbsBwxGCBAj1KH8u4hA=" ] -mv tmp $vdir/v1.0.0.zip -go mod init dummy -GOPROXY=direct go get go.stargrave.org/gosha3/cmd/goshake128@v1.0.0 -while read mod hsh ; do - [ "$("$BASS_ROOT"/build/lib/zip-hash/zip-hash "$GOMODCACHE"/cache/download/$mod.zip)" = "$hsh" ] -done <