aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/syslog-ng
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2005-03-06 02:59:30 +0800
committersem <sem@FreeBSD.org>2005-03-06 02:59:30 +0800
commitf96212877f224c34bcd31298313e6630ef7595e5 (patch)
treedb596086bbb5ae89a2e177f43f155e1d9c42a2dc /sysutils/syslog-ng
parent85b70f163811cef70e9750b6466fa04df6b8425d (diff)
downloadfreebsd-ports-gnome-f96212877f224c34bcd31298313e6630ef7595e5.tar.gz
freebsd-ports-gnome-f96212877f224c34bcd31298313e6630ef7595e5.tar.zst
freebsd-ports-gnome-f96212877f224c34bcd31298313e6630ef7595e5.zip
- Add USE_GCC=3.3+. It fixes core dumps on 4.x.
- Add /var/run/logpriv as an log source in syslog-ng.conf.sample. Submitted by: glebius
Diffstat (limited to 'sysutils/syslog-ng')
-rw-r--r--sysutils/syslog-ng/Makefile1
-rw-r--r--sysutils/syslog-ng/files/syslog-ng.conf.sample4
2 files changed, 4 insertions, 1 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 6a94df3733b4..11db0ddb00af 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -20,6 +20,7 @@ MAN8= syslog-ng.8
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+USE_GCC= 3.3+
PKGMESSAGE= ${WRKDIR}/MESSAGE
diff --git a/sysutils/syslog-ng/files/syslog-ng.conf.sample b/sysutils/syslog-ng/files/syslog-ng.conf.sample
index f598ca1d2755..64794c5ed1e2 100644
--- a/sysutils/syslog-ng/files/syslog-ng.conf.sample
+++ b/sysutils/syslog-ng/files/syslog-ng.conf.sample
@@ -11,7 +11,9 @@ options { long_hostnames(off); sync(0); };
#
# sources
#
-source src { unix-dgram("/var/run/log"); udp(); internal(); file("/dev/klog"); };
+source src { unix-dgram("/var/run/log");
+ unix-dgram("/var/run/logpriv" perm(0600));
+ udp(); internal(); file("/dev/klog"); };
#
# destinations