X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=d7f992e1b9a80c74824d77864313c454faa5b9b7;hb=d2b0d4b0f57745d7d09b9cea552235fe31e5db36;hp=8647c55dbab6a2b0c81cbff53c1dbdd15b8821d4;hpb=413f4f7b7e0378389b4415236d02c784183efe78;p=gogost.git diff --git a/makedist.sh b/makedist.sh index 8647c55..d7f992e 100755 --- a/makedist.sh +++ b/makedist.sh @@ -5,44 +5,97 @@ tmp=$(mktemp -d) release=$1 [ -n "$release" ] +redo-ifchange module-name streebog256 +mod_name=`cat module-name` git clone . $tmp/gogost-$release cd $tmp/gogost-$release -git checkout $release -git submodule update --init - -mkdir -p src/cypherpunks.ru/gogost/vendor -cat > $tmp/includes < module-name +find . -name "*.do" -exec perl -i -npe "s/^go/GOPATH=\`pwd\` go/" {} \; + +mkdir -p src/golang.org/x/crypto +( cd $GOPATH/pkg/mod/$crypto_mod_path ; \ + tar cf - AUTHORS CONTRIBUTORS LICENSE PATENTS README.md pbkdf2 hkdf ) | + tar xfC - src/golang.org/x/crypto + +cat > download.texi < $texi < $texi < $texi <8 ------------------------ -GoGOST'es home page is: http://www.cypherpunks.ru/gogost/ +GoGOST'es home page is: http://www.gogost.cypherpunks.ru/ Source code and its signature for that version can be found here: - http://www.cypherpunks.ru/gogost/gogost-${release}.tar.xz ($size KiB) - http://www.cypherpunks.ru/gogost/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 @@ -88,12 +141,12 @@ GoGOST это свободное программное обеспечение ------------------------ >8 ------------------------ -Домашняя страница GoGOST: http://www.cypherpunks.ru/gogost/ +Домашняя страница GoGOST: http://www.gogost.cypherpunks.ru/ Исходный код и его подпись для этой версии могут быть найдены здесь: - http://www.cypherpunks.ru/gogost/gogost-${release}.tar.xz ($size KiB) - http://www.cypherpunks.ru/gogost/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