syslog-ng: bump to 3.9.1 and fix typo
authorPhilip Prindeville <redacted>
Fri, 6 Jan 2017 20:54:05 +0000 (13:54 -0700)
committerPhilip Prindeville <redacted>
Mon, 6 Feb 2017 02:34:01 +0000 (19:34 -0700)
Likewise fix default configuration to use SOCK_DGRAM and not SOCK_STREAM
as we currently do.

Add sha256 digest.

Rather than have the users replace syslog-ng.conf (which lately is
changing fairly frequently) and have them miss an important fix or
improvement, instead have them localize /etc/custom-logs.conf and
ship that as an empty file.

Signed-off-by: Philip Prindeville <redacted>
admin/syslog-ng/Makefile
admin/syslog-ng/files/custom-logs.conf [new file with mode: 0644]
admin/syslog-ng/files/syslog-ng.conf

index 0486164ef34a189b8659c986f716a89eb2db424b..2264079a7aeb593734e13fa46c335367d77a3934 100644 (file)
@@ -1,14 +1,15 @@
 include  $(TOPDIR)/rules.mk
 
 PKG_NAME:=syslog-ng
-PKG_VERSION:=3.8.1
-PKG_RELEASE:=3
+PKG_VERSION:=3.9.1
+PKG_RELEASE:=1
 
 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/balabit/syslog-ng/releases/download/$(PKG_NAME)-$(PKG_VERSION)/
-PKG_MD5SUM:=acf14563cf5ce435db8db35486ce66af
+PKG_MD5SUM:=1b48da9ef620cf06e55e481b5abb677a
+PKG_HASH:=5678856a550ae790618fabde9d1447f932ce7a9080d55dca8fc5df1202c70a17
 
 PKG_INSTALL:=1
 
@@ -41,7 +42,7 @@ endef
 CONFIGURE_ARGS += \
   $(call autoconf_bool,CONFIG_IPV6,ipv6) \
          --disable-dependency-tracking \
-         --disable-ampq \
+         --disable-amqp \
          --disable-tcp-wrapper \
          --disable-glibtest \
          --disable-mongodb \
diff --git a/admin/syslog-ng/files/custom-logs.conf b/admin/syslog-ng/files/custom-logs.conf
new file mode 100644 (file)
index 0000000..9c8f441
--- /dev/null
@@ -0,0 +1,2 @@
+# place to put customization of logging
+
index 6786bc3269406497f68493001045a89fad114c55..9e09a79e2e943fd8141a57786d1027212eae5049 100644 (file)
@@ -1,4 +1,4 @@
-@version:3.8
+@version:3.9
 
 options {
        chain_hostnames(no);
@@ -14,7 +14,7 @@ options {
 
 source src {
        internal();
-       unix-stream("/dev/log");
+       unix-dgram("/dev/log");
 };
 
 source net {
@@ -35,3 +35,6 @@ log {
         source(kernel);
        destination(messages);
 };
+
+@include "/etc/custom-logs.conf"
+
git clone https://git.99rst.org/PROJECT