summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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