From 408a5f425d68d9340f9f53be3c2ab9a4fe5cba81 Mon Sep 17 00:00:00 2001
From: Greg Frost <gregfrost1@bigpond.com>
Date: Sat, 16 Jan 2010 08:48:05 +1030
Subject: syslog-ng: munge version to get around pacman problem

---
 abs/core-testing/syslog-ng/PKGBUILD | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/abs/core-testing/syslog-ng/PKGBUILD b/abs/core-testing/syslog-ng/PKGBUILD
index 3280a29..2602964 100644
--- a/abs/core-testing/syslog-ng/PKGBUILD
+++ b/abs/core-testing/syslog-ng/PKGBUILD
@@ -1,8 +1,9 @@
 # $Id: PKGBUILD 2319 2008-05-31 21:01:41Z eric $
 # Maintainer: Judd Vinet <jvinet@zeroflux.org>
 pkgname=syslog-ng
-pkgver=2.0.10
-pkgrel=1
+_pkgver=2.0.10
+pkgver=2.0.9.10
+pkgrel=11
 pkgdesc="Next-generation syslogd with advanced networking and filtering capabilities"
 arch=(i686 x86_64)
 license=('GPL')
@@ -12,7 +13,7 @@ depends=('logrotate' 'glibc')
 makedepends=('flex' 'glib2' 'eventlog' 'pkgconfig' 'tcp_wrappers')
 provides=('logger')
 backup=('etc/syslog-ng.conf' 'etc/logrotate.d/syslog-ng')
-source=(http://www.balabit.com/downloads/files/syslog-ng/sources/$pkgver/source/${pkgname}_${pkgver}.tar.gz \
+source=(http://www.balabit.com/downloads/files/syslog-ng/sources/${_pkgver}/source/${pkgname}_${_pkgver}.tar.gz \
 	syslog-ng.conf syslog-ng.logrotate syslog-ng)
 md5sums=('e5ca55796c11899739affa417ff8a71e'
          'ee95af3a4f969f3759e477289305c8c6'
@@ -20,7 +21,7 @@ md5sums=('e5ca55796c11899739affa417ff8a71e'
          '9bd98250cfa49e13fa3fa731b6040549')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $startdir/src/$pkgname-${_pkgver}
   ./configure --prefix=/usr --sysconfdir=/etc \
     --localstatedir=/var/lib/syslog-ng --enable-tcp-wrapper \
     --disable-spoof-source
-- 
cgit v0.12