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

Dave Reisner dreisner at nymeria.archlinux.org
Fri Aug 16 23:00:07 UTC 2013


    Date: Saturday, August 17, 2013 @ 01:00:07
  Author: dreisner
Revision: 193122

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  syslog-ng/repos/extra-i686/PKGBUILD
    (from rev 193121, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/extra-i686/syslog-ng.conf
    (from rev 193121, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/extra-i686/syslog-ng.install
    (from rev 193121, syslog-ng/trunk/syslog-ng.install)
  syslog-ng/repos/extra-i686/syslog-ng.logrotate
    (from rev 193121, syslog-ng/trunk/syslog-ng.logrotate)
  syslog-ng/repos/extra-x86_64/PKGBUILD
    (from rev 193121, syslog-ng/trunk/PKGBUILD)
  syslog-ng/repos/extra-x86_64/syslog-ng.conf
    (from rev 193121, syslog-ng/trunk/syslog-ng.conf)
  syslog-ng/repos/extra-x86_64/syslog-ng.install
    (from rev 193121, syslog-ng/trunk/syslog-ng.install)
  syslog-ng/repos/extra-x86_64/syslog-ng.logrotate
    (from rev 193121, syslog-ng/trunk/syslog-ng.logrotate)
Deleted:
  syslog-ng/repos/extra-i686/PKGBUILD
  syslog-ng/repos/extra-i686/syslog-ng.conf
  syslog-ng/repos/extra-i686/syslog-ng.install
  syslog-ng/repos/extra-i686/syslog-ng.logrotate
  syslog-ng/repos/extra-x86_64/PKGBUILD
  syslog-ng/repos/extra-x86_64/syslog-ng.conf
  syslog-ng/repos/extra-x86_64/syslog-ng.install
  syslog-ng/repos/extra-x86_64/syslog-ng.logrotate

----------------------------------+
 /PKGBUILD                        |  110 ++++++++++++++++++++++
 /syslog-ng.conf                  |  184 +++++++++++++++++++++++++++++++++++++
 /syslog-ng.install               |   18 +++
 /syslog-ng.logrotate             |   14 ++
 extra-i686/PKGBUILD              |   55 -----------
 extra-i686/syslog-ng.conf        |   92 ------------------
 extra-i686/syslog-ng.install     |    9 -
 extra-i686/syslog-ng.logrotate   |    7 -
 extra-x86_64/PKGBUILD            |   55 -----------
 extra-x86_64/syslog-ng.conf      |   92 ------------------
 extra-x86_64/syslog-ng.install   |    9 -
 extra-x86_64/syslog-ng.logrotate |    7 -
 12 files changed, 326 insertions(+), 326 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-i686/PKGBUILD	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=syslog-ng
-pkgver=3.4.2
-pkgrel=1
-pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://www.balabit.com/network-security/syslog-ng/"
-depends=('awk' 'eventlog' 'glib2' 'libcap' 'openssl' 'systemd')
-makedepends=('flex' 'pkg-config' 'python2')
-optdepends=('logrotate: for rotating log files')
-options=('!libtool')
-backup=('etc/syslog-ng/scl.conf'
-        'etc/syslog-ng/syslog-ng.conf'
-        'etc/logrotate.d/syslog-ng')
-install=$pkgname.install
-source=("http://www.balabit.com/downloads/files/syslog-ng/sources/$pkgver/source/${pkgname}_$pkgver.tar.gz"
-        syslog-ng.conf
-        syslog-ng.logrotate)
-sha1sums=('96474f955fb51d4f31ce1154c84b0cb48c8748d2'
-          '0aaf695ea6756b59198ff2e4af237b4a6186525d'
-          '949128fe3d7f77a7aab99048061f885bc758000c')
-
-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/syslog-ng \
-    --with-pidfile-dir=/run \
-    --disable-spoof-source \
-    --enable-ipv6 \
-    --enable-systemd \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-
-  make
-}
-
-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"
-
-  sed -i 's,/sbin/,/bin/,' "$pkgdir/usr/lib/systemd/system/syslog-ng.service"
-}

