[arch-commits] Commit in rsyslog/repos (8 files)

Jelle van der Waa jelle at archlinux.org
Thu Mar 16 20:49:57 UTC 2017


    Date: Thursday, March 16, 2017 @ 20:49:56
  Author: jelle
Revision: 216817

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  rsyslog/repos/community-staging-i686/
  rsyslog/repos/community-staging-i686/PKGBUILD
    (from rev 216816, rsyslog/trunk/PKGBUILD)
  rsyslog/repos/community-staging-i686/rsyslog.conf
    (from rev 216816, rsyslog/trunk/rsyslog.conf)
  rsyslog/repos/community-staging-i686/rsyslog.logrotate
    (from rev 216816, rsyslog/trunk/rsyslog.logrotate)
  rsyslog/repos/community-staging-x86_64/
  rsyslog/repos/community-staging-x86_64/PKGBUILD
    (from rev 216816, rsyslog/trunk/PKGBUILD)
  rsyslog/repos/community-staging-x86_64/rsyslog.conf
    (from rev 216816, rsyslog/trunk/rsyslog.conf)
  rsyslog/repos/community-staging-x86_64/rsyslog.logrotate
    (from rev 216816, rsyslog/trunk/rsyslog.logrotate)

--------------------------------------------+
 community-staging-i686/PKGBUILD            |   61 +++++++++++++++++++++++++++
 community-staging-i686/rsyslog.conf        |   44 +++++++++++++++++++
 community-staging-i686/rsyslog.logrotate   |    7 +++
 community-staging-x86_64/PKGBUILD          |   61 +++++++++++++++++++++++++++
 community-staging-x86_64/rsyslog.conf      |   44 +++++++++++++++++++
 community-staging-x86_64/rsyslog.logrotate |    7 +++
 6 files changed, 224 insertions(+)

Copied: rsyslog/repos/community-staging-i686/PKGBUILD (from rev 216816, rsyslog/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-16 20:49:56 UTC (rev 216817)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=rsyslog
+pkgver=8.25.0
+pkgrel=2
+pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability"
+url="http://www.rsyslog.com/"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('zlib' 'libestr' 'libee' 'json-c' 'libsystemd' 'liblogging' 'librelp' 'libfastjson')
+makedepends=('postgresql-libs>=8.4.1' 'libmariadbclient' 'net-snmp' 'gnutls'
+	     'python-docutils')
+optdepends=('postgresql-libs: PostgreSQL Database Support'
+	    'libmariadbclient: MySQL Database Support'
+	    'net-snmp'
+	    'gnutls')
+backup=('etc/rsyslog.conf'
+	'etc/logrotate.d/rsyslog')
+options=('strip' 'zipman')
+source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz"
+	'rsyslog.logrotate'
+	'rsyslog.conf')
+sha256sums=('c756f16a083e5d4081fb9bfb236303a839cdca0a2c00017bd770b2e2e9677427'
+            '0f5bea3fd4dff2c9f097bf95768b2e1f6e9cfd9a08eab98bc3b3b4d2ed44119a'
+            '5fd51665ab9a81fbb24773068cb261b8dec073d74082c121633f49b9381d9a3f')
+
+prepare() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  sed -i rsyslog.service.in \
+    -e 's|rsyslogd -n|rsyslogd -n -i /run/rsyslogd.pid|' \
+    -e '/ExecStart=.*$/iPIDFile=/run/rsyslogd.pid'
+}
+
+build() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
+              --enable-mysql \
+              --enable-pgsql \
+              --enable-mail \
+              --enable-imfile \
+              --enable-snmp \
+              --enable-gnutls \
+              --enable-inet \
+              --enable-imjournal \
+              --enable-omjournal \
+              --enable-relp \
+              --enable-impstats \
+              --enable-imptcp \
+              --enable-omprog \
+              --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+}
+
+package() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  make install DESTDIR="$pkgdir"
+  install -D -m644 "$srcdir"/${pkgname}.conf "$pkgdir"/etc/${pkgname}.conf
+  install -D -m644 "$srcdir"/${pkgname}.logrotate "$pkgdir"/etc/logrotate.d/${pkgname}
+}

