Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mailx for openSUSE:Factory checked 
in at 2021-11-27 00:50:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mailx (Old)
 and      /work/SRC/openSUSE:Factory/.mailx.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mailx"

Sat Nov 27 00:50:29 2021 rev:44 rq:933261 version:12.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/mailx/mailx.changes      2021-02-01 
14:41:35.720658472 +0100
+++ /work/SRC/openSUSE:Factory/.mailx.new.1895/mailx.changes    2021-11-27 
00:50:49.962903920 +0100
@@ -1,0 +2,7 @@
+Tue Nov 23 12:41:51 UTC 2021 - Dr. Werner Fink <wer...@suse.de>
+
+- Add patch mailx-12.5-systemd.patch to add description how to avoid
+  bugs like bsc#1192916 -- mailx does not send mails unless run via
+  strace or in verbose mode
+
+-------------------------------------------------------------------

New:
----
  mailx-12.5-systemd.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mailx.spec ++++++
--- /var/tmp/diff_new_pack.vEsbId/_old  2021-11-27 00:50:50.662901503 +0100
+++ /var/tmp/diff_new_pack.vEsbId/_new  2021-11-27 00:50:50.662901503 +0100
@@ -26,7 +26,7 @@
 BuildRequires:  update-alternatives
 BuildRequires:  pkgconfig(openssl)
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 URL:            http://heirloom.sourceforge.net/mailx.html
 Provides:       mail
 Recommends:     smtp_daemon
@@ -59,6 +59,8 @@
 Patch13:        mailx-12.5-openssl-1.1.0f.patch
 #PATCH-FIX-SUSE: bsc#1180355 -- mailx calls sendmail with wrong name
 Patch14:        fix-sendmail-name.patch
+#PATCH-FIX-SUSE: bsc#1192916 - mailx does not send mails unless run via strace 
or in verbose mode
+Patch15:        mailx-12.5-systemd.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -84,6 +86,7 @@
 %patch12 -p1 -b .0004
 %patch13 -p0 -b .ssl11f
 %patch14 -p1 -b .sendmail
+%patch15 -p0 -b .systemd
 %patch -p1 -b .0
 
 %build

++++++ mailx-12.5-systemd.patch ++++++
To avoid trouble as descbried in boo#1192916

---
 mailx.1 |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

--- mailx.1
+++ mailx.1     2021-11-23 12:33:48.788947209 +0000
@@ -4793,6 +4793,20 @@ mailaddr(7),
 sendmail(8)
 .SH NOTES
 .PP
+If used in systemd unit files not using
+.B Type=forking
+it is required to set the option
+.I sendwait
+on the command line of
+.BR mailx (1)
+with
+.I \-S sendwait=yes
+as otherwise it might happen that the
+.BR systemd (1)
+service manager will terminate the asynchronously
+started SMTP transfer as described at the option
+.IR smtp.
+.PP
 Variables in the environment passed to
 .I mailx
 cannot be unset.
++++++ mailx-12.5.dif ++++++
--- /var/tmp/diff_new_pack.vEsbId/_old  2021-11-27 00:50:50.714901324 +0100
+++ /var/tmp/diff_new_pack.vEsbId/_new  2021-11-27 00:50:50.714901324 +0100
@@ -265,7 +265,7 @@
  This option should be activated for
  .I mailx
  scripts that are invoked on more than one machine,
-@@ -3111,7 +3111,7 @@ in the user's home directory.
+@@ -3113,7 +3113,7 @@ in the user's home directory.
  The name of an optional startup file
  to be read after ~/.mailrc.
  This variable is ignored if it is imported from the environment;
@@ -274,7 +274,7 @@
  to allow bypassing the configuration with e. g. `MAILRC=/dev/null'.
  Use this file for commands
  that are not understood by other mailx implementations.
-@@ -3688,7 +3688,7 @@ Used as directory for temporary files in
+@@ -3696,7 +3696,7 @@ Used as directory for temporary files in
  ~/.mailrc
  File giving initial commands.
  .TP

Reply via email to