[arch-commits] Commit in rsyslog/repos (10 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Mar 4 11:37:33 UTC 2013
Date: Monday, March 4, 2013 @ 12:37:33
Author: spupykin
Revision: 85646
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 85645, rsyslog/trunk/PKGBUILD)
rsyslog/repos/community-staging-i686/rsyslog
(from rev 85645, rsyslog/trunk/rsyslog)
rsyslog/repos/community-staging-i686/rsyslog.conf.d
(from rev 85645, rsyslog/trunk/rsyslog.conf.d)
rsyslog/repos/community-staging-i686/rsyslog.logrotate
(from rev 85645, rsyslog/trunk/rsyslog.logrotate)
rsyslog/repos/community-staging-x86_64/
rsyslog/repos/community-staging-x86_64/PKGBUILD
(from rev 85645, rsyslog/trunk/PKGBUILD)
rsyslog/repos/community-staging-x86_64/rsyslog
(from rev 85645, rsyslog/trunk/rsyslog)
rsyslog/repos/community-staging-x86_64/rsyslog.conf.d
(from rev 85645, rsyslog/trunk/rsyslog.conf.d)
rsyslog/repos/community-staging-x86_64/rsyslog.logrotate
(from rev 85645, rsyslog/trunk/rsyslog.logrotate)
--------------------------------------------+
community-staging-i686/PKGBUILD | 57 +++++++++++++++++++++++++++
community-staging-i686/rsyslog | 39 ++++++++++++++++++
community-staging-i686/rsyslog.conf.d | 6 ++
community-staging-i686/rsyslog.logrotate | 7 +++
community-staging-x86_64/PKGBUILD | 57 +++++++++++++++++++++++++++
community-staging-x86_64/rsyslog | 39 ++++++++++++++++++
community-staging-x86_64/rsyslog.conf.d | 6 ++
community-staging-x86_64/rsyslog.logrotate | 7 +++
8 files changed, 218 insertions(+)
Copied: rsyslog/repos/community-staging-i686/PKGBUILD (from rev 85645, rsyslog/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=rsyslog
+pkgver=7.2.4
+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')
+makedepends=('postgresql-libs>=8.4.1' 'libmariadbclient' 'net-snmp' 'gnutls')
+optdepends=('postgresql-libs: PostgreSQL Database Support'
+ 'libmariadbclient: MySQL Database Support'
+ 'net-snmp'
+ 'gnutls')
+backup=('etc/rsyslog.conf'
+ 'etc/logrotate.d/rsyslog'
+ 'etc/conf.d/rsyslog')
+options=('strip' 'zipman' '!libtool')
+source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz"
+ 'rsyslog'
+ 'rsyslog.logrotate'
+ 'rsyslog.conf.d')
+md5sums=('7fb607313ec534a4352da7aa2e0084ec'
+ 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da'
+ '8065db4bef3061a4f000ba58779f6829'
+ '18565f38a4445136446a31a3c95ffc3e')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --enable-mysql \
+ --enable-pgsql \
+ --enable-mail \
+ --enable-imfile \
+ --enable-snmp \
+ --enable-gnutls \
+ --enable-inet \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
+ echo "rsyslogd_LDADD += \$(LIBESTR_LIBS) -lm" >>tools/Makefile
+ make
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+ # Install Daemons and Configuration Files
+ install -D -m755 ${srcdir}/${pkgname} ${pkgdir}/etc/rc.d/${pkgname}d
+ install -D -m644 ${pkgname}.conf ${pkgdir}/etc/${pkgname}.conf
+ install -D -m644 $srcdir/${pkgname}.logrotate ${pkgdir}/etc/logrotate.d/${pkgname}
+ install -D -m644 ${srcdir}/${pkgname}.conf.d ${pkgdir}/etc/conf.d/${pkgname}
+
+ # fix location of systemctl and remove start precondition
+ sed -i "$pkgdir/usr/lib/systemd/system/rsyslog.service" \
+ -e 's@/bin/systemctl@/usr&@' \
+ -e '/^ExecStartPre/d'
+}
Copied: rsyslog/repos/community-staging-i686/rsyslog (from rev 85645, rsyslog/trunk/rsyslog)
===================================================================
--- community-staging-i686/rsyslog (rev 0)
+++ community-staging-i686/rsyslog 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/rsyslog
+
+PID=`pidof -o %PPID /usr/sbin/rsyslogd`
+case "$1" in
+ start)
+ stat_busy "Starting RSyslogd"
+ [ -z "$PID" ] && /usr/sbin/rsyslogd $RSYSLOGD_ARGS
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon rsyslogd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping RSyslogd"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm -f /var/run/rsyslogd.pid
+ rm -f /var/rsyslogd.persist
+ rm_daemon rsyslogd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Copied: rsyslog/repos/community-staging-i686/rsyslog.conf.d (from rev 85645, rsyslog/trunk/rsyslog.conf.d)
===================================================================
--- community-staging-i686/rsyslog.conf.d (rev 0)
+++ community-staging-i686/rsyslog.conf.d 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,6 @@
+#
+# Parameters to be passed to rsyslogd
+# This should almost certainly include at least the current compatability
+# level, e.g. -c4
+#
+RSYSLOGD_ARGS="-c6"
Copied: rsyslog/repos/community-staging-i686/rsyslog.logrotate (from rev 85645, rsyslog/trunk/rsyslog.logrotate)
===================================================================
--- community-staging-i686/rsyslog.logrotate (rev 0)
+++ community-staging-i686/rsyslog.logrotate 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,7 @@
+/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler /var/log/boot.log {
+ missingok
+ sharedscripts
+ postrotate
+ /usr/bin/killall -HUP /usr/sbin/rsyslogd
+ endscript
+}
Copied: rsyslog/repos/community-staging-x86_64/PKGBUILD (from rev 85645, rsyslog/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=rsyslog
+pkgver=7.2.4
+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')
+makedepends=('postgresql-libs>=8.4.1' 'libmariadbclient' 'net-snmp' 'gnutls')
+optdepends=('postgresql-libs: PostgreSQL Database Support'
+ 'libmariadbclient: MySQL Database Support'
+ 'net-snmp'
+ 'gnutls')
+backup=('etc/rsyslog.conf'
+ 'etc/logrotate.d/rsyslog'
+ 'etc/conf.d/rsyslog')
+options=('strip' 'zipman' '!libtool')
+source=("http://www.rsyslog.com/files/download/rsyslog/rsyslog-$pkgver.tar.gz"
+ 'rsyslog'
+ 'rsyslog.logrotate'
+ 'rsyslog.conf.d')
+md5sums=('7fb607313ec534a4352da7aa2e0084ec'
+ 'a18bbcbb6ebdaa13a6ec6d9f3d9eb2da'
+ '8065db4bef3061a4f000ba58779f6829'
+ '18565f38a4445136446a31a3c95ffc3e')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --enable-mysql \
+ --enable-pgsql \
+ --enable-mail \
+ --enable-imfile \
+ --enable-snmp \
+ --enable-gnutls \
+ --enable-inet \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
+ echo "rsyslogd_LDADD += \$(LIBESTR_LIBS) -lm" >>tools/Makefile
+ make
+}
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make install DESTDIR=${pkgdir}
+ # Install Daemons and Configuration Files
+ install -D -m755 ${srcdir}/${pkgname} ${pkgdir}/etc/rc.d/${pkgname}d
+ install -D -m644 ${pkgname}.conf ${pkgdir}/etc/${pkgname}.conf
+ install -D -m644 $srcdir/${pkgname}.logrotate ${pkgdir}/etc/logrotate.d/${pkgname}
+ install -D -m644 ${srcdir}/${pkgname}.conf.d ${pkgdir}/etc/conf.d/${pkgname}
+
+ # fix location of systemctl and remove start precondition
+ sed -i "$pkgdir/usr/lib/systemd/system/rsyslog.service" \
+ -e 's@/bin/systemctl@/usr&@' \
+ -e '/^ExecStartPre/d'
+}
Copied: rsyslog/repos/community-staging-x86_64/rsyslog (from rev 85645, rsyslog/trunk/rsyslog)
===================================================================
--- community-staging-x86_64/rsyslog (rev 0)
+++ community-staging-x86_64/rsyslog 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,39 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+. /etc/conf.d/rsyslog
+
+PID=`pidof -o %PPID /usr/sbin/rsyslogd`
+case "$1" in
+ start)
+ stat_busy "Starting RSyslogd"
+ [ -z "$PID" ] && /usr/sbin/rsyslogd $RSYSLOGD_ARGS
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon rsyslogd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping RSyslogd"
+ [ ! -z "$PID" ] && kill $PID &> /dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ rm -f /var/run/rsyslogd.pid
+ rm -f /var/rsyslogd.persist
+ rm_daemon rsyslogd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
Copied: rsyslog/repos/community-staging-x86_64/rsyslog.conf.d (from rev 85645, rsyslog/trunk/rsyslog.conf.d)
===================================================================
--- community-staging-x86_64/rsyslog.conf.d (rev 0)
+++ community-staging-x86_64/rsyslog.conf.d 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,6 @@
+#
+# Parameters to be passed to rsyslogd
+# This should almost certainly include at least the current compatability
+# level, e.g. -c4
+#
+RSYSLOGD_ARGS="-c6"
Copied: rsyslog/repos/community-staging-x86_64/rsyslog.logrotate (from rev 85645, rsyslog/trunk/rsyslog.logrotate)
===================================================================
--- community-staging-x86_64/rsyslog.logrotate (rev 0)
+++ community-staging-x86_64/rsyslog.logrotate 2013-03-04 11:37:33 UTC (rev 85646)
@@ -0,0 +1,7 @@
+/var/log/messages /var/log/secure /var/log/maillog /var/log/cron /var/log/spooler /var/log/boot.log {
+ missingok
+ sharedscripts
+ postrotate
+ /usr/bin/killall -HUP /usr/sbin/rsyslogd
+ endscript
+}
More information about the arch-commits
mailing list