Copied: syslog-ng/repos/extra-i686/PKGBUILD (from rev 193121, syslog-ng/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=syslog-ng
+pkgver=3.4.3
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.balabit.com/network-security/syslog-ng/"
+depends=('awk' 'eventlog' 'glib2' 'libcap' 'openssl' 'systemd')
+makedepends=('flex' 'pkg-config' 'python2')
+optdepends=('logrotate: for rotating log files')
+options=('!libtool')
+backup=('etc/syslog-ng/scl.conf'
+        'etc/syslog-ng/syslog-ng.conf'
+        'etc/logrotate.d/syslog-ng')
+install=$pkgname.install
+source=("http://www.balabit.com/downloads/files/syslog-ng/sources/$pkgver/source/${pkgname}_$pkgver.tar.gz"
+        syslog-ng.conf
+        syslog-ng.logrotate)
+sha1sums=('70433d041b2e48c598ee7595d89ddb2e1f6450b4'
+          '0aaf695ea6756b59198ff2e4af237b4a6186525d'
+          '949128fe3d7f77a7aab99048061f885bc758000c')
+
+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/syslog-ng \
+    --with-pidfile-dir=/run \
+    --disable-spoof-source \
+    --enable-ipv6 \
+    --enable-systemd \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+
+  make
+}
+
+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"
+
+  sed -i 's,/sbin/,/bin/,' "$pkgdir/usr/lib/systemd/system/syslog-ng.service"
+}

Deleted: extra-i686/syslog-ng.conf
===================================================================
--- extra-i686/syslog-ng.conf	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-i686/syslog-ng.conf	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,92 +0,0 @@
- at version: 3.4
-#
-# /etc/syslog-ng/syslog-ng.conf
-#
-
-options {
-  stats_freq (0);
-  flush_lines (0);
-  time_reopen (10);
-  log_fifo_size (10000);
-  chain_hostnames (off);
-  use_dns (no);
-  use_fqdn (no);
-  create_dirs (no);
-  keep_hostname (yes);
-  perm(0640);
-  group("log");
-};
-
-source src {
-  unix-dgram("/run/systemd/journal/syslog");
-  internal();
-  file("/proc/kmsg");
-};
-
-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 { file("/var/log/acpid.log"); };
-destination d_console { usertty("root"); };
-
-# Log everything to tty12
-destination console_all { file("/dev/tty12"); };
-
-filter f_auth { facility(auth); };
-filter f_authpriv { facility(auth, authpriv); };
-filter f_syslog { program(syslog-ng); };
-filter f_cron { facility(cron); };
-filter f_daemon { facility(daemon); };
-filter f_kernel { facility(kern) and not filter(f_iptables); };
-filter f_lpr { facility(lpr); };
-filter f_mail { facility(mail); };
-filter f_news { facility(news); };
-filter f_user { facility(user); };
-filter f_uucp { facility(uucp); };
-filter f_ppp { facility(local2); };
-filter f_debug { not facility(auth, authpriv, news, mail); };
-filter f_messages { level(info..warn) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables); };
-filter f_everything { level(debug..emerg) and not facility(auth, authpriv); };
-filter f_emergency { level(emerg); };
-filter f_info { level(info); };
-filter f_notice { level(notice); };
-filter f_warn { level(warn); };
-filter f_crit { level(crit); };
-filter f_err { level(err); };
-filter f_iptables { match("IN=" value("MESSAGE")) and match("OUT=" value("MESSAGE")); };
-filter f_acpid { program("acpid"); };
-
-log { source(src); filter(f_acpid); destination(d_acpid); };
-log { source(src); filter(f_authpriv); destination(d_authlog); };
-log { source(src); filter(f_syslog); destination(d_syslog); };
-log { source(src); filter(f_cron); destination(d_cron); };
-log { source(src); filter(f_daemon); destination(d_daemon); };
-log { source(src); filter(f_kernel); destination(d_kernel); };
-log { source(src); filter(f_lpr); destination(d_lpr); };
-log { source(src); filter(f_mail); destination(d_mail); };
-log { source(src); filter(f_news); destination(d_news); };
-log { source(src); filter(f_ppp); destination(d_ppp); };
-log { source(src); filter(f_user); destination(d_user); };
-log { source(src); filter(f_uucp); destination(d_uucp); };
-#log { source(src); filter(f_debug); destination(d_debug); };
-log { source(src); filter(f_messages); destination(d_messages); };
-log { source(src); filter(f_err); destination(d_errors); };
-log { source(src); filter(f_emergency); destination(d_console); };
-log { source(src); filter(f_everything); destination(d_everything); };
-log { source(src); filter(f_iptables); destination(d_iptables); };
-
-# Log everything to tty12
-#log { source(src); destination(console_all); };

