X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=d7f992e1b9a80c74824d77864313c454faa5b9b7;hb=87ff78fe0bc21df95ffb09b4c77bd80ad47c875b;hp=c0bda20d98175f36b5c79162e78cece367a08a1d;hpb=204dbfe18dc8d262f057315b8e55f0041d8e25fa;p=gogost.git diff --git a/makedist.sh b/makedist.sh index c0bda20..d7f992e 100755 --- a/makedist.sh +++ b/makedist.sh @@ -5,11 +5,12 @@ 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 v$release -mod_name=$(sed -n 's/^module //p' go.mod) crypto_mod_path=$(sed -n 's#^require \(golang.org/x/crypto\) \(.*\)$#\1@\2#p' go.mod) mkdir -p src/$mod_name mv \ @@ -25,6 +26,10 @@ mv \ prfplus \ cmd internal gogost.go go.mod go.sum src/$mod_name +rm module-name.do clean.do +echo $mod_name > 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 ) | @@ -32,7 +37,7 @@ mkdir -p src/golang.org/x/crypto cat > download.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 @@ -136,12 +141,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