X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=1bbaa2a19999502a3ae8539a341f8c444aa093fa;hb=7bed9561c7c09958ad1268b397058431fd3362bc;hp=433fc9cb854591351884469d7f06964ab59c6d5c;hpb=5cebc6fc16677fa449295a5afff018fd9f0a622c;p=gogost.git diff --git a/makedist.sh b/makedist.sh index 433fc9c..1bbaa2a 100755 --- a/makedist.sh +++ b/makedist.sh @@ -70,16 +70,20 @@ rm -f \ perl -i -npe "s/build/build -mod=vendor/" default.do perl -i -npe "s/test/test -mod=vendor/" bench.do -find . -type d -exec chmod 755 {} \; -find . -type f -exec chmod 644 {} \; +find . -type d -exec chmod 755 {} + +find . -type f -exec chmod 644 {} + chmod +x contrib/do cd .. tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release" -xz -9 gogost-"$release".tar -gpg --detach-sign --sign --local-user 82343436696FC85A gogost-"$release".tar.xz +zstd -19 -v gogost-"$release".tar +tarball=gogost-"$release".tar.zst +gpg --detach-sign --sign --local-user 82343436696FC85A $tarball +gpg --enarmor < "$tarball".sig | + sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$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) @@ -88,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 <