gunzip pygost-"$release".tar.gz
zstd -19 -v pygost-"$release".tar
tarball=pygost-"$release".tar.zst
-gpg --detach-sign --sign --local-user pygost@cypherpunks.ru "$tarball"
-gpg --enarmor < "$tarball".sig |
- sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc
+gpg --armor --detach-sign --sign --local-user pygost@cypherpunks.ru "$tarball"
meta4-create -fn "$tarball" -mtime "$tarball" -sig "$tarball".asc \
http://www.pygost.cypherpunks.ru/"$tarball" \
http://y.www.pygost.cypherpunks.ru/"$tarball" < "$tarball" > "$tarball".meta4
@item @ref{Release $release, $release} @tab $release_date @tab $size KiB @tab
@url{pygost-${release}.tar.zst.meta4, meta4}
@url{pygost-${release}.tar.zst, tar}
-@url{pygost-${release}.tar.zst.sig, sig}
+@url{pygost-${release}.tar.zst.asc, sig}
EOF
cat <<EOF
Source code and its signature for that version can be found here:
http://www.pygost.cypherpunks.ru/pygost-${release}.tar.zst ($size KiB)
- http://www.pygost.cypherpunks.ru/pygost-${release}.tar.zst.sig
+ http://www.pygost.cypherpunks.ru/pygost-${release}.tar.zst.asc
GPG key: F55A 7619 3A0C 323A A031 0E6B E6FD 1269 CD0C 009E
PyGOST releases <pygost at cypherpunks dot ru>
Исходный код и его подпись для этой версии могут быть найдены здесь:
http://www.pygost.cypherpunks.ru/pygost-${release}.tar.zst ($size KiB)
- http://www.pygost.cypherpunks.ru/pygost-${release}.tar.zst.sig
+ http://www.pygost.cypherpunks.ru/pygost-${release}.tar.zst.asc
GPG ключ: F55A 7619 3A0C 323A A031 0E6B E6FD 1269 CD0C 009E
PyGOST releases <pygost at cypherpunks dot ru>
http://lists.cypherpunks.ru/gost.html
EOF
-mv $tmp/$tarball $tmp/"$tarball".sig $tmp/"$tarball".meta4 $cur/pygost.html/
+mv $tmp/$tarball $tmp/"$tarball".asc $tmp/"$tarball".meta4 $cur/pygost.html/