From ef8ca3bc02ac0476d4418fe0fbdb99505ac64f41 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 23 Jul 2024 12:07:40 +0300 Subject: [PATCH] Prepare for the next release --- doc/building.texi | 5 +---- doc/install.texi | 2 +- doc/news.ru.texi | 16 ++++++++++++++++ doc/news.texi | 16 ++++++++++++++++ makedist | 7 ++----- src/nncp.go | 2 +- 6 files changed, 37 insertions(+), 11 deletions(-) diff --git a/doc/building.texi b/doc/building.texi index 3e8b5b9..4da6a67 100644 --- a/doc/building.texi +++ b/doc/building.texi @@ -2,10 +2,7 @@ @cindex building @section Build instructions -Make sure that Go 1.20+ is installed. Beware, that @strong{currently} -building with Go 1.22 is impossible unless @ref{noyggdrasil, -@code{noyggdrasil}} tag is set. - +Make sure that Go 1.22+ is installed. Go can be installed from packages or @url{https://go.dev/doc/install/source, build manually}: diff --git a/doc/install.texi b/doc/install.texi index a95adad..7ffae61 100644 --- a/doc/install.texi +++ b/doc/install.texi @@ -50,7 +50,7 @@ NNCP should run on any POSIX-compatible operating system. @pindex go @pindex texinfo NNCP is written on @url{https://go.dev/, Go} programming language -and you have to install Go compiler 1.20+ version. +and you have to install Go compiler 1.22+ version. @url{http://cr.yp.to/redo.html, redo} build system is recommended for convenience. @url{https://www.gnu.org/software/texinfo/, Texinfo} is used for building documentation (although tarballs already include it). diff --git a/doc/news.ru.texi b/doc/news.ru.texi index f865beb..4fe9c02 100644 --- a/doc/news.ru.texi +++ b/doc/news.ru.texi @@ -1,6 +1,22 @@ @node Новости @section Новости +@node Релиз 8.11.0 +@subsection Релиз 8.11.0 +@itemize + +@item +Исправлена невозможность сборки под Go 1.22. Теперь это минимальная версия. + +@item +Обновлены зависимые библиотеки. + +@item +@code{go.cypherpunks.ru} имя Go модуля изменено на @code{go.cypherpunks.su}, +так как домен скоро исчезнет. + +@end itemize + @node Релиз 8.10.0 @subsection Релиз 8.10.0 @itemize diff --git a/doc/news.texi b/doc/news.texi index 445bb6d..bcd224b 100644 --- a/doc/news.texi +++ b/doc/news.texi @@ -4,6 +4,22 @@ See also this page @ref{Новости, on russian}. +@node Release 8_11_0 +@section Release 8.11.0 +@itemize + +@item +Fixed buildability under Go 1.22. Now it is the minimal version. + +@item +Updated dependant libraries. + +@item +@code{go.cypherpunks.ru} Go module name is changed to @code{go.cypherpunks.su}, +as domain will expire soon. + +@end itemize + @node Release 8_10_0 @section Release 8.10.0 @itemize diff --git a/makedist b/makedist index f0b84f1..3c84be6 100755 --- a/makedist +++ b/makedist @@ -103,8 +103,6 @@ rm -r doc/.well-known ######################################################################## -perl -i -npe "s/GO build/GO build -mod=vendor/" bin/build -perl -i -npe "s/GO list/GO list -mod=vendor/" bin/build rm makedist version rm -r .git t redo-cleanup full @@ -114,12 +112,11 @@ find . -type f -name "*.sh" -exec chmod +x {} + chmod +x bin/build install install-strip uninstall cd .. -tar cvf nncp-"$release".tar --uid=0 --gid=0 --numeric-owner nncp-"$release" -xz -9v nncp-"$release".tar +detpax nncp-"$release" | xz -9v >nncp-"$release".tar.xz tarball=nncp-"$release".tar.xz ssh-keygen -Y sign -f ~/.ssh/sign/releases@nncpgo.org -n file $tarball gpg --armor --detach-sign --sign --local-user releases@nncpgo.org "$tarball" -meta4-create -fn "$tarball" -mtime "$tarball" \ +meta4ra-create -fn "$tarball" -mtime "$tarball" \ -sig-pgp "$tarball".asc -sig-ssh "$tarball".sig \ http://www.nncpgo.org/download/"$tarball" \ http://y.www.nncpgo.org/download/"$tarball" \ diff --git a/src/nncp.go b/src/nncp.go index 1242089..9bfdb97 100644 --- a/src/nncp.go +++ b/src/nncp.go @@ -39,7 +39,7 @@ along with this program. If not, see .` ) var ( - Version string = "8.10.0" + Version string = "8.11.0" Base32Codec *base32.Encoding = base32.StdEncoding.WithPadding(base32.NoPadding) ) -- 2.48.1