Copied: syslog-ng/repos/extra-i686/syslog-ng.conf (from rev 193121, syslog-ng/trunk/syslog-ng.conf)
===================================================================
--- extra-i686/syslog-ng.conf	                        (rev 0)
+++ extra-i686/syslog-ng.conf	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,92 @@
+ at version: 3.4
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (10000);
+  chain_hostnames (off);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  unix-dgram("/run/systemd/journal/syslog");
+  internal();
+  file("/proc/kmsg");
+};
+
+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 { file("/var/log/acpid.log"); };
+destination d_console { usertty("root"); };
+
+# Log everything to tty12
+destination console_all { file("/dev/tty12"); };
+
+filter f_auth { facility(auth); };
+filter f_authpriv { facility(auth, authpriv); };
+filter f_syslog { program(syslog-ng); };
+filter f_cron { facility(cron); };
+filter f_daemon { facility(daemon); };
+filter f_kernel { facility(kern) and not filter(f_iptables); };
+filter f_lpr { facility(lpr); };
+filter f_mail { facility(mail); };
+filter f_news { facility(news); };
+filter f_user { facility(user); };
+filter f_uucp { facility(uucp); };
+filter f_ppp { facility(local2); };
+filter f_debug { not facility(auth, authpriv, news, mail); };
+filter f_messages { level(info..warn) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables); };
+filter f_everything { level(debug..emerg) and not facility(auth, authpriv); };
+filter f_emergency { level(emerg); };
+filter f_info { level(info); };
+filter f_notice { level(notice); };
+filter f_warn { level(warn); };
+filter f_crit { level(crit); };
+filter f_err { level(err); };
+filter f_iptables { match("IN=" value("MESSAGE")) and match("OUT=" value("MESSAGE")); };
+filter f_acpid { program("acpid"); };
+
+log { source(src); filter(f_acpid); destination(d_acpid); };
+log { source(src); filter(f_authpriv); destination(d_authlog); };
+log { source(src); filter(f_syslog); destination(d_syslog); };
+log { source(src); filter(f_cron); destination(d_cron); };
+log { source(src); filter(f_daemon); destination(d_daemon); };
+log { source(src); filter(f_kernel); destination(d_kernel); };
+log { source(src); filter(f_lpr); destination(d_lpr); };
+log { source(src); filter(f_mail); destination(d_mail); };
+log { source(src); filter(f_news); destination(d_news); };
+log { source(src); filter(f_ppp); destination(d_ppp); };
+log { source(src); filter(f_user); destination(d_user); };
+log { source(src); filter(f_uucp); destination(d_uucp); };
+#log { source(src); filter(f_debug); destination(d_debug); };
+log { source(src); filter(f_messages); destination(d_messages); };
+log { source(src); filter(f_err); destination(d_errors); };
+log { source(src); filter(f_emergency); destination(d_console); };
+log { source(src); filter(f_everything); destination(d_everything); };
+log { source(src); filter(f_iptables); destination(d_iptables); };
+
+# Log everything to tty12
+#log { source(src); destination(console_all); };

Deleted: extra-i686/syslog-ng.install
===================================================================
--- extra-i686/syslog-ng.install	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-i686/syslog-ng.install	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-post_upgrade() {
-  if [ "$(vercmp 3.3.6-3 "$2")" -eq 1 ]; then
-    printf '==> syslog-ng now reads from /run/systemd/journal/syslog in the\n'
-    printf '    default config. If you still use sysvinit/initscripts, this\n'
-    printf '    must be /dev/log in /etc/syslog-ng/syslog-ng.conf\n'
-  fi
-}

Copied: syslog-ng/repos/extra-i686/syslog-ng.install (from rev 193121, syslog-ng/trunk/syslog-ng.install)
===================================================================
--- extra-i686/syslog-ng.install	                        (rev 0)
+++ extra-i686/syslog-ng.install	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+post_upgrade() {
+  if [ "$(vercmp 3.3.6-3 "$2")" -eq 1 ]; then
+    printf '==> syslog-ng now reads from /run/systemd/journal/syslog in the\n'
+    printf '    default config. If you still use sysvinit/initscripts, this\n'
+    printf '    must be /dev/log in /etc/syslog-ng/syslog-ng.conf\n'
+  fi
+}

Deleted: extra-i686/syslog-ng.logrotate
===================================================================
--- extra-i686/syslog-ng.logrotate	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-i686/syslog-ng.logrotate	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,7 +0,0 @@
-/var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log {
-	missingok
-	sharedscripts
-	postrotate
-		/bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
-	endscript
-}

