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

Florian Pritz bluewind at archlinux.org
Thu Jun 13 21:36:38 UTC 2019


    Date: Thursday, June 13, 2019 @ 21:36:36
  Author: bluewind
Revision: 356030

upgpkg: syslog-ng 3.21.1-2

Fix build with mongodb

Modified:
  syslog-ng/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-13 21:20:50 UTC (rev 356029)
+++ PKGBUILD	2019-06-13 21:36:36 UTC (rev 356030)
@@ -2,7 +2,7 @@
 
 pkgname=syslog-ng
 pkgver=3.21.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
 arch=('x86_64')
 url="https://www.syslog-ng.com/products/open-source-log-management/"
@@ -40,10 +40,17 @@
 
   # remove this line before releasing 3.21.1: https://github.com/balabit/syslog-ng/pull/2632
   sed -i -e 's|etc|etc/syslog-ng|g' contrib/systemd/syslog-ng at default
+
+  # the version in pkg-config is 0.0.0 and so it won't detect the flags without
+  # this. since your version is newer this is an easy fix for now, but should
+  # eventually be removed when this bug is fixed:
+  # https://bugs.archlinux.org/task/61888
+  sed -i -e 's|^LMC_MIN_VERSION="1.0.0"|LMC_MIN_VERSION="0.0.0"|' configure.ac configure
 }
 
 build() {
   cd $pkgname-$pkgver
+  ./autogen.sh
   ./configure --prefix=/usr --sysconfdir=/etc/syslog-ng --libexecdir=/usr/lib \
     --sbindir=/usr/bin --localstatedir=/var/lib/syslog-ng --datadir=/usr/share \
     --with-pidfile-dir=/run --enable-spoof-source --enable-ipv6 \



More information about the arch-commits mailing list