[arch-commits] Commit in syslog-ng/trunk (PKGBUILD)

Dave Reisner dreisner at archlinux.org
Mon Apr 2 17:45:07 EDT 2012


    Date: Monday, April 2, 2012 @ 17:45:06
  Author: dreisner
Revision: 155382

upgpkg: syslog-ng 3.3.4-5

- move systemd unit to /usr
- fix location of systemctl

Modified:
  syslog-ng/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-02 17:44:27 UTC (rev 155381)
+++ PKGBUILD	2012-04-02 21:45:06 UTC (rev 155382)
@@ -1,11 +1,11 @@
 # $Id$
 # Maintainer: Dave Reisner <dreisner at archlinux.org>
-# Maintainer: Eric Bélanger <eric at archlinux.org>
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Contributor: Eric Bélanger <eric at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=syslog-ng
 pkgver=3.3.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -44,7 +44,7 @@
     --with-pidfile-dir=/run \
     --disable-spoof-source \
     --enable-systemd \
-    --with-systemdsystemunitdir=/lib/systemd/system
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
 
   make
 }
@@ -57,4 +57,7 @@
   install -Dm644 "$srcdir/syslog-ng.logrotate" "$pkgdir/etc/logrotate.d/syslog-ng"
   install -Dm755 "$srcdir/syslog-ng.rc" "$pkgdir/etc/rc.d/syslog-ng"
   install -Dm644 "$srcdir/syslog-ng.conf.d" "$pkgdir/etc/conf.d/syslog-ng"
+
+  # fix location of systemctl
+  sed -i 's@/bin/systemctl@/usr&@' "$pkgdir/usr/lib/systemd/system/syslog-ng.service"
 }



More information about the arch-commits mailing list