summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libol/Makefile1
-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
5 files changed, 9 insertions, 2 deletions
diff --git a/devel/libol/Makefile b/devel/libol/Makefile
index c5888ed0e063..9552abc0a907 100644
--- a/devel/libol/Makefile
+++ b/devel/libol/Makefile
@@ -16,5 +16,6 @@ COMMENT= Library needed by syslog-ng
GNU_CONFIGURE= yes
USE_LIBTOOL_VER= 13
INSTALLS_SHLIB= yes
+USE_GCC= 3.3+
.include <bsd.port.mk>
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