Package: heirloom-mailx Version: 12.5-3.1 Severity: serious Tags: patch Debian Policy §11.6 states that:
Debian packages which process electronic mail, whether mail user agents (MUAs) or mail transport agents (MTAs), must ensure that they are compatible with the configuration decisions below. [...] The mail spool is /var/mail and the interface to send a mail message is /usr/sbin/sendmail (as per the FHS). However, mailx only looks for sendmail at /usr/lib/sendmail, which results in users being unable to send mail if their MTA only installs sendmail at the location stipulated by policy. The attached debdiff fixes this bug. -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages heirloom-mailx depends on: ii base-files 8 ii libc6 2.19-13 ii libgssapi-krb5-2 1.12.1+dfsg-16 ii libssl1.0.0 1.0.1k-1 heirloom-mailx recommends no packages. Versions of packages heirloom-mailx suggests: ii opensmtpd [mail-transport-agent] 5.4.2p1-3 -- no debconf information
diff -Nru heirloom-mailx-12.5/debian/changelog heirloom-mailx-12.5/debian/changelog --- heirloom-mailx-12.5/debian/changelog 2014-12-20 01:16:54.000000000 -0500 +++ heirloom-mailx-12.5/debian/changelog 2015-01-27 13:25:26.000000000 -0500 @@ -1,3 +1,13 @@ +heirloom-mailx (12.5-3.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * The sendmail command lives at /usr/sbin/sendmail on Debian systems, as per + Debian Policy §11.6. Update heirloom-mailx to look there instead of at + /usr/lib/sendmail. + + 0015-usr-sbin-sendmail.patch + + -- Ryan Kavanagh <r...@debian.org> Tue, 27 Jan 2015 13:23:26 -0500 + heirloom-mailx (12.5-3.1) unstable; urgency=high * Non-maintainer upload. diff -Nru heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch --- heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch 1969-12-31 19:00:00.000000000 -0500 +++ heirloom-mailx-12.5/debian/patches/0015-usr-sbin-sendmail.patch 2015-01-27 13:21:49.000000000 -0500 @@ -0,0 +1,33 @@ +Description: Sendmail is at /usr/sbin/sendmail + As per Debian Policy §11.6 +Author: Ryan Kavanagh <r...@debian.org> +Origin: Debian +Forwarded: no +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: heirloom-mailx-12.5/Makefile +=================================================================== +--- heirloom-mailx-12.5.orig/Makefile 2011-04-26 17:23:22.000000000 -0400 ++++ heirloom-mailx-12.5/Makefile 2015-01-27 13:20:04.733542801 -0500 +@@ -13,7 +13,7 @@ + + MAILRC = $(SYSCONFDIR)/nail.rc + MAILSPOOL = /var/mail +-SENDMAIL = /usr/lib/sendmail ++SENDMAIL = /usr/sbin/sendmail + + DESTDIR = + +Index: heirloom-mailx-12.5/mailx.1 +=================================================================== +--- heirloom-mailx-12.5.orig/mailx.1 2015-01-27 13:18:49.000000000 -0500 ++++ heirloom-mailx-12.5/mailx.1 2015-01-27 13:20:32.382336867 -0500 +@@ -4922,7 +4922,7 @@ + which just acts as a proxy. + .PP + \fIMailx\fR immediately contacts the SMTP server (or +-.IR \%/usr/lib/sendmail ) ++.IR \%/usr/sbin/sendmail ) + even when operating in + .I disconnected + mode. diff -Nru heirloom-mailx-12.5/debian/patches/series heirloom-mailx-12.5/debian/patches/series --- heirloom-mailx-12.5/debian/patches/series 2014-12-20 01:16:54.000000000 -0500 +++ heirloom-mailx-12.5/debian/patches/series 2015-01-27 13:19:45.000000000 -0500 @@ -5,3 +5,4 @@ 0012-unpack-Disable-option-processing-for-email-addresses.patch 0013-fio.c-Unconditionally-require-wordexp-support.patch 0014-globname-Invoke-wordexp-with-WRDE_NOCMD.patch +0015-usr-sbin-sendmail.patch
signature.asc
Description: Digital signature