X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=blobdiff_plain;f=install.texi;h=0ef1621056b4c27a327bc9879c52b65ddfbeaa38;hp=dcb8b25f2604ba50ea4c5fe23a830f3e759a5442;hb=5cebc6fc16677fa449295a5afff018fd9f0a622c;hpb=6d9056bfe4a2d69469a1e70f3bf08f89b377b06e diff --git a/install.texi b/install.texi index dcb8b25..0ef1621 100644 --- a/install.texi +++ b/install.texi @@ -10,7 +10,7 @@ $ [fetch|wget] http://www.gogost.cypherpunks.ru/gogost-@value{VERSION}.tar.xz.si $ gpg --verify gogost-@value{VERSION}.tar.xz.sig gogost-@value{VERSION}.tar.xz $ xz --decompress --stdout gogost-@value{VERSION}.tar.xz | tar xf - $ cd gogost-@value{VERSION} -$ redo bench all +$ redo all $ echo hello world | ./streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d @end example @@ -27,10 +27,9 @@ And then you can include its source code in your project for example like this: @example -$ mkdir -p myproj/src -$ cp -r gogost-@value{VERSION}/src/go.cypherpunks.ru myproj/src -$ export GOPATH=$PWD/myproj -$ cd myproj/src +$ mkdir -p myproj/vendor/go.cypherpunks.ru/gogost +$ mv gogost-@value{VERSION} myproj/vendor/go.cypherpunks.ru/gogost/v5 +$ cd myproj $ cat > main.go < /home/stargrave/gogost-@value{VERSION}/src/go.cypherpunks.ru/gogost/v5 +replace go.cypherpunks.ru/gogost/v5 => /path/to/gogost-@value{VERSION} @end example You can obtain development source code with -@command{git clone git://git.cypherpunks.ru/gogost.git}. +@command{git clone git://git.cypherpunks.ru/gogost.git} +(also you can use @url{https://git.cypherpunks.ru/gogost.git}).