[arch-commits] Commit in syslog-ng/repos (4 files)

2022-06-13 Thread Florian Pritz via arch-commits
Date: Monday, June 13, 2022 @ 19:36:03
  Author: bluewind
Revision: 448442

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 448441, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 448441, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 448441, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   72 ++
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 172 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 448441, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-06-13 19:36:03 UTC (rev 448442)
@@ -0,0 +1,72 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.37.1
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="https://www.syslog-ng.com/products/open-source-log-management/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet' 
'openssl')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@default')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha512sums=('beebd89c54a415469dc58630ac1900d632ef351f6a13fad4a95ce7bb1760b16d6cfdcede02225a35e97ebce7dae151c6aa228f3d378463e8b873c4f71ed86ab7'
+
'36629a566a8343574dc07430e744e20ce90574be0cc856bc43340f834cd6642a8f08889b9ba15996d088aeebeee4bc3ca64411265046c17c8e125fbed8948ded'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # https://archlinux.org/todo/lto-fat-objects/
+  export CFLAGS+=" -ffat-lto-objects"
+  export CXXFLAGS+=" -ffat-lto-objects"
+
+
+  ./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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-mqtt --disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 448441, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2022-06-13 19:36:03 UTC (rev 448442)
@@ -0,0 +1,93 @@
+@version: 3.35
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnames (off);
+  dns_cache (no);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  system();
+  inte

[arch-commits] Commit in syslog-ng/repos (4 files)

2022-03-06 Thread Florian Pritz via arch-commits
Date: Sunday, March 6, 2022 @ 10:20:13
  Author: bluewind
Revision: 439056

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 439055, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 439055, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 439055, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   72 ++
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 172 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 439055, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-03-06 10:20:13 UTC (rev 439056)
@@ -0,0 +1,72 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.36.1
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="https://www.syslog-ng.com/products/open-source-log-management/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet' 
'openssl')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@default')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha512sums=('b74c10e708616f7f5f5d529de5c1a3ce8ac888c05aa4b0fcf390d70082e9bc3432f3752998a5a258663fd47b8e4d0c2735240a3e4eda28178579b18308ebb376'
+
'36629a566a8343574dc07430e744e20ce90574be0cc856bc43340f834cd6642a8f08889b9ba15996d088aeebeee4bc3ca64411265046c17c8e125fbed8948ded'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # https://archlinux.org/todo/lto-fat-objects/
+  export CFLAGS+=" -ffat-lto-objects"
+  export CXXFLAGS+=" -ffat-lto-objects"
+
+
+  ./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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-mqtt --disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 439055, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2022-03-06 10:20:13 UTC (rev 439056)
@@ -0,0 +1,93 @@
+@version: 3.35
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnames (off);
+  dns_cache (no);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  system();
+  inte

[arch-commits] Commit in syslog-ng/repos (4 files)

2022-01-16 Thread Florian Pritz via arch-commits
Date: Sunday, January 16, 2022 @ 13:44:53
  Author: bluewind
Revision: 434536

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 434535, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 434535, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 434535, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   72 ++
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 172 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 434535, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-01-16 13:44:53 UTC (rev 434536)
@@ -0,0 +1,72 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.35.1
+pkgrel=4
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="https://www.syslog-ng.com/products/open-source-log-management/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet' 
'openssl')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@default')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha512sums=('7a0aa149d3e01b256e0f3168ceabebcbeadb0d8bbee6838d646cb425571b26330cccbcdd3a221f7b57a4605e875f48e48cd367825623299dc43d5ba77f94c50d'
+
'36629a566a8343574dc07430e744e20ce90574be0cc856bc43340f834cd6642a8f08889b9ba15996d088aeebeee4bc3ca64411265046c17c8e125fbed8948ded'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  # https://archlinux.org/todo/lto-fat-objects/
+  export CFLAGS+=" -ffat-lto-objects"
+  export CXXFLAGS+=" -ffat-lto-objects"
+
+
+  ./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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-mqtt --disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 434535, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2022-01-16 13:44:53 UTC (rev 434536)
@@ -0,0 +1,93 @@
+@version: 3.35
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnames (off);
+  dns_cache (no);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  system();
+  i

[arch-commits] Commit in syslog-ng/repos (4 files)

