X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=1bbaa2a19999502a3ae8539a341f8c444aa093fa;hb=28441d0c2fd31e198c33c3e967faee6b32e512c1;hp=c8f0d760a254f5ac7cd4c7a4885f1775b9958aaf;hpb=4889e529cd1bbbf8a02a1d7062f2b954438ffe36;p=gogost.git diff --git a/makedist.sh b/makedist.sh index c8f0d76..1bbaa2a 100755 --- a/makedist.sh +++ b/makedist.sh @@ -9,34 +9,11 @@ redo-ifchange streebog256 git clone . $tmp/gogost-$release cd $tmp/gogost-$release git checkout v$release -redo module-name VERSION -mod_name=`cat module-name` - -crypto_mod_path=$(sed -n 's#^require \(golang.org/x/crypto\) \(.*\)$#\1@\2#p' go.mod) -mkdir -p src/$mod_name -mv \ - gost28147 \ - gost3410 \ - gost34112012256 \ - gost34112012512 \ - gost341194 \ - gost3412128 \ - gost341264 \ - gost3413 \ - mgm \ - prfplus \ - cmd internal gogost.go go.mod go.sum src/$mod_name - -echo $mod_name > module-name -find . -name "*.do" -exec perl -i -npe "s/^go/GOPATH=\`pwd\` go/" {} \; +redo VERSION +go mod vendor mkdir contrib cp ~/work/redo/minimal/do contrib/do -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 < "$tarball".asc +meta4-create -file "$tarball" -mtime "$tarball" -sig "$tarball".asc \ + http://www.gogost.cypherpunks.ru/"$tarball" > "$tarball".meta4 -tarball=gogost-"$release".tar.xz size=$(( $(stat -f %z $tarball) / 1024 )) hash=$(gpg --print-md SHA256 < $tarball) hashsb=$($HOME/work/gogost/streebog256 < $tarball) @@ -109,7 +92,10 @@ release_date=$(date "+%Y-%m-%d") cat < Please send questions regarding the use of GoGOST, bug reports and patches -to mailing list: https://lists.cypherpunks.ru/mailman/listinfo/gost +to mailing list: http://lists.cypherpunks.ru/gost.html EOF cat <