Copied: syslog-ng/repos/extra-i686/syslog-ng.logrotate (from rev 193121, syslog-ng/trunk/syslog-ng.logrotate)
===================================================================
--- extra-i686/syslog-ng.logrotate	                        (rev 0)
+++ extra-i686/syslog-ng.logrotate	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,7 @@
+/var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log {
+	missingok
+	sharedscripts
+	postrotate
+		/bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
+	endscript
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-x86_64/PKGBUILD	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Contributor: Eric Bélanger <eric at archlinux.org>
-# Contributor: Aaron Griffin <aaron at archlinux.org>
-
-pkgname=syslog-ng
-pkgver=3.4.2
-pkgrel=1
-pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
-arch=('i686' 'x86_64')
-license=('GPL2')
-url="http://www.balabit.com/network-security/syslog-ng/"
-depends=('awk' 'eventlog' 'glib2' 'libcap' 'openssl' 'systemd')
-makedepends=('flex' 'pkg-config' 'python2')
-optdepends=('logrotate: for rotating log files')
-options=('!libtool')
-backup=('etc/syslog-ng/scl.conf'
-        'etc/syslog-ng/syslog-ng.conf'
-        'etc/logrotate.d/syslog-ng')
-install=$pkgname.install
-source=("http://www.balabit.com/downloads/files/syslog-ng/sources/$pkgver/source/${pkgname}_$pkgver.tar.gz"
-        syslog-ng.conf
-        syslog-ng.logrotate)
-sha1sums=('96474f955fb51d4f31ce1154c84b0cb48c8748d2'
-          '0aaf695ea6756b59198ff2e4af237b4a6186525d'
-          '949128fe3d7f77a7aab99048061f885bc758000c')
-
-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/syslog-ng \
-    --with-pidfile-dir=/run \
-    --disable-spoof-source \
-    --enable-ipv6 \
-    --enable-systemd \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-
-  make
-}
-
-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"
-
-  sed -i 's,/sbin/,/bin/,' "$pkgdir/usr/lib/systemd/system/syslog-ng.service"
-}

Copied: syslog-ng/repos/extra-x86_64/PKGBUILD (from rev 193121, syslog-ng/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dave Reisner <dreisner at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=syslog-ng
+pkgver=3.4.3
+pkgrel=1
+pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://www.balabit.com/network-security/syslog-ng/"
+depends=('awk' 'eventlog' 'glib2' 'libcap' 'openssl' 'systemd')
+makedepends=('flex' 'pkg-config' 'python2')
+optdepends=('logrotate: for rotating log files')
+options=('!libtool')
+backup=('etc/syslog-ng/scl.conf'
+        'etc/syslog-ng/syslog-ng.conf'
+        'etc/logrotate.d/syslog-ng')
+install=$pkgname.install
+source=("http://www.balabit.com/downloads/files/syslog-ng/sources/$pkgver/source/${pkgname}_$pkgver.tar.gz"
+        syslog-ng.conf
+        syslog-ng.logrotate)
+sha1sums=('70433d041b2e48c598ee7595d89ddb2e1f6450b4'
+          '0aaf695ea6756b59198ff2e4af237b4a6186525d'
+          '949128fe3d7f77a7aab99048061f885bc758000c')
+
+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/syslog-ng \
+    --with-pidfile-dir=/run \
+    --disable-spoof-source \
+    --enable-ipv6 \
+    --enable-systemd \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+
+  make
+}
+
+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"
+
+  sed -i 's,/sbin/,/bin/,' "$pkgdir/usr/lib/systemd/system/syslog-ng.service"
+}

