From: Sergey Matveev Date: Mon, 5 Nov 2018 17:25:12 +0000 (+0300) Subject: Add release date to downloads X-Git-Tag: 3.0~28 X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=commitdiff_plain;h=ca148b380d86e5f1c64abcf803faceba02a834ac Add release date to downloads --- diff --git a/download.texi b/download.texi new file mode 100644 index 0000000..a948d8d --- /dev/null +++ b/download.texi @@ -0,0 +1,98 @@ +@node Download +@unnumbered Download + +Preferable way is to download tarball with the signature from +website and, for example, run tests with benchmarks: + +@verbatim +% wget http://gogost.cypherpunks.ru/gogost-1.1.tar.xz +% wget http://gogost.cypherpunks.ru/gogost-1.1.tar.xz.sig +% gpg --verify gogost-1.1.tar.xz.sig gogost-1.1.tar.xz +% xz -d < gogost-1.1.tar.xz | tar xf - +% make -C gogost-1.1 all bench +% echo hello world | ./gogost-1.1/streebog256 +f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d +@end verbatim + +And then you can include its source code in your project for example +like this: + +@verbatim +% mkdir -p myproj/src +% export GOPATH=$PWD/myproj +% cd myproj/src +% cat > main.go < +@end verbatim + +@itemize + +@item @url{https://lists.cypherpunks.ru/mailman/listinfo/gost, gost} maillist + +@item +@verbatim +% gpg --keyserver hkp://keys.gnupg.net/ --recv-keys 0x82343436696FC85A +% gpg --auto-key-locate dane --locate-keys gogost at cypherpunks dot ru +% gpg --auto-key-locate wkd --locate-keys gogost at cypherpunks dot ru +@end verbatim + +@item +@verbatiminclude PUBKEY.asc + +@end itemize + +You can obtain development source code by cloning +@url{http://git-scm.com/, Git} +@url{https://git.cypherpunks.ru/cgit.cgi/gogost.git/}. diff --git a/makedist.sh b/makedist.sh index 677395f..c427ee9 100755 --- a/makedist.sh +++ b/makedist.sh @@ -32,10 +32,11 @@ tarball=gogost-"$release".tar.xz size=$(( $(wc -c < $tarball) / 1024 )) hash=$(gpg --print-md SHA256 < $tarball) hashsb=$($HOME/work/gogost/streebog256 < $tarball) +release_date=$(date "+%Y-%m-%d") cat < main.go < -@end verbatim - -@itemize - -@item @url{https://lists.cypherpunks.ru/mailman/listinfo/gost, gost} maillist - -@item -@verbatim -% gpg --keyserver hkp://keys.gnupg.net/ --recv-keys 0x82343436696FC85A -% gpg --auto-key-locate dane --locate-keys gogost at cypherpunks dot ru -% gpg --auto-key-locate wkd --locate-keys gogost at cypherpunks dot ru -@end verbatim - -@item -@verbatiminclude PUBKEY.asc - -@end itemize - -You can obtain development source code by cloning -@url{http://git-scm.com/, Git} -@url{https://git.cypherpunks.ru/cgit.cgi/gogost.git/}. +@include news.texi +@include download.texi @bye