Copied: rsyslog/repos/community-staging-i686/rsyslog.conf (from rev 216816, rsyslog/trunk/rsyslog.conf)
===================================================================
--- community-staging-i686/rsyslog.conf	                        (rev 0)
+++ community-staging-i686/rsyslog.conf	2017-03-16 20:49:56 UTC (rev 216817)
@@ -0,0 +1,44 @@
+# Minimal config
+
+$ModLoad imuxsock # provides support for local system logging
+$ModLoad imklog   # provides kernel logging support
+$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
+$FileOwner root
+$FileGroup root
+$FileCreateMode 0640
+$DirCreateMode 0755
+$Umask 0022
+$WorkDirectory /var/spool/rsyslog
+$IncludeConfig /etc/rsyslog.d/*.conf
+
+auth,authpriv.*			/var/log/auth.log
+*.*;auth,authpriv.none		-/var/log/syslog
+#cron.*				/var/log/cron.log
+daemon.*			-/var/log/daemon.log
+kern.*				-/var/log/kern.log
+lpr.*				-/var/log/lpr.log
+mail.*				-/var/log/mail.log
+user.*				-/var/log/user.log
+
+mail.info			-/var/log/mail.info
+mail.warn			-/var/log/mail.warn
+mail.err			/var/log/mail.err
+
+news.crit			/var/log/news/news.crit
+news.err			/var/log/news/news.err
+news.notice			-/var/log/news/news.notice
+
+*.=debug;\
+	auth,authpriv.none;\
+	news.none;mail.none	-/var/log/debug
+*.=info;*.=notice;*.=warn;\
+	auth,authpriv.none;\
+	cron,daemon.none;\
+	mail,news.none		-/var/log/messages
+
+*.emerg				:omusrmsg:*
+
+daemon.*;mail.*;\
+	news.err;\
+	*.=debug;*.=info;\
+	*.=notice;*.=warn	|/dev/xconsole

Copied: rsyslog/repos/community-staging-i686/rsyslog.logrotate (from rev 216816, rsyslog/trunk/rsyslog.logrotate)
===================================================================
--- community-staging-i686/rsyslog.logrotate	                        (rev 0)
+++ community-staging-i686/rsyslog.logrotate	2017-03-16 20:49:56 UTC (rev 216817)
@@ -0,0 +1,7 @@
+/var/log/auth.log /var/log/cron.log /var/log/daemon.log /var/log/debug /var/log/kern.log /var/log/lpr.log /var/log/mail.err /var/log/mail.info /var/log/mail.log /var/log/mail.warn /var/log/messages /var/log/news /var/log/syslog /var/log/user.log {
+    missingok
+    sharedscripts
+    postrotate
+	/usr/bin/killall -HUP /usr/bin/rsyslogd
+    endscript
+}

Copied: rsyslog/repos/community-staging-x86_64/PKGBUILD (from rev 216816, rsyslog/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-16 20:49:56 UTC (rev 216817)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=rsyslog
+pkgver=8.25.0
+pkgrel=2
+pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability"
+url="http://www.rsyslog.com/"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('zlib' 'libestr' 'libee' 'json-c' 'libsystemd' 'liblogging' 'librelp' 'libfastjson')
+makedepends=('postgresql-libs>=8.4.1' 'libmariadbclient' 'net-snmp' 'gnutls'
+	     'python-docutils')
+optdepends=('postgresql-libs: PostgreSQL Database Support'
+	    'libmariadbclient: MySQL Database Support'
+	    'net-snmp'
+	    'gnutls')
+backup=('etc/rsyslog.conf'
+	'etc/logrotate.d/rsyslog')
+options=('strip' 'zipman')
+source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz"
+	'rsyslog.logrotate'
+	'rsyslog.conf')
+sha256sums=('c756f16a083e5d4081fb9bfb236303a839cdca0a2c00017bd770b2e2e9677427'
+            '0f5bea3fd4dff2c9f097bf95768b2e1f6e9cfd9a08eab98bc3b3b4d2ed44119a'
+            '5fd51665ab9a81fbb24773068cb261b8dec073d74082c121633f49b9381d9a3f')
+
+prepare() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  sed -i rsyslog.service.in \
+    -e 's|rsyslogd -n|rsyslogd -n -i /run/rsyslogd.pid|' \
+    -e '/ExecStart=.*$/iPIDFile=/run/rsyslogd.pid'
+}
+
+build() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  ./configure --prefix=/usr \
+              --sbindir=/usr/bin \
+              --enable-mysql \
+              --enable-pgsql \
+              --enable-mail \
+              --enable-imfile \
+              --enable-snmp \
+              --enable-gnutls \
+              --enable-inet \
+              --enable-imjournal \
+              --enable-omjournal \
+              --enable-relp \
+              --enable-impstats \
+              --enable-imptcp \
+              --enable-omprog \
+              --with-systemdsystemunitdir=/usr/lib/systemd/system
+  make
+}
+
+package() {
+  cd "$srcdir"/${pkgname}-${pkgver}
+  make install DESTDIR="$pkgdir"
+  install -D -m644 "$srcdir"/${pkgname}.conf "$pkgdir"/etc/${pkgname}.conf
+  install -D -m644 "$srcdir"/${pkgname}.logrotate "$pkgdir"/etc/logrotate.d/${pkgname}
+}

Copied: rsyslog/repos/community-staging-x86_64/rsyslog.conf (from rev 216816, rsyslog/trunk/rsyslog.conf)
===================================================================
--- community-staging-x86_64/rsyslog.conf	                        (rev 0)
+++ community-staging-x86_64/rsyslog.conf	2017-03-16 20:49:56 UTC (rev 216817)
@@ -0,0 +1,44 @@
+# Minimal config
+
+$ModLoad imuxsock # provides support for local system logging
+$ModLoad imklog   # provides kernel logging support
+$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
+$FileOwner root
+$FileGroup root
+$FileCreateMode 0640
+$DirCreateMode 0755
+$Umask 0022
+$WorkDirectory /var/spool/rsyslog
+$IncludeConfig /etc/rsyslog.d/*.conf
+
+auth,authpriv.*			/var/log/auth.log
+*.*;auth,authpriv.none		-/var/log/syslog
+#cron.*				/var/log/cron.log
+daemon.*			-/var/log/daemon.log
+kern.*				-/var/log/kern.log
+lpr.*				-/var/log/lpr.log
+mail.*				-/var/log/mail.log
+user.*				-/var/log/user.log
+
+mail.info			-/var/log/mail.info
+mail.warn			-/var/log/mail.warn
+mail.err			/var/log/mail.err
+
+news.crit			/var/log/news/news.crit
+news.err			/var/log/news/news.err
+news.notice			-/var/log/news/news.notice
+
+*.=debug;\
+	auth,authpriv.none;\
+	news.none;mail.none	-/var/log/debug
+*.=info;*.=notice;*.=warn;\
+	auth,authpriv.none;\
+	cron,daemon.none;\
+	mail,news.none		-/var/log/messages
+
+*.emerg				:omusrmsg:*
+
+daemon.*;mail.*;\
+	news.err;\
+	*.=debug;*.=info;\
+	*.=notice;*.=warn	|/dev/xconsole

Copied: rsyslog/repos/community-staging-x86_64/rsyslog.logrotate (from rev 216816, rsyslog/trunk/rsyslog.logrotate)
===================================================================
--- community-staging-x86_64/rsyslog.logrotate	                        (rev 0)
+++ community-staging-x86_64/rsyslog.logrotate	2017-03-16 20:49:56 UTC (rev 216817)
@@ -0,0 +1,7 @@
+/var/log/auth.log /var/log/cron.log /var/log/daemon.log /var/log/debug /var/log/kern.log /var/log/lpr.log /var/log/mail.err /var/log/mail.info /var/log/mail.log /var/log/mail.warn /var/log/messages /var/log/news /var/log/syslog /var/log/user.log {
+    missingok
+    sharedscripts
+    postrotate
+	/usr/bin/killall -HUP /usr/bin/rsyslogd
+    endscript
+}


More information about the arch-commits mailing list