X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=blobdiff_plain;f=makedist.sh;h=433fc9cb854591351884469d7f06964ab59c6d5c;hp=6c79acc4f0ece84765ee378882619e053acc5334;hb=d27ade88208cf35cce14cfad2b2d7e29b68d0761;hpb=b99823a7000e512f39a92e492675606aaeb9f45b diff --git a/makedist.sh b/makedist.sh index 6c79acc..433fc9c 100755 --- a/makedist.sh +++ b/makedist.sh @@ -5,21 +5,74 @@ tmp=$(mktemp -d) release=$1 [ -n "$release" ] +redo-ifchange streebog256 git clone . $tmp/gogost-$release cd $tmp/gogost-$release -git checkout $release - -crypto_path=src/cypherpunks.ru/gogost/vendor/golang.org/x/crypto -mkdir -p $crypto_path -( cd $cur/gopath/pkg/mod/golang.org/x/crypto@v0.0.0-20190701094942-4def268fd1a4 ; \ - tar cf - AUTHORS CONTRIBUTORS LICENSE PATENTS README.md pbkdf2 hkdf ) | - tar xfC - $crypto_path - -find . -name .git -type d | xargs rm -fr -rm -f www* makedist* TODO +git checkout v$release +redo VERSION +go mod vendor +mkdir contrib +cp ~/work/redo/minimal/do contrib/do + +cat > download.texi < $texi < $texi < $texi <8 ------------------------ -GoGOST'es home page is: http://gogost.cypherpunks.ru/ +GoGOST'es home page is: http://www.gogost.cypherpunks.ru/ Source code and its signature for that version can be found here: - http://gogost.cypherpunks.ru/gogost-${release}.tar.xz ($size KiB) - http://gogost.cypherpunks.ru/gogost-${release}.tar.xz.sig + http://www.gogost.cypherpunks.ru/gogost-${release}.tar.xz ($size KiB) + http://www.gogost.cypherpunks.ru/gogost-${release}.tar.xz.sig Streebog-256 hash: $hashsb SHA256 hash: $hash @@ -87,12 +140,12 @@ GoGOST это свободное программное обеспечение ------------------------ >8 ------------------------ -Домашняя страница GoGOST: http://gogost.cypherpunks.ru/ +Домашняя страница GoGOST: http://www.gogost.cypherpunks.ru/ Исходный код и его подпись для этой версии могут быть найдены здесь: - http://gogost.cypherpunks.ru/gogost-${release}.tar.xz ($size KiB) - http://gogost.cypherpunks.ru/gogost-${release}.tar.xz.sig + http://www.gogost.cypherpunks.ru/gogost-${release}.tar.xz ($size KiB) + http://www.gogost.cypherpunks.ru/gogost-${release}.tar.xz.sig Streebog-256 хэш: $hashsb SHA256 хэш: $hash @@ -105,3 +158,4 @@ https://lists.cypherpunks.ru/mailman/listinfo/gost EOF mv $tmp/$tarball $tmp/"$tarball".sig $cur/gogost.html/ +rm -fr $tmp