Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 14:47:42 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382323 - head/mail/mailx/files
Message-ID:  <201503261447.t2QElgfO010139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Mar 26 14:47:41 2015
New Revision: 382323
URL: https://svnweb.freebsd.org/changeset/ports/382323
QAT: https://qat.redports.org/buildarchive/r382323/

Log:
  mail/mailx: set zero arg to sendmail, not send-mail
  
  This was probably a decade old oversight, but mail has spawned as
  "sendmail" but set with first argument as "send-mail", requiring mail
  wrapper to know both sendmail and send-mail.  The path and zero argument
  should match, so let's do that here.
  
  Taken from:	DragonFly

Added:
  head/mail/mailx/files/patch-names.c   (contents, props changed)

Added: head/mail/mailx/files/patch-names.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailx/files/patch-names.c	Thu Mar 26 14:47:41 2015	(r382323)
@@ -0,0 +1,11 @@
+--- names.c.intermediate	2015-03-09 09:59:41 UTC
++++ names.c
+@@ -502,7 +502,7 @@ unpack(np)
+ 		extra++;
+ 	top = (char **) salloc((t + extra) * sizeof *top);
+ 	ap = top;
+-	*ap++ = "send-mail";
++	*ap++ = "sendmail";
+ #if MAILX
+ 	*ap++ = "-t";
+ #else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503261447.t2QElgfO010139>