3 PATH=$HOME/work/meta4ra/contrib:$PATH
9 [ -x streebog256 ] || go build -o streebog256 ./cmd/streebog256
10 git clone . $tmp/gogost-$release
11 cd $tmp/gogost-$release
12 git checkout v$release
16 cat > download.texi <<EOF
17 You can obtain releases source code prepared tarballs on
18 @url{http://www.gogost.cypherpunks.ru/}.
22 ${MAKEINFO:-makeinfo} --plaintext \
23 --set-customization-variable ASCII_PUNCTUATION=1 \
24 -D "VERSION `cat VERSION`" $@
30 @documentencoding UTF-8
35 mkinfo --output INSTALL $texi
39 @documentencoding UTF-8
44 mkinfo --output NEWS $texi
48 @documentencoding UTF-8
53 mkinfo --output FAQ $texi
57 rm -f $texi *.texi makedist version www.do
59 perl -i -npe "s/test/test -mod=vendor/" bench
61 find . -type d -exec chmod 755 {} +
62 find . -type f -exec chmod 644 {} +
66 tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release"
67 zstd -19 -v gogost-"$release".tar
68 tarball=gogost-"$release".tar.zst
69 gpg --armor --detach-sign --sign --local-user 82343436696FC85A $tarball
70 meta4-create -fn "$tarball" -mtime "$tarball" -sig "$tarball".asc \
71 http://www.gogost.cypherpunks.ru/"$tarball" \
72 http://y.www.gogost.cypherpunks.ru/"$tarball" < "$tarball" > "$tarball".meta4
74 size=$(( $(stat -f %z $tarball) / 1024 ))
75 release_date=$(date "+%Y-%m-%d")
78 An entry for documentation:
79 @item @ref{Release $release, $release} @tab $release_date @tab $size KiB @tab
80 @url{$tarball.meta4, meta4}
82 @url{$tarball.asc, sig}
86 Subject: [EN] GoGOST $release release announcement
88 I am pleased to announce GoGOST $release release availability!
90 GoGOST is free software pure Go GOST cryptographic functions library.
91 GOST is GOvernment STandard of Russian Federation (and Soviet Union).
93 ------------------------ >8 ------------------------
95 The main improvements for that release are:
98 ------------------------ >8 ------------------------
100 GoGOST'es home page is: http://www.gogost.cypherpunks.ru/
102 Source code and its signature for that version can be found here:
104 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst ($size KiB)
105 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst.asc
107 GPG key: CEBD 1282 2C46 9C02 A81A 0467 8234 3436 696F C85A
108 GoGOST releases <gogost at cypherpunks dot ru>
110 Please send questions regarding the use of GoGOST, bug reports and patches
111 to mailing list: http://lists.cypherpunks.ru/gost.html
115 Subject: [RU] Состоялся релиз GoGOST $release
117 Я рад сообщить о выходе релиза GoGOST $release!
119 GoGOST это свободное программное обеспечение реализующее
120 криптографические функции ГОСТ на чистом Go. ГОСТ -- ГОсударственный
121 СТандарт Российской Федерации (а также Советского Союза).
123 ------------------------ >8 ------------------------
125 Основные усовершенствования в этом релизе:
128 ------------------------ >8 ------------------------
130 Домашняя страница GoGOST: http://www.gogost.cypherpunks.ru/
132 Исходный код и его подпись для этой версии могут быть найдены здесь:
134 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst ($size KiB)
135 http://www.gogost.cypherpunks.ru/gogost-${release}.tar.zst.asc
137 GPG ключ: CEBD 1282 2C46 9C02 A81A 0467 8234 3436 696F C85A
138 GoGOST releases <gogost at cypherpunks dot ru>
140 Пожалуйста, все вопросы касающиеся использования GoGOST, отчёты об
141 ошибках и патчи отправляйте в gost почтовую рассылку:
142 http://lists.cypherpunks.ru/gost.html
145 mv $tmp/$tarball $tmp/"$tarball".asc $tmp/"$tarball".meta4 $cur/gogost.html/