VERSION | 2 +- install.texi | 12 +++--------- makedist.sh | 4 ++++ diff --git a/VERSION b/VERSION index 34f9ca98f52526a7a6977302541789baab393bcedb5229c7bdac2f6d061109df..79bdee7087e7330e5d4bcc9c7d52577c2c8a42bbe8f9a21e9089ddc7e681dc57 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.3.0 +4.3.1 diff --git a/install.texi b/install.texi index 490c133aa30e43bf8dca113b9059f1204882dbcde8d3d6997ed575af18f2b04e..3c40f520f6e170baf23c43af850a03ba98b1f2fb93d1e98eedadc80c32818b56 100644 --- a/install.texi +++ b/install.texi @@ -1,7 +1,7 @@ @node Download @unnumbered Download -@set VERSION 4.3.0 +@set VERSION 4.3.1 Preferable way is to download tarball with the signature from website and, for example, run tests with benchmarks: @@ -12,20 +12,14 @@ $ [fetch|wget] http://www.gogost.cypherpunks.ru/gogost-@value{VERSION}.tar.xz.sig $ 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 -$ redo all +$ redo bench all $ echo hello world | ./streebog256 f72018189a5cfb803dbe1f2149cf554c40093d8e7f81c21e08ac5bcd09d9934d @end example It uses @url{http://cr.yp.to/redo.html, redo} build system for that examples. You can use either dozen of various implementations, or at -least minimalistic POSIX shell @code{apenwarr/do}: - -@example -$ [fetch|wget] https://github.com/apenwarr/redo/raw/master/minimal/do -$ mv do redo ; chmod +x redo -@end example +least minimalistic POSIX shell @command{contrib/do} included in tarball. @include download.texi diff --git a/makedist.sh b/makedist.sh index 916baaa57901ba33ca16b0f1606ada5c034e960e9372222f98b6a60c4b39948a..c686293f6617de2917aab64a6464791f994c0e5c011f89229970eb58fdfb713e 100755 --- a/makedist.sh +++ b/makedist.sh @@ -29,6 +29,9 @@ rm module-name.do clean.do echo $mod_name > module-name find . -name "*.do" -exec perl -i -npe "s/^go/GOPATH=\`pwd\` go/" {} \; +perl -i -npe "s/UNKNOWN/v$release/" src/$mod_name/gogost.go +mkdir contrib +cp ~/work/redo/minimal/do contrib/do mkdir -p src/golang.org/x/crypto ( cd $GOPATH/pkg/mod/$crypto_mod_path ; \ @@ -74,6 +77,7 @@ rm -f *.texi www.do style.css makedist.sh TODO .gitignore find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; +chmod 755 contrib/do cd .. tar cvf gogost-"$release".tar --uid=0 --gid=0 --numeric-owner gogost-"$release"