Commit Graph

53 Commits

Author SHA1 Message Date
ed
073cafdd42 The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ru
c05985f13f Sort sections. 2005-01-18 20:02:45 +00:00
ru
6cc4b6c220 Added the EXIT STATUS section where appropriate. 2005-01-17 07:44:44 +00:00
ru
6294018a20 Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
mckay
d47c06ea35 Make the example "too large" message in the manual match the updated one
actually sent by ctm_smail since rev 1.13.
2003-07-25 00:48:29 +00:00
obrien
a920d12f89 style.Makefile(5) 2003-04-04 17:49:21 +00:00
ru
4979ab8d81 mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
des
4d6b787d2d Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
charnier
fdbc3fd42a Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
iedowse
388c7f4272 The mode of files created by ctm_rmail was always 0600, even if the
umask was less restrictive. This was caused by the use of mkstemp()
which internally passes a mode of 0600 to open(). Fix this by
explicitly chmod'ing the files to (0666 & ~umask).

PR:		bin/16119
Submitted by:	Sascha Blank <blank@uni-trier.de>
2002-01-22 22:54:52 +00:00
ru
e8e5635e4a Spell "FreeBSD" with "F" and "BSD" in uppercase. 2001-08-13 16:33:00 +00:00
sheldonh
9bfb9eedcd Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by:   David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
obrien
be022bb715 Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
dd
eaa6ee03b8 mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
kris
08e03c8679 * fix ctm(8) to use mkstemp() instead of tempnam() for tempfile
creation.

* Tag the internal err() function with __printflike to allow checking
  for non-constant format string arguments (none exist)

* Use fmtcheck() to sanitize the tar command obtained via -t to make
  sure it doesn't contain extraneous format operators.

Reviewed by:    mikeh
MFC after:      1 week
2001-05-06 03:03:45 +00:00
ru
afd506414e - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
f10dc9aca1 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
ru
4bb5f49662 Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
ru
7d99729431 Use Fx macro wherever possible. 2000-11-14 11:20:58 +00:00
ru
a6f5d950d8 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
gshapiro
2424c7393a Complete migration of aliases file to /etc/mail/aliases.
The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster
have been contacted so those may be updated as well.
2000-08-13 18:38:58 +00:00
chuckr
dcf1104bb0 Correcting SECURITY warning.
Submitted by:	Kris Kennaway
Reviewed by:	Warner Losh
2000-01-29 21:44:42 +00:00
kris
41010e575b Document the (in)security features of CTM, especially ctm_rmail. 2000-01-11 07:46:33 +00:00
kris
0a55bbaf89 Close buffer overflows. This is partially based on an old version of
the fix from OpenBSD.

Reviewed by:	markm
2000-01-09 07:10:04 +00:00
phantom
05186ff58b Remove comments left since mdoc.template time or just useless comments 1999-10-30 15:38:20 +00:00
peter
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
mpp
74991d7076 Some man page cleanup. Make the NAME and SYNOPSIS sections agree so
that whatis(1) will produce the expected results.

Pointed-out-by: Jesus Monroy <jesus.monroy@usa.net> in freebsd-doc
1999-06-24 06:22:24 +00:00
nectar
eb97908cb7 Paranoia: use mkstemp instead of mktemp.
PR:		bin/3211
Reported by:	Mark Pritchard <mpp@FreeBSD.ORG>
1998-07-27 22:26:25 +00:00
cracauer
0009308669 (evil) hackers -> crackers 1998-04-08 12:00:48 +00:00
charnier
6e321f37d4 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
charnier
34a6b27326 Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
jmg
282e436f4f fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4424
1997-08-30 11:05:34 +00:00
peter
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
mckay
2545d6b35b Correct MLINKS, now that I know how it actually works. 1996-12-17 14:28:09 +00:00
mckay
5c577b8f21 Documented ctm_dequeue and the new feature of ctm_smail that goes with it.
Expanded the ctm_rmail example usage section.
1996-12-15 15:10:11 +00:00
wosch
4ef3e1ad64 update SEE ALSO section 1996-05-27 22:46:44 +00:00
phk
4c9fab8cf7 Support for "-u" which sets the timestamp from the delta on the file.
Intended for sup mirrors etc.  Not well tested yet.

Reviewed by:	phk
Submitted by:	Giles Lean <giles@nemeton.com.au>
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1996-04-29 21:02:42 +00:00
phk
88d76e5717 typo in my last commit. 1995-12-26 09:43:40 +00:00
peter
db42dac3f5 A trivial enhancement to ctm_rmail to support the -v option and pass it
through to cvs when unpacking the delta..  (I read the output.. :-)
1995-12-26 02:49:53 +00:00
phk
0ab20d23b0 Remove all trailing white space on the lines.
Suggested by: Phil Taylor <phil@zipmail.co.uk>
1995-12-25 19:35:23 +00:00
bde
299beb9850 Remove -g from CFLAGS. 1995-07-12 18:35:45 +00:00
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
phk
6a942ef2ac Make the +%d-%d part +%03d-%03d so ls(1) sorts the files more sensibly. 1995-03-19 06:09:01 +00:00
phk
80ef2eaf89 (Not tested yet. I may insist that ctm be invoked with absolute path. /phk)
This patch fixes the concurrency problem, and adds a possibly useful -f switch
(which you can read about in the man page :-) ).  It also removes the absolute
path from the invocation of ctm.  I'll write a note about how to use a script
with sendmail and procmail or some such, and people can fix their PATH there.

BTW, this patch changes ctm_rmail.1, ctm_rmail.c and error.c in the ctm_rmail
directory.

Stephen.

Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-25 05:10:18 +00:00
phk
b0562fba08 I (phk) blundered with the last change. Make it right & better now.
Reviewed by:	phk
Submitted by:	John Hay <jhay@mikom.csir.co.za>
1995-02-24 05:41:24 +00:00
phk
5f6ea96090 Make us a little safer, by writing to a tempfile, and rename when done.
Still needs more locking I belive.
1995-02-23 04:51:36 +00:00
phk
21582849dd Use absolute path for the "ctm" program. 1995-02-20 19:07:32 +00:00
phk
c89046c555 Various nitpicking from Stephen.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-15 19:41:38 +00:00