openbsd-ports/sysutils/rsyslog/patches/patch-tools_syslogd_c
steven 656504ee5d import rsyslog-4.6.3
Rsyslog is an enhanced multi-threaded syslogd with a focus on
security and reliability. Among others, it offers support for
on-demand disk buffering, reliable syslog over TCP, SSL, TLS and
RELP, writing to databases (MySQL, PostgreSQL, Oracle, and many
more), email alerting, fully configurable output formats (including
high-precision timestamps), the ability to filter on any part of
the syslog message, on-the-wire message compression, and the ability
to convert text files to syslog. It is a drop-in replacement for
stock syslogd and able to work with the same configuration file
syntax. Its advanced features make it suitable for enterprise-class,
encryption protected syslog relay chains while at the same time
being very easy to setup for the novice user.

initial port from todd@, improved by sthen@ and me
2010-07-29 21:40:21 +00:00

16 lines
435 B
Plaintext

$OpenBSD: patch-tools_syslogd_c,v 1.1.1.1 2010/07/29 21:40:21 steven Exp $
--- tools/syslogd.c.orig Wed Jul 7 11:43:39 2010
+++ tools/syslogd.c Sun Jul 25 21:39:57 2010
@@ -173,9 +173,8 @@ static rsRetVal GlobalClassExit(void);
#endif
#endif
-#ifndef _PATH_LOGCONF
-#define _PATH_LOGCONF "/etc/rsyslog.conf"
-#endif
+#undef _PATH_LOGCONF
+#define _PATH_LOGCONF CONFIGFILE
#ifndef _PATH_MODDIR
# if defined(__FreeBSD__)