Deleted: extra-x86_64/syslog-ng.conf
===================================================================
--- extra-x86_64/syslog-ng.conf	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-x86_64/syslog-ng.conf	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,92 +0,0 @@
- at version: 3.4
-#
-# /etc/syslog-ng/syslog-ng.conf
-#
-
-options {
-  stats_freq (0);
-  flush_lines (0);
-  time_reopen (10);
-  log_fifo_size (10000);
-  chain_hostnames (off);
-  use_dns (no);
-  use_fqdn (no);
-  create_dirs (no);
-  keep_hostname (yes);
-  perm(0640);
-  group("log");
-};
-
-source src {
-  unix-dgram("/run/systemd/journal/syslog");
-  internal();
-  file("/proc/kmsg");
-};
-
-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 { file("/var/log/acpid.log"); };
-destination d_console { usertty("root"); };
-
-# Log everything to tty12
-destination console_all { file("/dev/tty12"); };
-
-filter f_auth { facility(auth); };
-filter f_authpriv { facility(auth, authpriv); };
-filter f_syslog { program(syslog-ng); };
-filter f_cron { facility(cron); };
-filter f_daemon { facility(daemon); };
-filter f_kernel { facility(kern) and not filter(f_iptables); };
-filter f_lpr { facility(lpr); };
-filter f_mail { facility(mail); };
-filter f_news { facility(news); };
-filter f_user { facility(user); };
-filter f_uucp { facility(uucp); };
-filter f_ppp { facility(local2); };
-filter f_debug { not facility(auth, authpriv, news, mail); };
-filter f_messages { level(info..warn) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables); };
-filter f_everything { level(debug..emerg) and not facility(auth, authpriv); };
-filter f_emergency { level(emerg); };
-filter f_info { level(info); };
-filter f_notice { level(notice); };
-filter f_warn { level(warn); };
-filter f_crit { level(crit); };
-filter f_err { level(err); };
-filter f_iptables { match("IN=" value("MESSAGE")) and match("OUT=" value("MESSAGE")); };
-filter f_acpid { program("acpid"); };
-
-log { source(src); filter(f_acpid); destination(d_acpid); };
-log { source(src); filter(f_authpriv); destination(d_authlog); };
-log { source(src); filter(f_syslog); destination(d_syslog); };
-log { source(src); filter(f_cron); destination(d_cron); };
-log { source(src); filter(f_daemon); destination(d_daemon); };
-log { source(src); filter(f_kernel); destination(d_kernel); };
-log { source(src); filter(f_lpr); destination(d_lpr); };
-log { source(src); filter(f_mail); destination(d_mail); };
-log { source(src); filter(f_news); destination(d_news); };
-log { source(src); filter(f_ppp); destination(d_ppp); };
-log { source(src); filter(f_user); destination(d_user); };
-log { source(src); filter(f_uucp); destination(d_uucp); };
-#log { source(src); filter(f_debug); destination(d_debug); };
-log { source(src); filter(f_messages); destination(d_messages); };
-log { source(src); filter(f_err); destination(d_errors); };
-log { source(src); filter(f_emergency); destination(d_console); };
-log { source(src); filter(f_everything); destination(d_everything); };
-log { source(src); filter(f_iptables); destination(d_iptables); };
-
-# Log everything to tty12
-#log { source(src); destination(console_all); };

Copied: syslog-ng/repos/extra-x86_64/syslog-ng.conf (from rev 193121, syslog-ng/trunk/syslog-ng.conf)
===================================================================
--- extra-x86_64/syslog-ng.conf	                        (rev 0)
+++ extra-x86_64/syslog-ng.conf	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,92 @@
+ at version: 3.4
+#
+# /etc/syslog-ng/syslog-ng.conf
+#
+
+options {
+  stats_freq (0);
+  flush_lines (0);
+  time_reopen (10);
+  log_fifo_size (10000);
+  chain_hostnames (off);
+  use_dns (no);
+  use_fqdn (no);
+  create_dirs (no);
+  keep_hostname (yes);
+  perm(0640);
+  group("log");
+};
+
+source src {
+  unix-dgram("/run/systemd/journal/syslog");
+  internal();
+  file("/proc/kmsg");
+};
+
+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 { file("/var/log/acpid.log"); };
+destination d_console { usertty("root"); };
+
+# Log everything to tty12
+destination console_all { file("/dev/tty12"); };
+
+filter f_auth { facility(auth); };
+filter f_authpriv { facility(auth, authpriv); };
+filter f_syslog { program(syslog-ng); };
+filter f_cron { facility(cron); };
+filter f_daemon { facility(daemon); };
+filter f_kernel { facility(kern) and not filter(f_iptables); };
+filter f_lpr { facility(lpr); };
+filter f_mail { facility(mail); };
+filter f_news { facility(news); };
+filter f_user { facility(user); };
+filter f_uucp { facility(uucp); };
+filter f_ppp { facility(local2); };
+filter f_debug { not facility(auth, authpriv, news, mail); };
+filter f_messages { level(info..warn) and not facility(auth, authpriv, mail, news, cron) and not program(syslog-ng) and not filter(f_iptables); };
+filter f_everything { level(debug..emerg) and not facility(auth, authpriv); };
+filter f_emergency { level(emerg); };
+filter f_info { level(info); };
+filter f_notice { level(notice); };
+filter f_warn { level(warn); };
+filter f_crit { level(crit); };
+filter f_err { level(err); };
+filter f_iptables { match("IN=" value("MESSAGE")) and match("OUT=" value("MESSAGE")); };
+filter f_acpid { program("acpid"); };
+
+log { source(src); filter(f_acpid); destination(d_acpid); };
+log { source(src); filter(f_authpriv); destination(d_authlog); };
+log { source(src); filter(f_syslog); destination(d_syslog); };
+log { source(src); filter(f_cron); destination(d_cron); };
+log { source(src); filter(f_daemon); destination(d_daemon); };
+log { source(src); filter(f_kernel); destination(d_kernel); };
+log { source(src); filter(f_lpr); destination(d_lpr); };
+log { source(src); filter(f_mail); destination(d_mail); };
+log { source(src); filter(f_news); destination(d_news); };
+log { source(src); filter(f_ppp); destination(d_ppp); };
+log { source(src); filter(f_user); destination(d_user); };
+log { source(src); filter(f_uucp); destination(d_uucp); };
+#log { source(src); filter(f_debug); destination(d_debug); };
+log { source(src); filter(f_messages); destination(d_messages); };
+log { source(src); filter(f_err); destination(d_errors); };
+log { source(src); filter(f_emergency); destination(d_console); };
+log { source(src); filter(f_everything); destination(d_everything); };
+log { source(src); filter(f_iptables); destination(d_iptables); };
+
+# Log everything to tty12
+#log { source(src); destination(console_all); };

