aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/syslog-ng/Makefile1
-rw-r--r--sysutils/syslog-ng/files/syslog-ng.conf.sample4
-rw-r--r--sysutils/syslog-ng1/Makefile1
-rw-r--r--sysutils/syslog-ng1/files/syslog-ng.conf.sample4
4 files changed, 8 insertions, 2 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
diff --git a/sysutils/syslog-ng1/Makefile b/sysutils/syslog-ng1/Makefile
index 6a94df3733b4..11db0ddb00af 100644
--- a/sysutils/syslog-ng1/Makefile
+++ b/sysutils/syslog-ng1/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-ng1/files/syslog-ng.conf.sample b/sysutils/syslog-ng1/files/syslog-ng.conf.sample
index f598ca1d2755..64794c5ed1e2 100644
--- a/sysutils/syslog-ng1/files/syslog-ng.conf.sample
+++ b/sysutils/syslog-ng1/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