2022-01-09 Thread Florian Pritz via arch-commits
Date: Sunday, January 9, 2022 @ 12:40:11
  Author: bluewind
Revision: 434007

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 434006, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 434006, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 434006, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   66 +++
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 166 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 434006, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-01-09 12:40:11 UTC (rev 434007)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.35.1
+pkgrel=3
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="https://www.syslog-ng.com/products/open-source-log-management/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet' 
'openssl')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@default')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha512sums=('7a0aa149d3e01b256e0f3168ceabebcbeadb0d8bbee6838d646cb425571b26330cccbcdd3a221f7b57a4605e875f48e48cd367825623299dc43d5ba77f94c50d'
+
'36629a566a8343574dc07430e744e20ce90574be0cc856bc43340f834cd6642a8f08889b9ba15996d088aeebeee4bc3ca64411265046c17c8e125fbed8948ded'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+}
+
+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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-mqtt --disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 434006, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2022-01-09 12:40:11 UTC (rev 434007)
@@ -0,0 +1,93 @@
+@version: 3.35
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnames (off);
+  dns_cache (no);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  system();
+  internal();
+};
+
+destination d_authlog { file("/var/log/auth.log"); };
+destination d_syslog { file("/var/log/syslog.log"); };
+destinatio

[arch-commits] Commit in syslog-ng/repos (4 files)

2021-07-19 Thread Felix Yan via arch-commits
Date: Tuesday, July 20, 2021 @ 04:48:01
  Author: felixonmars
Revision: 420149

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 420148, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 420148, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 420148, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   66 +++
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 166 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 420148, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-07-20 04:48:01 UTC (rev 420149)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.33.2
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="https://www.syslog-ng.com/products/open-source-log-management/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet' 
'openssl')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@default')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha512sums=('c20b8ef9dff2682562975b4149484f1abc4249aacbb5aac6a3fc683d102ccd316c048e166d61e51da6848ff0f8f5c6245dc5a307929f1cdef3ba718244e60f71'
+
'ef7611fd0e73d6e6f16691393810889a327ba51fc55b0458119b5d88356a0599fed87d9cccd6708886bdabdf1af78f1e1c590ddb1a3959224a3595daec2e1613'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+}
+
+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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-mqtt --disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 420148, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2021-07-20 04:48:01 UTC (rev 420149)
@@ -0,0 +1,93 @@
+@version: 3.33
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnames (off);
+  dns_cache (no);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  system();
+  internal();
+};
+
+destination d_authlog { file("/var/log/auth.log"); };
+destination d_syslog { file("/var/log/syslog.log"); };
+destinat

[arch-commits] Commit in syslog-ng/repos (4 files)

2021-06-19 Thread Antonio Rojas via arch-commits
Date: Saturday, June 19, 2021 @ 07:10:46
  Author: arojas
Revision: 418459

archrelease: copy trunk to staging-x86_64

Added:
  syslog-ng/repos/staging-x86_64/
  syslog-ng/repos/staging-x86_64/PKGBUILD
