summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-08-05 15:23:44 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-08-05 15:23:44 +0000
commit634ec7424c78ba05d850de122c4d4894e6924ea4 (patch)
treecf5647dca0bd135ad4f6154b24c14506dbb7a324
parent176e155f1e92e6738cb9fe059fa3e6b1b7ef06fc (diff)
downloadrsyslog-634ec7424c78ba05d850de122c4d4894e6924ea4.tar.gz
rsyslog-634ec7424c78ba05d850de122c4d4894e6924ea4.tar.xz
rsyslog-634ec7424c78ba05d850de122c4d4894e6924ea4.zip
doc update to reflect new -r option semantics
-rw-r--r--Makefile8
-rw-r--r--rsyslogd.814
2 files changed, 13 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 67b9ffde..a0a849b1 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,8 @@ CC= gcc
# enables the MySQL code. By default, that one is commented out
# change the comment chars to activate it if you need MySQL!
# In this case, also look down further to uncomment the libs
-#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce $(NOLARGEFILE)
-CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -I/usr/local/include $(NOLARGEFILE)
+CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce $(NOLARGEFILE)
+#CFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce -DWITH_DB -I/usr/local/include $(NOLARGEFILE)
LDFLAGS= -s
INSTALL = install
@@ -26,7 +26,7 @@ BINDIR = /usr/sbin
MANDIR = /usr/share/man
# Uncomment the following to use mysql.
-LIBS = -lmysqlclient -L/usr/local/lib/mysql
+#LIBS = -lmysqlclient -L/usr/local/lib/mysql
# There is one report that under an all ELF system there may be a need to
# explicilty link with libresolv.a. If linking syslogd fails you may wish
@@ -44,7 +44,7 @@ FSSTND = -DFSSTND
# ballot below.
SYSLOGD_PIDNAME = -DSYSLOGD_PIDNAME=\"rsyslogd.pid\"
-SYSLOGD_FLAGS= -DSYSLOG_INET -DSYSLOG_UNIXAF -DNO_SCCS ${FSSTND} \
+SYSLOGD_FLAGS= -DSYSLOG_INET -DSYSLOG_UNIXAF ${FSSTND} \
${SYSLOGD_PIDNAME}
SYSLOG_FLAGS= -DALLOW_KERNEL_LOGGING
DEB =
diff --git a/rsyslogd.8 b/rsyslogd.8
index 61ea7925..95c45e29 100644
--- a/rsyslogd.8
+++ b/rsyslogd.8
@@ -160,11 +160,15 @@ machine. When specified, no local log socket is opened at all.
You can specify an alternative unix domain socket instead of
.IR /dev/log "."
.TP
-.B "\-r"
-This option will enable the facility to receive message from the
-network using an internet domain socket with the syslog service (see
-.BR services (5)).
-The default is to not receive any messages from the network.
+.B "\-r " "port"
+Activates the syslog/udp listener service. The listener
+will listen to the specified port. Please note that a
+port must be specified in any case. This is different from
+the stock sysklogd package. If you would like to use
+the system's default port, specify 0 as the port number. That
+will result in an /etc/services lookup for the actual port
+number. If the "-r" option is not given, no syslog/udp listner
+is available.
.TP
.BI "\-s " "domainlist"
Specify a domainname that should be stripped off before