Deleted: extra-x86_64/syslog-ng.install
===================================================================
--- extra-x86_64/syslog-ng.install	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-x86_64/syslog-ng.install	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-post_upgrade() {
-  if [ "$(vercmp 3.3.6-3 "$2")" -eq 1 ]; then
-    printf '==> syslog-ng now reads from /run/systemd/journal/syslog in the\n'
-    printf '    default config. If you still use sysvinit/initscripts, this\n'
-    printf '    must be /dev/log in /etc/syslog-ng/syslog-ng.conf\n'
-  fi
-}

Copied: syslog-ng/repos/extra-x86_64/syslog-ng.install (from rev 193121, syslog-ng/trunk/syslog-ng.install)
===================================================================
--- extra-x86_64/syslog-ng.install	                        (rev 0)
+++ extra-x86_64/syslog-ng.install	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+post_upgrade() {
+  if [ "$(vercmp 3.3.6-3 "$2")" -eq 1 ]; then
+    printf '==> syslog-ng now reads from /run/systemd/journal/syslog in the\n'
+    printf '    default config. If you still use sysvinit/initscripts, this\n'
+    printf '    must be /dev/log in /etc/syslog-ng/syslog-ng.conf\n'
+  fi
+}

Deleted: extra-x86_64/syslog-ng.logrotate
===================================================================
--- extra-x86_64/syslog-ng.logrotate	2013-08-16 22:59:27 UTC (rev 193121)
+++ extra-x86_64/syslog-ng.logrotate	2013-08-16 23:00:07 UTC (rev 193122)
@@ -1,7 +0,0 @@
-/var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log {
-	missingok
-	sharedscripts
-	postrotate
-		/bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
-	endscript
-}

Copied: syslog-ng/repos/extra-x86_64/syslog-ng.logrotate (from rev 193121, syslog-ng/trunk/syslog-ng.logrotate)
===================================================================
--- extra-x86_64/syslog-ng.logrotate	                        (rev 0)
+++ extra-x86_64/syslog-ng.logrotate	2013-08-16 23:00:07 UTC (rev 193122)
@@ -0,0 +1,7 @@
+/var/log/messages.log /var/log/auth.log /var/log/mail.log /var/log/kernel.log /var/log/errors.log /var/log/daemon.log /var/log/user.log /var/log/iptables.log /var/log/everything.log /var/log/syslog.log /var/log/acpid.log /var/log/crond.log /var/log/lpr.log /var/log/uucp.log /var/log/news.log /var/log/ppp.log /var/log/debug.log {
+	missingok
+	sharedscripts
+	postrotate
+		/bin/kill -HUP $(cat /run/syslog-ng.pid 2>/dev/null) 2>/dev/null || true
+	endscript
+}




More information about the arch-commits mailing list