diff options
-rw-r--r-- | UPDATING | 9 | ||||
-rw-r--r-- | sysutils/syslog-ng/Makefile | 1 | ||||
-rw-r--r-- | sysutils/syslog-ng/files/patch-scl-system-generate-system-source.sh | 21 |
3 files changed, 31 insertions, 0 deletions
@@ -6,6 +6,15 @@ You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. 20121109: + AFFECTS: FreeBSD < 9.1 users of syslog-ng >= 3.3.6 + AUTHOR: cy@FreeBSD.org + + Syslog-ng version 3.3.6 changed the way how /dev/kmsg is read. If you + don't use the system() source (which configures it automatically), + please make sure, that in the kmsg related line follow-freq(1) is used + instead of the previously default follow-freq(0). + +20121109: AFFECTS: users of devel/py-liblarch_gtk deskutils/gtg AUTHOR: rm@FreeBSD.org diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile index c6ff0be72ff9..5c8f21bf0d97 100644 --- a/sysutils/syslog-ng/Makefile +++ b/sysutils/syslog-ng/Makefile @@ -7,6 +7,7 @@ PORTNAME= syslog-ng PORTVERSION= 3.3.7 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://www.balabit.com/downloads/files/syslog-ng/sources/$(PORTVERSION)/source/ DISTFILES= $(PORTNAME)_$(PORTVERSION).tar.gz diff --git a/sysutils/syslog-ng/files/patch-scl-system-generate-system-source.sh b/sysutils/syslog-ng/files/patch-scl-system-generate-system-source.sh new file mode 100644 index 000000000000..63691e6a4570 --- /dev/null +++ b/sysutils/syslog-ng/files/patch-scl-system-generate-system-source.sh @@ -0,0 +1,21 @@ +--- scl/system/generate-system-source.sh.orig 2012-08-15 01:06:08.000000000 -0700 ++++ scl/system/generate-system-source.sh 2012-11-09 19:42:06.000000000 -0800 +@@ -74,7 +74,17 @@ + cat <<EOF + unix-dgram("/var/run/log"); + unix-dgram("/var/run/logpriv" perm(0600)); +-file("/dev/klog" follow-freq(0) program-override("kernel") flags(no-parse)); ++EOF ++ case "$osversion" in ++ 7.*|8.*|9.0*) ++ ffreq=1 ++ ;; ++ *) ++ ffreq=0 ++ ;; ++ esac ++ cat <<EOF ++file("/dev/klog" follow-freq($ffreq) program-override("kernel") flags(no-parse)); + EOF + ;; + GNU/kFreeBSD) |