Merge branch 'mailutils-system-sendmail'

* mailutils-system-sendmail:
  mailutils: use system-sendmail instead of sendmailPath
This commit is contained in:
Léo Gaspard 2019-02-07 17:38:45 +01:00
commit fec445d9ba
No known key found for this signature in database
GPG Key ID: 771E7AD1170FE690
2 changed files with 10 additions and 2 deletions

View File

@ -387,6 +387,14 @@
root CA (for example Let's Encrypt).
</para>
</listitem>
<listitem>
<para>
<literal>mailutils</literal> now works by default when
<literal>sendmail</literal> is not in a setuid wrapper. As a consequence,
the <literal>sendmailPath</literal> argument, having lost its main use, has
been removed.
</para>
</listitem>
</itemizedlist>
</section>

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, autoreconfHook, dejagnu, gettext, pkgconfig
, gdbm, pam, readline, ncurses, gnutls, guile, texinfo, gnum4, sasl, fribidi, nettools
, python, gss, mysql, sendmailPath ? "/run/wrappers/bin/sendmail" }:
, python, gss, mysql, system-sendmail }:
stdenv.mkDerivation rec {
name = "${project}-${version}";
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
"--with-gssapi"
"--with-gsasl"
"--with-mysql"
"--with-path-sendmail=${sendmailPath}"
"--with-path-sendmail=${system-sendmail}/bin/sendmail"
];
readmsg-tests = let