mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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>
This commit is contained in:
@@ -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
admin/syslog-ng/files/custom-logs.conf
Normal file
2
admin/syslog-ng/files/custom-logs.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
# place to put customization of logging
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user