Bug#939165: nmh: spost execs /usr/lib/mh/nmh/post, could do with s:nmh/::

2019-09-03 Thread Alexander Zangerl
On Sun, 01 Sep 2019 21:33:34 +0200, Robert Waldner writes:
>Upgraded jessie->strecch->buster, spost no longer coooperated. When used
>via exmh I got
>"/usr/lib/mh/spost: 13: exec: /usr/lib/mh/nmh/post: not found"

thanks. i'll fix that in the next upload. however: spost has been
marked deprecated and superseded by post since the 1.6 release, and
you should very likely change your postproc in .mh_profile to post.

cheers
az


-- 
Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + http://snafu.priv.at/
A)bort, R)etry, P)ee in drive door


signature.asc
Description: Digital Signature


Bug#939165: nmh: spost execs /usr/lib/mh/nmh/post, could do with s:nmh/::

2019-09-01 Thread Robert Waldner
Package: nmh
Version: 1.7.1-4
Severity: normal
Tags: patch

Dear Maintainer (hi az!),

Upgraded jessie->strecch->buster, spost no longer coooperated. When used
via exmh I got
"/usr/lib/mh/spost: 13: exec: /usr/lib/mh/nmh/post: not found"

Fixed the path in spost to no longer contain the nmh part, everything works
again as expected. Looked at the source from testing, too - doesn't seem to
be fixed there, either.

Patch is as simple as:

===
$ diff -u ./nmh-1.7.1/debian/nmh/usr/lib/mh/spost /usr/lib/mh/spost
--- ./nmh-1.7.1/debian/nmh/usr/lib/mh/spost 2019-02-12 05:58:31.0 
+0100
+++ /usr/lib/mh/spost   2019-09-01 21:26:16.338481935 +0200
@@ -10,4 +10,4 @@
 
 prefix=''
 exec_prefix="${prefix}"
-exec "${prefix}/usr/lib/mh/nmh/post" -mts sendmail/pipe "$@"
+exec "${prefix}/usr/lib/mh/post" -mts sendmail/pipe "$@"
=== 

Thanks for continuing to maintain nmh!


cheers,



-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/16 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 
(charmap=ISO-8859-15), LANGUAGE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nmh depends on:
ii  libc6   2.28-10
ii  libcurl47.64.0-4
ii  libdb5.35.3.28+dfsg1-0.5
ii  liblockfile11.14-1.1
ii  libsasl2-2  2.1.27+dfsg-1
ii  libssl1.1   1.1.1c-1
ii  libtinfo6   6.1+20181013-2
ii  mime-support3.62
ii  netbase 5.6
ii  sensible-utils  0.0.12

Versions of packages nmh recommends:
ii  postfix [mail-transport-agent]  3.4.5-1

Versions of packages nmh suggests:
ii  exmh1:2.9.0-1
ii  libmailtools-perl   2.18-1
ii  libmime-tools-perl  5.509-1
pn  mh-book 
pn  mh-e
pn  par 

-- no debconf information