Commit 2fc83207 authored by Andy Postnikov's avatar Andy Postnikov Committed by Natanael Copa
Browse files

main/syslog-ng: upgrade to 3.18.1 and modernize

parent e4e3c2fe
...@@ -2,20 +2,17 @@ ...@@ -2,20 +2,17 @@
# Contributor: Adrian Guenter <adrian@gntr.me> # Contributor: Adrian Guenter <adrian@gntr.me>
# Maintainer: jv <jens@eisfair.org> # Maintainer: jv <jens@eisfair.org>
pkgname=syslog-ng pkgname=syslog-ng
pkgver=3.13.2 pkgver=3.18.1
pkgrel=4 pkgrel=0
pkgdesc="Next generation logging daemon" pkgdesc="Next generation logging daemon"
url="http://www.balabit.com" url="http://www.balabit.com"
arch="all !aarch64" arch="all !aarch64"
license="GPL-2.0" license="GPL-2.0"
depends="" makedepends="glib-dev eventlog-dev pcre-dev openssl-dev python2-dev hiredis-dev json-c-dev file"
depends_dev="glib-dev eventlog-dev pcre-dev openssl-dev python2-dev hiredis-dev json-c-dev file"
makedepends="$depends_dev"
install="$pkgname.post-install" install="$pkgname.post-install"
subpackages="$pkgname-json" subpackages="$pkgname-json $pkgname-openrc"
source="https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${pkgver}/syslog-ng-${pkgver}.tar.gz source="https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${pkgver}/syslog-ng-${pkgver}.tar.gz
json-c.patch
syslog-ng.logrotate syslog-ng.logrotate
syslog-ng.initd syslog-ng.initd
syslog-ng-destination.std syslog-ng-destination.std
...@@ -79,8 +76,7 @@ json() { ...@@ -79,8 +76,7 @@ json() {
mv "$pkgdir"/usr/lib/syslog-ng/libjson*.so "$subpkgdir"/usr/lib/syslog-ng mv "$pkgdir"/usr/lib/syslog-ng/libjson*.so "$subpkgdir"/usr/lib/syslog-ng
} }
sha512sums="fd5c6645f1e8e10cba940ea29715f9e7cc286cd49c2f45bde2a447731189d6171ca204aa066ac96dd09246fd7ed1751130d143d807c979518d688e7750490cfe syslog-ng-3.13.2.tar.gz sha512sums="2e6ea690f8762f3f37885118f023048c4cba59f58002c87fa1c469cb991b2ba707015b3e54c50f17c3d6e6251d798557406925a9159f4fa914331f281dc39e48 syslog-ng-3.18.1.tar.gz
8c77a1bcdd5097c20c0f27c1ae9826c1cde1c1c4ad204e1085f138f315daefb1d05a8e00f6d71f77b06b9656f642a6dd8a3b6ba8665bb2f6d2f1bbd6318d17a3 json-c.patch
a062d1601f5215f60e2fc40c6ca498d768aa97af3647a9468731123a28fdd67962421b4412bfbe08a1123141b730cb78f102230ab72befec05ba7f398b39e27a syslog-ng.logrotate a062d1601f5215f60e2fc40c6ca498d768aa97af3647a9468731123a28fdd67962421b4412bfbe08a1123141b730cb78f102230ab72befec05ba7f398b39e27a syslog-ng.logrotate
84fa9b10268edd8cae2ed1fd4b0d8b7078afab050571e1f05ce45c95f97a650511e8dfe30f5815cf2582446ea9f4a45aafcde3a5ae373716cecb6395bc1dd16b syslog-ng.initd 84fa9b10268edd8cae2ed1fd4b0d8b7078afab050571e1f05ce45c95f97a650511e8dfe30f5815cf2582446ea9f4a45aafcde3a5ae373716cecb6395bc1dd16b syslog-ng.initd
b51d8b3da9584b6cb5b5c023b5ca1085d8e4c2cfa56f6ed12fe6feb0f33a390b43825aaaf4dd74eb6b7765485fe42f7f21c74380b72de9ed2c7775787ab1e720 syslog-ng-destination.std b51d8b3da9584b6cb5b5c023b5ca1085d8e4c2cfa56f6ed12fe6feb0f33a390b43825aaaf4dd74eb6b7765485fe42f7f21c74380b72de9ed2c7775787ab1e720 syslog-ng-destination.std
......
diff --git a/modules/json/json-parser.c b/modules/json/json-parser.c
index 0368ed8..c4d1c23 100644
--- a/modules/json/json-parser.c
+++ b/modules/json/json-parser.c
@@ -28,7 +28,7 @@
#include <ctype.h>
#include <json.h>
-#include <json_object_private.h>
+#include <json_object.h>
typedef struct _JSONParser
{
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment