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

2020-12-05 Thread Florian Pritz via arch-commits
Date: Saturday, December 5, 2020 @ 10:24:28
  Author: bluewind
Revision: 402887

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 402886, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 402886, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 402886, 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 402886, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-12-05 10:24:28 UTC (rev 402887)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.30.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=('ac7ed4978c6db9464add30aa7aeb71a646f841593b02884c8d4ad34c0508c8d3243bcbe6ee98e81c04698895305334eadd9e624ba71e510c14d79155723efb52'
+
'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 402886, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2020-12-05 10:24:28 UTC (rev 402887)
@@ -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 { 

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

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 19:17:40
  Author: felixonmars
Revision: 400697

archrelease: copy trunk to staging-x86_64

Added:
  syslog-ng/repos/staging-x86_64/
  syslog-ng/repos/staging-x86_64/PKGBUILD
(from rev 400696, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/staging-x86_64/syslog-ng.conf
(from rev 400696, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/staging-x86_64/syslog-ng.logrotate
(from rev 400696, 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/staging-x86_64/PKGBUILD (from rev 400696, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-12 19:17:40 UTC (rev 400697)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.29.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')
+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=('c8ec6527cab9e46effe23aaa1306b5bde1e13c3e62a092a62af630a744cc41e81d861e6e2ebfbaad8a9199d3b75ba4ac5fb4b4215d03f80a41f57a2e7a074a49'
+
'e526499406ae44cbb1a1ebad0998c2f305a9d5cb023d07be8c9274028cca9a0f65536b12e415206f50ba81ab9953a47de8d7767134473a1a46cab107c2e73f01'
+
'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/staging-x86_64/syslog-ng.conf (from rev 400696, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2020-11-12 19:17:40 UTC (rev 400697)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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 { 

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

2020-10-27 Thread Felix Yan via arch-commits
Date: Tuesday, October 27, 2020 @ 10:38:38
  Author: felixonmars
Revision: 398861

archrelease: copy trunk to staging-x86_64

Added:
  syslog-ng/repos/staging-x86_64/
  syslog-ng/repos/staging-x86_64/PKGBUILD
(from rev 398860, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/staging-x86_64/syslog-ng.conf
(from rev 398860, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/staging-x86_64/syslog-ng.logrotate
(from rev 398860, 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/staging-x86_64/PKGBUILD (from rev 398860, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-10-27 10:38:38 UTC (rev 398861)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.29.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)
+sha512sums=('c8ec6527cab9e46effe23aaa1306b5bde1e13c3e62a092a62af630a744cc41e81d861e6e2ebfbaad8a9199d3b75ba4ac5fb4b4215d03f80a41f57a2e7a074a49'
+
'e526499406ae44cbb1a1ebad0998c2f305a9d5cb023d07be8c9274028cca9a0f65536b12e415206f50ba81ab9953a47de8d7767134473a1a46cab107c2e73f01'
+
'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/staging-x86_64/syslog-ng.conf (from rev 398860, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2020-10-27 10:38:38 UTC (rev 398861)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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 { 

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

2020-08-10 Thread Florian Pritz via arch-commits
Date: Monday, August 10, 2020 @ 21:46:55
  Author: bluewind
Revision: 393541

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 393540, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 393540, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 393540, 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 393540, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-08-10 21:46:55 UTC (rev 393541)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.28.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')
+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)
+sha256sums=('af4ef43c41e05759ce6f20f344563f1cbb00622399263fa0c6b9e96426c2a6e8'
+'1b8f6d00f8ce93024c0827c4969cbcf0b7d48bee22d5173e1bcd256ab55f9438'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 393540, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2020-08-10 21:46:55 UTC (rev 393541)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination 

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

2020-08-08 Thread Antonio Rojas via arch-commits
Date: Saturday, August 8, 2020 @ 08:57:56
  Author: arojas
Revision: 393240

archrelease: copy trunk to staging-x86_64

Added:
  syslog-ng/repos/staging-x86_64/
  syslog-ng/repos/staging-x86_64/PKGBUILD
(from rev 393239, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/staging-x86_64/syslog-ng.conf
(from rev 393239, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/staging-x86_64/syslog-ng.logrotate
(from rev 393239, 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/staging-x86_64/PKGBUILD (from rev 393239, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-08-08 08:57:56 UTC (rev 393240)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.28.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')
+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)
+sha256sums=('af4ef43c41e05759ce6f20f344563f1cbb00622399263fa0c6b9e96426c2a6e8'
+'1b8f6d00f8ce93024c0827c4969cbcf0b7d48bee22d5173e1bcd256ab55f9438'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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/staging-x86_64/syslog-ng.conf (from rev 393239, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2020-08-08 08:57:56 UTC (rev 393240)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2020-07-17 Thread Florian Pritz via arch-commits
Date: Friday, July 17, 2020 @ 09:09:02
  Author: bluewind
Revision: 392018

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 392017, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 392017, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 392017, 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 392017, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-07-17 09:09:02 UTC (rev 392018)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.28.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')
+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)
+sha256sums=('af4ef43c41e05759ce6f20f344563f1cbb00622399263fa0c6b9e96426c2a6e8'
+'1b8f6d00f8ce93024c0827c4969cbcf0b7d48bee22d5173e1bcd256ab55f9438'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 392017, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2020-07-17 09:09:02 UTC (rev 392018)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2020-05-10 Thread Florian Pritz via arch-commits
Date: Sunday, May 10, 2020 @ 14:26:34
  Author: bluewind
Revision: 383107

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 383106, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 383106, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 383106, 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 383106, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-05-10 14:26:34 UTC (rev 383107)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.27.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')
+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)
+sha256sums=('c54c633c97f7fd8dd68261cfd784a76211e6e52965178e3aa4d0e32b899d61b3'
+'1b8f6d00f8ce93024c0827c4969cbcf0b7d48bee22d5173e1bcd256ab55f9438'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 383106, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2020-05-10 14:26:34 UTC (rev 383107)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2020-04-25 Thread Evangelos Foutras via arch-commits
Date: Saturday, April 25, 2020 @ 14:31:55
  Author: foutrelis
Revision: 381567

archrelease: copy trunk to staging-x86_64

Added:
  syslog-ng/repos/staging-x86_64/
  syslog-ng/repos/staging-x86_64/PKGBUILD
(from rev 381566, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/staging-x86_64/syslog-ng.conf
(from rev 381566, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/staging-x86_64/syslog-ng.logrotate
(from rev 381566, 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/staging-x86_64/PKGBUILD (from rev 381566, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-04-25 14:31:55 UTC (rev 381567)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.26.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')
+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)
+sha256sums=('90214223864df252cea80dbb35c88a2464edcbbb2c9fbc6f6f6c13ee60cb62cd'
+'1b8f6d00f8ce93024c0827c4969cbcf0b7d48bee22d5173e1bcd256ab55f9438'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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/staging-x86_64/syslog-ng.conf (from rev 381566, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2020-04-25 14:31:55 UTC (rev 381567)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2020-03-06 Thread Florian Pritz via arch-commits
Date: Friday, March 6, 2020 @ 13:25:11
  Author: bluewind
Revision: 376864

archrelease: copy trunk to testing-x86_64

Added:
  syslog-ng/repos/testing-x86_64/
  syslog-ng/repos/testing-x86_64/PKGBUILD
(from rev 376863, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/testing-x86_64/syslog-ng.conf
(from rev 376863, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/testing-x86_64/syslog-ng.logrotate
(from rev 376863, 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 376863, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-03-06 13:25:11 UTC (rev 376864)
@@ -0,0 +1,66 @@
+# Maintainer: Florian Pritz 
+# Contributor: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.26.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')
+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)
+sha256sums=('90214223864df252cea80dbb35c88a2464edcbbb2c9fbc6f6f6c13ee60cb62cd'
+'1b8f6d00f8ce93024c0827c4969cbcf0b7d48bee22d5173e1bcd256ab55f9438'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 376863, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2020-03-06 13:25:11 UTC (rev 376864)
@@ -0,0 +1,93 @@
+@version: 3.25
+@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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2020-01-31 Thread Antonio Rojas via arch-commits
Date: Friday, January 31, 2020 @ 22:37:50
  Author: arojas
Revision: 374434

archrelease: copy trunk to staging-x86_64

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

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

Copied: syslog-ng/repos/staging-x86_64/PKGBUILD (from rev 374433, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-01-31 22:37:50 UTC (rev 374434)
@@ -0,0 +1,67 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.25.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')
+# XXX: Depends on libcap-2.28 due to https://bugs.archlinux.org/task/65206
+#  Get the pkg from: 
https://archive.archlinux.org/repos/2020/01/07/core/os/x86_64/libcap-2.28-1-x86_64.pkg.tar.xz
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap=2.28')
+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)
+sha256sums=('34cb9673bcde58d543890e6c1189f466f938e199f227c524a6fa2f47f4db6817'
+'eaa6fea3f9b8af3edc0b4832837c4697aec9d9cf7674c7949054619d4900f40d'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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/staging-x86_64/syslog-ng.conf (from rev 374433, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2020-01-31 22:37:50 UTC (rev 374434)
@@ -0,0 +1,92 @@
+@version: 3.25
+@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);
+  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/crond.log"); };
+destination d_daemon { 

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

2020-01-25 Thread Florian Pritz via arch-commits
Date: Saturday, January 25, 2020 @ 14:56:14
  Author: bluewind
Revision: 373916

archrelease: copy trunk to core-x86_64

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

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

Copied: syslog-ng/repos/core-x86_64/PKGBUILD (from rev 373915, 
syslog-ng/trunk/PKGBUILD)
===
--- core-x86_64/PKGBUILD(rev 0)
+++ core-x86_64/PKGBUILD2020-01-25 14:56:14 UTC (rev 373916)
@@ -0,0 +1,67 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.25.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')
+# XXX: Depends on libcap-2.28 due to https://bugs.archlinux.org/task/65206
+#  Get the pkg from: 
https://archive.archlinux.org/repos/2020/01/07/core/os/x86_64/libcap-2.28-1-x86_64.pkg.tar.xz
+makedepends=('libxslt' 'mongo-c-driver' 'librabbitmq-c' 'python' 'libesmtp' 
'hiredis'
+ 'libdbi' 'libmaxminddb' 'net-snmp' 'librdkafka' 'libcap=2.28')
+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)
+sha256sums=('34cb9673bcde58d543890e6c1189f466f938e199f227c524a6fa2f47f4db6817'
+'eaa6fea3f9b8af3edc0b4832837c4697aec9d9cf7674c7949054619d4900f40d'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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/core-x86_64/syslog-ng.conf (from rev 373915, 
syslog-ng/trunk/syslog-ng.conf)
===
--- core-x86_64/syslog-ng.conf  (rev 0)
+++ core-x86_64/syslog-ng.conf  2020-01-25 14:56:14 UTC (rev 373916)
@@ -0,0 +1,92 @@
+@version: 3.25
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination 

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

2020-01-13 Thread Florian Pritz via arch-commits
Date: Monday, January 13, 2020 @ 19:34:21
  Author: bluewind
Revision: 373450

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   65 +++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 164 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 373449, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-01-13 19:34:21 UTC (rev 373450)
@@ -0,0 +1,65 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.25.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')
+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)
+sha256sums=('34cb9673bcde58d543890e6c1189f466f938e199f227c524a6fa2f47f4db6817'
+'eaa6fea3f9b8af3edc0b4832837c4697aec9d9cf7674c7949054619d4900f40d'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 373449, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2020-01-13 19:34:21 UTC (rev 373450)
@@ -0,0 +1,92 @@
+@version: 3.25
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { 

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

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 06:30:23
  Author: felixonmars
Revision: 366678

archrelease: copy trunk to staging-x86_64

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

-+
 PKGBUILD|   65 +++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 164 insertions(+)

Copied: syslog-ng/repos/staging-x86_64/PKGBUILD (from rev 366677, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-11-04 06:30:23 UTC (rev 366678)
@@ -0,0 +1,65 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.24.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')
+checkdepends=('python-nose' 'python-pylint' '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'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP 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)
+sha256sums=('d4d0a0357b452be96b69d6f741129275530d8f0451e35adc408ad5635059fa3d'
+'3491c028f9ff9ccd7437b487de682a961ca64202f861838775d872bef980bf4d'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 --disable-kafka --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # unit test requires criterion, python test requires 
pep8
+}
+
+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 366677, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2019-11-04 06:30:23 UTC (rev 366678)
@@ -0,0 +1,92 @@
+@version: 3.23
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2019-10-08 Thread Florian Pritz via arch-commits
Date: Tuesday, October 8, 2019 @ 16:01:42
  Author: bluewind
Revision: 364181

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   65 +++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 164 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 364180, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-10-08 16:01:42 UTC (rev 364181)
@@ -0,0 +1,65 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.24.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')
+checkdepends=('python-nose' 'python-pylint' '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'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP 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)
+sha256sums=('d4d0a0357b452be96b69d6f741129275530d8f0451e35adc408ad5635059fa3d'
+'3491c028f9ff9ccd7437b487de682a961ca64202f861838775d872bef980bf4d'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 --disable-kafka --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # unit test requires criterion, python test requires 
pep8
+}
+
+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 364180, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2019-10-08 16:01:42 UTC (rev 364181)
@@ -0,0 +1,92 @@
+@version: 3.23
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2019-09-21 Thread Florian Pritz via arch-commits
Date: Saturday, September 21, 2019 @ 21:59:14
  Author: bluewind
Revision: 363210

archrelease: copy trunk to testing-x86_64

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

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

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 363209, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-09-21 21:59:14 UTC (rev 363210)
@@ -0,0 +1,66 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.23.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' 'geoip' 'libmaxminddb' 'net-snmp')
+checkdepends=('python-nose' 'python-pylint' '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'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'geoip: for the GeoIP plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP 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)
+sha256sums=('fb36cfc1982831f74143b77a924ee79714745b5e2b3ff59d086d09a77d0acd38'
+'91308ed9c68113724d92b703ecbf4f74d4559969f2caa812962fba1ce0fe9931'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 --disable-kafka --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # unit test requires criterion, python test requires 
pep8
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+  install -dm755 "$pkgdir/var/lib/syslog-ng" 
"$pkgdir/etc/syslog-ng/patterndb.d"
+  sed -e "s#%%VERSION%%#${pkgver%.*}#" "$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 363209, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2019-09-21 21:59:14 UTC (rev 363210)
@@ -0,0 +1,92 @@
+@version: %%VERSION%%
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };

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

2019-08-29 Thread Florian Pritz via arch-commits
Date: Thursday, August 29, 2019 @ 15:42:20
  Author: bluewind
Revision: 361369

archrelease: copy trunk to testing-x86_64

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

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

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 361368, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-08-29 15:42:20 UTC (rev 361369)
@@ -0,0 +1,66 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.23.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' 'geoip' 'libmaxminddb' 'net-snmp')
+checkdepends=('python-nose' 'python-pylint' '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'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'geoip: for the GeoIP plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP 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)
+sha256sums=('fb36cfc1982831f74143b77a924ee79714745b5e2b3ff59d086d09a77d0acd38'
+'31cee11ae3c897c51ea01982e1ea838aa8ac730d56661a17e66bd9de5bede1c7'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 --disable-kafka --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # unit test requires criterion, python test requires 
pep8
+}
+
+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 361368, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2019-08-29 15:42:20 UTC (rev 361369)
@@ -0,0 +1,92 @@
+@version: 3.17
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { 

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

2019-06-25 Thread Florian Pritz via arch-commits
Date: Tuesday, June 25, 2019 @ 17:57:36
  Author: bluewind
Revision: 356920

archrelease: copy trunk to testing-x86_64

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

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

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 356919, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-06-25 17:57:36 UTC (rev 356920)
@@ -0,0 +1,66 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.22.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' 'geoip' 'libmaxminddb' 'net-snmp')
+checkdepends=('python-nose' 'python-pylint' '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'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: for the Redis plugin'
+'geoip: for the GeoIP plugin'
+'libmaxminddb: for the GeoIP2 plugin'
+'net-snmp: for the SNMP 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)
+sha256sums=('0656443776fa554320cb81bbebeac72bdf871298dd2ebef7413c393aec4d74c8'
+'31cee11ae3c897c51ea01982e1ea838aa8ac730d56661a17e66bd9de5bede1c7'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+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 --disable-kafka --with-python=3 --with-jsonc=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # unit test requires criterion, python test requires 
pep8
+}
+
+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 356919, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2019-06-25 17:57:36 UTC (rev 356920)
@@ -0,0 +1,92 @@
+@version: 3.17
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { 

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

2019-05-11 Thread Florian Pritz via arch-commits
Date: Saturday, May 11, 2019 @ 10:59:30
  Author: bluewind
Revision: 352836

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   63 ++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 162 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 352835, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-05-11 10:59:30 UTC (rev 352836)
@@ -0,0 +1,63 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.21.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' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python' 
'libesmtp' 'hiredis')
+checkdepends=('python-nose' 'python-ply' 'python2')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: fir the redis plugin')
+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)
+sha256sums=('8d163da5ad79cf3a5f043b2ed0fe18a4888d0d740542703bf2508f0b9996cd25'
+'31cee11ae3c897c51ea01982e1ea838aa8ac730d56661a17e66bd9de5bede1c7'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql 
--enable-smtp \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+  # See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 352835, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2019-05-11 10:59:30 UTC (rev 352836)
@@ -0,0 +1,92 @@
+@version: 3.17
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail 

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

2019-03-16 Thread Florian Pritz via arch-commits
Date: Saturday, March 16, 2019 @ 16:21:34
  Author: bluewind
Revision: 348482

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   63 ++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 162 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 348481, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-03-16 16:21:34 UTC (rev 348482)
@@ -0,0 +1,63 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.20.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' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python' 
'libesmtp' 'hiredis')
+checkdepends=('python-nose' 'python-ply' 'python2')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: fir the redis plugin')
+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)
+sha256sums=('a65858afe9c649119a23ff61669945cab8692a045ee8259e8ee666445c8fbda0'
+'31cee11ae3c897c51ea01982e1ea838aa8ac730d56661a17e66bd9de5bede1c7'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql 
--enable-smtp \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+  # See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 348481, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2019-03-16 16:21:34 UTC (rev 348482)
@@ -0,0 +1,92 @@
+@version: 3.17
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination 

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

2018-12-29 Thread Jelle van der Waa via arch-commits
Date: Saturday, December 29, 2018 @ 13:23:42
  Author: jelle
Revision: 342779

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   63 ++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 162 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 342778, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-12-29 13:23:42 UTC (rev 342779)
@@ -0,0 +1,63 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.19.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' 'libsystemd' 'glib2' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python' 
'libesmtp' 'hiredis')
+checkdepends=('python-nose' 'python-ply' 'python2')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: fir the redis plugin')
+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)
+sha256sums=('5cf931a9d7bead0e6d9a2c65eee8f6005a005878f59aa280f3c4294257ed5178'
+'31cee11ae3c897c51ea01982e1ea838aa8ac730d56661a17e66bd9de5bede1c7'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql 
--enable-smtp \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+  # See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 342778, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2018-12-29 13:23:42 UTC (rev 342779)
@@ -0,0 +1,92 @@
+@version: 3.17
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail 

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

2018-11-11 Thread Jelle van der Waa via arch-commits
Date: Sunday, November 11, 2018 @ 20:15:00
  Author: jelle
Revision: 339287

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   63 ++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 162 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 339286, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-11-11 20:15:00 UTC (rev 339287)
@@ -0,0 +1,63 @@
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.18.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' 'libsystemd' 'glib2' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python' 
'libesmtp' 'hiredis')
+checkdepends=('python-nose' 'python-ply' 'python2')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: fir the redis plugin')
+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)
+sha256sums=('d63753fa81108715798ee3d361683390d2d1d0c59f7d4e36063047bfb7093bf8'
+'31cee11ae3c897c51ea01982e1ea838aa8ac730d56661a17e66bd9de5bede1c7'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql 
--enable-smtp \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+  # See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 339286, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2018-11-11 20:15:00 UTC (rev 339287)
@@ -0,0 +1,92 @@
+@version: 3.17
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { 

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

2018-09-10 Thread Antonio Rojas via arch-commits
Date: Monday, September 10, 2018 @ 19:59:13
  Author: arojas
Revision: 334324

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   64 ++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 163 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 334323, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-09-10 19:59:13 UTC (rev 334324)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.17.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' 'libsystemd' 'glib2' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python' 
'libesmtp' 'hiredis')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin'
+'hiredis: fir the redis plugin')
+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)
+sha256sums=('73601f7ca13c6b534318d5b0648ec1833aa9ca0516d6c3f90085b090d548c50b'
+'31cee11ae3c897c51ea01982e1ea838aa8ac730d56661a17e66bd9de5bede1c7'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql 
--enable-smtp \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 334323, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2018-09-10 19:59:13 UTC (rev 334324)
@@ -0,0 +1,92 @@
+@version: 3.17
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { 

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

2018-07-08 Thread Evangelos Foutras via arch-commits
Date: Sunday, July 8, 2018 @ 12:59:24
  Author: foutrelis
Revision: 328066

archrelease: copy trunk to staging-x86_64

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

-+
 PKGBUILD|   63 ++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 162 insertions(+)

Copied: syslog-ng/repos/staging-x86_64/PKGBUILD (from rev 328065, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-07-08 12:59:24 UTC (rev 328066)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.15.1
+pkgrel=4
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="http://www.balabit.com/network-security/syslog-ng/;
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd' 'glib2' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python' 
'libesmtp')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin'
+'libesmtp: for the SMTP plugin')
+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)
+sha256sums=('a2dabd28674e2b558e4fb92484ad111d77bf7150070aa28556827130b479f9ef'
+'893a2db9e4d56c740cfa9de64a153dccb590049cc93750bd2cdea68be14486a9'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql 
--enable-smtp \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/staging-x86_64/syslog-ng.conf (from rev 328065, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2018-07-08 12:59:24 UTC (rev 328066)
@@ -0,0 +1,92 @@
+@version: 3.15
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { file("/var/log/mail.log"); };
+destination d_news { 

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

2018-06-03 Thread Jelle van der Waa via arch-commits
Date: Sunday, June 3, 2018 @ 12:58:00
  Author: jelle
Revision: 325630

archrelease: copy trunk to staging-x86_64

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

-+
 PKGBUILD|   62 +
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 161 insertions(+)

Copied: syslog-ng/repos/staging-x86_64/PKGBUILD (from rev 325629, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-06-03 12:58:00 UTC (rev 325630)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.15.1
+pkgrel=2
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="http://www.balabit.com/network-security/syslog-ng/;
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd' 'glib2' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin')
+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)
+sha256sums=('a2dabd28674e2b558e4fb92484ad111d77bf7150070aa28556827130b479f9ef'
+'893a2db9e4d56c740cfa9de64a153dccb590049cc93750bd2cdea68be14486a9'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/staging-x86_64/syslog-ng.conf (from rev 325629, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2018-06-03 12:58:00 UTC (rev 325630)
@@ -0,0 +1,92 @@
+@version: 3.15
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { file("/var/log/mail.log"); };
+destination d_news { file("/var/log/news.log"); };
+destination d_ppp { file("/var/log/ppp.log"); };
+destination d_debug 

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

2018-05-29 Thread Antonio Rojas via arch-commits
Date: Tuesday, May 29, 2018 @ 06:42:04
  Author: arojas
Revision: 325109

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   62 +
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 161 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 325108, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-05-29 06:42:04 UTC (rev 325109)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.15.1
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="http://www.balabit.com/network-security/syslog-ng/;
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd' 'glib2' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'mongo-c-driver' 'librabbitmq-c' 'python')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'mongo-c-driver: for the MongoDB plugin'
+'python: for the Python plugin')
+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)
+sha256sums=('a2dabd28674e2b558e4fb92484ad111d77bf7150070aa28556827130b479f9ef'
+'893a2db9e4d56c740cfa9de64a153dccb590049cc93750bd2cdea68be14486a9'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 325108, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2018-05-29 06:42:04 UTC (rev 325109)
@@ -0,0 +1,92 @@
+@version: 3.15
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { file("/var/log/mail.log"); };
+destination d_news { file("/var/log/news.log"); };
+destination d_ppp { file("/var/log/ppp.log"); };
+destination 

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

2018-04-11 Thread Bartłomiej Piotrowski via arch-commits
Date: Wednesday, April 11, 2018 @ 18:37:35
  Author: bpiotrowski
Revision: 321571

archrelease: copy trunk to staging-x86_64

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

-+
 PKGBUILD|   62 +
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 161 insertions(+)

Copied: syslog-ng/repos/staging-x86_64/PKGBUILD (from rev 321570, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-04-11 18:37:35 UTC (rev 321571)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.14.1
+pkgrel=2
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="http://www.balabit.com/network-security/syslog-ng/;
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd' 'glib2' 'libdbi' 'libnsl')
+makedepends=('libxslt' 'json-c' 'libmongoc' 'librabbitmq-c' 'python')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'libmongoc: for the MongoDB plugin'
+'python: for the Python plugin')
+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)
+sha256sums=('0245260dc9942a9a07110948151654a60992e039821358da348fb34356c4e944'
+'40dee47045c814fc1ec8537a450ae2de849ab5f931ecc6de1bfde26573839b2b'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/staging-x86_64/syslog-ng.conf (from rev 321570, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2018-04-11 18:37:35 UTC (rev 321571)
@@ -0,0 +1,92 @@
+@version: 3.14
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { file("/var/log/mail.log"); };
+destination d_news { file("/var/log/news.log"); };
+destination d_ppp { file("/var/log/ppp.log"); };

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

2018-03-12 Thread Antonio Rojas via arch-commits
Date: Monday, March 12, 2018 @ 08:52:38
  Author: arojas
Revision: 318741

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   62 +
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 161 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 318740, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-03-12 08:52:38 UTC (rev 318741)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.14.1
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="http://www.balabit.com/network-security/syslog-ng/;
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd' 'glib2' 'libdbi')
+makedepends=('libxslt' 'json-c' 'libmongoc' 'librabbitmq-c' 'python')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'libmongoc: for the MongoDB plugin'
+'python: for the Python plugin')
+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)
+sha256sums=('0245260dc9942a9a07110948151654a60992e039821358da348fb34356c4e944'
+'40dee47045c814fc1ec8537a450ae2de849ab5f931ecc6de1bfde26573839b2b'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 318740, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2018-03-12 08:52:38 UTC (rev 318741)
@@ -0,0 +1,92 @@
+@version: 3.14
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { file("/var/log/mail.log"); };
+destination d_news { file("/var/log/news.log"); };
+destination d_ppp { file("/var/log/ppp.log"); };
+destination 

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

2017-12-25 Thread Antonio Rojas via arch-commits
Date: Monday, December 25, 2017 @ 10:23:48
  Author: arojas
Revision: 313605

archrelease: copy trunk to staging-x86_64

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

-+
 PKGBUILD|   65 +++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 164 insertions(+)

Copied: syslog-ng/repos/staging-x86_64/PKGBUILD (from rev 313604, 
syslog-ng/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-12-25 10:23:48 UTC (rev 313605)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.12.1
+pkgrel=6
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('x86_64')
+url="http://www.balabit.com/network-security/syslog-ng/;
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'systemd' 'glib2' 'libdbi')
+makedepends=('python2' 'libxslt' 'json-c' 'libmongoc' 'librabbitmq-c' 'python')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'libmongoc: for the MongoDB plugin')
+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-json-c-0.13.patch::"https://github.com/balabit/syslog-ng/commit/1b824dd6.patch;)
+sha256sums=('12d2acb8e292d16068debae7f9a699e791ca497540d28833a694a9a1ccd78f43'
+'7c760108faf56cb645b1102e3a3363cc5943ff03d19021ae7ac623d268e7471a'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317'
+'6c1b29e18e502ca670b8f6e519fc6f5525fc384632ea3a036167d68b7f69ccc5')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+  sed -i -e 's|etc|etc/syslog-ng|g' -e 's|/var/run|/run|g' 
contrib/systemd/syslog-ng@default
+
+  patch -p1 -i ../syslog-ng-json-c-0.13.patch # Fix build with json-c 0.13
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/staging-x86_64/syslog-ng.conf (from rev 313604, 
syslog-ng/trunk/syslog-ng.conf)
===
--- staging-x86_64/syslog-ng.conf   (rev 0)
+++ staging-x86_64/syslog-ng.conf   2017-12-25 10:23:48 UTC (rev 313605)
@@ -0,0 +1,92 @@
+@version: 3.12
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { 

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

2017-11-09 Thread Antonio Rojas
Date: Thursday, November 9, 2017 @ 12:45:03
  Author: arojas
Revision: 309090

archrelease: copy trunk to testing-x86_64

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

-+
 PKGBUILD|   56 ++
 syslog-ng.conf  |   92 ++
 syslog-ng.logrotate |7 +++
 3 files changed, 155 insertions(+)

Copied: syslog-ng/repos/testing-x86_64/PKGBUILD (from rev 309089, 
syslog-ng/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-11-09 12:45:03 UTC (rev 309090)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgname=syslog-ng
+pkgver=3.12.1
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering 
capabilities"
+arch=('i686' 'x86_64')
+url="http://www.balabit.com/network-security/syslog-ng/;
+license=('GPL2' 'LGPL2.1')
+depends=('awk' 'eventlog' 'systemd' 'glib2' 'libdbi')
+makedepends=('python2' 'libxslt' 'json-c' 'libmongoc' 'librabbitmq-c')
+checkdepends=('python-nose' 'python-ply')
+optdepends=('logrotate: for rotating log files'
+   'json-c: for json-plugin'
+'curl: for the HTTP module'
+'librabbitmq-c: for the AMQP plugin'
+'libmongoc: for the MongoDB plugin')
+backup=('etc/syslog-ng/scl.conf'
+'etc/syslog-ng/syslog-ng.conf'
+'etc/logrotate.d/syslog-ng')
+source=(https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$pkgver/$pkgname-$pkgver.tar.gz
+syslog-ng.conf syslog-ng.logrotate)
+sha256sums=('12d2acb8e292d16068debae7f9a699e791ca497540d28833a694a9a1ccd78f43'
+'7c760108faf56cb645b1102e3a3363cc5943ff03d19021ae7ac623d268e7471a'
+'93c935eca56854011ea9e353b7a1da662ad40b2e8452954c5b4b5a1d5b2d5317')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i -e 's,/bin/,/usr/bin/,' -e 's,/sbin/,/bin/,' 
contrib/systemd/syslog-ng@.service
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./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 --disable-spoof-source --enable-ipv6 --enable-sql \
+--enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system \
+--enable-manpages --with-jsonc=system --with-mongoc=system 
--with-librabbitmq-client=system
+  make
+}
+
+check() {
+  cd $pkgname-$pkgver
+  make check || /bin/true # python test requires pep8
+}
+
+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"
+
+# See http://lists.balabit.hu/pipermail/syslog-ng/2016-February/022667.html
+  rm -r "$pkgdir"/usr/share/syslog-ng/include/scl/cim
+}

Copied: syslog-ng/repos/testing-x86_64/syslog-ng.conf (from rev 309089, 
syslog-ng/trunk/syslog-ng.conf)
===
--- testing-x86_64/syslog-ng.conf   (rev 0)
+++ testing-x86_64/syslog-ng.conf   2017-11-09 12:45:03 UTC (rev 309090)
@@ -0,0 +1,92 @@
+@version: 3.12
+@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);
+  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/crond.log"); };
+destination d_daemon { file("/var/log/daemon.log"); };
+destination d_kernel { file("/var/log/kernel.log"); };
+destination d_lpr { file("/var/log/lpr.log"); };
+destination d_user { file("/var/log/user.log"); };
+destination d_uucp { file("/var/log/uucp.log"); };
+destination d_mail { file("/var/log/mail.log"); };
+destination d_news { file("/var/log/news.log"); };
+destination d_ppp { file("/var/log/ppp.log"); };
+destination d_debug { file("/var/log/debug.log"); };
+destination d_messages { file("/var/log/messages.log"); };
+destination d_errors { file("/var/log/errors.log"); };
+destination d_everything { file("/var/log/everything.log"); };
+destination d_iptables { file("/var/log/iptables.log"); };
+destination d_acpid {