package/syslog-ng: bump to version 3.19.1

Brings lots improvements and bug fixes, especially bug #1720[1], which
causes problems on some of our (DATACOM) products.

1. https://github.com/balabit/syslog-ng/issues/1720

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Carlos Santos 2019-01-11 11:03:07 -02:00 committed by Peter Korsgaard
parent 745f884e41
commit 5d5f0ed2a0
4 changed files with 8 additions and 46 deletions

View File

@ -1,39 +0,0 @@
From 1b824dd6389e209eab752d5a698c6093f311e3e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= <besser82@fedoraproject.org>
Date: Mon, 11 Dec 2017 15:46:06 +0100
Subject: [PATCH] modules/json: Adaptions for json-c v0.13
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
Patch status: upstream commit 1b824dd6389e
modules/json/json-parser.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/json/json-parser.c b/modules/json/json-parser.c
index 0368ed8f7ffe..356df48b9fc7 100644
--- a/modules/json/json-parser.c
+++ b/modules/json/json-parser.c
@@ -20,6 +20,8 @@
* COPYING for details.
*/
+#define JSON_C_VER_013 (13 << 8)
+
#include "json-parser.h"
#include "dot-notation.h"
#include "scratch-buffers.h"
@@ -28,7 +30,10 @@
#include <ctype.h>
#include <json.h>
+
+#if (!defined(JSON_C_VERSION_NUM)) || (JSON_C_VERSION_NUM < JSON_C_VER_013)
#include <json_object_private.h>
+#endif
typedef struct _JSONParser
{
--
2.15.1

View File

@ -1,4 +1,4 @@
@version: 3.10 @version: 3.19
source s_sys { source s_sys {
file("/proc/kmsg" program_override("kernel")); file("/proc/kmsg" program_override("kernel"));

View File

@ -1,2 +1,5 @@
# Locally computed # Locally computed
sha256 a905fe7bad09dcf40bf03650ef1c287b511bf262d004464b8993a28ce58c9136 syslog-ng-3.10.1.tar.gz sha256 5cf931a9d7bead0e6d9a2c65eee8f6005a005878f59aa280f3c4294257ed5178 syslog-ng-3.19.1.tar.gz
sha256 835219c8ca76156e6337236d1bcb8e617c0b1c2783b4a8bc478e18a86743d607 COPYING
sha256 ce3324c9f22299cfc7c281e5a6ab40fbe9c2ea1a67cee87226cb8cd39db1e1d2 GPL.txt
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LGPL.txt

View File

@ -6,10 +6,10 @@
# When updating the version, please check at runtime if the version in # When updating the version, please check at runtime if the version in
# syslog-ng.conf header needs to be updated # syslog-ng.conf header needs to be updated
SYSLOG_NG_VERSION = 3.10.1 SYSLOG_NG_VERSION = 3.19.1
SYSLOG_NG_SITE = https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOG_NG_VERSION) SYSLOG_NG_SITE = https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOG_NG_VERSION)
SYSLOG_NG_LICENSE = LGPL-2.1+ (syslog-ng core), GPL-2.0+ (modules) SYSLOG_NG_LICENSE = LGPL-2.1+ (syslog-ng core), GPL-2.0+ (modules)
SYSLOG_NG_LICENSE_FILES = COPYING SYSLOG_NG_LICENSE_FILES = COPYING GPL.txt LGPL.txt
SYSLOG_NG_DEPENDENCIES = host-bison host-flex host-pkgconf \ SYSLOG_NG_DEPENDENCIES = host-bison host-flex host-pkgconf \
eventlog libglib2 openssl pcre eventlog libglib2 openssl pcre
# rabbit-mq needs -lrt # rabbit-mq needs -lrt
@ -42,9 +42,7 @@ SYSLOG_NG_CONF_OPTS += \
--enable-python \ --enable-python \
--with-python=$(PYTHON3_VERSION_MAJOR) --with-python=$(PYTHON3_VERSION_MAJOR)
else else
SYSLOG_NG_CONF_OPTS += \ SYSLOG_NG_CONF_OPTS += --disable-python
--disable-python \
--without-python
endif endif
ifeq ($(BR2_PACKAGE_LIBESMTP),y) ifeq ($(BR2_PACKAGE_LIBESMTP),y)