Browse Source

syslog-ng: bump to 3.9.1 and fix typo

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 <philipp@redfish-solutions.com>
lilik-openwrt-22.03
Philip Prindeville 8 years ago
parent
commit
165fc3eaf7
3 changed files with 12 additions and 6 deletions
  1. +5
    -4
      admin/syslog-ng/Makefile
  2. +2
    -0
      admin/syslog-ng/files/custom-logs.conf
  3. +5
    -2
      admin/syslog-ng/files/syslog-ng.conf

+ 5
- 4
admin/syslog-ng/Makefile View 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 \


+ 2
- 0
admin/syslog-ng/files/custom-logs.conf View File

@ -0,0 +1,2 @@
# place to put customization of logging

+ 5
- 2
admin/syslog-ng/files/syslog-ng.conf View 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"

Loading…
Cancel
Save