]> Cypherpunks.ru repositories - pygost.git/blobdiff - makedist
Armored signature
[pygost.git] / makedist
index 08e5c5850007cc183286496adb560cd68f963090..698c101e0d77f9e3c1c85f3f6e69765207d365df 100755 (executable)
--- a/makedist
+++ b/makedist
@@ -10,9 +10,7 @@ cd $tmp
 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
@@ -25,7 +23,7 @@ An entry for documentation:
 @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
@@ -48,7 +46,7 @@ PyGOST'es home page is: http://www.pygost.cypherpunks.ru/
 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>
@@ -78,7 +76,7 @@ PyGOST это свободное программное обеспечение 
 Исходный код и его подпись для этой версии могут быть найдены здесь:
 
     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>
@@ -88,4 +86,4 @@ GPG ключ: F55A 7619 3A0C 323A A031  0E6B E6FD 1269 CD0C 009E
 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/