From: Sergey Matveev Date: Sun, 27 Sep 2020 20:59:35 +0000 (+0300) Subject: Fix default sendmail path setting X-Git-Tag: v5.4.1^2 X-Git-Url: http://www.git.cypherpunks.ru/?p=nncp.git;a=commitdiff_plain;h=39bc9d1934f10cb1935ec09cfcaa135113af705d Fix default sendmail path setting Thanks to Frank Doepper for finding that bug. --- diff --git a/bin/default.do b/bin/default.do index 8ec11e7..bda5482 100644 --- a/bin/default.do +++ b/bin/default.do @@ -5,7 +5,7 @@ redo-ifchange config gopath module-name mod=`cat module-name` redo-ifchange src/*.go src/cmd/$1/*.go GO_LDFLAGS="$GO_LDFLAGS -X $mod.DefaultCfgPath=$CFGPATH" -GO_LDFLAGS="$GO_LDFLAGS -X $mod.DefaultSpoolPath=$SENDMAIL" +GO_LDFLAGS="$GO_LDFLAGS -X $mod.DefaultSendmailPath=$SENDMAIL" GO_LDFLAGS="$GO_LDFLAGS -X $mod.DefaultSpoolPath=$SPOOLPATH" GO_LDFLAGS="$GO_LDFLAGS -X $mod.DefaultLogPath=$LOGPATH" cd src diff --git a/doc/news.ru.texi b/doc/news.ru.texi index f423162..6f9c98d 100644 --- a/doc/news.ru.texi +++ b/doc/news.ru.texi @@ -1,6 +1,15 @@ @node Новости @section Новости +@node Релиз 5.4.1 +@subsection Релиз 5.4.1 +@itemize + +@item +Исправлена ошибка с учётом @code{SENDMAIL} переменной при сборке. + +@end itemize + @node Релиз 5.4.0 @subsection Релиз 5.4.0 @itemize diff --git a/doc/news.texi b/doc/news.texi index 9d00463..37edcc0 100644 --- a/doc/news.texi +++ b/doc/news.texi @@ -3,6 +3,15 @@ See also this page @ref{Новости, on russian}. +@node Release 5.4.1 +@section Release 5.4.1 +@itemize + +@item +Fixed @code{SENDMAIL} variable usage during the build. + +@end itemize + @node Release 5.4.0 @section Release 5.4.0 @itemize diff --git a/src/nncp.go b/src/nncp.go index d27ed0a..4431663 100644 --- a/src/nncp.go +++ b/src/nncp.go @@ -38,7 +38,7 @@ along with this program. If not, see .` ) var ( - Version string = "5.4.0" + Version string = "5.4.1" Base32Codec *base32.Encoding = base32.StdEncoding.WithPadding(base32.NoPadding) )