Bug 18286

Summary: mailx, which is part of Unix 98, does not exist
Product: Base System Reporter: pfeifer <pfeifer>
Component: miscAssignee: Mike Heffner <mikeh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   

Description pfeifer 2000-04-29 01:20:01 UTC
mailx, which is part of Unix 98 (http://www.UNIX-systems.org/), does
not exist in FreeBSD 3.x, nor 4.x or 5.x, as far as I could see.

This is bad, as this renders writing portable scripts extremely hard.
Solaris, AIX, and DEC OSF do have this program, for example.

Fix: 

There is a mailx entry in the ports tree that might be moved into the
base system, but I'm not sure whether that indeed is compliant with
the standard.
How-To-Repeat: `which mailx` on any vanilla FreeBSD installation.
Comment 1 hoek freebsd_committer freebsd_triage 2000-05-09 03:53:05 UTC
State Changed
From-To: open->closed

PRs that fall into the "wish" class need to include patches.  Moving 
something from the ports into the base system is not so simple as 
"cvs import".  Sources need to be reviewed with a closer eye towards 
security and a bmake skeleton needs to be written. 

Comment 2 pfeifer 2002-02-16 11:50:39 UTC
Mike, could you please consider MFCing the following (and possible
related changes) to usr.bin/mail?

  Makefile revision 1.8
  date: 2002/01/19 23:47:21;  author: mikeh;  state: Exp;  lines: +2 -2
  Link mail(1) to mailx per POSIX. Mail(1) isn't 100% POSIX compliant,
  but it is pretty close.

  Not objected to by: -standards

I believe this would fix
  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=misc/18286
which was incorrectly closed, IMO.

Thanks,
Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
Comment 3 Mike Heffner freebsd_committer freebsd_triage 2002-02-17 20:36:45 UTC
State Changed
From-To: closed->analyzed

This will be fixed by MFCing -current changes. 


Comment 4 Mike Heffner freebsd_committer freebsd_triage 2002-02-17 20:36:45 UTC
Responsible Changed
From-To: freebsd-bugs->mikeh

My MFC reminder.
Comment 5 Mike Heffner freebsd_committer freebsd_triage 2002-03-16 01:40:27 UTC
State Changed
From-To: analyzed->closed

Fix MFC'd.