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

Dave Reisner dreisner at archlinux.org
Fri Apr 20 20:20:55 EDT 2012


    Date: Friday, April 20, 2012 @ 20:20:55
  Author: dreisner
Revision: 156559

upgpkg: syslog-ng 3.3.5-1

- add syslog.service Alias in service file

Modified:
  syslog-ng/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-04-20 23:34:26 UTC (rev 156558)
+++ PKGBUILD	2012-04-21 00:20:55 UTC (rev 156559)
@@ -4,8 +4,8 @@
 # Contributor: Aaron Griffin <aaron at archlinux.org>
 
 pkgname=syslog-ng
-pkgver=3.3.4
-pkgrel=5
+pkgver=3.3.5
+pkgrel=1
 pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
 arch=('i686' 'x86_64')
 license=('GPL2')
@@ -26,7 +26,7 @@
         syslog-ng.conf.d
         syslog-ng.logrotate
         syslog-ng.rc)
-sha1sums=('3437a50af027f281747087ab47a45aa5fbabbf14'
+sha1sums=('0c8b85079b60c68c4279bcd4124b1e3c6358407b'
           '98074e0facfc6ef036202662cc86d04b38a2c142'
           '9b2eb6ea9e27c9f1b6c1c855be211ec3da51d3c8'
           '949128fe3d7f77a7aab99048061f885bc758000c'
@@ -58,6 +58,8 @@
   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"
+  # fix location of systemctl and add Alias=
+  sed -e 's@/bin/systemctl@/usr&@' \
+      -e '$aAlias=syslog.service' \
+      -i "$pkgdir/usr/lib/systemd/system/syslog-ng.service"
 }



More information about the arch-commits mailing list