(from rev 418458, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/staging-x86_64/syslog-ng.conf
(from rev 418458, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/staging-x86_64/syslog-ng.logrotate
(from rev 418458, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   69 +
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 169 insertions(+)

Copied: syslog-ng/repos/staging-x86_64/PKGBUILD (from rev 418458, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-06-19 07:10:46 UTC (rev 418459)
@@ -0,0 +1,69 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.32.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/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@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-libesmtp-1.1.patch::https://github.com/syslog-ng/syslog-ng/commit/b8284f8e.patch)
+sha512sums=('c5a72e4815c2791cb609cbb93993cbb2c52f3ac869e062984b6a359f11232f523c5db3555857f0fef0071764a677f1efdb2aa1f24b4abe7cea13590973d09280'
+
'29beb12baa60b959d7cbc105545a5334bcee200e49f2b5d12ce51139a7e916fe2afcd505a265ce402e7f88b8cbb42e98a6b06cff1b641368dd9ee459177bf9cc'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc'
+
'a70e5e2535b16aee2bbb51c1278d6c7c2dd709ce84f3234539543d958559c4972a2053c6781ca8fd391bb9c239c847aba336c8da892724e63c2ab2fbd5063d78')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+  patch -p1 < ../syslog-ng-libesmtp-1.1.patch # Add pkgconfig based detection 
for libesmtp 1.1
+}
+
+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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/staging-x86_64/syslog-ng.conf (from rev 418458, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2021-06-19 07:10:46 UTC (rev 418459)
@@ -0,0 +1,93 @@
+@version: 3.30
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnam

[arch-commits] Commit in syslog-ng/repos (4 files)

2021-03-21 Thread Florian Pritz via arch-commits
Date: Sunday, March 21, 2021 @ 09:50:29
  Author: bluewind
Revision: 410414

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 410413, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 410413, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 410413, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   66 +++
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 166 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 410413, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-03-21 09:50:29 UTC (rev 410414)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.31.2
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="https://www.syslog-ng.com/products/open-source-log-management/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@default')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha512sums=('22a647c37f87fb1a45c8c69c2b0a022d1886cde5b0d585c3384b606d967c3f320a18e34810655174e82c797c0dc23c481732ecefd5be16da8fba4983b2ed0385'
+
'29beb12baa60b959d7cbc105545a5334bcee200e49f2b5d12ce51139a7e916fe2afcd505a265ce402e7f88b8cbb42e98a6b06cff1b641368dd9ee459177bf9cc'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+}
+
+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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 410413, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2021-03-21 09:50:29 UTC (rev 410414)
@@ -0,0 +1,93 @@
+@version: 3.30
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnames (off);
+  dns_cache (no);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  system();
+  internal();
+};
+
+destination d_authlog { file("/var/log/auth.log"); };
+destination d_syslog { file("/var/log/syslog.log"); };
+destination d_cron { file("/var/log/c

[arch-commits] Commit in syslog-ng/repos (4 files)

2021-03-04 Thread Florian Pritz via arch-commits
Date: Thursday, March 4, 2021 @ 15:08:57
  Author: bluewind
Revision: 409277

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 409276, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 409276, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 409276, syslog-ng/trunk/syslog-ng.logrotate)

-+
 PKGBUILD|   66 +++
 syslog-ng.conf  |   93 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 166 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 409276, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-03-04 15:08:57 UTC (rev 409277)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.31.1
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="https://www.syslog-ng.com/products/open-source-log-management/";
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd-libs' 'glib2' 'libnsl' 'json-c' 'curl' 'libnet')
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap' 
'systemd')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+'libdbi: for the SQL plugin'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP plugin'
+'librdkafka: for the Kafka C plugin'
+'python: for Python-based plugins')
+conflicts=('eventlog')
+replaces=('eventlog')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng'
+'etc/default/syslog-ng@default')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha512sums=('d05d99aace3ad471316be1160bdd35b510d45f4f7e76da5a099f03891bef038da36303f2702f38dfc16f2f083173b2f8d33d5120e1b0252e5b1b42d7bc0747cd'
+
'29beb12baa60b959d7cbc105545a5334bcee200e49f2b5d12ce51139a7e916fe2afcd505a265ce402e7f88b8cbb42e98a6b06cff1b641368dd9ee459177bf9cc'
+
'cd39f545a6a855c866a466bf846e33940b2c2dd1fc2eaf50cce29c68e1a5753c7c4b56411e4f01c152f32e155104a98dd755a96319767f47c73a8853f720b2cc')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|/var/run|/run|g' contrib/systemd/syslog-ng@default
+}
+
+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 \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --enable-all-modules --disable-java 
--disable-java-modules  \
+--disable-riemann --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /usr/bin/true # unit test requires criterion
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  install -Dm644 "$srcdir/syslog-ng.conf" 
"$pkgdir/etc/syslog-ng/syslog-ng.conf"
+  install -Dm644 "$srcdir/syslog-ng.logrotate" 
"$pkgdir/etc/logrotate.d/syslog-ng"
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/contrib/systemd/syslog-ng@default 
-t "$pkgdir"/etc/default
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 409276, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2021-03-04 15:08:57 UTC (rev 409277)
@@ -0,0 +1,93 @@
+@version: 3.30
+@include "scl.conf"
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (1);
+  chain_hostnames (off);
+  dns_cache (no);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  system();
+  internal();
+};
+
+destination d_authlog { file("/var/log/auth.log"); };
+destination d_syslog { file("/var/log/syslog.log"); };
+destination d_cron { file("/var/log/