[arch-commits] Commit in syslog-ng/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Dec 25 10:23:27 UTC 2017


    Date: Monday, December 25, 2017 @ 10:23:26
  Author: arojas
Revision: 313604

json-c 0.13 rebuild

Modified:
  syslog-ng/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-25 09:55:42 UTC (rev 313603)
+++ PKGBUILD	2017-12-25 10:23:26 UTC (rev 313604)
@@ -3,7 +3,7 @@
 
 pkgname=syslog-ng
 pkgver=3.12.1
-pkgrel=5
+pkgrel=6
 pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
 arch=('x86_64')
 url="http://www.balabit.com/network-security/syslog-ng/"
@@ -23,15 +23,19 @@
         'etc/logrotate.d/syslog-ng'
         'etc/default/syslog-ng at default')
 source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
-        syslog-ng.conf syslog-ng.logrotate)
+        syslog-ng.conf syslog-ng.logrotate
+        syslog-ng-json-c-0.13.patch::"https://github.com/balabit/syslog-ng/commit/1b824dd6.patch")
 sha256sums=('12d2acb8e292d16068debae7f9a699e791ca497540d28833a694a9a1ccd78f43'
             '7c760108faf56cb645b1102e3a3363cc5943ff03d19021ae7ac623d268e7471a'
-            '93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+            '93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317'
+            '6c1b29e18e502ca670b8f6e519fc6f5525fc384632ea3a036167d68b7f69ccc5')
 
 prepare() {
   cd $pkgname-$pkgver
   sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' contrib/systemd/syslog-ng at .service
   sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' contrib/systemd/syslog-ng at default
+
+  patch -p1 -i ../syslog-ng-json-c-0.13.patch # Fix build with json-c 0.13
 }
 
 build() {



More information about the arch-commits mailing list