8 redo-ifchange streebog256
9 git clone . $tmp/gogost-$release
10 cd $tmp/gogost-$release
11 git checkout v$release
15 cp ~/work/redo/apenwarr/minimal/do contrib/do
17 cat > download.texi <<EOF
18 You can obtain releases source code prepared tarballs on
19 @url{http://www.gogost.cypherpunks.ru/}.
23 ${MAKEINFO:-makeinfo} --plaintext \
24 --set-customization-variable ASCII_PUNCTUATION=1 \
25 -D "VERSION `cat VERSION`" $@
31 @documentencoding UTF-8
36 mkinfo --output INSTALL $texi
40 @documentencoding UTF-8
45 mkinfo --output NEWS $texi
49 @documentencoding UTF-8
54 mkinfo --output FAQ $texi
69 perl -i -npe "s/build/build -mod=vendor/" default.do
70 perl -i -npe "s/test/test -mod=vendor/" bench.do
72 find . -type d -exec chmod 755 {} +
73 find . -type f -exec chmod 644 {} +
77 tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release"
78 zstd -19 -v gogost-"$release".tar
79 tarball=gogost-"$release".tar.zst
80 gpg --detach-sign --sign --local-user 82343436696FC85A $tarball
81 gpg --enarmor < "$tarball".sig |
82 sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc
83 meta4-create -fn "$tarball" -mtime "$tarball" -sig "$tarball".asc \
84 http://www.gogost.cypherpunks.ru/"$tarball" \
85 http://y.www.gogost.cypherpunks.ru/"$tarball" < "$tarball" > "$tarball".meta4
87 size=$(( $(stat -f %z $tarball) / 1024 ))
88 release_date=$(date "+%Y-%m-%d")
91 An entry for documentation:
92 @item @ref{Release $release, $release} @tab $release_date @tab $size KiB @tab
93 @url{$tarball.meta4, meta4}
95 @url{$tarball.sig, sig}
99 Subject: [EN] GoGOST $release release announcement
101 I am pleased to announce GoGOST $release release availability!
103 GoGOST is free software pure Go GOST cryptographic functions library.
104 GOST is GOvernment STandard of Russian Federation (and Soviet Union).
106 ------------------------ >8 ------------------------
108 The main improvements for that release are:
111 ------------------------ >8 ------------------------
113 GoGOST'es home page is: http://www.gogost.cypherpunks.ru/
115 Source code and its signature for that version can be found here:
117 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst ($size KiB)
118 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst.sig
120 GPG key: CEBD 1282 2C46 9C02 A81A 0467 8234 3436 696F C85A
121 GoGOST releases <gogost at cypherpunks dot ru>
123 Please send questions regarding the use of GoGOST, bug reports and patches
124 to mailing list: http://lists.cypherpunks.ru/gost.html
128 Subject: [RU] Состоялся релиз GoGOST $release
130 Я рад сообщить о выходе релиза GoGOST $release!
132 GoGOST это свободное программное обеспечение реализующее
133 криптографические функции ГОСТ на чистом Go. ГОСТ -- ГОсударственный
134 СТандарт Российской Федерации (а также Советского Союза).
136 ------------------------ >8 ------------------------
138 Основные усовершенствования в этом релизе:
141 ------------------------ >8 ------------------------
143 Домашняя страница GoGOST: http://www.gogost.cypherpunks.ru/
145 Исходный код и его подпись для этой версии могут быть найдены здесь:
147 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst ($size KiB)
148 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst.sig
150 GPG ключ: CEBD 1282 2C46 9C02 A81A 0467 8234 3436 696F C85A
151 GoGOST releases <gogost at cypherpunks dot ru>
153 Пожалуйста, все вопросы касающиеся использования GoGOST, отчёты об
154 ошибках и патчи отправляйте в gost почтовую рассылку:
155 http://lists.cypherpunks.ru/gost.html
158 mv $tmp/$tarball $tmp/"$tarball".sig $tmp/"$tarball".meta4 $cur/gogost.html/