From 453f3b8b2c568e9babcdc4852772278a39f130c0 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 16 May 2013 01:06:25 -0700 Subject: Thu May 16 01:06:25 PDT 2013 --- extra/syslog-ng/PKGBUILD | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'extra/syslog-ng/PKGBUILD') diff --git a/extra/syslog-ng/PKGBUILD b/extra/syslog-ng/PKGBUILD index 2a4cc6fce..3c54082b4 100644 --- a/extra/syslog-ng/PKGBUILD +++ b/extra/syslog-ng/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 179615 2013-03-08 18:57:03Z dreisner $ +# $Id: PKGBUILD 185556 2013-05-15 00:48:48Z dreisner $ # Maintainer: Dave Reisner # Contributor: Eric BĂ©langer # Contributor: Aaron Griffin pkgname=syslog-ng pkgver=3.4.1 -pkgrel=2 +pkgrel=3 pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities" arch=('i686' 'x86_64') license=('GPL2') @@ -14,8 +14,7 @@ depends=('awk' 'eventlog' 'glib2' 'libcap' 'openssl' 'systemd') makedepends=('flex' 'pkg-config' 'python2') optdepends=('logrotate: for rotating log files') options=('!libtool') -backup=('etc/syslog-ng/modules.conf' - 'etc/syslog-ng/scl.conf' +backup=('etc/syslog-ng/scl.conf' 'etc/syslog-ng/syslog-ng.conf' 'etc/logrotate.d/syslog-ng') install=$pkgname.install @@ -33,6 +32,7 @@ build() { --prefix=/usr \ --sysconfdir=/etc/syslog-ng \ --libexecdir=/usr/lib \ + --sbindir=/usr/bin \ --localstatedir=/var/lib/syslog-ng \ --datadir=/usr/share/syslog-ng \ --with-pidfile-dir=/run \ @@ -50,4 +50,6 @@ package() { install -dm755 "$pkgdir/var/lib/syslog-ng" "$pkgdir/etc/syslog-ng/patterndb.d" install -Dm644 "$srcdir/syslog-ng.conf" "$pkgdir/etc/syslog-ng/syslog-ng.conf" install -Dm644 "$srcdir/syslog-ng.logrotate" "$pkgdir/etc/logrotate.d/syslog-ng" + + sed -i 's,/sbin/,/bin/,' "$pkgdir/usr/lib/systemd/system/syslog-ng.service" } -- cgit v1.2.3-54-g00ecf