X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=INSTALL;h=1f4d3aa64d9532d24d5eec8d3eab08bdb0ab1200;hb=c40d1e5634cf6d540d908a57423f4b504e39f186;hp=06e6e6725fdd95162c57937c42cfb042b720a63a;hpb=7da9d112af869533c29ab19cee07013e94c8fac2;p=gogost.git diff --git a/INSTALL b/INSTALL index 06e6e67..1f4d3aa 100644 --- a/INSTALL +++ b/INSTALL @@ -1,19 +1,19 @@ Preferable way is to download tarball with the signature from official website and, for example, run tests with benchmarks: - $ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz - $ wget http://gogost.cypherpunks.ru/gogost-4.1.0.tar.xz.sig - $ gpg --verify gogost-4.1.0.tar.xz.sig gogost-4.1.0.tar.xz - $ xz -d < gogost-4.1.0.tar.xz | tar xf - - $ make -C gogost-4.1.0 all bench - $ echo hello world | ./gogost-4.1.0/streebog256 + $ [fetch|wget] http://gogost.cypherpunks.ru/gogost-4.2.0.tar.xz + $ [fetch|wget] http://gogost.cypherpunks.ru/gogost-4.2.0.tar.xz.sig + $ gpg --verify gogost-4.2.0.tar.xz.sig gogost-4.2.0.tar.xz + $ xz -d < gogost-4.2.0.tar.xz | tar xf - + $ make -C gogost-4.2.0 all bench + $ echo hello world | ./gogost-4.2.0/streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d And then you can include its source code in your project for example like this: $ mkdir -p myproj/src - $ cp -r gogost-4.1.0/src/go.cypherpunks.ru myproj/src + $ cp -r gogost-4.2.0/src/go.cypherpunks.ru myproj/src $ export GOPATH=$PWD/myproj $ cd myproj/src $ cat > main.go < /home/stargrave/gogost-4.1.0/src/go.cypherpunks.ru/gogost/v4 + require go.cypherpunks.ru/gogost/v4 v4.2.0 + replace go.cypherpunks.ru/gogost/v4 => /home/stargrave/gogost-4.2.0/src/go.cypherpunks.ru/gogost/v4