Hiroki Sato
8f14a1af12
Fix gcc build.
...
Spotted by: lidl
2016-12-24 22:51:02 +00:00
Hiroki Sato
39bb7275fb
mdoc fixes.
2016-12-23 04:38:27 +00:00
Hiroki Sato
a04667ab17
- Add -S option to specify the source address/port for UDP communication.
...
- Document -S option.
- Document that -h option supports AF_LOCAL.
- Split preparation of UDP sockets in logmessage() into socksetup().
2016-12-22 23:39:11 +00:00
Simon J. Gerraty
ccfb965433
Add META_MODE support.
...
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
2015-06-13 19:20:56 +00:00
Simon J. Gerraty
44d314f704
dirdeps.mk now sets DEP_RELDIR
2015-06-08 23:35:17 +00:00
Simon J. Gerraty
98e0ffaefb
Merge sync of head
2015-05-27 01:19:58 +00:00
Warren Block
8c2eccbf4b
Describe the behavior when both -f and a message are given. Pointed out by
...
Raphael Abreu <raphael.lorenzeto@gmail.com> on freebsd-doc.
MFC after: 1 week
2015-03-22 01:25:57 +00:00
Simon J. Gerraty
fae50821ae
Updated dependencies
2014-05-16 14:09:51 +00:00
Simon J. Gerraty
76b28ad6ab
Updated dependencies
2014-05-10 05:16:28 +00:00
Simon J. Gerraty
cc3f4b9965
Merge from head
2014-05-08 23:54:15 +00:00
Warner Losh
c6063d0da8
Use src.opts.mk in preference to bsd.own.mk except where we need stuff
...
from the latter.
2014-05-06 04:22:01 +00:00
Simon J. Gerraty
3b8f084595
Merge head
2014-04-28 07:50:45 +00:00
Brad Davis
3e5184c65f
- Clarify usage of the -f option.
...
Reviewed by: gjb@, dru@, and Allan Jude
2014-03-05 02:10:10 +00:00
Simon J. Gerraty
7cf3a1c6b2
Updated dependencies
2013-03-11 17:21:52 +00:00
Simon J. Gerraty
f5f7c05209
Updated dependencies
2013-02-16 01:23:54 +00:00
Simon J. Gerraty
23090366f7
Sync from head
2012-11-04 02:52:03 +00:00
Ed Schouten
39893d565a
Add missing const keywords.
2012-10-19 14:29:03 +00:00
Marcel Moolenaar
7750ad47a9
Sync FreeBSD's bmake branch with Juniper's internal bmake branch.
...
Requested by: Simon Gerraty <sjg@juniper.net>
2012-08-22 19:25:57 +00:00
Ed Schouten
481bce6c91
Add missing static keywords to logger(1)
2011-11-06 08:15:53 +00:00
Edwin Groothuis
8128094045
When specifying the -t option (send tag in front of message), this tag
...
should also be forwarded to the remote logging host, not only when the
logging is done locally.
PR: bin/154324
Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
MFC after: 1 week
2011-04-08 12:33:07 +00:00
Joel Dahl
da52b4caaf
Remove the advertising clause from UCB copyrighted files in usr.bin. This
...
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
2010-12-11 08:32:16 +00:00
Ed Schouten
b7946da96b
Build usr.bin/ with WARNS=6 by default.
...
Also add some missing $FreeBSD$ to keep svn happy.
2010-01-02 10:27:05 +00:00
Kirk McKusick
4145bb53bf
When reading input from a file or device (via -f option) set the
...
input to be in non-buffering mode so that input lines are logged
as they occur rather than being saved up until a buffer's worth of
input has been logged.
2009-10-30 21:54:53 +00:00
David E. O'Brien
d870d44d20
Minor style(9) nit.
2008-02-05 17:34:44 +00:00
David Malone
6f62d86388
Make logmsg take const char * arguments.
...
Set WARNS to 6.
2007-05-07 11:28:01 +00:00
Ruslan Ermilov
cb29445a92
Markup fixes.
2006-09-29 15:20:48 +00:00
Bruce M Simpson
abfdccc7ce
Update document date.
...
Noticed by: ru
2006-08-03 20:43:51 +00:00
Bruce M Simpson
6b04b7f63e
Add a new command-line option, -P, which allows the user to specify
...
an arbitrary port to which syslog messages are to be sent.
PR: bin/54026
Submitted by: Oliver Fromme
MFC after: 10 days
2006-08-02 13:21:44 +00:00
Yaroslav Tykhiy
2cc3124e10
Obey MK_INET6_SUPPORT.
2006-07-27 14:20:14 +00:00
Philippe Charnier
865059c8a8
Reduce compiler warning: variable might be used uninitialized, by giving
...
an initial value.
2005-05-29 16:04:46 +00:00
Ruslan Ermilov
a866e17077
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
Ruslan Ermilov
557b7fa148
Deal with double whitespace.
2004-07-03 00:24:45 +00:00
Christian Brueffer
3e32fa3860
Clarify the describtion of the -A switch
...
PR: 51187
Submitted by: Jeff Ito <jeffi@rcn.com>
Approved by: re (jhb)
MFC after: 3 days
2003-05-21 15:00:47 +00:00
David Malone
f4ac32def2
ANSIify function definitions.
...
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.
Reviewed by: md5
2002-09-04 23:29:10 +00:00
David E. O'Brien
e026a48c34
Consistently use FBSDID
2002-06-30 05:25:07 +00:00
Philippe Charnier
8cd319f71a
.Nm is not required at the begining of this sentence.
2002-04-20 21:33:10 +00:00
Philippe Charnier
e8937ba009
Use `The .Nm utility'
2002-04-20 12:18:28 +00:00
David Malone
9bd5ae8568
1) Use FBSDID for vendor string.
...
2) Change an int for a size_t, as that's what it is mainly used for.
3) Add some braces to keep gcc happy.
2002-04-01 11:06:00 +00:00
Warner Losh
f1bb2cd2aa
remove __P
2002-03-22 01:22:50 +00:00
Bill Fenner
57c1a0b6bf
Improve error reporting - report error message when there is one, or
...
report a short read if that's what we're reporting.
2002-02-27 22:38:59 +00:00
Ruslan Ermilov
ca122bf7d8
The default for -p was ``kern.notice'' in the -h case.
...
Make it ``user.notice'', as per manpage.
(The syslog(3) function defaults to LOG_USER facility
if none is specified, but we don't use syslog() in the
-h case.)
PR: docs/30374
Noticed by: SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
2001-09-06 12:48:44 +00:00
Dima Dorfman
f328d583a2
Use CFLAGS, not COPTS, in the Makefile. bsd.prog.mk conveniently adds
...
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults. Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.
Approved by: bde
2001-09-05 20:10:59 +00:00
Ruslan Ermilov
d628d776c4
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Ruslan Ermilov
625003720a
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
Ruslan Ermilov
c4646e2d76
mdoc(7) police: document IPv6 options in the SYNOPSIS.
2000-12-18 08:37:53 +00:00
Hajimu UMEMOTO
0b5f90af27
IPv6 support for logger.
...
Reviewed by: freebsd-current
2000-12-16 18:33:08 +00:00
David Malone
b0fe2da816
Allow logger to send messages directly to a remote syslog. (This
...
only does IPv4 as our syslogd only does IPv4. I dunno if the KAME
people have any plans for syslogd).
PR: 19821
Submitted by: Nick Hilliard <nick@iol.ie>
Reviewed by: sheldonh
2000-07-18 08:56:54 +00:00
Philippe Charnier
83edb87b68
Add DIAGNOSTICS section name
...
Options: -> The following options are available:
2000-03-26 14:39:03 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00