summaryrefslogtreecommitdiff
path: root/community/rsyslog
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-07 00:01:17 +0000
committerroot <root@rshg054.dnsready.net>2012-04-07 00:01:17 +0000
commit3d65494a8eda056377febda4642ce992e69a9371 (patch)
treedae57e04ca5f7d7490acbde87206eaa62695109d /community/rsyslog
parentd9c1fc1bcca8fd5cd3566fc6b183fe23065778bc (diff)
Sat Apr 7 00:01:16 UTC 2012
Diffstat (limited to 'community/rsyslog')
-rw-r--r--community/rsyslog/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/rsyslog/PKGBUILD b/community/rsyslog/PKGBUILD
index f91a9e5d5..7e6523384 100644
--- a/community/rsyslog/PKGBUILD
+++ b/community/rsyslog/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 62742 2012-01-25 15:39:27Z spupykin $
+# $Id: PKGBUILD 68925 2012-04-06 00:04:01Z dreisner $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=rsyslog
pkgver=6.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="An enhanced multi-threaded syslogd with a focus on security and reliability"
url="http://www.rsyslog.com/"
arch=('i686' 'x86_64')
@@ -39,7 +39,7 @@ build() {
--enable-snmp \
--enable-gnutls \
--enable-inet \
- --with-systemdsystemunitdir=/lib/systemd/system
+ --with-systemdsystemunitdir=/usr/lib/systemd/system
make
}
package() {
@@ -50,4 +50,7 @@ package() {
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
+ sed -i 's@/bin/systemctl@/usr&@' "$pkgdir/usr/lib/systemd/system/rsyslog.service"
}